On 15/4/09 17:02, Clive Taylor wrote:
Vijay Mukilan a écrit :
Regarding time base
http://thefoundry.anywebcam.com/index.php/image-processing/transcoding-with-libavformatlibavcodec/
Really good article - how did you know there'd be a "but" - but I have a couple of
examples where the CodecContext->timebase value is showing something other than 25 fps
for a PAL video stream. One of them is a DVD VOB file where the timebase value is returned
as 50 frames per second and the other is a WMV where the timebase value is returned as 1000
frames per sec.
In both case, the video has a timecode superimposed prior to encoding and
looking at each frame individually (extracted to JPEG) I can see that there are
only 25 frames per second. Any ideas, anyone?
Please don't top post, we prefer inline replies. (See wikipedia for an
article about top posting.)
I think the 50fps issue is actually because the material is interlaced
and it should be displayed at 50 fields per second. This material may
need deinterlacing.
I don't know why ASF/WMV displays a frame rate of 1000fps but I remember
seeing many times in the past that it does. I assume this is a known
issue. Maybe try searching the archives for the FFmpeg mailing lists for
ASF/WMV issues. I'll see if I can find out why it occurs. Try
transcoding it to see if it actually causes any issues, I suspect it won't.
Regards,
Rob
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user