Results 1 to 9 of 9

Thread: When uploading vid. upload.php wants to download!

  1. #1
    Join Date
    Jul 2007
    Posts
    17

    Default When uploading vid. upload.php wants to download!

    Ok when i try upload a video and i click upload button, it loads for a while then i get a popup for me to download the upload.php file. How can i fix this?

  2. #2
    Join Date
    Jul 2007
    Posts
    17

    Default

    dunno got it fixed, but now when i upload a video it doesnt load.

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

    Default

    The reason for this is requirements are not properly installed.

    http://www.vshare.in/requirements.html

    What is your site url ?

  4. #4
    Join Date
    Aug 2007
    Posts
    12

    Default

    Quote Originally Posted by admin
    The reason for this is requirements are not properly installed.

    http://www.vshare.in/requirements.html

    What is your site url ?
    Same problem here. See http://zdev.zavoodi.net/vshare/

    I've confirmed that all necessary packages are installed.

    I can import a video, and see that it is copied to the temp directory, but when I try to convert the video, the browser attempts to download the import_video_convert.php file. Same goes for a regular user trying to upload a video.

    Here's the output of the import screen:

    Code:
    Title: Leaves of Fall
    Description: Fall leaves from Kentucky
    Tags: Leaves Kentucky Fall
    Channel Id(s) : 3
    File Name: /var/www/vshare/video/import_1187544549.mov
    File Size: 5686234
    Type: public
    Orginal Video Details
    
    File Name = /var/www/vshare/video/import_1187544549.mov
    Duration = 93.159826 seconds
    Frame Count = 2792
    frame rate = 29.969999313354 fps
    comment =
    title =
    author =
    copyright =
    frame height = 240 pixels
    frame width = 436 pixels
    has audio = 1
    get pixel format = yuv420p
    get pixel aspect ratio = 0
    get video codec = h264
    get audio codec = mpeg4aac
    get audio channels = 2
    get bit rate = 488299 kb/s
    get frame = True
    get frame number = 9
    So, ffmpeg and ffmpeg-php are properly installed.

    I've confirmed that all videos are uploading fine...just not being converted.

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

    Default

    Quote Originally Posted by godrifle
    So, ffmpeg and ffmpeg-php are properly installed.
    yes, they are installed, but can't say installation is proper and will convert your video.

    Quote Originally Posted by godrifle
    I've confirmed that all videos are uploading fine...just not being converted.
    You need to run the convert command on the server and see if video is getting converted to FLV format.

    See

    Video not getting converted to flv

  6. #6
    Join Date
    Aug 2007
    Posts
    12

    Default

    Quote Originally Posted by admin

    You need to run the convert command on the server and see if video is getting converted to FLV format.

    See

    Video not getting converted to flv
    Thank you for your very prompt replies. Manual conversion to flv works fine. I should note that there is no command output, as shown in the URL above, in my debug.txt file. So I reconstructed the command from the above URL, and put it in a convert.php script as detailed:

    http://zdev.zavoodi.net/vshare/convert.php

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

    Default

    Conversion works. Your problem is with ffmpeg-php, that is not able to create thumbnail. This mostly caused by old version of ffmpeg, a reinstallation of ffmpeg and ffmpeg-php will fix it.

  8. #8
    Join Date
    Aug 2007
    Posts
    12

    Default

    Quote Originally Posted by admin
    Conversion works. Your problem is with ffmpeg-php, that is not able to create thumbnail. This mostly caused by old version of ffmpeg, a reinstallation of ffmpeg and ffmpeg-php will fix it.
    Can you provide a test string to verify this? I compiled ffmpeg and ffmpeg-php from the latest svn repositories today. What version of ffmpeg-php do you recommend? And what build of ffmpeg?

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

    Default

    To verify download the script available at

    http://www.buyscripts.in/tmp/thumb.phps


    Find

    $ff = $config[basedir]. "/video/90kb_1.wmv";

    Replace with any existing video in video folder.

    Rename the file to thumb.php, upload to your site and run it.

    It should create following files.

    thumb/288.jpg
    thumb/1_288.jpg
    thumb/2_288.jpg
    thumb/3_288.jpg

    On servers having problem, i have found it some times create thumb, some times not, proper reinstallation of ffmpeg/ffmpeg-php will fix the problem.

Similar Threads

  1. I cant download.
    By umarsa in forum Sales Questions
    Replies: 5
    Last Post: 05-15-2009, 04:44 PM
  2. Pay Per Download
    By paul374 in forum Feature Requests
    Replies: 5
    Last Post: 11-15-2008, 06:55 PM
  3. Error Uploading. upload keeps resetting
    By blissfind in forum Installation Support
    Replies: 7
    Last Post: 03-22-2008, 01:25 PM
  4. Uploading Error, upload.php Not Found ??
    By cumminsj in forum Fixed Bugs
    Replies: 0
    Last Post: 09-26-2007, 12:06 AM
  5. UPloading Problem (not able to upload any video to the websi
    By bulu4uu in forum Installation Support
    Replies: 2
    Last Post: 07-08-2007, 09:42 AM

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
  •