error parsing command line
Hi
I've been reading throught the these post for the last couple hours and I just can't figure this out.
This is a "New Install" and I am on the "HostOnNet.com" servers.
Everything seems to be working fine except there is a problem when uploading a video from the site, as a user.
When uploading the video, everything appares to be working fine...
1) Progress Bar runs and
2) Your video was successfully added! screen appares.
The video then shows up in the Admins "Process Queue" but the Status shows, "Convert Error".
If I try to "Convert Again" I get the following error message...
STARTING VIDEO CONVERSION (process_queue.id = 27)
--------------------------------------------------------------------------------
File: /home/gspiritt/public_html/vshare/video/GSTEST_1.mpeg
################################################## ##
SELECT * FROM `video` WHERE `VID`=31
################################################## ##
Video id: 31
Find video duration - START
Duration (ffmpeg-php): 191
DURATION: 03:11
Create Thumbnail - START
Create Thumbnail with ffmpeg-php - END
CONVERT COMMAND: /usr/bin/mencoder '/home/gspiritt/public_html/vshare/video/GSTEST_1.mpeg' -o /home/gspiritt/public_html/vshare/flvideo/1239304593907482902.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=738: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 -sub /home/gspiritt/public_html/vshare/include/settings/watermark.srt -subpos 98
################################################## ##
Array
(
[0] => MEncoder dev-SVN-r26079-4.1.2 (C) 2000-2008 MPlayer Team
[1] => CPU: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz (Family: 6, Model: 15, Stepping: 7)
[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] =>
[6] => Exiting... (error parsing command line)
)
################################################## ##
Return value: Exiting... (error parsing command line)
Running flvtool2: /usr/bin/flvtool2 -U /home/gspiritt/public_html/vshare/flvideo/1239304593907482902.flv
---------------------------------------------------------------------------------------
I should mention that .flv files do work, mpg, avi, wmv do not work)
Please Help,
Thanks
Re: error parsing command line
Your convert command that you are using is from the watermark/hardcode mod. That command does not work on the newer versions of mencoder. You will need to revert back to the original code that came with vShare for it to work properly.
Re: error parsing command line
Thanks for the reply bplex.
Are you saying that I can not use the watermark/hardcode mod at all, and that I should scrap the idea, or is there a work around for it?
Thanks
BC
Re: error parsing command line
You can try using the command for the newer versions of mencoder (the line in the original code that isn't commented out) and adding:
Code:
-sub /home/gspiritt/public_html/vshare/include/settings/watermark.srt -subpos 98
To the end of it. But, chances are, it will not work as the newer versions of mencoder seem to reject the sub command.
Re: error parsing command line
Thanks bplex,
I didn't feel like playing around with it anymore so I just converted it back, works fine now.
Thanks again
BC