Closed (fixed)
Project:
FlashVideo
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2007 at 21:09 UTC
Updated:
25 Sep 2008 at 02:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
travist commentedThat's interesting. I am running 5.1 on my personal website www.travistidwell.com, and the thumbnails are working just fine... I will probably need some more information on your setup.
Thanks,
Travis.
Comment #2
jaymattila commentedI banged my head against the wall with thumbnails, just to realize after two hours, that my FlashVideo module took the thumbnail from time 00:00:02 -> two seconds after the beginning of the video. Of course I was testing the system out with a really short clip just (about 1,8 seconds) because of the upload speed I have. Just make sure that you don't have the same issue.
Although, module still creates the JPG file with size of 0 bytes.
I dont think that is a usual problem, who wants to upload shorter videos than 2 seconds anyway....
Comment #3
mrgoltra commentedI am having this problem. When I tag the teaser [thumbnail] all I get is a image saying thumbnail not available, I checked the files folder and no image files. all folder chmod to 777
Thank you,
Mark
Comment #4
edex13 commentedi just install version 5.x-2.1, the latest version of flash video. i manage to get the flashvideo running.
the video playback without problem. everything work fine except thumbnail not created during the conversion.
i attach screen capture of my flashvideo settings.
Comment #5
mrgoltra commentedGood Day,
Does anyone know if thumbnail is being generated by FFMPEG or the module itself?
Thank you,
Mark
Comment #6
mrgoltra commented... I was looking at my drupal access log files and filtered to show all access denied and then noticed several entries
warning access denied 06/22/2007 - 9:49am files/videos/7_bvZ_LUmc4kQ.jpg admin
warning access denied 06/22/2007 - 9:27am files/videos/6_KitchenOilFire.jpg admin
warning access denied 06/22/2007 - 9:26am files/videos/6_KitchenOilFire.jpg user
warning access denied 06/22/2007 - 9:26am files/videos/5_KitchenOilFire.jpg user
warning access denied 06/22/2007 - 9:25am files/videos/6_KitchenOilFire.jpg user
warning access denied 06/22/2007 - 9:24am files/videos/6_KitchenOilFire.jpg user
It seems that the jpg files can not be written in the files/videos folder. I checked the chmod of that folder and subfolder and it is set to 777.
I am wondering if FFMPEG is trying to write to this folder when it tries to capture the thumbnail, I am not sure?
can you guys check and see if this is also in your log?
Thanks,
Mark
Comment #7
Anonymous (not verified) commentedGlad to see I'm not the only one. Did anyone find a solution to the problem when you're directory security settings are correct?
Comment #8
davidhowell commentedIm having the same issues with thumbnails not being created.
What information do you require Travis so that this can be resolved?
Comment #9
travist commentedI will look into this as well with the next release.
Thanks,
Travis.
Comment #10
travist commentedI have tested this and it seems to be working just fine. Have you actually ran the command to ffmpeg to see if it creates the thumbnail?
Thanks,
Travis.
Comment #11
dazhdbog commentedLooks like ffmpeg is failing (the return code for jpeg is 0, instead of 1), but why? There are no access errors in the log, and the flv gets written fine to the same directory. (the following is from table ffmpeg_data).
15 23 2007-11-09 01:20:35 /hsphere/local/home/ubern00b/motopantaloni.com/forums/files/9_carefulWrubber.avi
/hsphere/local/home/ubern00b/motopantaloni.com/forums/files/output_flash_videos/9_carefulWrubber.jpg 0 Command: /usr/bin/ffmpeg -y -i "/hsphere/local/home/ubern00b/motopantaloni.com/forums/files/9_carefulWrubber.avi" -vframes 1 -ss "00:00:02" -an -vcodec mjpeg -f rawvideo -s "130x100" -v 20 "/hsphere/local/home/ubern00b/motopantaloni.com/forums/files/output_flash_videos/9_carefulWrubber.jpg"
Data: ffmpeg version 0.4.9-pre1, build 4730, Copyright (c) 2000-2004 Fabrice Bellard
configuration: i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --extra-cflags=-O2 -march=i386 -mcpu=i686 --enable-mp3lame --enable-vorbis --enable-faad --enable-xvid --enable-pp --enable-shared-pp --enable-shared --enable-gpl --disable-strip
built on Mar 10 2005 20:58:17, gcc: 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
16 23 2007-11-09 01:20:36 files/9_carefulWrubber.avi files/output_flash_videos/9_carefulWrubber.flv 1
Comment #12
travist commentedWhat is the aspect ratio of your video? I remember in the past that FFMPEG does not like it when the aspect ratio given as 130x100 does not match the actual aspect ratio of the video. I do believe that this has been fixed in later versions of FFMPEG. Do you know that you have the latest version of FFMPEG?
Comment #13
dazhdbog commentedNot sure what's the issue exactly, but thumbnails work fine after I started using this command line for thumbnails (modeled after what gallery2 uses in its ffmpeg module):
-ss @thumbtime -an -i @input -s "@thumbsize" -f mjpeg -t 0.001 -y @output
ffmpeg at our hosting seems to be pretty old (compiled Mar 10 2005), but the original command line was not working with videos from various sources, so it seems that aspect ratio shouldn't have caused this problem.
Comment #14
stg11 commentedI had problems generating thumbnails smaller than 130X100, e.g. 100X77. So I switched it back to 130X100 and it started generating them again. I used css to set width & height to 100X77. This gives me the opportunity to increase the size slightly later too, without loss of resolution, and without regenerating the thumbnails, if I decide I need them larger. I'm using the grid view from views bonus pack for the video galleries and it's working great, btw.
Comment #15
travist commented