Hello ,

Thanks for the great software!! I've been able to configure it and get it working with ffmpeg, however, while it does produce flv files it doesn't make the thumbnail images. I have the [thumbnail] tag in the teaser content template and all I get its "thumbnail not available" I've also checked in my /files directory and there are no thumbnail image files present. Any ideas?

CommentFileSizeAuthor
#4 editflashvideocrva0.png97.6 KBedex13

Comments

travist’s picture

Status: Active » Postponed (maintainer needs more info)

That'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.

jaymattila’s picture

I 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....

mrgoltra’s picture

I 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

edex13’s picture

Title: Unable to create thumbnils with 5.1 » Unable to create thumbnils with 5.x-2.1
StatusFileSize
new97.6 KB

i 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.

mrgoltra’s picture

Good Day,

Does anyone know if thumbnail is being generated by FFMPEG or the module itself?

Thank you,

Mark

mrgoltra’s picture

... 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

Anonymous’s picture

Glad to see I'm not the only one. Did anyone find a solution to the problem when you're directory security settings are correct?

davidhowell’s picture

Im having the same issues with thumbnails not being created.

What information do you require Travis so that this can be resolved?

travist’s picture

I will look into this as well with the next release.

Thanks,

Travis.

travist’s picture

I 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.

dazhdbog’s picture

Looks 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

travist’s picture

What 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?

dazhdbog’s picture

Not 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.

stg11’s picture

I 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.

travist’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)