-
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.
-
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?
-
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
-
yep -- did that twice, and made the file 755... but still getting a 404 error :(
-
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
-
Re: Upload not working, ffmpeg-php problem
leki, thanks for posting the problem, but i follow what the admin told me and unzip the ffmpeg file and uploaded to my server but in vain. This is not working.
Admin please take the time to let us know what we should do. We are not savvy like you guys and i have been having this propblem since i upgraded to 2.5
Any help will be very much appreciated.
Thanks
-
Re: Upload not working, ffmpeg-php problem
unzip ffmpeg and upload will not work. You need to install as per
http://docs.buyscripts.in/wiki/Ffmpeg
Better ask your server admin to do this.
vshare 2.5 do not have any change in conversion. Video conversion part is same as that used from vshare 2.1.
If video is not converting, you can get convert command from debug.txt file. Ask your server admin to run the command on the server. You can mosify the convert command to match your server if needed. vShare works if your ffmpeg or mencoder can convert video.
Refer
Video not getting converted to flv
Create Thumbnail - START
-
Re: Upload not working, ffmpeg-php problem
i have checked templates_c folder and set the permissions to 777. however, i am still getting same error.
can some one help please!
thanks
-
Re: Upload not working, ffmpeg-php problem
Quote:
/home/web/vshare/templates_c/
This is default path, you need to change it o match your server. That is full path to templates_c folder from root.
-
Re: Upload not working, ffmpeg-php problem
I cannot upload any videos on my website. As a user, the page became blank when i try to upload. I talk to my webshosting and they said it's the upload file because the ffmpeg is already installed and working fine. i am really novice on this and it's been 2 weeks now that i can do nothing. I email admin and nothing is happening.
Any help will be very much appreciated.
-
Re: Upload not working, ffmpeg-php problem
Quote:
I cannot upload any videos on my website. As a user, the page became blank when i try to upload. I talk to my webshosting and they said it's the upload file because the ffmpeg is already installed and working fine. i am really novice on this and it's been 2 weeks now that i can do nothing. I email admin and nothing is happening.
Any help will be very much appreciated.
My website is sendaara.com you can try creating your own sign in to see what i am talking about.
Thanks
Contact us at [email protected], we can check your installation.
-
Re: Upload not working, ffmpeg-php problem
Quote:
Quote:
Originally Posted by mniang70
I cannot upload any videos on my website. As a user, the page became blank when i try to upload. I talk to my webshosting and they said it's the upload file because the ffmpeg is already installed and working fine. i am really novice on this and it's been 2 weeks now that i can do nothing. I email admin and nothing is happening.
Any help will be very much appreciated.
My website is sendaara.com you can try creating your own sign in to see what i am talking about.
Thanks
Contact us at
[email protected], we can check your installation.
I have looked at his site as well and came up empty. Reinstalled all files from current Vshare version, but he still has same blank screen. Can someone please offer him some advice?
-
Re: Upload not working, ffmpeg-php problem
Thank you guys,
The upload is working now properly. I really do appreciate the help of all of you.
Thanks again
-
Re: Upload not working, ffmpeg-php problem
hello i have this error when i try to test ffmpeg, can anyone explain how to fix it?
Fatal error: Class 'ffmpeg_movie' not found in /var/www/1.php on line 4
-
Re: Upload not working, ffmpeg-php problem
let me know your URL please??
-
Re: Upload not working, ffmpeg-php problem
I am having similar issues, I am wondering if I messed up something for the paths during the initial install...
example error found:
CONVERT COMMAND: /usr/bin/mencoder '/home/customer/public_html/desiretube.com/video/am18p-357.wmv' -o /home/customer/public_html/desiretube.com/flvideo/12194602851303946832.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
################################################## ##
Array
(
[0] => MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
[1] => CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (Family: 6, Model: 23, Stepping: 6)
[2] => CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
[3] => Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
[4] =>
[5] => success: format: 0 data: 0x0 - 0x130e4a
[6] => ASF file format detected.
[7] => VIDEO: [WMV2] 320x240 24bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)
[8] => [V] filefmt:6 fourcc:0x32564D57 size:320x240 fps:30.00 ftime:=0.0333
[9] => ================================================== ========================
[10] => Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[11] => AUDIO: 32000 Hz, 2 ch, s16le, 48.0 kbit/4.69% (ratio: 6000->128000)
[12] => Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
[13] => ================================================== ========================
[14] =>
[15] => Exiting...
)
################################################## ##
Return value: Exiting...
Convert Error or converted video is less than 1 kb in size, try upload a big video. If that do not work, verify convert command works on the server.
################################################## ##
I can not find any way inside the admin to check or adjust ffmpeg paths, is there a way to change or to see the paths that are set?
I have another script running that I can see the paths set on a different domain, ( /usr/bin/ffmpeg )so maybe I can update this somewhere?
-
Re: Upload not working, ffmpeg-php problem
Did you search the forums for your issue?
Does your host meet vShare requirements?
Is your include/settings/video_conversion.php using the correct convert commands?
Are your directories chmodded correctly?
Do your files in cgi-bin have the correct settings and are chmod 755?
After searching the forums, did you get the ffmpeg "test" file to verify that ffmpeg is actually working?
-
Re: Upload not working, ffmpeg-php problem
php -i | grep ffmpeg
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/ffmpeg.so' - /usr/lib/php/modules/ffmpeg.so: undefined symbol: img_resample in Unknown on line 0
[root@130 ~]# php-config --extension-dir
/usr/lib/php/modules
in the above path i have seen the ffmpeg.so but still its giving an error. Any one plz help
-
Re: Upload not working, ffmpeg-php problem
Which version of ffmpeg-php did you install? Also, did you run through the actual install process or did you just copy over the .so file? That error is typical of either a failed installation or someone copying the ffmpeg.so file from one server to the next.
-
Re: Upload not working, ffmpeg-php problem
I followed the steps from one of the helping site having URL
http://vexxhost.com/blog/category/ffmpeg/
You can see those steps on the above given link
I followed the actual installation process and not copy paste the ffmpeg.so
Version which i installed on server(fedora core 8) is ffmpeg-php-0.5.0
Here i read something about this error... you can also see
http://blog.snapshotit.com/?p=3
-
Re: Upload not working, ffmpeg-php problem
Two things:
1. Upgrade to ffmpeg-php 0.6.2
2. Install php-devel.
-
Re: Upload not working, ffmpeg-php problem
I already installed PHP-DEVEL as you cannot install ffmpeg-php with out php-devel...you need to run a command phpize which never works without php-devel
so i can think about upgrading ffmpeg-php.
is there any other solution for this error have you tried to install ffmpeg-php at your end.
-
Re: Upload not working, ffmpeg-php problem
I have installed ffmpeg-php about 400 times now. So yes, I have installed it. Try upgrading your version to see if it fixes the issue. The problem with ffmpeg-php is that the version of ffmpeg-php and the version of ffmpeg need to be supported together. If your ffmpeg is newer and your ffmpeg-php is older, you tend to get a lot of errors.
-
Re: Upload not working, ffmpeg-php problem
Thanks Bplex
Well after a long run i got a solution
This error means your ffmpeg-php rpm is corrupted so i have just uninstall the previous all rpms of ffmpeg-php.
step 1
see how many rpms are there for ffmpeg-php on you system by this comand
rpm -qa | grep php
then uninstall the only ones having php-ffmpeg one by one
rpm -e php-ffmpeg-0.5.1-2.fc8.remi –nodeps
then WGET new one from here
http://rpm.pbone.net/index.php3/stat/4/ ... 6.rpm.html
rpm -ivh ffmpeg-php-0.5.1-1.fc7.remi.i386.rpm
install it and it will work fine
-
Re: Upload not working, ffmpeg-php problem
Hello..
Can anyone help me???
Whenever I upload a remote video from youtube.com or any other site it shows the following errors.
Step 1: http://i41.tinypic.com/154c5qp.jpg
Step 2: http://i44.tinypic.com/zl5ant.jpg
After this it comes back to
http://i41.tinypic.com/154c5qp.jpg
Plz help me out...
-
Re: Upload not working, ffmpeg-php problem
Quote:
Originally Posted by Aamir_Khamosh
Mail me at [email protected], i can check your installation FREE.
-
Quote:
Originally Posted by
admin
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.
Now my video apperently uploads but it does not play...please someone help me.
-
yo no se si este foro es solo para monclotube.net o para 1000 webs mas.
mi problema es de monclotube
he subido un video, me apunté el link en mi user, para comprobarlo, lo vi funcionar
ahora entro y no esta, me pasa muchas veces
por que no se publicó?
2012-07-25 07:50:34
Monclotube.Net - Share Your Videos
POR QUE NO PONEN UN MAIL DE CONTACTO EN LA WEB Y SE DEJAN DE HACERNOS PERDER EL TIEMPO ESCRIBIENDO AQUI?
-
el video, ya que me han cambiado el texto en el link es 18098/safadinha-webcam/
Hala, joderos, a ver si no cambiais las cosas