[FFmpeg-user] command-line option ffmpeg: create MP <at> ML non-multiplexed

Colin S. Miller ffmpeg at csmiller.demon.co.uk
Tue Nov 12 23:09:12 CET 2013


On 10/11/13 04:44, Carl Eugen Hoyos wrote:
> Colin S. Miller <ffmpeg <at> csmiller.demon.co.uk> writes:
>
>> I'm trying to convert from .H264 into non-multiplex
>> MP <at> ML mpeg2, but have been unable to determine
>> what the correct option for ffmpeg are.
> What did you try and what went wrong?

Hi Carl,
The session is below.
ffmpeg seems to have created a multiplex mpeg file of about the correct size, but I need a raw video-only file.

TIA,
Colin S. Miller

c:\temp> ffmpeg.exe -i 50280T01.mkv -qscale 0.1 -an -r 25 -vcodec mpeg2video -s 720x576 demux-video-q01.mpeg

ffmpeg version N-55966-gfdd1aaf Copyright (c) 2000-2013 the FFmpeg developers
   built on Sep  2 2013 18:01:19 with gcc 4.7.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
   libavutil      52. 43.100 / 52. 43.100
   libavcodec     55. 31.100 / 55. 31.100
   libavformat    55. 15.100 / 55. 15.100
   libavdevice    55.  3.100 / 55.  3.100
   libavfilter     3. 82.102 /  3. 82.102
   libswscale      2.  5.100 /  2.  5.100
   libswresample   0. 17.103 /  0. 17.103
   libpostproc    52.  3.100 / 52.  3.100
Input #0, matroska,webm, from '50280T01.mkv':
   Metadata:
     creation_time   : 2013-10-30 13:58:01
   Duration: 00:01:59.81, start: 0.000000, bitrate: 1153 kb/s
     Stream #0:0(eng): Video: h264 (Baseline), yuvj420p(pc, bt709), 1280x720 [SAR
  1:1 DAR 16:9], 5 tbr, 1k tbn, 2k tbc (default)
     Metadata:
       title           : Video
     Stream #0:1(eng): Audio: aac, 16000 Hz, mono, fltp (default)
     Metadata:
       title           : Audio
Please use -q:a or -q:v, -qscale is ambiguous
[swscaler @ 03d509c0] deprecated pixel format used, make sure you did set range
correctly
[mpeg @ 04deb9a0] VBV buffer size not set, muxing may fail
Output #0, mpeg, to 'demux-video-q01.mpeg':
   Metadata:
     encoder         : Lavf55.15.100
     Stream #0:0(eng): Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9],
q=2-31, 200 kb/s, 90k tbn, 25 tbc (default)
     Metadata:
       title           : Video
Stream mapping:
   Stream #0:0 -> #0:0 (h264 -> mpeg2video)
Press [q] to stop, [?] for help
frame=  101 fps=0.0 q=0.1 size=    1778kB time=00:00:03.96 bitrate=3678.1kbits/s

<snip!>

frame= 2975 fps=233 q=0.1 size=   48962kB time=00:01:58.92 bitrate=3372.8kbits/s
frame= 2995 fps=233 q=0.1 Lsize=   49308kB time=00:01:59.76 bitrate=3372.8kbits/
s dup=2395 drop=0
video:49090kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.444876%



c:\temp> ffmpeg.exe -i demux-video-q01.mpeg
ffmpeg version N-55966-gfdd1aaf Copyright (c) 2000-2013 the FFmpeg developers
   built on Sep  2 2013 18:01:19 with gcc 4.7.3 (GCC)

Input #0, mpeg, from 'demux-video-q01.mpeg':
   Duration: 00:01:59.76, start: 0.540000, bitrate: 3372 kb/s
     Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720x576 [SAR 64:4
5 DAR 16:9], max. 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
At least one output file must be specified

c:\temp> c:\cygwin64\bin\file.exe demux-video-q01.mpeg
demux-video-q01.mpeg: MPEG sequence, v1, system multiplex





More information about the ffmpeg-user mailing list