Hi.

I do not think this is a good idea. If timestamps are in milliseconds, just
> set the time base to 1/1000. Your current problem (looking at the videos
> you
> posted) is not that the video is variable frame rate, nor that you are
> using
> a wrong time base. The problem is that frames and timestamps are generated
> in
> a funny way. I do not know if your SDK is providing you with these broken
> timestamps, or if there is something wrong somewhere else...


SDK provides them indeed - but same timestamps are used in RTP streaming,
which works just fine.

So, your main guidelines are to keep 1/1000 as the units both for codec and
format? And then from there to try and find out what happens to timestamps,
and why don't work for recorded files?

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

Reply via email to