Hi Manuel,

Manuel Giron wrote:
> Hi, i have the same problem as you did Vladimir and i didnt understand how
> you fixed it.  I'm using av_rescale_q() and the return value is always 0. My
> problem is at the audio stream and i'm using av_interleaved_write_frame().
[...]
> audio_coded_frame [ 0]
> audio pkt dts  [-9223372036854775808.00]
> audio pkt pts  [0.00]
                  ^^^^^^^
> audio_out coded pts[ 0]
> audio out codec cur_dts [-9223372036854775808.00]
> audio out start_time [1206481418467034.00]
> audio out last_IP [-9223372036854775808.00]
> =================================
[...]
> audio_coded_frame [ 0]
> audio pkt dts  [-9223372036854775808.00]
> audio pkt pts  [0.00]
                  ^^^^^^^
> audio_out coded pts[ 0]

I do not know how you compute the packet PTS and DTS, but you are trying
to write two different audio frames with the same PTS.
AFAIK, this is not allowed...


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

Reply via email to