Results 1 to 8 of 8

Thread: Moved server videos not converting

  1. #1

    Red face Moved server videos not converting

    here is what i get :-

    Code:
    STARTING VIDEO CONVERSION (process_queue.id = 999)
    
    File: /home/amattube/public_html/video/mahsdg.wmv
    $file_extn = wmv
    SELECT * FROM `videos` WHERE 			       `video_id`=996
    Video id: 996
    Video Output File Name : /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.flv$video_flv = Video Output File Name : /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.flv
    Find video duration - START/usr/local/bin/mplayer -vo null -ao null -frames 0 -identify /home/amattube/public_html/video/mahsdg.wmv
    Duration (mplayer): 0
    DURATION: 00:00Create Thumbnail - START
    
    Create Thumbnail with mplayer - END
    $cmd_convert_v = convert_wmv
    428 $cmd_convert = /usr/local/bin/mencoder '/home/amattube/public_html/video/mahsdg.wmv' -o /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.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 
    Return value: 
    Running flvtool2: /usr/local/flvtool2 -U /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.flv
    
    UPDATE `process_queue` SET 		       `status`='6' WHERE 		       `id`='999'
    ERROR: failed video conversion.
    
    

  2. #2
    Join Date
    Sep 2007
    Posts
    906

    Default

    Look like requirements installation is not proper.

    Run following command on command line and see if it works.

    Code:
    /usr/local/bin/mencoder '/home/amattube/public_html/video/mahsdg.wmv' -o /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.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
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  3. #3

    Default

    Quote Originally Posted by hostonnet View Post
    Look like requirements installation is not proper.

    Run following command on command line and see if it works.

    Code:
    /usr/local/bin/mencoder '/home/amattube/public_html/video/mahsdg.wmv' -o /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.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


    i get this error :-

    -bash: /usr/local/bin/mencoder: No such file or directory

  4. #4
    Join Date
    Sep 2007
    Posts
    906

    Default

    You have no mplayer installed at /usr/local/bin/mencoder

    Check if mplayer is installed

    Code:
    which mencoder
    will list the path if already installed. Some times it can be in /usr/bin/mencoder
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  5. #5

    Red face

    my server admins did some thing and gave me this details :-

    Code:
    ffmpeg 
    /usr/local/bin/ffmpeg 
    mencoder 
    /usr/local/bin/mencoder 
    mplayer 
    /usr/local/bin/mplayer 
    flvtool2 
    /usr/bin/flvtool2 
    lame 
    /usr/local/bin/lame 
     libogg 
    libogg: /usr/local/lib/libogg.so /usr/local/lib/libogg.la /usr/local/lib/libogg.a 
     libvorbis 
    libvorbis: /usr/local/lib/libvorbis.so /usr/local/lib/libvorbis.la /usr/local/lib/libvorbis.a 
     
    i change config file as mentioned above location and tried conversion again, see this error i get :-

    Code:
    STARTING VIDEO CONVERSION (process_queue.id = 999)
    
    File: /home/amattube/public_html/video/mahsdg.wmv
    $file_extn = wmv
    SELECT * FROM `videos` WHERE                    `video_id`=996
    Video id: 996
    Video Output File Name : /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.flv$video_flv = Video Output File Name : /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.flv
    Find video duration - START/usr/local/bin/mplayer -vo null -ao null -frames 0 -identify /home/amattube/public_html/video/mahsdg.wmv
    Duration (mplayer): 0
    DURATION: 00:00Create Thumbnail - START
    
    Create Thumbnail with mplayer - END
    $cmd_convert_v = convert_wmv
    428 $cmd_convert = /usr/local/bin/mencoder '/home/amattube/public_html/video/mahsdg.wmv' -o /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.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 
    Return value: 
    Running flvtool2: /usr/bin/flvtool2 -U /home/amattube/public_html/flvideo/4ca4238a0b/1260817801686090519.flv
    
    UPDATE `process_queue` SET                `status`='6' WHERE                `id`='999'
    ERROR: failed video conversion.
    
    

  6. #6
    Join Date
    Sep 2007
    Posts
    906

    Default

    As per the log, mplayer can't get the video duration. It can be due to mplayer not installed properly or having some problem.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  7. #7

    Cool

    ok my server admins fixed conversion issue but now strange errors started , when i try approve any videos i see :-


    Code:
    Warning:  mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/amattube/public_html/include/class.tags.php on line 70

  8. #8
    Join Date
    Sep 2007
    Posts
    906

    Default

    If you have problem contact [email protected], we can check your site.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

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
  •