Upload works but no flv convertion after run cron manually
| Project: | FlashVideo |
| Version: | 5.x-1.0 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
#1
I download and installed the flashvideo module in:
"/sites/all/modules/flashvideo"
#2
We activate the module in:
"q=en/admin/build/modules"
#3
We activate the flashvideo module with upload module in each content type:
"q=en/admin/settings/flashvideo"
#4
ffmpeg command is:
-i @input -f flv -acodec mp3 -ar 22050 -ab 64 -ac 1 @output
#5
ffmpeg Path is:
/usr/local/bin/ffmpeg
#6
ouput directory is blank --> files
#7
The Player.swf is in files directory
#8 flashvideo_playlist.php is in the document root of my virtual site
-------------------------------------------------------------------------------------
My problem is: When i upload a video in a node, after save the content node i go and run the cron manually with:
"q=en/admin/logs/status/run-cron"
#1
But no flv convertion is done???
#2
How the manually cron knows how many files needs to convert to FLV?
Any help is welcome.
This module rocks and looks great but doesnt work for me :(
Thanks in advanced.
-------------------------------------------------------------------------------------
Im using latest Drupal 5.1
When i run ffmpeg in shell the convertion is done but with the following warnings:
/usr/local/bin/ffmpeg -i 17_MOV04605_DD.MPG.mpg -f flv -acodec mp3 -ar 22050 -ab 64 -ac 1 abc.flv
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-libmp3lame
libavutil version: 49.4.0
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on Apr 24 2007 12:08:06, gcc: 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Input #0, mpeg, from '17_MOV04605_DD.MPG.mpg':
Duration: 00:00:01.4, start: 0.110000, bitrate: 4288 kb/s
Stream #0.0[0x1c0]: Audio: mp2, 32000 Hz, mono, 64 kb/s
Stream #0.1[0x1e0]: Video: mpeg1video, yuv420p, 640x480, 104857 kb/s, 25.00 fps(r)
Output #0, flv, to 'abc.flv':
Stream #0.0: Video: flv, yuv420p, 640x480, q=2-31, 200 kb/s, 25.00 fps(c)
Stream #0.1: Audio: mp3, 22050 Hz, mono, 0 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Press [q] to stop encoding
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. Do not report crashes to FFmpeg developers.
frame= 55 fps= 44 q=31.0 Lsize= 247kB time=2.2 bitrate= 921.2kbits/s
video:236kB audio:9kB global headers:0kB muxing overhead 1.001487%
-------------------------------------------------------------------------------------

#1
till you can get the ffmpeg converting the file manually the flashvideo module will not work. You need to fix those errors on the output. no flv is ever produced. Try downloading and compiling ffmpeg by hand. make sure you enable the lamemp3 support as well.
ore
#2
With those warnings i can get the flc output using the shell but no using the drupal module.
Im going to follow your instructions.
#3
Do you knows how works the Drupal cron?
How the cron knows what videos needs to get conbvertion?
What happens if a convertion fails the next time will be converted?
Thanks in advanced.
#4
Flashvideo version 2.2 Beta fixes this problem. Please read the details for the release to find all bug fixes. Also, I have added a VERY useful status in the main FlashVideo Settings page. Please read over this carefully to make sure that you have all the correct php.ini variables set.
Thanks for everyones help,
Travis.
#5
#6
I have the same question than josoroma: -- How does cron know that it must call ffmpeg?
In my case, it seems that flashvideo is doing nothing. Even enabling ffmpeg log I can't debug anything since my ffmpeg_data table is completely empty.