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

Camera board • Re: Trying to pipe rpicam-vid command to ffmpeg

$
0
0
Hi, generally my advice is that raw H.264 bitstreams are not very well supported. Because there's no explicit encapsulation it's hard for applications to know exactly what's there. I have had much more luck using a better supported format, like an MPEG2 Transport Stream.

So I would try this:

Code:

rpicam-vid -t 10000 --codec libav --libav-format mpegts -o - | ffmpeg -f mpegts -i - -movflags faststart -f mp4 output.mp4

Statistics: Posted by therealdavidp — Wed Feb 26, 2025 9:15 am



Viewing all articles
Browse latest Browse all 8013

Trending Articles