Video Upload Applet - java

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)

Related

Library that can extract and play video file

I will build a simple program that
Can play video file (.mp4) in my program.
Can extract the video, so that I can get the title, length, subtitle, and the audio, etc.
What is the library in Java that I should use?
I have googled, but I still can not find the best library. By the way, I have tried to download xuggler, but I can not find any file.exe that can install this library.
Please be kind because I never make a code regarding video player and video extractor.
For playing audio and video in your java program use Java Media Framework. It contains jar files that will provide you classes to play and handle audio and video files.
Use this tutorial for understanding of JMF.
I have successed to use xuggler in java. Xuggler website is suck because they don't keep good installer in their website. Every beginner who use xuggler must be have some trouble like me.
For every one who want to use Xuggler, you can follow this website
http://www.benfarahmand.com/2012/11/tutorial-using-xuggler-in-processing.html
the link to download file.exe xuggler is here: https://www.dropbox.com/s/oh7zcyilibzfoyb/xuggle-xuggler.5.1.0-win64-setup.exe
Thank you :)

Can I use vlcj library in an Applet?

How can I use vlcj-1.2.0 to play a video file in an applet if I need libvlc.dll from user's VLC folder in Program_Files?
Can I load the native library from the applet? Or can I use the firefox VLC plugin?
Or do you know any other solution?
If you include the native library with the applet (you don't need VLC installed to use vlcj as long as you have libvlc.dll/so and associated plugins) then you should be able to use it, but only if it's signed.
If you just want to play video on the server though, a much simpler solution would be to save all the videos as FLV and then use flash to play them back. Or HTML5 of coruse!

FLAC or OGG Online Media player

Is there a way to make an audio/video player in Java that can play on a website?
I searched around but I don't understand enough yet for this.
We are going to setup a server that can stream OGG and FLAC audio files. We need a player that can play them on a webpage.
Our backend is built with Java. Before we put together a project for a Java programmer I want to know what the possibilities are.
Can this be done with an applet and simply add the right codecs and place it on the webpage?
Yes, we made js flac player. This is code of js codec: https://github.com/audiocogs/flac.js
This framework https://github.com/audiocogs/aurora.js for made player
You just to embed the HTML for a player, then add your own script to play the audio/video.
Here's how to Embed the code for WMP:
http://www.mioplanet.com/rsc/embed_mediaplayer.htm
Sorry, I don't know what files it can play but just give it a shot...
Found jPlayer. HTML5 with flash fallback.

Converting audio files(.3gp) to video with Album cover and uploading to YouTube

I have an audio file in .3gp format on my Android device which I wish
to upload to YouTube. I know that YouTube is a video upload site and
that I need to convert this sound file to video.
I just want an image to display all the time the audio is playing.
Google tells me there are number of tools that can help me. But I want
to do this via java code from my Android device.
Please help.
Thanks.
There are tools such as FFMPEG available for free that allow you to, essentially, mix and convert heterogenous streams. That is you can add a bitmap to a video, create video from slide shows and then add sound etc. (See a related question I asked here).
These programs can be executed from within java applications by making Runtime.exec(..) calls.
Sun has an example for stitching multiple JPEGs together into a movie, you can find it here. You should be able to take this example, (its fairly robust), and add what you need to it.
I recommend looking into the Java Media Framework (FAQ)
You can find a vast collection of sample applets/code at the Sun Solutions page. You can find the API on this page. I do hope this is compatible on the Android platform, as I haven't had any personal experience developing for it. But it might be a good place to start.

Playing audio files in web page?

I trying to write web application that recieves audio files from database and play them.Do you know any open source flash audio player for that?And i am also thinking implementing in java do you suggest java or another programming language for that?
Sorry to be facetious but did you even try a Google search?
First result: http://musicplayer.sourceforge.net/
In the not-too-distant future you'll be able to use the HTML <audio> element to play files, too. Firefox 3.5 and Chrome already support it.

Categories