On 10/26/2011 05:48 PM, Luca Barbato wrote:

> On 26/10/2011 12:49, Justin Ruggles wrote:
>> This keeps the streams sychronized. The packets must be interleaved per-DTS.
>> ---
>> My previous patch moving delay to a per-stream context was not quite
>> correct. It works for audio and video separately, but may cause them
>> to be out-of-sync. The correct solution is to use the first packet
>> DTS as a zero-DTS reference point and base all other packet DTS on
>> that.
> 
> Ok, do we have a test vector for such stuff already?


Any flv with h264 or speex. I tried a test encode with both h264 and
speex, and it looks to be correctly interleaved with proper timestamps.

Once the aac and mp3 encoders include delay in the timestamps, those
will be affected as well.

-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to