Recalculate PTS/DTS

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Recalculate PTS/DTS

SenKi
Hi All,

I was wondering if some one can point me to function/s in libavformat/codec that can help me recalculate the pts/dts of frames. I am writing a application to re-encode a video, looked at ffmpeg.c but it does a lot of stuff and the pts/dts calculation part if not very intuitive.

Thanks for any help

Kris


 



     
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Recalculate PTS/DTS

Mathieu Avril
Le 07/04/2010 15:39, [hidden email] a écrit :

> Hi All,
>
> I was wondering if some one can point me to function/s in libavformat/codec that can help me recalculate the pts/dts of frames. I am writing a application to re-encode a video, looked at ffmpeg.c but it does a lot of stuff and the pts/dts calculation part if not very intuitive.
>
> Thanks for any help
>
> Kris
>
>
>
>
>
>
>
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
>
>    
Hi,

You can see the tutorial : http://dranger.com/ffmpeg/ffmpeg.html
For pts/dts look at the 5th tutorial.

Mathieu
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user