[FFmpeg-user] unable to play mpeg transcoded stream on mplayer or Vlc

Tom Evans tevans.uk at googlemail.com
Fri Apr 19 15:41:26 CEST 2013


On Fri, Apr 19, 2013 at 2:23 PM, Swapnil Singh
<swapnil.singh1520 at gmail.com> wrote:
> *Hi everyone,
> *I was trying to transcode a mp4 file to mpg container using libx264 avc.
> After some trails i was able to transcode it successfully.But was only able
> to play the  the stream using ffplay but not with mplayer or Vlc.i am
> including the logs for the playback and transcode below.Please guide.
>
> trancode coomandline
> ffmpeg -i 20130301_oblivion_trailer2i_4000.mp4 -vcodec libx264 -bufsize
> 500000000  -profile:v baseline -level:v 3  -s 720x576 -b:v 3.3M  -r 25
> temp.mpg

MPEG PS is only supposed to have either MPEG 2 Part 1 or Mpeg 2 Part 2
video. ffmpeg can understand, so ffplay can also. mplayer would
probably also understand if you used demuxer lavf.

However, if you want a file that will play in most players, you will
need to choose a format that can contain the codec you require. MPEG
TS or MP4 or mkv would be my choices.

Cheers

Tom


More information about the ffmpeg-user mailing list