[FFmpeg-user] Problem trying to convert PAL file to NTSC

vsethi at iglou.com vsethi at iglou.com
Thu Mar 17 13:25:46 CET 2011


belcampo wrote:

>>> I wrote originally:
>>>
>>> I have a video file in PAL format currently sitting on the hard drive.
>>> Mplayer 4.1.12 under X11 is able to play it (although slowly).
>>> However, ffmpeg cannot do anything with it and complains about the
>>> file header.
>>>
> Your version seems be to be very up-to-date, so that shouldn't be the 
> reason, but trying with an other/older version should not hurt.
> What do you mean with "(although slowly)" ?

The image that mplayer generates is clear, but playback is in slow motion.
Since I'm an mplayer newbie as well, I don't know how to persuade it to
speed up (if indeed it can).

This is what mplayer 4.1.2 says about the file:

========================================================================
MPEG-PS file format detected.
VIDEO:  MPEG2 720 X 576 (aspect 2) 25.000 fps 8648.0 kbps (1081.0 kbyte/s)
Opening video decoder: [mpegpes] MPEG 1/2 video passthrough
Could not find matching colorspace -retrying with -vf scale ...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list.  
e.g. -vf spp.scale instead of -vf spp.
V decoder init failed:(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
Starting playback...
Movie-Aspect is 1:33:1 - prescaling to correct movie aspect.
VO: [x11] 720 x 576 => 768 x 576 Planar YV12
[swscaler @ 0x899bae0] using unscaled yuv420p -> brga special converter
V: 2.7 183000/183000 121% 188% 0.0% 0 0 $<50>
========================================================================

Which older version do you recommend trying and where does one get it?

Would it be relevant that the mplayer version is older than the ffmpeg
version?

Here again is the ffmpeg output on this file:

>
> ========================================================================
>
> ffmpeg -i image.mpg
> FFmpeg version git-31ff9bd, Copyright (c) 2000-2011 the FFmpeg developers
>    built on Mar 12 2011 11:21:15 with gcc 4.1.2
>    configuration:
>    libavutil    50. 39. 0 / 50. 39. 0
>    libavcodec   52.113. 2 / 52.113. 2
>    libavformat  52.102. 0 / 52.102. 0
>    libavdevice  52.  2. 3 / 52.  2. 3
>    libavfilter   1. 76. 0 /  1. 76. 0
>    libswscale    0. 12. 0 /  0. 12. 0
> [NULL @ 0x8b8f600] Format detected only with low score of 1, misdetection possible!
> [mp3 @ 0x8b91ea0] Header missing
> Last message repeated 1 times
> Last message repeated 2 times
> Last message repeated 3 times
> Last message repeated 4 times
> Last message repeated 5 times
> Last message repeated 6 times
> Last message repeated 7 times
> Last message repeated 8 times
> Last message repeated 9 times
> Last message repeated 10 times
> Last message repeated 11 times
> Last message repeated 12 times
> Last message repeated 13 times
> Last message repeated 14 times
> Last message repeated 15 times
> Last message repeated 16 times
> Last message repeated 17 times
> Last message repeated 18 times
> Last message repeated 19 times
> Last message repeated 20 times
> Last message repeated 21 times
> Last message repeated 22 times
> Last message repeated 23 times
> Last message repeated 24 times
> Last message repeated 25 times
> Last message repeated 26 times
> Last message repeated 27 times
> Last message repeated 28 times
> Last message repeated 29 times
> Last message repeated 30 times
> Last message repeated 31 times
> Last message repeated 32 times
> Last message repeated 33 times
> Last message repeated 34 times
> Last message repeated 35 times
> Last message repeated 35 times
>
> [mp3 @ 0x8b8f600] Estimating duration from bitrate, this may be inaccurate
> Input #0, mp3, from 'image.mpg':
> Duration: N/A, start: 0.000000, bitrate: N/A
> Stream #0.0: Audio: mp1, 0 channels, s16
> At least one output file must be specified
>



More information about the ffmpeg-user mailing list