This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes video Thumbnails for a video sharing site Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "video Thumbnails for a video sharing site" Watch "video Thumbnails for a video sharing site" New topic
Author

video Thumbnails for a video sharing site

J Das
Ranch Hand

Joined: Jul 27, 2011
Posts: 83

Hello everyone here in CODERANCH , would someone please explain me the concept behind making a thumbnail image for a video file ??? Like in video sharing sites , when we upload a video the video file appears as a thumbnail view , how can i achieve this ??? I am doing a video file sharing project where i have finished uploading the files , but when i show these files they should appear in thumbnail view , i am stuck with this part... I am not using any FRAMEWORK , so if anyone can suggest me anything i would be greatly thankful to you..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41034
    
  43
There are numerous libraries that can read video formats (see https://www.coderanch.com/how-to/java/OtherOpenSourceProjectsFaq for links to many of them). You can use those to extract images (maybe the first one) for display purposes.


Ping & DNS - my free Android networking tools app
J Das
Ranch Hand

Joined: Jul 27, 2011
Posts: 83

Ulf Dittmer wrote:There are numerous libraries that can read video formats (see https://www.coderanch.com/how-to/java/OtherOpenSourceProjectsFaq for links to many of them). You can use those to extract images (maybe the first one) for display purposes.


Thank you so much for your kind reply , but i am not getting the idea how to use these libraries into my project. I mean when uploading the video file how will i bind the library to extract a thumbnail image of that video ? Please ignore my dumbness if so..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41034
    
  43
You will need to select one or more of those libraries depending on which file formats you plan to support. Not all of the libraries support all formats. Then you use those libraries to extract those images that you wish to show as preview (for starters, maybe always use the first image).
J Das
Ranch Hand

Joined: Jul 27, 2011
Posts: 83

Ulf Dittmer wrote:You will need to select one or more of those libraries depending on which file formats you plan to support. Not all of the libraries support all formats. Then you use those libraries to extract those images that you wish to show as preview (for starters, maybe always use the first image).


are there some kind of tutorials which shows how this process is done ?? I am really not getting any clue Sir..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41034
    
  43
Which sites have you visited? Which libraries have you chosen? Most of their respective sites should have enough documentation and example code to get you going. Just saying "I don't know how to proceed" isn't going to let us help you. Did what I said in my last post make any sense at all to you? If so, what *did* you understand?
J Das
Ranch Hand

Joined: Jul 27, 2011
Posts: 83

Ulf Dittmer wrote:Which sites have you visited? Which libraries have you chosen? Most of their respective sites should have enough documentation and example code to get you going. Just saying "I don't know how to proceed" isn't going to let us help you. Did what I said in my last post make any sense at all to you? If so, what *did* you understand?



Look Sir , I looked into the link you provided , and also searched for some other such similar sites; I have found FFMPEG to be some sort of a tool which would be able to solve my problem , but I have not found the process how should we start it , I mean to say that I am working on Netbeans , so do i have to import any libraries for FFMPEG or not ? If so how and where ?
 
 
subject: video Thumbnails for a video sharing site
 
Similar Threads
doubt in transfering a vidoe file
Uploading image and thumbnail
doubt in transfering value using script
creating thumbnail for uploaded files
image from video file