I have been reading through the support issues and haven't been able to find anything that has fixed my problems :(
I am trying to setup the FFMPEG correctly so that it converts my files to .flv.
I have done all of the following which was on another thread:
1 - Activate the video_ffmpeg_helper module
2 - Setup it's advanced options to meet your needs
3 - Move video_render.php and video_scheduler.php into your Drupal root
4 - Edit the first line of those files to meet your needs
5 - Check permissions of the files and folders
6 - Schedule the execution of video_scheduler.php using unix cron
My Video rendering path is set to: "/var/tmp/video" (permissions are set correctly)
My FFMPEG converter line is: "-y -i %videofile -f flv -ar 22050 -ab %audiobitrate -b %videobitrate -qscale 1 %convertfile"
My cron job is running: "*/1 * * * * /usr/bin/php -q /home/USERNAME/public_html/criticalmass/video_scheduler.php"
whenever I upload a file it tells me:
* executing/usr/bin/ffmpeg -i '/tmp/video/TP Explosion.mov'
* Your Video has been created.
and all i have is the original .mov files in my /files/video/ folder. Any ideas? Please help.
Comments
Comment #1
mfbWhat I would suggest is make sure that cron is emailing its results somewhere, so you can read any error messages.
Typically you need to cd into the correct directory, not just call the php script from any directory. So cron script would be for example,
#!/bin/sh
cd /home/USERNAME/public_html/criticalmass/
/usr/bin/php video_scheduler.php
Comment #2
dchrastil commentedI changed my cron job toL
*/1 * * * * /www-data cd /home/danny/public_html/criticalmass/video_scheduler.php
and still no luck :(
Comment #3
mfbwell that command doesn't make sense :)
What I was suggesting was create a script like video_render.sh, make it executable, and call it in cron e.g.
*/20 * * * * /home/danny/video_render.sh
also I wouldn't call this every minute, it could easily take longer to run.
Comment #4
fax8 commentedsee the new README.txt of the video_ffmpeg_helper. Now you might also let drupal cron execute the video_scheduler.php for you.
Comment #5
peralta_rommel commentedneed help!
my ffmpeg doesnt convert the original file to .flv. In the ffmpeg settings, the default value of the ffmpeg command is this "-i @input -f flv -acodec mp3 -ar 22050 -ab 64k -ac 1 @output", should i replace dis? thanks..
Comment #6
fax8 commentedwell... the default settings should work on most ffmpeg installations.
Anyway check your drupal logs.. ffmpeg_helper logs there when having problems.
Comment #7
hypertext200