[FFmpeg-user] How to discard probe frames ?
victor.petrescu13 at gmail.com
Mon Apr 4 11:50:19 CEST 2011
I would also be interested in an answer to this question. So... as Alex
said... any takers? :)
2011/3/30 Alexandre Ferrieux <alexandre.ferrieux at orange-ftgroup.com>
> At the beginning of a stream, av_read_frame_internal is called repeatedly
> to probe codec parameters. Once this probing is completed, the frames are
> spit back from memory into the processing chain. Now in case of real-time
> transcoding this is problematic because it introduces a fixed, possibly
> large latency.
> Is there a (command-line) way to simply *discard* these stored frames,
> hence keeping up with real time ?
> Thanks in advance,
> PS: I am aware of -probesize to forcibly shorten this loop, but it is not
> always desirable, as the needed probe size may depend on stream contents and
> position within GOP (or wrt SPS/PPS retransmission in the H264 case).
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
More information about the ffmpeg-user