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

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Apr 17 08:27:17 CEST 2015

Christopher Huang-Leaver <zeonglow <at> gmail.com> writes:

> I am trying to capture a UDP multicast stream and 
> record to disc without changing it.

If you don't want to change it, better tools exist, 
for example mplayer -dumpstream
(But you want to change it from what you write.)

> Can I configure ffmpeg to discard all data up until 
> the first I-frame it gets?

This is the default.

> ffmpeg -t 10 -y -i udp:// <at> -c:v copy -c:a copy

This command does nothing - you have to add "out.ts".
Complete, uncut console output missing.

Carl Eugen

More information about the ffmpeg-user mailing list