Hi all,

I would like to ask you if ffmpeg library provides a frame rate
converter from PATL->NTSC (and vice versa) that can be applied to
uncompressed video frames.

So far I just found a possibitity to convert framerate from PAL->NTSC
only if I encode the video again. From my point of view it seems that in
this case the (mpeg2) encoder does the job of frame rate conversion (in
a very good way). Since I need a pure frame rate converter that is able
to process on uncompressed video data, I tried to check the source code
of the encoder but was not able to find a specific method that is used
for frame rate conversion.

I also checked the ffmpeg application to see if I could find someting
about frame rate conversion but come to a similar conclusion. If I run
ffmpeg on an input file (MPEG-2, SD, PAL) in the following way (revision
of ffmpeg checkout is 25528, 2010-10-19):

(1) ./ffmpeg -i <Input-File( PAL mpeg2)> -s 720x480 -r '30000/1001'
-tvstd NTSC <Ouptut-File >
Then, the resulting video is played back with 29fps correctly and audio
and video are in sync.

But when I speciy to not encode video and run ffmpeg with the following
command
(2) ./ffmpeg -i <Input-File( PAL mpeg2)> -s 720x480 -r '30000/1001'
-tvstd NTSC -vcodec rawvideo <Ouptut-File >
the resulting video is played back to fast and audio and video are not
in sync

So it would be great is some you can tell me if ffmpeg provides a
framerate converter that can be used without an encoder and tell me the
corresponding methods that have to be used.

If ffmpeg library does not provide such a functionality and some of you
know a library that does the job it would be great if you could tell me
the name of this library.

Thanks in advance
  Michael


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

Reply via email to