Closed Aelerity closed 1 year ago
Auto-Editor uses PyAV for rendering, and therefore, as a source of truth. If there is indeed invalid data, it doesn't make sense to create a valid output file when the input is already invalid.
I don't think there is any action that auto-editor can take.
Bug description
Editing doesn't complete, gives error.
File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "C:\Users\talkp\AppData\Local\Programs\Python\Python311\Scripts\auto-editor.exe\__main__.py", line 7, in <module> File "C:\Users\talkp\AppData\Local\Programs\Python\Python311\Lib\site-packages\auto_editor\__main__.py", line 347, in main edit_media(paths, ffmpeg, args, temp, log) File "C:\Users\talkp\AppData\Local\Programs\Python\Python311\Lib\site-packages\auto_editor\edit.py", line 378, in edit_media make_media(tl, output) File "C:\Users\talkp\AppData\Local\Programs\Python\Python311\Lib\site-packages\auto_editor\edit.py", line 313, in make_media out_path, apply_later = render_av(ffmpeg, tl, args, bar, ctr, temp, log) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\talkp\AppData\Local\Programs\Python\Python311\Lib\site-packages\auto_editor\render\video.py", line 222, in render_av frame = next(decoders[obj.src]) ^^^^^^^^^^^^^^^^^^^^^^^ File "av\container\input.pyx", line 203, in decode File "av\packet.pyx", line 87, in av.packet.Packet.decode File "av\stream.pyx", line 172, in av.stream.Stream.decode File "av\codec\context.pyx", line 524, in av.codec.context.CodecContext.decode File "av\codec\context.pyx", line 427, in av.codec.context.CodecContext._send_packet_and_recv File "av\error.pyx", line 336, in av.error.err_check av.error.InvalidDataError: [Errno 1094995529] Invalid data found when processing input; last error log: [h264] number of reference frames (0+2) exceeds max (1; probably corrupt input), discarding one
What's your platform?
What command did you use
What properties does your input video have?
` - video:
Comments
I don't get that previous error that I was getting in my last bug report anymore.