Hi, sorry for the late reply. I managed to get my program to work correctly sans the lipsync but is is something i will solve later. The trick was to use packet.dts= ovs->cur_dts; where ovs is the AVStream for the coresponding packet. The code for the current state is here
http://sdr.tera-com.com/tmp/sdrlive_src_good.tar.bz2 On Wed, May 5, 2010 at 2:32 PM, Ferenc Deak <[email protected]> wrote: > i have tried these changes... still the same problem :( > > > On 05/05/2010 12:36 PM, ifrim alexandru wrote: >> >> You can also use av_dup_packet(&packet); (line 241). Not sure if this is >> the reason but it doesn't hurt to use it. >> >> More important instead of 'av_write_frame' you should use >> av_interleaved_write_frame. >> >> Except these 2 the code looks pretty much like mine. >> >> >> >> _______________________________________________ >> 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
