Upload not working, ffmpeg-php problem
In debug log, if you see
Quote:
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)
Quote:
VIDEO LOCATION = /home/bizhat/public_html/video/1.wmv
In this case replace
Quote:
$path = "/path/to/a/video/on/server/3.mpg";
With
Quote:
$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.
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
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.
Re: Upload not working, ffmpeg-php problem
Now my video apperently uploads but it does not play...please someone help me.
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
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
Re: Upload not working, ffmpeg-php problem
check the templates_c folder exists and permissions on it are set to 777