I am trying to convert audio file format and using libav for this but dont
know how to do it can you guys help me how to do it, i will very thankful.

On Mon, Oct 15, 2012 at 7:43 PM, Chandranath Bhattacharyya <
[email protected]> wrote:

> >> What’s going wrong? AVStream::time_base.den = 12800; seems to be wrong
> data. Other than fixing some compilation errors, I did not modify anything
> else in examples/demuxing.c.****
>
> ** **
>
> - I downloaded the older version (ffmpeg-20121003-git-df82454-win32-*)
> from http://ffmpeg.zeranoe.com/builds/. Now AVStream::time_base.den = 25
> – perfect!!****
>
> ** **
>
> However, I had to comment out the following lines in write_video_frame
> (muxing.c) to get rid of pts (0) < dts (1) error:****
>
>             if (c->coded_frame->pts != AV_NOPTS_VALUE)****
>
>                 pkt.pts = av_rescale_q(c->coded_frame->pts,****
>
>                                        c->time_base, st->time_base);****
>
> ** **
>
> In above c->coded_frame->pts was always 0 causing the problem.****
>
> ** **
>
> Also, the file I was referring to was example/muxing.c (not demuxing.c).
> Sorry for the error.****
>
> ** **
>
> Regards,****
>
> Chandranath****
>
> ** **
>
> _______________________________________________
> Libav-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>


-- 
Thanks and Regards :-
  Rishi Kant Gupta
Mob :- +917827055522
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to