[Libav-user] (no subject)

NITIN GOYAL nitinkumgoyal at gmail.com
Sat Apr 18 17:28:16 CEST 2015


yes and they will get decoded only as per DTS otherwise will get queued up..

On Fri, Apr 17, 2015 at 6:40 PM, Ran Shalit <ranshalit at gmail.com> wrote:

> Hello,
>
> This is a general question only for help in understanding libavformat API.
> I am trying to understand the demuxing example in FFmpeg wiki.
>
> while (av_read_frame(fmt_ctx, &pkt) >= 0) {
>  {
>       if (pkt.stream_index == video_stream_idx) {
>      /* decode video frame */
>        ret = avcodec_decode_video2(video_dec_ctx, frame, got_frame, &pkt);
> ......<-- got_frame is indication for complete frame receive.
> }
>
> Is it that packet are sent to decoder even before all packets which
> belong to a single frame are recieved ?
>
> Best Regards,
> Ran
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20150418/2342cb51/attachment.html>


More information about the Libav-user mailing list