VIDEO CONVERSION error status = 2. Current status is: 4
I'm getting this when I try to convert can I get any help ?
I'm sure I wont get :-(
STARTING VIDEO CONVERSION (process_queue.id = 207)
--------------------------------------------------------------------------------
STOP: can only process when status = 2. Current status is: 4
Re: VIDEO CONVERSION error status = 2. Current status is: 4
Try this:
Open the file include/settings/video_conversion.php .
There, set cmd_all to mencoder, so that it looks like this after >>:
Code:
$cmd_all = $cmd_mencoder;
Then, comment IN the code for the new mencoder, so that it looks like this after >>: ...
Code:
# 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";
... and now, comment OUT the code for the older mencoder, so that it looks like this after>>:
Code:
# 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";
Finished. Now save the file, and try to process the queue again.
If your converting works now, then your host is simply using an older mencoder-version.
If it still doesnt work, then i assume something is wrong with your binary-paths and / or chmods of folders and files.
thanks.
Re: VIDEO CONVERSION error status = 2. Current status is: 4
Hi
Thanks for the help but it didn't work. I installed the script on Feb/15/08 and it was working fine up to May/23/08 and now as soon as I try to upload a video the video is sent to the server but it's not converted. I don't have any spaces in the file name I uploaded a lot of video befor and all worked fine, then it just stoped working after 3 months. The host i'm using tryed to help me but no luck even after I deleted all files and reinstalled the script. They think it's the script but I tolded them it worked fine for 3 months so it should work now. Vshare says it's the server and the server says it's the script, so what are we to do ? I get this error as soon as I try to upload or click on convert now. ------>
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Thanks
Re: VIDEO CONVERSION error status = 2. Current status is: 4
Hi,
I deleted the debug in templates_c and tried to upload a video, This is what I get in the debug file.
2008-05-29 11:22:21 Upload Finished
2008-05-29 11:22:21 STARTING VIDEO CONVERSION (process_queue.id = 257)
2008-05-29 11:22:21 File: /home/highonvi/public_html/video/Banned-Commercials-Cannabis.mpg
2008-05-29 11:22:21 ################################################## ##
2008-05-29 11:22:21 INSERT INTO video SET
UID='1',
seo_name='testing',
title='testing',
description='testing',
keyword='trying',
channel='0|2|0',
vdoname='Banned-Commercials-Cannabis.mpg',
flvdoname='1212078141968866971.flv',
addtime='1212078141',
adddate='2008-05-29',
type='public',
active='0',
approve='1'
2008-05-29 11:22:21 ################################################## ##
2008-05-29 11:22:21 Video id: 220
2008-05-29 11:22:21 Find video duration - START
2008-05-29 11:22:21 Duration (ffmpeg-php): 0
2008-05-29 11:22:21 DURATION: 00:00
2008-05-29 11:22:21 Create Thumbnail - START
and with the error above.
Re: VIDEO CONVERSION error status = 2. Current status is: 4
Please check the path of the ffmpeg and mecoder in config.php(include/settings).
Also check the following
viewtopic.php?t=351
viewtopic.php?f=3&t=1591