Results 1 to 5 of 5

Thread: error parsing command line

  1. #1

    Default 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

  2. #2
    Join Date
    Sep 2008
    Posts
    1,019

    Default 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.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  3. #3

    Default 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

  4. #4
    Join Date
    Sep 2008
    Posts
    1,019

    Default 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.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  5. #5

    Default 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

Similar Threads

  1. Change conversion command ffmpeg/mencoder
    By admin in forum Frequently Asked Questions
    Replies: 23
    Last Post: 07-10-2008, 09:15 PM
  2. Error in line 0
    By Keizer in forum Installation Support
    Replies: 1
    Last Post: 11-25-2007, 09:15 AM
  3. Error on line 177
    By George in forum Fixed Bugs
    Replies: 1
    Last Post: 10-01-2007, 06:22 PM
  4. increase video quaility with mencoder scale command.
    By leki in forum Template Modifications
    Replies: 2
    Last Post: 09-07-2007, 07:39 PM
  5. Error parsing option on the command line: -lavfopts
    By micah in forum Installation Support
    Replies: 8
    Last Post: 09-01-2007, 03:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •