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

belcampo belcampo at zonnet.nl
Mon Mar 21 16:56:06 CET 2011


On 03/21/11 14:25, vsethi at iglou.com wrote:
> Etienne Buira wrote:
>
>> Do you mean that ffmpeg binary you built is loading package manager
>> installed libav{device,filter,format,codec,core,util} ?
>> If so, I suggest you to have a close look at what files are from what,
>> eventually uninstalling all versions of ffmpeg and looking at configure
>> options (builds statically by default on last git version, don't know
>> about 0.6.1).
>
> I believe it's grabbing about five Slackware libraries living in /lib
> or /usr/lib.   The only libav files in the path are in /usr/local/lib and
> have been placed there by ffmpeg git-31ff9bd (I've returned to this more
> recent version since neither version was working).
>
>>>> Is that different if you try ffmpeg -f mpeg -i inputfile.mpg ?
>>>> (You can try some other formats instead of mpeg, depending which you see
>>>> relevant, from the list given by ffmpeg -formats | grep -i mpeg | grep'^ D').
>>>
>>> I looked at the list of formats for decoding, but I don't know which
>>> corresponds to what mplayer says about the file:
>>>
>>>    MPEG-PS file format detected
>>
>> That is the container format, so that should be handled by the 'mpeg'
>> demuxer (thus, try the suggested line).
>
> Yes, it's different but not more successful.  Now I'm getting the output
> below.  Apparently I need to specify more parameters.  What does it
> want for "container frame rate"?  Thanks for helping a newbie.
>
> ==========================================================================
>
> ffmpeg -f mpeg -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
> [mpeg @ 0x8b8f600] max_analyze_duration reached
> [mpeg @ 0x8b8f600] Further flags set but no bytes left
>      Last message repeated 1 times
>      Last message repeated 2 times
>      Last message repeated 3 times
> Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) ->  5000.00 (5000/1)
>      Last message repeated 3 times
> Input #0, mpeg, from 'image.mpg':
>    Duration: 00:00:02.73, start: 0.066600, bitrate: -2147483 kb/s
>      Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 9282 kb/s, 25 fps, 5k tbr, 90k tbn, 50 tbc
>      Stream #0.1[0x20]: Subtitle: dvdsub
>      Stream #0.2[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s
>      Stream #0.3[0x1ce]: Audio: mp2, 0 channels
>      Stream #0.4[0x1d1]: Audio: mp2, 0 channels
>      Stream #0.5[0x1d7]: Audio: mp2, 0 channels
> At least one output file must be specified
You need to specify -sn on your command line, to disable the 
subtitle-part in the source.
What you seem to have AFAIK is a MPEG2-TS container, broadcast, with
1 video
1 subtitle
4 audio-streams.
ffmpeg AFAIK doesn't know how to handle the subtitle stream. You'll have 
to explicitedly disable it with the -sn parameter.
If you would like to have another audiostream then the first one, you'll 
have to use the map functions.
For video + 2nd audio stream you would need:
ffmpeg -i source.mpg copy or encode parameters -map 0:0 -map 0:3 
destination.mpg
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list