Bernhard,

>Your question 1) You have to query codec at end of frames, until it has no 
>more data to output.
>Your question 2) libav does not know, how many packets the codec has pending. 
>So you have to "loop", until you get no more data.
>Your questions 3 & 4) You should always call avcodec_encode_video2 with NULL 
>after encoding real frames, independend of used codec, until you get no more 
>data.

Done. Looks good now. Let's see what the end-user has to say about the outcome.

Thanks to all!!

-Arthur

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to