I cannot convert videos into flv and when I try try to convert one i get this message:
STARTING VIDEO CONVERSION (process_queue.id = 24)
STOP: can only process when status = 2. Current status is: 4
I cannot convert videos into flv and when I try try to convert one i get this message:
STARTING VIDEO CONVERSION (process_queue.id = 24)
STOP: can only process when status = 2. Current status is: 4
here my debug file:
2008-02-21 17:58:37 STARTING VIDEO CONVERSION (process_queue.id = 27)
2008-02-21 17:58:37 File: /home/epm/public_html//video/Emmy2007_arrivals.flv
2008-02-21 17:58:37 ################################################## ##
2008-02-21 17:58:37 INSERT INTO video SET
UID='2',
seo_name='klklk',
title='klklk',
description='klkkk',
keyword='klkl',
channel='0|27|0',
vdoname='Emmy2007_arrivals.flv',
flvdoname='1203634717215706803.flv',
addtime='1203634717',
adddate='2008-02-21',
type='public',
active='0',
approve='1'
2008-02-21 17:58:37 ################################################## ##
2008-02-21 17:58:37 Video id: 27
2008-02-21 17:58:37 Find video duration - START
2008-02-21 17:58:38 STARTING VIDEO CONVERSION (process_queue.id = 27)
2008-02-21 17:58:38 STOP: can only process when status = 2. Current status is: 4
2008-02-21 17:58:52 STARTING VIDEO CONVERSION (process_queue.id = 27)
2008-02-21 17:58:52 File: /home/epm/public_html//video/Emmy2007_arrivals.flv
2008-02-21 17:58:52 ################################################## ##
2008-02-21 17:58:52 SELECT * FROM `video` WHERE `VID`=27
2008-02-21 17:58:52 ################################################## ##
2008-02-21 17:58:52 Video id: 27
2008-02-21 17:58:52 Find video duration - START
What version vshare?
Is this from fresh new first-time-use install or upgrade?
If it's not fun, stop doing it!
it's vshare v.6 and yeah it's a fresh install
I had a problem with the fresh install and it had to do with the convert commands in the video_conversions.php.
I had to use the one from 2.4 or 2.5 (I can't remember now sorry), it was something in the newer version of the convert commands in there that the ffmpeg thingie didn''t like, so I went back to one that I knew worked and haven't had a problem.
It's the include/settings/video_conversions.php
I'm suspecting you might have same issue. If you want, I can send you my video_conversions.php file for you to test out.
If it's not fun, stop doing it!
that'd be awesome :)
Okie dokie, I'll contact you via this forums email function. I'll be including the file in the email.
If it's not fun, stop doing it!
okay!
Thanks so much..
I just need to overwrite that file and then test the convert thing right?
Yeah, but first RENAME THE ORIGINAL! Call it "video_conversion.php.BAK" or something like that just in case any changes you make don't work out or if things change in the future, you will still be able to use it simply by putting back the original name.
Here's what I have been using
I sent you the actual file in email. Let me know if it works for you or not.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=768: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;
As far as the new video_conversion.php goes, I'm suspecting I need to UNCOMMENT the lines in the newer version of video_conversion.php for the OLDER mcoder and comment out the new code. I'll play around with that later.
If it's not fun, stop doing it!
now I have this on my debug.txt
2008-02-22 18:32:04 STARTING VIDEO CONVERSION (process_queue.id = 3)
2008-02-22 18:32:04 File: /home/fmu/public_html/FaithTube/video/Faith-Hill-Tim-McGraw---Talking-about-Swampstock.wmv
2008-02-22 18:32:04 ################################################## ##
2008-02-22 18:32:04 SELECT * FROM `video` WHERE `VID`=3
2008-02-22 18:32:04 ################################################## ##
2008-02-22 18:32:04 Video id: 3
2008-02-22 18:32:04 Find video duration - START
2008-02-22 18:32:04 Duration (ffmpeg): 222
2008-02-22 18:32:04 DURATION: 03:42
2008-02-22 18:32:04 Create Thumbnail - START
2008-02-22 18:32:15 Create Thumbnail with ffmpeg - END
2008-02-22 18:32:15 CONVERT COMMAND: /usr/bin/mencoder '/home/fmu/public_html/FaithTube/video/Faith-Hill-Tim-McGraw---Talking-about-Swampstock.wmv' -o /home/fmu/public_html/FaithTube/flvideo/1203624918272355046.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=768:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es
2008-02-22 18:32:15 ################################################## ##
2008-02-22 18:32:15 MEncoder 1.0rc2-3.4.6 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Xeon(R) CPU E5405 @ 2.00GHz (Family: 6, Model: 23, 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
MPlayer was compiled without libmp3lame support.
Exiting... (error parsing command line)
Bookmarks