[MEncoder-users] Empty generated file with -of mpeg
Etienne Buira
etienne.buira.lists at free.fr
Fri Oct 23 22:24:13 CEST 2009
Hi.
I have troubles using -of mpeg.
My command line is:
mencoder -o "hm_test_mencoder_dvd_aacmp4_x264.avi" -ss 2:00 -endpos 20 \
-oac faac -faacopts br=64 -of mpeg -mpegopts format=dvd:tsaf -ovc x264 \
-x264encopts \
threads=1:bframes=0:frameref=7:direct_pred=auto:partitions=all:8x8dct:me=umh:subq=7:mixed_refs:trellis=2:crf=21 \
source.ts
I have tried all combinations of "-vf harddup", "-noskip", and "-mc 0"
(used dumbly, because I have read that it could help).
All combinations lead to an empty generated file (strictly 0 byte), and
output is full of "INITV: 0.200, 0.160, fps: 25.000".
If I use format=mpeg1 or mpeg2, the INITV lines are still there, the
produced files are exactly 4096 bytes long, and are not playable at all.
What can I do to correctly encode/mux my extract?
Here is a cleaned output of the above line:
===
MEncoder SVN-r29793-4.3.4 (C) 2000-2009 MPlayer Team
WARNING: OUTPUT FILE FORMAT IS _MPEG_. See -of help.
success: format: 0 data: 0x0 - 0xaf5351a8
TS file format detected.
VIDEO MPEG2(pid=174) AUDIO MPA(pid=1956) NO SUBS (yet)! PROGRAM N. 415
VIDEO: MPEG2 544x576 (aspect 3) 25.000 fps 15000.0 kbps (1875.0
kbyte/s)
[V] filefmt:29 fourcc:0x10000002 size:544x576 fps:25.000
ftime:=0.0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
PACKET SIZE: 2048 bytes, deltascr: 43885
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 0
Opening video filter: [harddup]
==========================================================================
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.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Limiting audio preload to 0.4s.
Increasing audio density to 4.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
x264 [info]: using SAR=32/17
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle
SSE4.1 Cache64
x264 [info]: profile High, level 3.1
Pos: 0.0s 1f ( 7%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
...
Pos: 0.0s 44f ( 7%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
INITV: 0.200, 0.160, fps: 25.000
...
INITV: 0.200, 0.160, fps: 25.000
Writing index...
Overhead: nan% (0 / 0)
Writing header...
Video stream: 1420.583 kbit/s (177572 B/s) size: 3842678 bytes 21.640
secs 544 frames
Audio stream: 124.761 kbit/s (15595 B/s) size: 312069 bytes 20.011
secs
x264 [info]: frame I:5 Avg QP:19.93 size: 36081
x264 [info]: frame P:536 Avg QP:23.10 size: 6833
x264 [info]: mb I I16..4: 4.0% 87.9% 8.1%
x264 [info]: mb P I16..4: 1.1% 2.9% 0.3% P16..4: 49.6% 13.6% 11.7%
0.3% 0.2% skip:20.4%
x264 [info]: 8x8 transform intra:71.3% inter:73.7%
x264 [info]: coded y,uvDC,uvAC intra: 62.4% 69.7% 32.4% inter: 29.2%
32.1% 2.2%
x264 [info]: i16 v,h,dc,p: 59% 17% 8% 16%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 42% 9% 26% 2% 3% 7% 2%
6% 3%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 51% 8% 12% 3% 4% 10% 2%
7% 2%
x264 [info]: ref P L0: 76.8% 12.3% 5.9% 1.7% 1.3% 1.1% 1.0%
x264 [info]: kb/s:1420.58
===
Yes, I know the filename's extension is avi, this is because my set-top
box, for which the file is to be tested, filters filenames by extension,
despite it supports some mpeg containers.
Regards
More information about the MEncoder-users
mailing list