Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5318

Graphics, sound and multimedia • Re: Reducing Decoding Delay with h264_v4l2m2m on Raspberry Pi Zero 2: Seeking Solutions

$
0
0
Hmm, my results look to be partly due to writing to JPEGs and that is dropping it into lockstep, which is weird as you'd have thought that delaying the output side would result in feeding more input data in.
I think I get the same result by adding the "-re" option.

Code:

ffmpeg -re -num_output_buffers 2 -num_capture_buffers 5 -c:v h264_v4l2m2m -i Big_Buck_Bunny_1080_10s_30MB.mp4 -f rawvideo -pix_fmt yuv420p /dev/null
It's certainly looking like a FFmpeg quirk, not the codec itself.

Statistics: Posted by 6by9 — Fri May 10, 2024 4:11 pm



Viewing all articles
Browse latest Browse all 5318

Trending Articles