Jump to:

7939 Posts in 1472 Topics by 944 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, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 1790 Views
  • house98
    Avatar
    Community Member
    31 Posts

    FLV Crashes, other file types work... Link to this post

    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: FLV Crashes, other file types work... Link to this post

    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.

  • house98
    Avatar
    Community Member
    31 Posts

    Re: FLV Crashes, other file types work... Link to this post

    Hey ..

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

    i'm looking in dataobject_manager/code/flv/

    Thanks.

  • UncleCheese
    Avatar
    4085 Posts

    Re: FLV Crashes, other file types work... Link to this post

    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.

  • house98
    Avatar
    Community Member
    31 Posts

    Re: FLV Crashes, other file types work... Link to this post

    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.

  • house98
    Avatar
    Community Member
    31 Posts

    Re: FLV Crashes, other file types work... Link to this post

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

  • UncleCheese
    Avatar
    4085 Posts

    Re: FLV Crashes, other file types work... Link to this post

    Does the FLV have a file size?

  • house98
    Avatar
    Community Member
    31 Posts

    Re: FLV Crashes, other file types work... Link to this post

    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!

    1790 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.