Skip to content

ailed to read frame size: Could not seek to 1026 #24

@gersooonn

Description

@gersooonn

It stopped working for me, now I'm displaying this error in all the .srt files I use
[mp3 @ 0x57ff4b431c80] Failed to read frame size: Could not seek to 1026.
/tmp/tmplxc7l66i/15.mp3: Invalid argument
Traceback (most recent call last):
File "/content/drive/MyDrive/edge-srt-to-speech/src/edge_srt_to_speech/main.py", line 346, in
main()
File "/content/drive/MyDrive/edge-srt-to-speech/src/edge_srt_to_speech/main.py", line 332, in main
asyncio.get_event_loop().run_until_complete(
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/content/drive/MyDrive/edge-srt-to-speech/src/edge_srt_to_speech/main.py", line 251, in _main
last_end += get_duration(j)
File "/content/drive/MyDrive/edge-srt-to-speech/src/edge_srt_to_speech/main.py", line 39, in get_duration
duration = subprocess.check_output(
File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ffprobe', '-v', 'error', '-show_entries', 'format=duration', '-of', 'default=noprint_wrappers=1:nokey=1', '/tmp/tmplxc7l66i/15.mp3']' returned non-zero exit status 1.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions