2012/11/23 Hannes Wuerfel <[email protected]>
> Good job man. This works for perfectly for me.
>
Thanks :-)
> But I discovered the same when transcoding from some codec to another.
> Now there is only one thing different in my code.
> As in the demuxing.c example I'm using something like this after the
> trancoding loop to flush the remaining cached frames:
> /* flush cached frames */
> pkt.data = NULL;
> pkt.size = 0;
> do {
> decode_packet(&got_frame, 1);
> } while (got_frame);
>
> Perhaps this could help for your synchronization problem of cached frames?
>
It is not actual for me: I write live transcoding server for our IP cams
and I don't know when EOF will be occured so I newer do packet flush and
trailer write.
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user