How can I stream in android with ftp server? - java

I can upload and download files on my android app. However, I wish to stream video and audio over 3g/4g like an 'ES File Explorer'. But the problem is I couldn't approach it.
Could anybody tell me a method about ES File Explorer's streaming skill?

Related

Google Streaming Speech Recognition on an Audio Stream Java - Example App

I need do following with my web app.
1.Stream audio from webpage & submit to google cloud speech API & get the result. For that I want to know following?
1.how can i get the audio stream from webpage (access microphone) & submit to
speech API by using web socket or javasdk.
There is a sample for streaming api in java sdk samples but it loading file
from local files. Not real time reading from microphone.
2.How can i do text-to-speech using google cloud API.
Any help would be appreciated.
Thanks,
Pradeep

How to reduce Audio and Video file size while downloading from server in Android app?

I need to either play or download audio/video files hosted on a server.
While downloading, I need the file to be downloaded in compressed size.
How to achieve that?
Any help would be appreciated.
Audio and video file formats typically employ compression already, so you can't generally do any further compression on them. Thus the good news is that you have nothing to do - your current downloading mechanism already includes compression!

Streaming .wav with jmf and rtp protocol

I would like to implement a simple Client Server model based on jmf and rtp to access .wav file and play it.
I refer to this discussion MP3 won't stream with JMF
where the problem was with .mp3 and so I tryed it with my .wav without success because I've problem with RTP Session Managaer.
A first question is if I have to run RTPClient and RTPServer with two different machines, because until now I have RTPServer and RTPClient on the same pc in the same project and in package only different.
Is it a problem? Is there a way to try the client-server model on localhost for example?
Thanks in advance for your attention!

What are my options if I want to compress a video before upload in Java?

I am uploading a video file which is in .mov or .mp4. I want to compress it (little loss of quality is acceptable) before uploading to Amazon S3. Is there a library in java which can accomplish that ? I found one called Xuggler but it looks a lot complex. Is there any other way ?
The best diy option is to use ffmpeg.
FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video
It's is a command line tool so can be called by a java app. Here's a tutorial on how to encode to H.264
Another option is to outsource your encoding to an encoding service like encoding.com or Ankoder. Both those integrate with S3 and can upload the encoded videos to your S3 account.

playing audio stream in blackberry

I am doing an audio playing Application in blackberry.When i pass a live url stream,it works,but when my url is a fixed one of size say 50 mb.It shows error,can anyone tell me the reason for it?
have you tried to buffer and play the media using custom buffer class or just trying to pass url of media file to player.
if you pass url of media directly (not a streaming link but an mp3 file link for example) then device will try to download the file and then play the file and blackberry has 2 or 1 MB file size limit to download a file.
any how unless you paste some code here it is hard to answer your exact query. I also like to share this link for streaming media over internet.
http://supportforums.blackberry.com/t5/Java-Development/Streaming-media-Start-to-finish/ta-p/488255

Categories

Resources