I have the opentok-archiving sample application set up. While playing the archives, I need thumbnails for the archive. Does OpenTok provide thumbnails?
Currently, I think the only way is to setup Archiving URL callback, and once the archive status is changed to uploaded, I need to get a thumbnail out of the video on my backend.
Are there any other better ways to go about this?
(Myself: tokbox developer)
No, OpenTok does not provide a thumbnail of the archives. However, you can create the thumbnails yourself very easily with ffmpeg.
Related
In JavaFx we can load images easily from an external server:
imageView.setImage(new Image("http://...File.png"));
But is there a way to load the thumbnail of videos?
Something like: imageView.setImage(new Image("http://...File.mp4"));
I'm developing something like a "gallery" and would like to load the thumbnails of videos coming straight from my server, is it possible?
An mp3 or mp4 file can have an embedded thumbnail image as part of its metadata. There are third party libraries for reading mp3 / mp4 metadata. For example:
How to retrieve thumbnail picture of an mp3 file using java
App Engine Java - Extract thumbnail from mp4 video
If the file doesn't have a thumbnail, then you could conceivably pick a frame of the video and use it as a thumbnail, but the chances of picking an appropriate frame (i.e. one that is indicative of the movie) without the assistance of a human being are not great. But here is an example:
Extract Thumbnail for specific second from MP4 file in Android
But how do you make a video that is not local without downloading it altogether?
Approach #1: pick a 3rd-party metadata extraction library that can operate in stream mode. The metadata should be at / near the start of the stream.
Approach #2: get the server to do the extraction, and present you with the thumbnail separately from the main video.
I am learning to build an android app for the first time...this is an educational project.
I don't have a database, and I'm not using a cloud server. The latter is slightly outside of the project scope, and I was advised that I was better using XML to store data, rather than SQLite.
My app should enable users to select images from their image gallery at runtime, these are then resized, and stored in the app (visually - it will look like a pin board of thumbnails). I was going to store them in the resources folder, but have just realised from reading other posts, that this isn't accessible at runtime.
Can anyone point me in the direction of what my options are when I'm not using a cloud server.
Is XML feasible? If so, how do I go about storing images in XML at runtime?
Can I make use of the SD card?
Or is SQLite the only option?
Is there any info where I can read about the limitations and benefits of each of these?
Any advice would be so much appreciated!!
Realm is better for you. Look at the below links you will get Idea to use realm in your project
https://realm.io/news/realm-for-android/
http://www.androidhive.info/2016/05/android-working-with-realm-database-replacing-sqlite-core-data/
I'm running a Play Framework 2 web app on Heroku, and I need to create thumbnails when users upload images, before saving them to the Amazon s3 cloud. What is the best way to do this?
Note: I am already saving images to s3. I just need to know how to create the thumbnails first.
Ended up using http://www.blitline.com/. It's a cloud based image processor, and they have a good free plan and reasonable prices after that. They even store my images in s3 for me after they are processed.
I have this new requirement to develop a software which is a large scale image up loader in a web application. I was able to do the same using swing contains several feature like drag and drop, progress bar, remove file / files , modify, limit file size, verify file information, timer, verify at run time ..and its a very powerful tool which uploads images.
I would like to do the same in web based app, like user selects 200 images process it and click upload and it should start uploading, like to know any feasible frameworks or any API's which help me do this faster and achieve the same kind of functionality. Please point me in correct direction.
-PD
You can do upload apps, but not fancy stuff like drag and drop with run of the mill HTML. HTML5 on google chrome maybe, but I doubt you want code that only works on chrome.
Have you looked into turning your image uploader app into a java applet? Applets generally have a bad rep, but this is one of the very (in my opinion) valid uses of one...
Either turn your uploader into an applet or use a 3rd party image upload applet, such as JumpLoader. You then just embed this applet in your webpage. Turning your uploader into an applet should actually be a piece of cake since you've the UI apparently already ready. You can make use of deployJava.js script to reliably deploy an applet.
i am working on a small project that i need the ability to let users upload a video to my website or use a webcam to record a video and then upload it. i have seen this done on several sites (youtube,facebook etc) so i know that there is a java or flash applet that supports this. however i have not been able to find one.
can anyone recommend a good flash or java based video uploader with these features?
Is a video upload control different from a file upload control?
Here's a Flash file upload control.
Here's a link to a Ajax file upload control.
If you search Stack Overflow for "Ajax file uploader" or "Flash file uploader" you'll get more recommendations.
Edit:
Here's a flash recorder and uploader.
http://www.a8dropzone.com have a upload applet with built in media transcoder (based on ffmpeg so you can feed it pretty much anything)