-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
I can successfully decode an annex-b h264 bitstream with the simple_decoder example on a raspberry pi:
cargo run --example simple_decoder -- test.h264 /dev/video10 --save test.yuv --input_format h264
However, the resulting decoded file doesn't display well:
ffplay -f rawvideo -pixel_format yuv420p -video_size 1920x1080 -i test.yuv
I have tested with several h264 files, and the v4l2 m2m decoder does work when I am decoding with FFmpeg:
ffmpeg -vcodec h264_v4l2m2m -i test.h264 -f rawvideo -pixel_format yuv420p test-ffmpeg.yuv
ffplay -f rawvideo -pixel_format yuv420p -video_size 1920x1080 -I test-ffmpeg.yuv
Has the simple_decoder been tested with an actual h264 input file?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels