Closed (fixed)
Project:
Video
Version:
6.x-4.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 May 2010 at 15:18 UTC
Updated:
30 May 2010 at 16:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
hypertext200You can use image_cache module and use it to create thumbnail sizes as you wish.
Comment #2
iLLin commentedNot implmented yet on 4.x-dev. Code is there, just commented out and untested. Thats my next implementation to get everything back to 3.x with all the new features.
Comment #3
jfha73 commentedOK then, I will have to wait until it is implemented.
Comment #4
iLLin commentedImagecache is implemented in 4.x-dev HEAD. Marking this as fixed.
Comment #5
jfha73 commentedI still don't see an option where to change the Thumbnails' size, is it going to have one?
Comment #6
iLLin commentedThere are cck formatters with imagecache. There is no sizing when you create the thumbnails, you need to use imagecache and create a preset of the size you want. Then assign the CCK formatter that corresponds to that preset. It will look like this "$PRESET_NAME Video Thumbnail linked to node... etc. Does this make sense?
Comment #7
jfha73 commentedTo be honest with you, I have no idea what you are talking about, I do have the imagecache module installed, but I don't see anything to assign sizes, all I get is a JPEG quality (using only GD) what do I need to do to assign sizes to the thumbnails? (step by step please)
Thanks for being so patient.
Comment #8
iLLin commentedYou need to change your Display formatter for CCK.
Admin -> Content Management -> Content Types -> Edit Content Type -> Display Fields -> Basic
admin/content/node-type/page/display
"page" changes to your content type. This shows you what to display in teaser mode and on the full node view. So for teaser you would select your imagecache preset Video thumbail linked to node. Then on the full view you would just select video.
Comment #9
jfha73 commentedOK, I'm at the Display fields section, when I click on what to show for the Teaser, this is what I see, which one should I choose?
Comment #10
iLLin commentedI don't see any imagecache presets. You need to set those up first.
Comment #11
jfha73 commentedJust for your information, this is how I have everything setup so you can have a better idea.
I have a content type for videos using your module and (here is the part where I show the thumbnail) a view with a list of the videos each with its own thumbnail as per the field I chose Video Thumbnail linked to node.
When I see this list, the Thumbnail it shows me is as big as the original video.
So, now that you have the whole picture, How can I change the size of the thumbnail shown in my list?
Comment #12
jfha73 commentedOh and by the way, where do I setup the Image cache settings, I checked the ImageAPI settings but I don't see them.
Comment #13
iLLin commentedSite Building -> Image Cache
Comment #14
jfha73 commentedOK I think I'm starting to get it, I installed the Imagecache module and created a preset for the thumbnails, but when I select the present I created in the View, it shows me nothing, the only way it will show me the thumbnail is if I select video thumbnail linked to node, if I chose any other (including the preset thumbnail image linked to node) it shows me nothing.
What can I be doing wrong?
And I think this will add value to the module if it is implemented in the thumbnails section... Add a couple of fields for size, or at least one for width like the one for showing the video... just a suggestion.
Comment #15
iLLin commentedIt is implemented. For however many presets you create, it will create a new cck formatter. Make sure your imagecache is writing to your files directory. You might also have to refresh the first time you view a thumbnail.
Comment #16
jfha73 commentedStill can't get it... What I could get was this, and probably you can introduce this to your module:
By adding -s WxH to the ffmpeg thumbnail creation command (where W is width and H is height) I did get the size I wanted, the only problem with this (and I'm going to keep trying until I get it right) is that I can see the thumbnail in the size I want, but when I click to see the video it says it's being processed and it doesn't show it.
Comment #17
iLLin commentedThe reason why there is no WxH in the thumbnail command is you want to take the screenshot of the image at the actual dimensions of the video. That way you get the best resolution possible. You then use imagecache when you display them that way you can create multiple views with different thumbnail sizes easily while always maintaining the original. If you force the size of 50x50, then later down the road you want to do 100x100... well since all you have is 50x50, that is going to look very ugly blown up to that size. Where if you use imagecache, you simply change the preset and your all done, imagecache takes care of the rest.
I'm not sure where the hang up is with this as this works for me and has worked for a few other people that are testing it.
Maybe if you can put up some screenshots of your imagecache presets and your display dropdown for your cck formatters again as the video.jpg you have above, does not have any imagecache presets in it at all so I don't think you had them setup at that time.
Comment #18
jfha73 commentedI understand and I respect it, but I think that thumbnails are to show a miniature of the actual thing, that's why I suggested the WxH.
By the way, I modified the command using this:
And I see it in my VM as the pictures show, but when I use the same command on my live server I get:
The video is being processed and it doesn't show me anything.
Any idea what can be cause this message?
Comment #19
iLLin commentedI think you need to re-read what I have been trying to tell you, I don't think you fully understand imagecache and what it can do for you.
As far as the message is concerned, you need to run cron or use the checkbox to convert the video.
Comment #20
jfha73 commentedI think I owe you an apology, I tried it again and this time it did show me the thumbnail using ImageCache.
Sorry I doubt you for a while there.
Keep up the good work.
Comment #21
iLLin commentedGreat! I'm glad you got it working now :). I'm going to have another big update for 4.x-dev and then I think I am going to release a beta!.
Comment #22
jfha73 commentedSounds good, I can't wait for it.