Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: Upload not working, ffmpeg-php problem

  1. #1
    Join Date
    Apr 2007
    Posts
    2,202

    Default Upload not working, ffmpeg-php problem

    In debug log, if you see

    Initialize ffmpeg - Begin
    as last line, your ffmpeg-php is not installed properly.

    ffmpeg-php depends on ffmpeg. So problem can be with ffmpeg or ffmpeg-php installation.

    To verify the problem, create a php file with following content


    Code:
    <?php
    
    $path = "/path/to/a/video/on/server/3.mpg";
    $mov = new ffmpeg_movie($path);
    
    echo "<pre>";
    echo "
    getDuration: "        . $mov->getDuration() .
         "
    getFrameCount: "      . $mov->getFrameCount() .
         "
    getFrameRate: "       . $mov->getFrameRate() .
         "
    getFilename: "        . $mov->getFilename() .
         "
    getComment: "         . $mov->getComment() .
         "
    getTitle: "           . $mov->getTitle() .
         "
    getAuthor: "          . $mov->getAuthor() . 
         "
    getCopyright: "       . $mov->getCopyright() .
         "
    getArtist: "          . $mov->getArtist() .
         "
    getGenre: "           . $mov->getGenre() .
         "
    getTrackNumber: "     . $mov->getTrackNumber() .
         "
    getYear: "            . $mov->getYear() .
         "
    getFrameHeight: "     . $mov->getFrameHeight() . 
         "
    getFrameWidth: "      . $mov->getFrameWidth() .
         "
    getPixelFormat: "     . $mov->getPixelFormat() . 
         "
    getBitRate: "         . $mov->getBitRate() . 
         "
    getVideoBitRate: "    . $mov->getVideoBitRate() .
         "
    getAudioBitRate: "    . $mov->getAudioBitRate() .
         "
    getAudioSampleRate: " . $mov->getAudioSampleRate() .
         "
    getVideoCodec: "      . $mov->getVideoCodec() .
         "
    getAudioCodec: "      . $mov->getAudioCodec() .
         "
    getAudioChannels: "   . $mov->getAudioChannels() . 
         "
    hasAudio: "           . $mov->hasAudio();
    
    ?>


    $path = "/path/to/a/video/on/server/3.mpg";

    This is path to uploded video file. You can upload one by FTP or you can see uploded file location in your debug log (templates_c/debug.txt)

    VIDEO LOCATION = /home/bizhat/public_html/video/1.wmv
    In this case replace

    $path = "/path/to/a/video/on/server/3.mpg";
    With

    $path = "/home/bizhat/public_html/video/1.wmv";
    Upload the php script to your server and run it, it should show information about the video, if not your ffmpeg or ffmpeg-php installation is not proper.

  2. #2
    Join Date
    Jul 2007
    Posts
    169

    Default Upload 404 Error

    I was trying to upload a vid and got this error "The requested URL /cgi-bin/uu_upload.pl was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

    Any idea what is wrong?
    SPEED UP YOUR VSHARE SITE!
    Speed up your vshare site by "offloading" your images and video thumbs!
    Just visit http://offload.limbar.com for details.

  3. #3
    Join Date
    Apr 2007
    Posts
    2,202

    Default Re: Upload 404 Error

    Quote Originally Posted by browniegirl
    I was trying to upload a vid and got this error "The requested URL /cgi-bin/uu_upload.pl was not found on this server.
    You don't have the file /cgi-bin/uu_upload.pl on the server, try go to thr url

    http://yourdomain.extn/cgi-bin/uu_upload.pl

    See if that works, if not reupload the file.

    You also need to chmod the file 755

  4. #4
    Join Date
    Jul 2007
    Posts
    169

    Default

    yep -- did that twice, and made the file 755... but still getting a 404 error :(
    SPEED UP YOUR VSHARE SITE!
    Speed up your vshare site by "offloading" your images and video thumbs!
    Just visit http://offload.limbar.com for details.

  5. #5
    Join Date
    Sep 2007
    Posts
    8

    Default Re: Upload not working, ffmpeg-php problem

    My video upload is not working properly. i keep getting this:

    ERROR: Unable to execute query

    INSERT INTO `process_queue` SET
    file='Arby's commercials.VOB',
    title ='fdhe',
    description='fgsd',
    keywords='fgdsd',
    channels='13',
    type='public',
    user='Poetri',
    user_ip='71.189.135.2',
    status=2
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's commercials.VOB', title ='fdhe', description='fgsd', keywords='fgdsd', ' at line 2

    WHAT DO I DO? Someone please help me.

    Check it out for yourself...
    http://www.spokenfunklive.com

  6. #6
    Join Date
    Apr 2007
    Posts
    2,202

    Default Re: Upload not working, ffmpeg-php problem

    spokenfunk, download the ZIP available at

    viewtopic.php?f=9&t=1423

    unzip and upload to your server and try uploading a video, it will fix the SQL error you got.

  7. #7
    Join Date
    Sep 2007
    Posts
    8

    Default Re: Upload not working, ffmpeg-php problem

    Now my video apperently uploads but it does not play...please someone help me.

  8. #8
    Join Date
    Apr 2007
    Posts
    2,202

    Default Re: Upload not working, ffmpeg-php problem

    You need to check if video is getting converted to FLV, if not check debug log file at templates_c/debug.txt

    More details available at

    Video Not Playing
    Video not getting converted to flv
    Create Thumbnail - START

  9. #9
    Join Date
    Oct 2007
    Posts
    2

    Default Re: Upload not working, ffmpeg-php problem

    hello there,

    i am having problem uploading test video

    here is the error message i get when i try to upload vido;

    ERROR: Failed to mkdir /home/web/vshare/templates_c/: No such file or directory


    can anyone help?

    thanks

  10. #10
    Join Date
    May 2007
    Posts
    588

    Default Re: Upload not working, ffmpeg-php problem

    check the templates_c folder exists and permissions on it are set to 777

Page 1 of 4 123 ... LastLast

Similar Threads

  1. FFMPEG not working on vshare only
    By gertiebeth in forum Installation Support
    Replies: 2
    Last Post: 03-29-2008, 02:15 PM
  2. FFMPEG Not Working
    By ltd in forum Installation Support
    Replies: 2
    Last Post: 03-20-2008, 09:24 AM
  3. Problem with FFmpeg on Cirtex hosting
    By warmup in forum Installation Support
    Replies: 1
    Last Post: 10-26-2007, 05:36 AM
  4. video codecs not working with Vshare (ffmpeg)
    By leki in forum Fixed Bugs
    Replies: 0
    Last Post: 10-06-2007, 06:50 PM
  5. mencoder not working? use FFMPEG INSTEAD! :)
    By mersh in forum Installation Support
    Replies: 10
    Last Post: 06-28-2007, 08:56 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
  •