Results 1 to 9 of 9

Thread: Video not processing

  1. #1

    Default Video not processing

    Vshare fans,

    Please help. Videos are not processing after uploadimg, and are not shown on heyahey.com

    When I try to play the video on the admin panel, I get the following error: Video not find or acces denied, http://www.heyahey.com/flvideo/3254242videolongetc

    Please help me, because I have over 15 videos which was not processed in the last 24hr

    Atached the screenshot with the error.

    Please help me,

    Regards,

    Ioan
    Heyahey.com

  2. #2

    Default

    Login to admin area = > Video Processing = > Process Queue = > Convert now

    If you can see "Convert Error or converted video is less than 1 kb in size"

    change the convert command in include/settings/video_conversion.php

  3. #3

    Default

    Quote Originally Posted by buyscripts View Post
    Login to admin area = > Video Processing = > Process Queue = > Convert now

    If you can see "Convert Error or converted video is less than 1 kb in size"

    change the convert command in include/settings/video_conversion.php
    this is what i get, when i did what you advice. Please also advice what you mean when you're saying "change the convert command in include/settings/video_conversion.php"

    I think that may be a server problem, rather than a script problem, because currently I have two scripts installation on the server, (one for good, one for testing purposes) and both experiencing the same problem which Is weird I think.

    thank you so much, that you're trying to help.

    regards,



    STARTING VIDEO CONVERSION (process_queue.id = 665)

    File: /home/heyaheyc/public_html/video/test.mpg
    $file_extn = mpg
    SELECT * FROM `videos` WHERE `video_id`=700
    Video id: 700
    Video Output File Name : /home/heyaheyc/public_html/flvideo/4ca4238a0b/12484961921289958177.flv
    $video_flv = Video Output File Name : /home/heyaheyc/public_html/flvideo/4ca4238a0b/12484961921289958177.flv
    Find video duration - START
    /usr/bin/ffmpeg -i /home/heyaheyc/public_html/video/test.mpg
    FFmpeg version SVN-r17451, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --prefix=/usr --enable-swscale --disable-mmx --disable-debug --enable-x11grab --enable-gpl --enable-postproc --enable-nonfree --enable-postproc --enable-libfaad --enable-avfilter --enable-pthreads --enable-libxvid --enable-libtheora --enable-libmp3lame --enable-libfaac --disable-ffserver --disable-ffplay --enable-libvorbis --enable-libamr-nb --enable-shared --enable-libamr-wb --enable-libx264 --enable-libdc1394 libavutil 49.14. 0 / 49.14. 0 libavcodec 52.16. 0 / 52.16. 0 libavformat 52.29. 1 / 52.29. 1 libavdevice 52. 1. 0 / 52. 1. 0 libavfilter 0. 3. 0 / 0. 3. 0 libswscale 0. 7. 0 / 0. 7. 0 libpostproc 51. 2. 0 / 51. 2. 0 built on Feb 19 2009 08:34:58, gcc: 4.1.2 20071124 (Red Hat 4.1.2-42)Input #0, mpeg, from '/home/heyaheyc/public_html/video/test.mpg': Duration: 00:00:02.44, start: 0.743689, bitrate: 1379 kb/s Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 352x288 [PAR 178:163 DAR 1958:1467], 1150 kb/s, 25.00 tb(r) Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16, 192 kb/sAt least one output file must be specifiedDuration (ffmpeg): 2
    DURATION: 00:02
    Create Thumbnail - START

    Creating Thumbnail with ffmpeg

    /home/heyaheyc/public_html/thumb/4ca4238a0b//700.jpg
    /usr/bin/ffmpeg -i /home/heyaheyc/public_html/video/test.mpg -ss 00:00:01 -t 00:00:01 -s 320x240 -r 1 -f mjpeg /home/heyaheyc/public_html/thumb/4ca4238a0b//700.jpg/home/heyaheyc/public_html/thumb/4ca4238a0b//1_700.jpg
    /usr/bin/ffmpeg -i /home/heyaheyc/public_html/video/test.mpg -ss 00:00:02 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /home/heyaheyc/public_html/thumb/4ca4238a0b//1_700.jpgCreate Thumbnail with ffmpeg - END
    $cmd_convert_v = convert_mpg
    428 $cmd_convert = /usr/bin/mencoder '/home/heyaheyc/public_html/video/test.mpg' -o /home/heyaheyc/public_html/flvideo/4ca4238a0b/12484961921289958177.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -ofps 24 -vf harddup
    MEncoder SVN-r28661-4.1.2 (C) 2000-2009 MPlayer Teamsuccess: format: 0 data: 0x0 - 0x66b24MPEG-PS file format detected.VIDEO: MPEG1 352x288 (aspect 25.000 fps 1150.0 kbps (143.8 kbyte/s)[V] filefmt:2 fourcc:0x10000001 size:352x288 fps:25.000 ftime:=0.0400===================================== =====================================Opening audio decoder: [mp3lib] MPEG layer-2, layer-3AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)================================================ ==========================Exiting...Return value: Exiting...
    Running flvtool2: /usr/bin/flvtool2 -U /home/heyaheyc/public_html/flvideo/4ca4238a0b/12484961921289958177.flv

    UPDATE `process_queue` SET `status`='6' WHERE `id`='665'
    ERROR: failed video conversion.
    Last edited by heyahey; 07-25-2009 at 05:34 AM.

  4. #4

    Default

    Edit include/settings/video_conversion.php replace the content with following

    HTML Code:
    <?php
    
    $cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec libmp3lame -ar 22050 -ab 32 -f flv $video_flv";
    
    # 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";
    
    # 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";
    
    $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;
    upload a test video and check the status

  5. #5
    Join Date
    Sep 2007
    Posts
    906

    Default

    Look like mplayer is not properly installed on your server, verify with your server admin following command can convert video into FLV format.

    Code:
    /usr/bin/mencoder '/home/heyaheyc/public_html/video/test.mpg' -o /home/heyaheyc/public_html/flvideo/4ca4238a0b/12484961921289958177.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -ofps 24 -vf harddup
    If not, your mencoder or other related software installation is faulty.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  6. #6

    Default

    Quote Originally Posted by buyscripts View Post
    Edit include/settings/video_conversion.php replace the content with following

    HTML Code:
    <?php
     
    $cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec libmp3lame -ar 22050 -ab 32 -f flv $video_flv";
     
    # 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";
     
    # 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";
     
    $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;
     
    upload a test video and check the status
    I did it, still not working,

    Also, there is something unusual, when i click "site software" on heyahey cpanel, this does apear, is that normal? or it means that a directory is missing from the server ? See atached...

  7. #7
    Join Date
    Sep 2007
    Posts
    906

    Default

    You need to verify mplayer/mencoder is properly installed on the server. Contact server admin/web host and ask them if the convert command is able to convert video to FLV format, if not installation is faulty. There is two different convert commands, one for release (old version) and one for SVN, you use SVN version.

    Cpanel, i don't know why the first permission error. May be cpanel addons are not enabled on the server. It can be enabled or disabled through WHM when logged in as user root.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  8. #8

    Default

    Quote Originally Posted by hostonnet View Post
    You need to verify mplayer/mencoder is properly installed on the server. Contact server admin/web host and ask them if the convert command is able to convert video to FLV format, if not installation is faulty. There is two different convert commands, one for release (old version) and one for SVN, you use SVN version.

    Cpanel, i don't know why the first permission error. May be cpanel addons are not enabled on the server. It can be enabled or disabled through WHM when logged in as user root.

    this is the reply i have received from the guys with the hosting, when they try the code bellow,

    "/usr/bin/mencoder '/home/heyaheyc/public_html/video/test.mpg' -o /home/heyaheyc/public_html/flvideo/4ca4238a0b/12484961921289958177.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -ofps 24 -vf harddup"

    this error comes out:

    "MEncoder SVN-r28661-4.1.2 (C) 2000-2009 MPlayer Team
    Option lavcopts: Unknown suboption l
    Error parsing option on the command line: -lavcopts

    Exiting... (error parsing command line)"

    Do you have any idea why that is?

    thanks,
    Last edited by heyahey; 07-26-2009 at 11:11 AM.

  9. #9

    Default

    Changed server, and now everything works perfect, but still have no idea what the problem was.

    However thanks to everyone who was trying to help, in one way or another…


    Regards,

    Heyahey.com

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
  •