I wonder about the timebases. The Timebase of my AVStream (video-AVStream) is 
timebase.den = 90000 and timebase.num = 1. My codec has the timebase of 
timebase.den = 50 and timebase.num = 1. Why they are different? 

regards,
Sven

Am 26.01.2011 um 17:18 schrieb Sven Alisch:

> Hi Erik! thanks for your answer. 
> Yes I am sure. I debugged and saw that the numerator and denumerator from 
> timebase-struct is set correctly and definitively not 0. 
> 
> regards,
> Sven
> 
> Am 26.01.2011 um 16:22 schrieb Erik Van Grunderbeeck:
> 
>>>     c->time_base.den = track->codec_context->time_base.den;
>>>     c->time_base.num = track->codec_context->time_base.num;
>> 
>> 
>> You sure your timebases are set up correctly (eg not 0)? That can lead to
>> your division by 0
>> 
>> erik
>> 
>> _______________________________________________
>> libav-user mailing list
>> [email protected]
>> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
> 
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to