[FFmpeg-user] How to discard probe frames ?

Victor Petrescu 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>

> Hello,
>
> 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,
>
> -Alex
>
> 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
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list