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

Swapnil Singh swapnil.singh1520 at gmail.com
Tue Apr 30 14:32:03 CEST 2013


Hi,
Can somebody tell me the options to be pass for an interlaced video
transcode into .mpg as a container .command line Used by me is as follows:

ffmpeg -i James\ Bond\ -\ Quantum\ of\ solace\ 1080p\ HD\ trailer\ 1.mp4
-vcodec libx264 -x264opts tff=1 -flags ildct -bufsize 500000000 -maxrate
50000000 -profile:v main -level:v 4.1  -s 1920x1080 -b:v 10.1M  -r 30
-acodec copy temp.mpg

is i give .h264 extension then it is possible but i am unable to transcode
to any other container. Please guide..............



On Fri, Apr 19, 2013 at 6:53 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
>
>
> *Using ffplay*
> #ffplay temp.mpg
> FFplay version 0.6.3-rpmfusion, Copyright (c) 2003-2010 the FFmpeg
> developers
>   built on May  5 2011 19:19:44 with gcc 4.5.1 20100924 (Red Hat 4.5.1-4)
>   configuration: --prefix=/usr --bindir=/usr/bin
> --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib
> --mandir=/usr/share/man --arch=i686 --extra-cflags='-O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
> -fasynchronous-unwind-tables' --extra-version=rpmfusion --enable-bzlib
> --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame
> --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
> --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx
> --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter
> --enable-postproc --enable-pthreads --disable-static --enable-shared
> --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib
> --cpu=i686 --enable-runtime-cpudetect
>   libavutil     50.15. 1 / 50.15. 1
>   libavcodec    52.72. 2 / 52.72. 2
>   libavformat   52.64. 2 / 52.64. 2
>   libavdevice   52. 2. 0 / 52. 2. 0
>   libavfilter    1.19. 0 /  1.19. 0
>   libswscale     0.11. 0 /  0.11. 0
>   libpostproc   51. 2. 0 / 51. 2. 0
> [mpeg @ 0xb23017e0]max_analyze_duration reached
> Input #0, mpeg, from 'temp.mpg':
>   Duration: 00:02:30.64, start: 0.500000, bitrate: 3889 kb/s
>     Stream #0.0[0x1e0]: Video: h264, yuv420p, 720x576 [PAR 64:45 DAR
> 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
>     Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, 2 channels, s16, 128 kb/s
>   28.79 A-V: -0.000 s:0.0 aq=  319KB vq= 6662KB sq=    0B f=0/709   0/0
>
> *Using mplayer *
> mplayer temp.mpg
> MPlayer SVN-r31628-4.4.4 (C) 2000-2010 MPlayer Team
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote
> control.
>
> Playing temp.mpg.
> MPEG-PS file format detected.
> MPEG: FATAL: EOF while searching for sequence header.
> Video: Cannot read properties.
> ==========================================================================
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
> Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
> ==========================================================================
> AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
> Video: no video
> Starting playback...
> A:   4.3 (04.3) of 148.8 (02:28.8)
> 0.2%
>
>
> Exiting... (End of file)
>
> *Using Vlc*
> #vlc temp.mpg
> VLC media player 1.1.12 The Luggage (revision exported)
> Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
> Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
> [0x8b2b8fc] main libvlc: Running vlc with the default interface. Use
> 'cvlc' to use vlc without interface.
> Blocked: call to setlocale(6, "")
>
>
>


More information about the ffmpeg-user mailing list