Skip to content

Failure with FFmpeg7 #174

Closed
Closed
@mthrok

Description

@mthrok

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions