• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

video Thumbnails for a video sharing site

 
Ranch Hand
Posts: 83
MS IE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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..
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are numerous libraries that can read video formats (see https://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.
 
J Das
Ranch Hand
Posts: 83
MS IE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:There are numerous libraries that can read video formats (see https://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
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 83
MS IE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 83
MS IE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 ?
 
He was giving me directions and I was powerless to resist. I cannot resist this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic