[MEncoder-users] specify output format in profile

Jorge Martinez S. jorge_martinez_s at yahoo.es
Mon Jan 19 14:44:18 CET 2009


On Sunday 18 January 2009 23:53, James Hastings-Trew wrote:
> Jorge Martinez S. wrote:
> > On Sunday 18 January 2009 12:29, James Hastings-Trew wrote:
> >   
> >> James Hastings-Trew wrote:
> >>     
> >>> I'm trying to make a profile that contains most of my most used command 
> >>> line options. However, I have come across a problem: If I try to specify 
> >>> the output format in the profile as:
> >>>
> >>> of=rawvideo
> >>>
> >>> I get an error that says "Error: suboption 'rawvideo' of 'of' must have 
> >>> a parameter!
> >>> Error parsing option of=rawvideo at line 3"
> >>>
> >>> If I specify the output format in the profile as:
> >>>
> >>> of=rawvideo=1
> >>>
> >>> the encode seems to work, but I notice this error going by: "WARNING: 
> >>> OUTPUT FILE FORMAT IS _AVI_. See -of help."
> >>>
> >>> So it seems I still have to include -of rawvideo on the command line, 
> >>> and can't include it in the profile. This is with MEncoder 
> >>> Sherpya-SVN-r28311-4.2.5 (the latest build on Guliani's site). Any ideas 
> >>> of why this isn't working?
> okay...
> 
> Here's the profile:
> [264HD]
> profile-desc="264 HD encoding"
> of=rawvideo=1
> sws=9
> nosound=1
> mc=0
> ovc=x264=1
You can"t create a raw stream with a x264,  x264 is a library for encoding 
H.264/MPEG-4 AVC video streams
> 
x264encopts=qp=18:bframes=4:partitions=all:me=umh:nocabac:nofast_pskip:nodct_decimate:frameref=6:subq=6:mixed_refs:level_idc=31:threads=auto
> 
> And here's the command line:
> 
> mencoder input -o output.264 -profile 264HD
> 
> And the entire output of mencoder, with the warning about the output 
> format being AVI:
> 
> MEncoder Sherpya-SVN-r28311-4.2.5 (C) 2000-2009 MPlayer Team
> CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model: 
> 43, Stepping: 1)
> CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
> Compiled with runtime CPU detection.
> 
> WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.

You output default file is obvious a AVI x264/AVC

> success: format: 0  data: 0x0 - 0x51faa8f2
> libavformat file format detected.
> [lavf] Video stream found, -vid 0
> [lavf] Audio stream found, -aid 1
> VIDEO:  [avc1]  480x320  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
> [V] filefmt:44  fourcc:0x31637661  size:480x320  fps:23.976  ftime:=0.0417
> Opening video filter: [expand osd=1]
> Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
> ==========================================================================
> VDec: vo config request - 480 x 320 (preferred colorspace: Planar YV12)
> VDec: using Planar I420 as output csp (no 1)
> Movie-Aspect is 1.50:1 - prescaling to correct movie aspect.
> x264 [info]: using SAR=1/1
> x264 [info]: using cpu capabilities: MMX2 SSE2Slow
> x264 [info]: profile Main, level 3.1
> Writing header...6f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
> ODML: vprp aspect is 16384:10922.
> Writing header...
> ODML: vprp aspect is 16384:10922.
> Pos:   5.4s    135f ( 0%) 79.93fps Trem:  14min  38mb  A-V:0.000 [109:0]
> Flushing video frames.
> Writing index...
> Writing header...
> ODML: vprp aspect is 16384:10922.
> 
> 
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
> 




More information about the MEncoder-users mailing list