Results 1 to 10 of 10

Thread: upload.php blank after vid upload

  1. #1
    Join Date
    Jun 2007
    Posts
    8

    Default upload.php blank after vid upload

    Hi guys,

    I've uploaded a video (2mb) and the page (upload.php) goes blank once the vid has been uploaded.

    any idea what might be happening.

    All the settings have been configured and all the plugins installed.

    url:www.videonookie.com (adult site but has default template)

    Cheers
    FB

  2. #2
    Join Date
    May 2007
    Posts
    686

    Default

    Make sure your servers root setting match your .htaccess file. I just went thru a week of that happenming and it turns out the script was timing out because the server didnt match my htaccess file.

  3. #3
    Join Date
    Jun 2007
    Posts
    8

    Default

    Thanks... I'll give it a go and let you know what happens


    Cheers
    FB

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

    Default

    Your problem is ffmpeg or ffmpeg-php not properly installed.

    Try running following PHP script in your server, it will not work


    Code:
    <?php
    
    $path = "/home/videonoo/public_html/video/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 of the video file is from your debug log

    http://www.videonookie.com/templates_c/debug.txt

    VIDEO LOCATION = /home/videonoo/public_html/video/3.mpg
    You can point it to any available video file on server.

  5. #5
    Join Date
    Jun 2007
    Posts
    8

    Default

    Hi Admin,

    yeah your right, I tried the code and wasn't able to see anything.

    The hosting guys said that they've installed ffmpeg on the server.
    Is there a version of ffmpeg that i should have installed?

    Cheers
    Fb

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

    Default

    You can ask the server provider to run the conversion command on ssh prompt and see if conversion works.

    It is always better download latest version from svn.

  7. #7
    Join Date
    Jun 2007
    Posts
    8

    Default

    Hi Admin,

    The test code you pasted seems to work now but the video doesn't seem to be converting the upload videos into the flv folder.

    any idea where the issue might be?

    http://www.videonookie.com/video/test.php

    regards
    Fb

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

    Default

    From your last video upload, it seems ffmpeg-php is working.

    The convert command is

    Code:
    /usr/bin/mencoder /home/videonoo/public_html/video/4.mpg -o /home/videonoo/public_html/flvideo/4.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
    Try running it from command prompt or php script to see if video is getting converted to FLV format, if not you have problem with mencoder installation.


    http://forums.buyscripts.in/viewtopic.php?t=351

  9. #9
    Join Date
    Jun 2007
    Posts
    8

    Default

    the scripts seems to work when uploading .flv files but when i try to upload the .wmv and .avi files... there are no files being converted.

    do i need to include in the config what file formats should be able to be converted?

    regards
    Fb

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

    Default

    mencoder/ffmpeg commands are used for converting video. You need to check if they are properly installed on your server and able to convert video.

    You can get convert command used to convert video in templates_c/debug.txt

Similar Threads

  1. blank video after upload
    By robaldo in forum Installation Support
    Replies: 1
    Last Post: 11-20-2007, 08:37 AM
  2. Blank screen after upload of large videos
    By doubleviking in forum Installation Support
    Replies: 2
    Last Post: 09-27-2007, 08:11 PM
  3. blank page after upload
    By Miko in forum Installation Support
    Replies: 5
    Last Post: 08-21-2007, 07:19 PM
  4. Replies: 1
    Last Post: 08-10-2007, 04:24 PM
  5. upload page BLANK
    By devarioj in forum Installation Support
    Replies: 9
    Last Post: 05-19-2007, 08:05 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
  •