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

Failure with FFmpeg7 #174

Open
mthrok opened this issue Aug 22, 2024 · 0 comments
Open

Failure with FFmpeg7 #174

mthrok opened this issue Aug 22, 2024 · 0 comments

Comments

@mthrok
Copy link
Collaborator

mthrok commented Aug 22, 2024

Test fails with FFmpeg7. The results of demuxing looks wrong.

GLOG_logtostderr=1 pytest tests/spdl_unittest/io/async_test.py -k test_decode_video_clips -vs -x
  • FFmpeg6
    VideoPackets<src=".../sample.mp4", timestamp=(0, 1), frame_rate=25/1, num_packets=25, pixel_format="yuv444p", bit_rate=35600, bits_per_sample=8, codec="h264", width=320, height=240>

  • FFmpeg7
    VideoPackets<src=".../sample.mp4", timestamp=(0, 1), frame_rate=25/1, num_packets=25, pixel_format="yuv420p", bit_rate=0, bits_per_sample=5, codec="h264", width=24, height=8>

The test file is generated by ffmpeg -hide_banner -y -f lavfi -i testsrc -frames:v 1000 sample.mp4 command.
When generating and inspecting the file with ffmpeg 7 CLI, the file looks fine and it plays fine.

Stream #0:0[0x1](und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv444p(progressive), 320x240 [SAR 1:1 DAR 4:3], 35 kb/s, 25 fps, 25 tbr, 12800 tbn (default).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant