Member
Member
mustang   2007-12-13, 20:14
#1

Does zenphoto create thumbnails for videos?

I uploaded the video via ftp. It plays fine, but the thumbnail is the default image of a "movie reel". How do i get ZP to generate thumbnails of the videos?

Member
Member
sbillard   2007-12-14, 02:23
#2

You have to create a .jpg file of the same name.

Member
Member
mustang   2007-12-14, 09:00
#3

Thank you sbillard. That did the trick. Much appreciated.

Member
Member
rogermh   2008-03-10, 06:12
#4

Any plans to have automatic generation of video thumbnails? Menalto Gallery does this using ffmpeg. It generates a default thumbnail from the first frame of the video. If you don't like using the first frame, you can set a time offset to be the thumbnail. For example, you can set the thumbnail to be the frame 13.5 seconds into the video.

Member
Member
rogermh   2008-03-10, 06:53
#5

Oops, just saw the feature poll on the news page for automatic generation of video thumbs. It's got the 4th highest number of votes so hopefully it won't be too long before it's implemented.

Administrator
Administrator
acrylian   2008-03-10, 11:16
#6

The problem with the php ffmeg is as far as I know from their site that it's an modul to php itself that needs to be installed on your server. That is a real problem because that this is something most shared hosts either do not have preinstalled or do not allow to install by users. Not to mention that many users will hardly be able or want to install a php modul themselves!

Member
Member
rogermh   2008-03-10, 16:24
#7

Indeed. I definitely ran into issues installing and getting ffmpeg to work properly for my Menalto Gallery install. It was, shall we say, a not so user-friendly experience. A hassle-free approach for this functionality would be a most welcome improvement!

Will the video thumbnail solution for Zenphoto have a time offset feature?

Administrator
Administrator
acrylian   2008-03-10, 16:43
#8

We still do not know how to do that feature, it's on hte poll to see if there is any demand like we do it with all features, since we don't have unlimited resources...:-) I searched and could not find anything else than php-ffmpeg, so I or better we can't say anything about specific features or when or how we will do this, if we manage it.

For the time being you'll have to create it manually like described above.

Member
Member
Vinseph   2009-04-08, 18:50
#9

the default image is named "i"
if we create a new jpg with that name, won't all the thunbnails in that album of videos turn into that freeze frame?

Administrator
Administrator
acrylian   2009-04-08, 19:01
#10

There is no default image that is named "i". You have to upload one image for each video/audio if you want to have video thumbnails. You could however place an image named multimediaDefault.png in an images folder within your theme's folder to be used as a general video thumbnail.

Member
Member
Vinseph   2009-04-08, 23:01
#11

Sorry about that. i dragged that image onto my desktop and it was named "i" so i assumed....you know how that goes.
but i did find the multimediaDefault.png shortly after that.
i have images for each video. how do i make them the thumbnail. i upped to the nightly version. is it easier to do it in the nightly version?

thanks.

Member
Member
Vinseph   2009-04-08, 23:08
#12

Hey,

sorry again for the annoyance.
i took your advice from my other post and looked at the guide on the site. read about making a thumbnail image for the videofiles..i did it, i have a folder full of working flv files and small jpg with the same name in the same folder. still i got bubkes.

any thoughts on what i'm doing wrong?

thanks,
Vin

Administrator
Administrator
acrylian   2009-04-09, 07:57
#13

Not really, actually just placing a image with the same name for each video should work and does work for me.

Member
Member
Vinseph   2009-04-09, 17:13
#14

uhmmm.. darn.
thanks, anyway. i appreciate it.
i'll try and fiddle around with it.

Member
Member
Vinseph   2009-04-09, 17:35
#15

hey,

figured out my problem. the thumbnails were made too big. i resized them down to 100x100 and it works now.

thanks.
Vin

Member
Member
Vinseph   2009-04-09, 20:19
#16

and another thing...make sure that the extension for your jpg isn't capitalized. i had it as JPG and it didn't work until i renamed it lowercase, jpg.

Member
Member
milkmansson   2009-07-29, 12:12
#17

Heres a help for those who dont want to spend hours doing this.

  1. Download FFMPEG.EXE from the sources at: http://ffmpeg.org/
  2. Place it in the folder with all your videos in it.
  3. In the same dir, create a CMD file, called "createthumbs.cmd" or something.
  4. Edit it in notepad and place the following text in it:
    REM .....START
    @Echo Off
    FOR /f "tokens= delims=" %%a in ('dir .flv /b') do @ffmpeg -i "%%a" -an -ss 00:00:01 -an -r 1 -vframes 1 -y "%%~na.jpg"
    REM .....END
    (you do not enclose the lines stating 'start' and 'end'. There will be two lines, the second, longer may appear wrapped on this site)
  5. In your dos session, run the cmd file.
  6. All FLV videos will have a jpg created of the frame 1 second into your video.
    Hope this helps all the newbies!!
Member
Member
seaniedan   2020-02-25, 20:49
#18

I have a video camera uploading to Zenphoto automatically via SFTP. All good, except there are no thumbnails on the videos (a much asked-for request since March 2008!) Given that I have to make them myself, is there a way to trigger an action to run my thumbnail creation script automatically when a new video is uploaded?

Administrator
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.