[FFmpeg-user] Starting capturing a stream on keyframes only

Christopher Huang-Leaver zeonglow at gmail.com
Fri Apr 17 03:31:06 CEST 2015


Hello,

I am trying to capture a UDP multicast stream and record to disc without
changing it.  My question is,

Can I configure ffmpeg to discard all data up until the first I-frame it
gets?
The idea is that the output always starts with an I-frame, but other than
that the stream is recorded unaltered

Will this command do that anyway?

ffmpeg -t 10 -y -i udp://@239.1.248.3:1234/ -c:v copy -c:a copy

(-t 10 is just for testing)

Thanks for your help

Chris


More information about the ffmpeg-user mailing list