Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

FLV Crashes, other file types work...


Go to End
Reply

10 Posts   1948 Views

Avatar
house98

30 December 2009 at 11:37am Community Member, 31 Posts

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/svk4xbjtzkeu2b6urchhg

The 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

Avatar
UncleCheese

30 December 2009 at 5:08pm 4085 Posts

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.

Avatar
house98

31 December 2009 at 5:03am Community Member, 31 Posts

Hey ..

I don't have that file... Am I supposed to enable it somewhere?

i'm looking in dataobject_manager/code/flv/

Thanks.

Avatar
UncleCheese

31 December 2009 at 5:30am 4085 Posts

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.

Avatar
house98

31 December 2009 at 6:14am Community Member, 31 Posts

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 format

The 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 stream

Thanks for you fast replies... much appreciated.

Avatar
house98

31 December 2009 at 6:16am Community Member, 31 Posts

Oh, and that second FLV's jpg that was created is 0kb in size.

Avatar
UncleCheese

31 December 2009 at 2:10pm 4085 Posts

Does the FLV have a file size?

Avatar
house98

6 January 2010 at 5:16am (Last edited: 6 January 2010 7:16am), Community Member, 31 Posts

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!

Go to Top