Hello,

I have a problem about converter, i can upload flv videos without problem. Everything wents fine, i can play it etc. But when i want to upload wmv video, at the convert queue it gives error.

debug. txt is

2008-02-19 16:57:12 Upload Finished

2008-02-19 16:57:12 STARTING VIDEO CONVERSION (process_queue.id = 11)

2008-02-19 16:57:12 File: /home/xxx/public_html/video/1_2.wmv

2008-02-19 16:57:12 ################################################## ##

2008-02-19 16:57:12 INSERT INTO video SET
UID='2',
seo_name='-',
title='',
description='',
keyword='',
channel='0||0',
vdoname='1_2.wmv',
flvdoname='12034330321888502921.flv',
addtime='1203433032',
adddate='2008-02-19',
type='',
active='0',
approve='1'

2008-02-19 16:57:12 ################################################## ##

2008-02-19 16:57:12 Video id: 12

2008-02-19 16:57:12 Find video duration - START

2008-02-19 16:57:12 Duration (ffmpeg): 15


2008-02-19 16:57:12 DURATION: 00:15

2008-02-19 16:57:12 Create Thumbnail - START

2008-02-19 16:57:16 Create Thumbnail with ffmpeg - END

2008-02-19 16:57:16 CONVERT COMMAND: /usr/local/bin/mencoder '/home/xxx/public_html/video/1_2.wmv' -o /home/xxx/public_html/flvideo/12034330321888502921.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -ofps 24 -vf harddup

2008-02-19 16:57:16 ################################################## ##

2008-02-19 16:57:16 MEncoder dev-SVN-r26020-3.4.6 (C) 2000-2008 MPlayer Team

CPU: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz (Family: 6, Model: 15, Stepping: 6)

CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1

Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


success: format: 0 data: 0x0 - 0x26ebc0

ASF file format detected.

[asfheader] Audio stream found, -aid 1

[asfheader] Video stream found, -vid 2

VIDEO: [WMV3] 640x480 24bpp 1000.000 fps 1300.0 kbps (158.7 kbyte/s)

[V] filefmt:6 fourcc:0x33564D57 size:640x480 fps:1000.00 ftime:=0.0010

================================================== ========================

Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders

AUDIO: 32000 Hz, 2 ch, s16le, 32.0 kbit/3.12% (ratio: 4000->128000)

Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))

================================================== ========================

OK, exit

Opening video filter: [expand osd=1]

Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1

Opening video filter: [harddup]

================================================== ========================

Opening video decoder: [dmo] DMO video codecs

Creating new registry

Failed to open registry file '/root/.mplayer/registry' for writing.

DMO dll supports VO Optimizations 0 1

DMO dll might use previous sample when requested

Failed to open registry file '/root/.mplayer/registry' for writing.

Failed to open registry file '/root/.mplayer/registry' for writing.

Failed to open registry file '/root/.mplayer/registry' for writing.

GetOutput r=0x0 size:921600 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 - 640 x 480 (preferred colorspace: Packed YUY2)

VDec: using Planar YV12 as output csp (no 0)

Movie-Aspect is undefined - no prescaling applied.

videocodec: libavcodec (640x480 fourcc=31564c46 [FLV1])

[VE_LAVC] High quality encoding selected (non-realtime)!

Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)

================================================== ========================


Exiting...


2008-02-19 16:57:16 ################################################## ##

2008-02-19 16:57:16 Return value: Exiting...

2008-02-19 16:57:16 Running flvtool2: /usr/bin/flvtool2 -U /home/XXX/public_html/flvideo/12034330321888502921.flv

2008-02-19 16:57:16 Convert Error or converted video is less than 1 kb in size, try upload a big video. If that do not work, verify convert command works on the server.

2008-02-19 16:57:16 Calling process_video[11,0]
there is a file at flvideo but it's size is 0 kb.


and what is this error means

Failed to open registry file '/root/.mplayer/registry' for writing.

i found /root/.mplayer, but there was nothing called registry in it, there is only folder named config.

I created an empty folder and chmod it 777 but it still gives error.