My current host is hostmonster which does not support ffmpeg as it is too cpu intensive for shared hosting. I was wondering is it possible to skip ffmpeg altogether and just specify a standard image which becomes the thumbnail for video file? or the ability to upload a thumbnail when u select a video would also be cool.
This would allow me to upload flv/mp4 videos without having to encode/generate thumbnails on the hostmonster server right?
Posts: 16504
Gallery 2? If so I'll move to the appropriate forum.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 34
nope gallery 3 only..right now it supports uploading mp4/flv but I can't see the video once I upload cause hostmonster doesn't have ffmpeg..in gallery2 you can bypass this as the video is assigned a video thumbnail and u have to manually set the dimensions. I don't know how to go about it in gallery3.
Since once the video is uploaded gallery3 tries to access the ffmpeg binary I get this in my logs
Posts: 27300
I think the latest version will give a default thumb if ffmpeg is not found.
Upgrade to the latest G3 code
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 34
I upgraded it and it now works..any idea how I can set the dimensions to 320 x 240 and/or add a default thumbnail for video files..right now its just text and looks rather bad
also the movie doesn't seem to be playing. All I can see is the flowplayer loading screen.
Posts: 7994
The latest code uses a placeholder that's the same size as your other thumbnails. If that's not working for you, please verify that you've got the latest code (and have upgraded properly) and provide a url to your site. thanks!
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 34
Upgraded to the latest version via galleryname/index.php/upgrader and it now all works fine Thanks! Any idea how to increase the dimensions of flow player though? Is it a built-in option or will I have to go through the code and manually change it. I will encode all videos I own into a standard resolution so setting a static dimension is not a problem.
Posts: 7994
The flowplayer is set to the size of the movie. Big movie, big flowplayer. You can tinker with it in themes/default/views/movie.html.php though.. let us know what you learn.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 34
See http://gallery.adifry.com/ I uploaded two videos one is 320 x 240 which plays the 2nd one is 640 x 480 where the audio seems to be playing but i'm guessing the player isn't resizing hence the video isn't viewable.
Posts: 7994
Oh.. duh! Without ffmpeg we can't detect the size of the movie so we just pick 200x200 :-/. You can edit the theme to adjust this, or you can edit the database, or you can write a module to let you edit the database (pretty easy) or you can install ffmpeg...
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 34
Since i'm on a shared hosting plan (hostmonster) I am unable to install ffmpeg. Gallery2 allowed manual specifying of the movies dimensions, which is what I was doing then. Guess i'l manually edit flowplayer to 320 x 240 pixels for now and encode all videos I upload into that size. I don't know coding and work on the principle of "oh i wonder what happens if I change this value" so hopefully further down the line someone creates a module for quickly inputting the movie dimensions when it gets uploaded. Thanks for the help.