Forums / Developer / .flv video screenshot
Lo' F.
Monday 18 October 2010 4:18:53 am
..Nice Monday everyone!
I have a video-content class where I can upload .flv files rendered through Flowplayer.
Now I have to create a page where to gather all these video objects.
The thing which I need to implement in this page is a screenshot of each listed video.
I though of adding an image attribute to the class where to upload the picture but in this way I can't think of nothing for generating the video's screenshot automatically and having to make it manually it's not really handy.
I found this ezvideoflv but, even though I have had trouble installing it (so haven't installed yet), I was wondering if this can really help me to achieve what I want to do.
Any suggestion would be highly appreciated.
Thanks!
loredanaebook.it
Gaetano Giunta
Monday 18 October 2010 4:52:53 am
If you're not afraid to dive in php code:
- add an image attribute to your video class
- install ffmpeg
- create a custom event with a post-publish workflow that will take a snaphsot out of your flv video and upload it to the image attribute
The caveat is that generally editors prefer to be able to specify the thumbnail of the video, as the very 1st frame might not be very telling
Principal Consultant International Business Member of the Community Project Board
Monday 18 October 2010 6:02:00 am
Thank you, Gaetano, for your fast reply!
..ok
.. tried to install but couldn't succeed.. I'll have to try again..
... This is going to take me a while..!
.. Maybe you're right.. especially if it starts with a black frame..
...
Marko Žmak
Tuesday 19 October 2010 1:30:33 pm
Hi Lo.
I have used ezvideoflv extension, and found it very useful. And yes, it can extract a screenshoot from the uploaded video. It can also convert videos to flv from almost every popular format (like for example quicktime and wmv). It also works great when combined with the multiupload extension
As for the trouble with installing it, try to post your problem here so maybe I can help.
And just a note, the extension has some bugs, which I reported here:
http://projects.ez.no/ezvideoflv/forum/general
and I fixed them on my installation of ezvideoflv. So if you have problems with bugs, contact me and I can send you my fixed version.
-- Nothing is impossible. Not if you can imagine it! Hubert Farnsworth
Saturday 23 October 2010 2:21:51 am
Hi Marko, thank you so much for your reply.
ezvideoflv is definitely in my list.. I'll get back to this topic soon (..currently I am just a little busy dealing with some other issues..) and sure I might need your help should things go wrong again!