Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

how to create thumbnails?


where is the "thumbsinplaylist=true"code?

why myplaylist ...where is the "thumbsinplaylist=true"code?

why myplaylist does not display the thumbnails??
how to create thumbnaails?

17 Community Answers

JW Player

User  
0 rated :

Is there a way to use a seperate (larger) image for the player and a smaller (thumbnail size) for the playlist?.

JW Player

User  
0 rated :

please have a look on the wizard:
http://www.jeroenwijering.com/extras/wizard.html

JW Player

User  
0 rated :

Hi folks,

Firstly thanks for the excellent software!

Now my question :)

I'm trying to _increase_ the playlist thumbnail size. I can successfully shrink it, but I cannot enlarge it. The swf is located here:
http://www.rotisol.com/en/products/videos/

This is the code I've changed in Playlistview.as:

bc.. // set thumbnails
if(config["thumbsinplaylist"] == "true") {
tgt["btn"+i].bck._height = 80;
tgt["btn"+i].icn._y += 9;
tgt["btn"+i]._y = num*81;
tgt["btn"+i].txt._height += 20;
if(feeder.feed[i]["author"] == undefined) {
tgt["btn"+i].txt.htmlText = "*"+(i+1)+"*:<br />"+
feeder.feed[i]["title"];
} else {
tgt["btn"+i].txt.htmlText = "*" +
feeder.feed[i]["author"] + "*:<br />" +
feeder.feed[i]["title"];
}
if(feeder.feed[i]["image"] != undefined) {
tgt["btn"+i].txt._x += 120;
tgt["btn"+i].txt._width -= 60;
thumbLoader =
new ImageLoader(tgt["btn"+i].img,"true",120,80);
thumbLoader.loadImage(feeder.feed[i]["image"]);
tgt["btn"+i].img.setMask(tgt["btn"+i].msk);
} else {
tgt["btn"+i].msk._height = 10;
tgt["btn"+i].img._visible =
tgt["btn"+i].msk._visible = false;
}
}


As you can see I'm trying to double the size of the thumbnail images to 120 x 80. However in my test page I can see that the thumbnails are enlarged, but only the top left quarter of is displayed. The rest is cut off. What am I missing? Thanks :)

JW Player

User  
0 rated :

Nevermind, I finally figured it out. :d :d :d I had to increase the size of the 'msk' in the flvplayer.flv file (the default is 60x40).

JW Player

User  
0 rated :

If anyone is interested in getting rid of the thumbnails and still retaining two lines just open PlaylistView.as and change the following lines. Backup the original first.

new ImageLoader(tgt["btn"+i].img,"true",60,40);

to

new ImageLoader(tgt["btn"+i].img,"true",0,0);

and

tgt["btn"+i].txt._x += 60;

to

tgt["btn"+i].txt._x += 0;

You can see what it looks like at

http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=69520523

JW Player

User  
0 rated :

If you plan on using really long text then you'll need to change one other line.

tgt["btn"+i].txt._width -= 60;

to

tgt["btn"+i].txt._width -= 0;

JW Player

User  
0 rated :

:$

JW Player

User  
0 rated :


For create Thumbnails as JPEG Files.

try to use VideoCharge. (Google)

JW Player

User  
0 rated :

hi, first of all let me greet you for such great player..
i was wondering if there's any way to edit the "style" for the playlist.. like changing the background, or giving more space between the thumbnails (since i have already changed the size to the double) and the side margins (its like just 1 px width now), also is there any chance to remove the "text"for the playlist? i want to show the playlist just with the thumbnail.

(btw: can i apply this solution http://www.jeroenwijering.com/?thread=8252 to the playlist thumbnails?)

JW Player

User  
0 rated :

anyone can shine some light on whats ffmpeg? and how do i use it to create thumbnails?

JW Player

User  
0 rated :

ffmpeg is a software engine for working with audio and video files. Many of the Open Source Encoders use it as their engine.

You can get the windows binaries here: [url=http://ffdshow.faireal.net/mirror/ffmpeg/]*Index of /mirror/ffmpeg*[/url]

To create thumbnails, you either run it manually (it's a command line program) or call it from a PHP script.

Use *Search this Site* for "ffmpeg thumb" and other related search terms to find threads such as this one: [url=http://www.jeroenwijering.com/?thread=7546#msg49051]*READDIR_PLAYLIST.PHP WILL NOT CREATE LIST*[/url] to get instructions for using ffmpeg and the PHP scripts.

JW Player

User  
0 rated :

thanks for the info. i just posted there asking on how to implement that script into regular xmp playlist as they don't mention it at all.

JW Player

User  
0 rated :

Hey there,

I sorry to bother you with this again. I tried to follow your instructions here, but I ended up in a mess.

I am trying to increase the thumbnail size to 120x128.

As Marcell (20.03.2007) pointed out and Tim (10.07.2007) explained as well, I changed to settings in the PlaylistView.as and in the mediaplayer.fla according to this.

Now the relevant part in my PlaylistView.as looks like this

// set thumbnails
if(config["thumbsinplaylist"] == "true") {
tgt["btn"+i].bck._height = 128;
tgt["btn"+i].icn._y += 9;
tgt["btn"+i]._y = num*129;
tgt["btn"+i].txt._height += 20;
if(feeder.feed[i]["author"] == undefined) {
tgt["btn"+i].txt.htmlText = "*"+(i+1)+"*:<br />"+
feeder.feed[i]["title"];
} else {
tgt["btn"+i].txt.htmlText = "*" +
feeder.feed[i]["author"] + "*:<br />" +
feeder.feed[i]["title"];
}
if(feeder.feed[i]["image"] != undefined) {
tgt["btn"+i].txt._x += 120;
tgt["btn"+i].txt._width -= 60;
thumbLoader =
new ImageLoader(tgt["btn"+i].img,"true",120,128);
thumbLoader.loadImage(feeder.feed[i]["image"]);
tgt["btn"+i].img.setMask(tgt["btn"+i].msk);
} else {
tgt["btn"+i].msk._height = 10;
tgt["btn"+i].img._visible = false;
tgt["btn"+i].msk._visible = false;
}

I also changed the size of the "itm" mc in the "related" mc to 120x128.

The thumbnails are increased now, but there seems to remain a mask of 60x40 pixel.

Can anyone give me a hint, what I might have done wrong?
Thank you very much

Backpacker

JW Player

User  
0 rated :

xzczvcxcvxccccccccccccccccccccccccccccccccc

JW Player

User  
0 rated :

I have read this name 'ffmpeg' in pages from thousands of sites but everyone has failed to explain how to implement ffmpeg successfully.All i want to do is display the first frame of videos on my web page .

JW Player

User  
0 rated :

Have you tried using http://vsnaps.com video thumbnail generation service ?

JW Player

User  
0 rated :

xzczvcxcvxccccccccccccccccccccccccccccccccc
xzczvcxcvxccccccccccccccccccccccccccccccccc
xzczvcxcvxccccccccccccccccccccccccccccccccc
xzczvcxcvxccccccccccccccccccccccccccccccccc
xzczvcxcvxccccccccccccccccccccccccccccccccc
xzczvcxcvxccccccccccccccccccccccccccccccccc
xzczvcxcvxccccccccccccccccccccccccccccccccc
xzczvcxcvxccccccccccccccccccccccccccccccccc

This question has received the maximum number of answers.