Just to see how complicated I can make things....
Here are some suggestions for thumbnailing.
Currently, it looks like there is a single kind of thumbnail that is created whenever video is transcoded.
You don't get to choose the thumbnail option in the admin screen - but quirkily enough, it appears as a checkbox on the upload form, so presumably it could be turned off.
Here is what I suggest:
Offer some additional thumbnail options. Have them part of a seperate setting (in the UI at least) from video transcoding options.
Have a setting that lets the admin assign one of the chosen thumbnail types to be the default thumbnail size so show as the "starting image" in the video.
Have another option for showing a different size (probably smaller) thumbnail in views listings.
Optionally, have a setting for a path to a default thumbnail url for each of those sizes.
Use this suggestion for permissions, for both thumbnails and video transcoding:
http://drupal.org/node/350838#comment-1256898
Finally, create an additional display method for the views field, so that if a CDN2 video is being displayed in a Views view, it can show either a particular video format, or a thumbnail size.
Currently, to create a views listing that either displays a video or a thumbnail, a _large_ amount of custom work needs to be done, and/or custom modules installed. I wouldn't even consider this module to be views-enabled as-is (currently, if you add a CDN2 field to a view, it has a single option for default field display - which appears to display nothing at all - no video, no thumbnail, no nuthin!).
Now: Per our meeting the other day, we discussed options for custom thumbnailing. There would be two _killer_ features here:
1: A user or admin being able to choose a frame from an uploaded video via some flash widget, and making that the thumbnail used. Ideally, this should be able to happen _after_ the node has already been created, not just at creation time. Examples: User uploads a video, it gets transcoded, an editor reviews it, then picks a frame from the uploaded video. Or, video is uploaded, two weeks later, editor decides that thumbnail chosen sorta sucks like steak fries, and decides a different frame would be perfect.
2: A user or admin having the option (controlled by permissions), to upload a custom image to use as the thumbnail (or the basis for thumbnails of different sizes).
Comments
Comment #1
dragonwize commented1. Picking a frame from the video would be nice but may be difficult to handle especially for usablity. I'd suggest just a text field for a the frame time to pull from.
2. If you to use a custom uploaded image for a thumbnail, I think that is best handled by a normal CCK imagefield not the CDN2 module.
3. When a image is taken from the video, I would prefer it to be taken at the size and resolution of the video or higher and stored like that. Then it can be themed with imagecache or any other method in any shape and size needed. Putting a million options into the module just makes it super complicated, especially when it can already be handled elegantly already.
Comment #2
dragonwize commented1. Picking a frame from the video would be nice but may be difficult to handle especially for usablity. I'd suggest just a text field for a the frame time to pull from.
2. If you to use a custom uploaded image for a thumbnail, I think that is best handled by a normal CCK imagefield not the CDN2 module.
3. When a image is taken from the video, I would prefer it to be taken at the size and resolution of the video or higher and stored like that. Then it can be themed with imagecache or any other method in any shape and size needed. Putting a million options into the module just makes it super complicated, especially when it can already be handled elegantly already.
Comment #3
Coyote commentedI've seen a bunch of flash widgets that let one select a frame from a video. It's not the end of the world. You run a slider, and it passes the location where you've moved it to a field.
Using a CCK imagefield is probably going to be our temporary workaround, however...
We are using CDN2 for accepting user-generated content. And by "user" I don't mean "nerdy technical person like myself," I mean "average Jane or Joe Internet." People who may or may not be technically savvy - they just want to upload their stuff with a minimum of fuss.
We'd rather not present end-users with a separate thumbnail field for additional content. And there is absolutely no way that we're going to present end-users with a "type a number into a text field" interface in order to get them to pick a frame. I wouldn't want our site editors to have to do that either. Heck _I_ wouldn't do it. That would be a terrible, confusing, and irritating user interface. For the time being, we're going to let our editors select a thumbnail when user's upload.
But here's the big thing, the whole point of using CDN2, (other than their wonderful transcoding functionality!), is to have the media stored on an external Content Delivery Network. The CDN part of CDN2.
If you use a CCK field, you have the thumbnails stored on your server, not the CDN. We need those stored on the external server, and it would be nice if that could be done in one fell swoop, and stored in a unified manner. The same software that transcodes video and builds the simple thumbnails that are already created is quite capable of doing this.
We've had a couple of meetings with the folks at WorkHabit, and I believe they have plans to drastically improve the thumbnailing features.
This is going to be a fantastic product. I think they're building one of the next killer apps here.
Comment #4
sphism commentedWe've just starting building a CDN2 based video site. I've just noticed 2 things which you mention in this thread.
1) The views field for video field displays nothing at all
2) I have no control over the thumbnails
I'm happy to sort out the views thing because it's not too hard to write your own views field formatter. I would absolutely love to see the thumbnail features mentioned by Coyote above.
I'm going to be working on this new site for at least the next 2 months so get in touch if there's anything i can do to help.
Overall very impressed with CDN2 :)
matt
Comment #5
sphism commentedWould love to see some thumbnail options, currently cdn2 thumbnails are very basic
Comment #6
sphism commentedThere's a clever trick in the flash video module (i think - it's early and i've tried out every video module there is :)
They have an empty cck field that is hidden from the user when they upload a video. The thumbnail is then generated and passed back to that cck field.
So instantly you have complete control over that image: full views support, display options, imagecache settings etc etc.
I would really really love for cdn2 to pass the thumbnail back to my server so i can fiddle with it. I would be happy to pick 1 of 2 thumbnails, a frame near the start or a third in or something like that, just so that if the video starts on a black image i can over ride it. Even just having the option of the frame that every thumb is taken from would be good.
I don't really mind about getting different sizes, 1 size is fine as long as you send it over to my server so i can imagecache it. I think that's the most 'drupal' way to do it cos then i can resize it, watermark it etc.
hmmm...good luck :)
Comment #7
kylebrowning commentedSphism, all good thoughts.
The issue is really, we would have to define pre-definced Content Types which isnt something we really wanted to do. We may end up having to so that we have full control over everything.
If not, Ill write up a document and attach it somewhere which will wget an image, and import it into drupal So that users who Do have a cck image_field on their content type can have views support with imagecache settings.
The main problem with views is that I think our flowplayer doesnt play very nicely inside of it.
Comment #8
avpadernoI am closing this issue, since Drupal 6 is now not supported.