-
Trouble converting videos into FLV
I have real problems converting videos with vshare. I have other tube clone on other domains that is forking fine but vshare doesn't. It henerates thumbnails but not videos.
here's my flv conversion
Code:
export LD_LIBRARY_PATH=/home/japa13/lib; /home/japa13/bin/ffmpeg -i /home/cultsites/stockingscult.com/video/1.wmv -ss 00:00:04 -t 00:00:01 -s 320x240 -r 1 -f mjpeg /home/cultsites/stockingscult.com/thumb/7.jpg
/home/cultsites/stockingscult.com/thumb/1_7.jpg
export LD_LIBRARY_PATH=/home/japa13/lib; /home/japa13/bin/ffmpeg -i /home/cultsites/stockingscult.com/video/1.wmv -ss 00:00:03 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /home/cultsites/stockingscult.com/thumb/1_7.jpg
/home/cultsites/stockingscult.com/thumb/2_7.jpg
export LD_LIBRARY_PATH=/home/japa13/lib; /home/japa13/bin/ffmpeg -i /home/cultsites/stockingscult.com/video/1.wmv -ss 00:00:03 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /home/cultsites/stockingscult.com/thumb/2_7.jpg
/home/cultsites/stockingscult.com/thumb/3_7.jpg
export LD_LIBRARY_PATH=/home/japa13/lib; /home/japa13/bin/ffmpeg -i /home/cultsites/stockingscult.com/video/1.wmv -ss 00:00:04 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /home/cultsites/stockingscult.com/thumb/3_7.jpg
Create Thumbnail with ffmpeg - END
CONVERT COMMAND: export LD_LIBRARY_PATH=/home/japa13/lib; /home/japa13/bin/mencoder '/home/cultsites/stockingscult.com/video/1.wmv' -o /home/cultsites/stockingscult.com/flvideo/1216099472873149300.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
####################################################
Array
(
[0] => MEncoder 1.0rc1-3.3.5 (C) 2000-2006 MPlayer Team
[1] => CPU: Dual-Core AMD Opteron(tm) Processor 1218 HE (Family: 15, Model: 67, Stepping: 3)
[2] => CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
[3] => Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
[4] =>
[5] => success: format: 0 data: 0x0 - 0x167b4
[6] => ASF file format detected.
[7] => VIDEO: [WMV2] 320x240 24bpp 15.000 fps 0.0 kbps ( 0.0 kbyte/s)
[8] => [V] filefmt:6 fourcc:0x32564D57 size:320x240 fps:15.00 ftime:=0.0667
[9] => ==========================================================================
[10] => Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[11] => AUDIO: 16000 Hz, 1 ch, s16le, 16.0 kbit/6.25% (ratio: 2000->32000)
[12] => Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
[13] => ==========================================================================
[14] =>
[15] => Exiting...
)
####################################################
Return value: Exiting...
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.
-
Re: Trouble converting videos into FLV
Edit the video_conversion.php (include/settings)
Try to use the following command
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 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames";
-
Re: Trouble converting videos into FLV
I already tried that after looking around the forum. here's what I have right now
Code:
<?php
$cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec libmp3lame -ar 22050 -ab 32 -f flv $video_flv";
// For rpm (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";
$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;
-
Re: Trouble converting videos into FLV
-
Re: Trouble converting videos into FLV
I tried changes in topic #1 and still no flv video converted (shos 0 fytes in flv folder)
and
here's what I get in convert.php
MEncoder 1.0rc1-3.3.5 (C) 2000-2006 MPlayer Team
CPU: Dual-Core AMD Opteron(tm) Processor 1218 HE (Family: 15, Model: 67, Stepping: 3)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
success: format: 0 data: 0x0 - 0x167b4
ASF file format detected.
VIDEO: [WMV2] 320x240 24bpp 15.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:6 fourcc:0x32564D57 size:320x240 fps:15.00 ftime:=0.0667
================================================== ========================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 16000 Hz, 1 ch, s16le, 16.0 kbit/6.25% (ratio: 2000->32000)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
================================================== ========================
Exiting...
-
Re: Trouble converting videos into FLV
Please make sure your sever support all the vShare requirements.
http://vshare.in/requirements.html
Contact your webhost to check the vShare requirements.
If you have all the requirements Send PM me with all login details
-
Re: Trouble converting videos into FLV
all on the server. I have clip $hare runing fine on it.
-
Re: Trouble converting videos into FLV
PM Your login details with your ftp and vShare admin login details.
I can check and let you know why you are having problem with uploads.
-
Re: Trouble converting videos into FLV
PM sent. please check you inbox.
-
Re: Trouble converting videos into FLV
Hi, I can see that someone got something to work on the site but when I tried to upload my wmv video it didn't work. Someone sent me PM but it was deleted before I could read it by moderator.
-
Re: Trouble converting videos into FLV
Let me know following details to check your installation.
1. FTP Login details of the web site
2. vshare login details (user and admin).
I can check and let you know why you are having problem with uploads.
-
Re: Trouble converting videos into FLV
Hi, you don't have PM option turned on. How can I contact you? are you working with BuyScripts?
-
Re: Trouble converting videos into FLV
anybody here who can help?
-
Re: Trouble converting videos into FLV
Ok, this is starting to p*ss me off. at least say something? I sent PM messages posted 3 times here. any support available or not?
-
Re: Trouble converting videos into FLV
looks like I won't get any help from you here. :roll:
-
Re: Trouble converting videos into FLV
Let me know your url pleace.
-
Re: Trouble converting videos into FLV
Ramesh, sent you PM.
Please check.
-
Re: Trouble converting videos into FLV
I think ffmpeg-php is not working properly on your server.
read this
viewtopic.php?f=3&t=380
ffmpeg problem please cheack your ffmpeg properly install
cheack your phpinfo
-
Re: Trouble converting videos into FLV
ramesh, just sent you pm message with info where ffmpeg and other players are installed. they are working fine...
-
Re: Trouble converting videos into FLV
Pls edit the settings/video_conversion.php adn replace the code with
Code:
<?php
$cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec mp3 -ar 22050 -ab 32 -f flv $video_flv";
$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";
$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;
-
Re: Trouble converting videos into FLV
ramesh, made changes to it, and nothing happened. video gets uploaded in video directory but never converts anything in to flash. no flash output is made. I don't even see it in admin area as if it was never added at all.
-
Re: Trouble converting videos into FLV
In vShare admin area set the following
Site Configuration = > Site Settings = > Miscellaneous Settings = > Video Processing
Site Configuration = > Site Settings = > System Settings = > Auto Approve = > Enable.
Try again to upload videos
After uploadin video login to admin = Video Processing = > Process Queue = > click Convert now
-
Re: Trouble converting videos into FLV
Not converting anything..
Return value: Exiting...
Running flvtool2: export LD_LIBRARY_PATH=/home/japa13/lib; /home/japa13/bin/flvtool2 -U /home/japa13/88888888888scult.com/flvideo/1219302816900004844.flv
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.
-
Re: Trouble converting videos into FLV
-
Re: Trouble converting videos into FLV
Ok, got it to work but with one problem. Smaller videos 5000KB convert just fine, as soon as I try bigger videos around 40MB they error out.