Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

av.error.InvalidDataError: [Errno 1094995529] Invalid data found when processing input #353

Closed
Aelerity opened this issue May 29, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Aelerity
Copy link

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?

Python Version: 3.11.2 64-bit
Platform: Windows 10 amd64
FFmpeg Version: N-105325-g7512293cf9
FFmpeg Path: C:\Users\talkp\AppData\Local\Programs\Python\Python311\Lib\site-packages\ae_ffmpeg\Windows\ffmpeg.exe
Auto-Editor Version: 23w21a

What command did you use

auto-editor C:\Users\talkp\OneDrive\Documents\auto_editor_vids\7.mp4 -v 2.5

What properties does your input video have?

` - video:

  • track 0:
    • codec: h264
    • fps: 60000/1001
    • resolution: 1280x720
    • aspect ratio: 16:9
    • pixel aspect ratio: 1:1
    • duration: 3155.151600
    • pix fmt: yuv420p
    • color range: tv
    • color space: bt709
    • color primaries: bt709
    • color transfer: bt709
    • timebase: 1/90000
    • bitrate: 1007942
    • lang: und
  • audio:
    • track 0:
      • codec: aac
      • samplerate: 44100
      • channels: 2
      • duration: 3155.220317
      • bitrate: 127999
      • lang: und
  • container:
    • duration: 3155.221000
    • bitrate: 1149085`

Comments

I don't get that previous error that I was getting in my last bug report anymore.

@Aelerity Aelerity added the bug Something isn't working label May 29, 2023
@WyattBlue
Copy link
Owner

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.

@WyattBlue WyattBlue closed this as not planned Won't fix, can't repro, duplicate, stale Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants