[MEncoder-users] Mencoder snv r24739-4.1.2 - VP6 FLV Two Pass Video Encoding

double ninive at gmx.at
Wed Oct 10 21:57:39 CEST 2007


Tom Shaw schrieb:
> Ive got it done!!!
> ...
> Then create your compdata files.
>   

It works very well, as long as mencoder is called as "root". If I call from
user "nobody", mencoder causes a segmentation fault (exit code 139).
The parameter "-passlogfile" seams to be ignored.
Thank you very much
Markus

* Error message:
    MSGBOX 'First pass file can't be written.' 'Warning' (48)

* Command line:
    mencoder source.asf -of lavf -ofps 25 -vf yadif,scale=360:288,flip
        -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=vfw_b200p1.mcf
        -oac mp3lame -lameopts cbr:br=64 -channels 2 -srate 44100 -o 
output.flv

* Full output:

MEncoder dev-SVN-r24760-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Turion(tm) 64 Mobile Technology ML-34 (Family: 15, Model: 36, 
Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0  data: 0x0 - 0x7c611b
ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO:  [WMV3]  360x288  24bpp  1000.000 fps  133.2 kbps (16.3 kbyte/s)
[V] filefmt:6  fourcc:0x33564D57  size:360x288  fps:1000.00  ftime:=0.0010
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 80.0 kbit/5.67% (ratio: 10003->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
** MUXER_LAVF 
*****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
OK, exit
Loading codec DLL: 'vp6vfw.dll'
Creating new registry
Failed to open registry file '/nonexistent/.mplayer/registry' for writing.
Loaded DLL driver vp6vfw.dll at 10000000
HIC: 90a9338
568 - 568 - 568
Compressor type: 63646976
Compressor subtype: 32365056
Compressor flags: 40, version 65536, ICM version: 260
Flags:
Compressor data 2160 bytes
ICSetState ret: 2056
ICCompressGetFormatSize ret: 40
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [flip]
Opening video filter: [scale w=360 h=288]
Opening video filter: [yadif]
==========================================================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
Failed to open registry file '/nonexistent/.mplayer/registry' for writing.
Failed to open registry file '/nonexistent/.mplayer/registry' for writing.
Failed to open registry file '/nonexistent/.mplayer/registry' for writing.
GetOutput r=0x0   size:311040  align:1
StreamCount r=0x0  1  1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 
RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 360 x 288 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x8bfa090]SwScaler: using unscaled yuv420p -> bgr24 special 
converter
Opening video filter: [expand]
Expand: -1 x -1, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
Starting compression:
 Input format:
  biSize 40
  biWidth 360
  biHeight 288
  biPlanes 1
  biBitCount 24
  biCompression 0x0 ('')
  biSizeImage 311040
 Output format:
  biSize 40
  biWidth 360
  biHeight 288
  biPlanes 1
  biBitCount 24
  biCompression 0x32365056 ('VP62')
  biSizeImage 211456
ICCompressBegin failed: Error -7
MSGBOX 'First pass file can't be written.
' 'Warning' (48)
 Output format after query/begin:
  biSize 40
  biWidth 360
  biHeight 288
  biPlanes 1
  biBitCount 24
  biCompression 0x32365056 ('VP62')
  biSizeImage 211456
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
==========================================================================
MP3 audio selected.
Pos:   0.0s      1f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.




More information about the MEncoder-users mailing list