7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » FLV Crashes, other file types work...
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
| Go to End | Next > | |
| Author | Topic: | 1611 Views |
-
FLV Crashes, other file types work...

30 December 2009 at 11:37am
Hi there.
I've tried a few files and file-types -- all seem to be working... however I have FLV's that kill the page once they've uploaded (the front-end, not the CMS)
Here's my full error on the front-end after a supposedly successful upload:
Pastie: http://pastie.org/private/svk4xbjtzkeu2b6urchhgThe thumbnail is not being generated for the FLV's obviously, but just fine for the others. Any thoughts on beginning to troubleshoot?
Thanks! (oh, and I have the latest dataobjectmanager too)
-- Matt
-
Re: FLV Crashes, other file types work...

30 December 2009 at 5:08pm
The easiest way to debug errors like that is to look at your ffmpeg_log.txt in code/flv. That file logs every FFMPEG command that DOM runs. Go to the timestamp, paste the command into the command line and see what the output is. My guess is that your thumbnails are getting a filesize of zero, which is causing the read error.
-
Re: FLV Crashes, other file types work...

31 December 2009 at 5:03am
Hey ..
I don't have that file... Am I supposed to enable it somewhere?
i'm looking in dataobject_manager/code/flv/
Thanks.
-
Re: FLV Crashes, other file types work...

31 December 2009 at 5:30am
Make sure the directory is writeable by Apache, otherwise it won't create it. You can create it on your own if you want. Just make sure it's called ffmpeg_log.txt and is set to 777.
-
Re: FLV Crashes, other file types work...

31 December 2009 at 6:14am
I should have though about that first... sorry
Ok I tested two FLV files...
This was the first one, that DID produce an image and no front-page error, however the video popup says it can not find the file
[2009-12-30 12:06:59] ffmpeg -y -i /home/pcl/public_html/cesm/assets/Uploads/flame.flv -an -s 640x480 -ss 60 -an -r 1 -vframes 1 -y -vcodec mjpeg -f mjpeg /home/pcl/public_html/cesm/assets/video_thumbnails/flame.jpg
[2009-12-30 12:06:59] FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include/ffmpeg --enable-libmp3lame --enable-libogg --enable-libvorbis --enable-libogg --enable-libtheora --enable-libfaad --enable-libfaac --enable-libgsm --enable-xvid --enable-x264 --enable-liba52 --enable-liba52bin --enable-pp --enable-shared --enable-pthreads --enable-gpl --disable-strip
libavutil version: 49.4.0
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on Jun 4 2007 11:02:12, gcc: 4.1.1 20070105 (Red Hat 4.1.1-52)
/home/pcl/public_html/cesm/assets/Uploads/flame.flv: Unknown formatThe Second FLV i tried also created a JPG, but produced errors on the front-end. (the initial error posted) Below is the ffmpeg_log:
[2009-12-30 12:11:54] ffmpeg -y -i /home/pcl/public_html/cesm/assets/Uploads/InnovistaPressConference.flv -an -s 640x480 -ss 60 -an -r 1 -vframes 1 -y -vcodec mjpeg -f mjpeg /home/pcl/public_html/cesm/assets/video_thumbnails/innovistapressconference.jpg
[2009-12-30 12:11:54] FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include/ffmpeg --enable-libmp3lame --enable-libogg --enable-libvorbis --enable-libogg --enable-libtheora --enable-libfaad --enable-libfaac --enable-libgsm --enable-xvid --enable-x264 --enable-liba52 --enable-liba52bin --enable-pp --enable-shared --enable-pthreads --enable-gpl --disable-strip
libavutil version: 49.4.0
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on Jun 4 2007 11:02:12, gcc: 4.1.1 20070105 (Red Hat 4.1.1-52)
Input #0, flv, from '/home/pcl/public_html/cesm/assets/Uploads/InnovistaPressConference.flv':
Duration: 00:08:16.1, start: 0.000000, bitrate: 96 kb/s
Stream #0.0: Audio: mp3, 44100 Hz, stereo, 96 kb/s
Output file does not contain any streamThanks for you fast replies... much appreciated.
-
Re: FLV Crashes, other file types work...

31 December 2009 at 6:16am
Oh, and that second FLV's jpg that was created is 0kb in size.
-
Re: FLV Crashes, other file types work...

6 January 2010 at 5:16am Last edited: 6 January 2010 7:16am
I should have looked at the first flv i tried (flame.flv) -- it was 0kb (zero kb) (not sure why)..
but all other FLV's that i've uploaded have been greater than 0kb
Thanks!
| 1611 Views | ||
| Go to Top | Next > |

