Converting Issues
Converting Issues
Last edited by umarsa; 05-02-2013 at 12:53 PM.
Contact your web host and ask which convert command work on the server.
This has been solved.
Last edited by umarsa; 05-02-2013 at 12:53 PM.
vshare don't have any special command. What ever command works just pit it on
include/settings/video_conversion.php
will work.
Change the value of $cmd_mencoder to whatever that will work on the server.Code:<?php $cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec libmp3lame -ar 22050 -ab 32 -f flv $video_flv"; # For old version of mplayer # $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames"; # For latest version of mplayer $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -ofps 24 -vf harddup"; $cmd_all = $cmd_mencoder; $convert_3gp = $cmd_all; $convert_mp4 = $cmd_all; $convert_mov = $cmd_all; $convert_asf = $cmd_all; $convert_mpg = $cmd_all; $convert_avi = $cmd_all; $convert_mpeg = $cmd_all; $convert_wmv = $cmd_all; $convert_rm = $cmd_all; $convert_dat = $cmd_all; $convert_divx = $cmd_all; $convert_swf = $cmd_all;
Have you tried with convert command
This is the default one enabled, that is for latest version of mencoder.Code:$cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -ofps 24 -vf harddup";
Originally Posted by umarsa
Where do you get this convert command ?
i_certify_that_my_video_stream_does_not_use_b_fram es is from old version
-vf harddup is from new version.
Not sure where you get the mixed convert command.
Some more debug logs..
Last edited by umarsa; 05-02-2013 at 01:01 PM.
Any ideas anyone?
Last edited by umarsa; 05-02-2013 at 01:01 PM.
Where you get the convert command
Code:/usr/local/bin/mencoder '/home2/tubehost/swiftvids.com/video/Movie_0001.wmv' -o /home2/tubehost/swiftvids.com/flvideo/12244066811989247921.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -vf harddup -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames
default settins are in
include/settings/video_conversion.php
One of these mencoder commands should work, if not there is problem with mencoder install.Code:<?php $cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec libmp3lame -ar 22050 -ab 32 -f flv $video_flv"; # For old version of mplayer # $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames"; # For latest version of mplayer $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -ofps 24 -vf harddup"; $cmd_all = $cmd_mencoder; $convert_3gp = $cmd_all; $convert_mp4 = $cmd_all; $convert_mov = $cmd_all; $convert_asf = $cmd_all; $convert_mpg = $cmd_all; $convert_avi = $cmd_all; $convert_mpeg = $cmd_all; $convert_wmv = $cmd_all; $convert_rm = $cmd_all; $convert_dat = $cmd_all; $convert_divx = $cmd_all; $convert_swf = $cmd_all;
harddup is for newer version of mencoder, you have a mix of old version and new version command options.
I used the command:
And i got this:Code:$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames
Code:[0] => MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team [1] => CPU: Intel(R) Xeon(R) CPU E5430 @ 2.66GHz (Family: 6, Model: 23, Stepping: 6) [2] => CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 [3] => Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 [4] => [5] => success: format: 0 data: 0x0 - 0x5cc0a [6] => ASF file format detected. [7] => VIDEO: [WMV3] 320x240 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s) [8] => [V] filefmt:6 fourcc:0x33564D57 size:320x240 fps:25.00 ftime:=0.0400 [9] => ========================================================================== [10] => Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders [11] => AUDIO: 32000 Hz, 2 ch, s16le, 32.0 kbit/3.12% (ratio: 4000->128000) [12] => Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg)) [13] => ========================================================================== [14] => OK, exit [15] => Opening video filter: [expand osd=1] [16] => Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 [17] => ========================================================================== [18] => Opening video decoder: [dmo] DMO video codecs [19] => Creating new registry [20] => Failed to open registry file '(null)' for writing. [21] => DMO dll supports VO Optimizations 0 1 [22] => DMO dll might use previous sample when requested [23] => Failed to open registry file '(null)' for writing. [24] => Failed to open registry file '(null)' for writing. [25] => Failed to open registry file '(null)' for writing. [26] => GetOutput r=0x0 size:230400 align:1 [27] => StreamCount r=0x0 1 1 [28] => Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32 [29] => Decoder is capable of YUV output (flags 0x1b) [30] => VDec: vo config request - 320 x 240 (preferred colorspace: Packed YUY2) [31] => VDec: using Planar YV12 as output csp (no 0) [32] => Movie-Aspect is undefined - no prescaling applied. [33] => videocodec: libavcodec (320x240 fourcc=766c66 [flv]) [34] => [VE_LAVC] High quality encoding selected (non-realtime)! [35] => Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO) [36] => ========================================================================== [37] => [38] => Exiting...
And the first command for new mencoder version dont work at all it just says this:
Code:[0] => MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team [1] => CPU: Intel(R) Xeon(R) CPU E5430 @ 2.66GHz (Family: 6, Model: 23, Stepping: 6) [2] => CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 [3] => Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 [4] => [5] => success: format: 0 data: 0x0 - 0x5cc0a [6] => ASF file format detected. [7] => VIDEO: [WMV3] 320x240 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s) [8] => [V] filefmt:6 fourcc:0x33564D57 size:320x240 fps:25.00 ftime:=0.0400 [9] => ========================================================================== [10] => Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders [11] => AUDIO: 32000 Hz, 2 ch, s16le, 32.0 kbit/3.12% (ratio: 4000->128000) [12] => Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg)) [13] => ========================================================================== [14] => [15] => Exiting...
You need to install latest version of mencoder and make sure mencoder can convert video to flv format. If not, your mencoder installation is faulty.
Bookmarks