We are storing sound from mic to pc via sound forge.
We would like to broadcast the sound which comes from the mic to the pc as live streaming audio.
Basically a person speaks in a mic, we like to give it as live stream audio.
The web-site is hosted on yahoo server.
Can you please let me know in what are the ways we can achieve this?
Thanks,
Kathir
you can rent shoutcast/icecast2 stream from a lot of shoutcast/icecast2 stream hosters.
Then just embed flash based player with this stream in your site page.
Do you have SSH access to server? You can install shoutcast server(http://www.shoutcast.com/).
I don't know if you still have this issue but you will need a Shoutcast or Icecast server to do this. It can be complicated if you aren't familiar with operating a server. It's easier to rent space on a Shoutcast server. You can find a great service which is affordable at MyRadiHosting.
You would want to put a player code in your website that works across all browsers and devices. We use the one below and have had no issues.
<audio src="http://YOUR IP ADDRESS:YOUR PORT/;" id="MediaPlayer1" autoplay="autoplay" controls="controls">
Hope this answer helps!
Related
I am trying to create a low latency method to use an android device as a secondary display for a PC. So far all I have found has been either wireless streaming, or a slow usb connection (i.e. using iDisplay).
However, I found a DSLR camera contoller app (https://play.google.com/store/apps/details?id=com.dslr.dashboard/) that is able to stream a live feed of the camera to an android display via USB. Would it be possible to edit the source code of this application so it can read the video output of PC via USB? If so, how would you go about this? Do you think that this would be a low latency alternative?
Thank you!
Lots of fantasy in your question. Have you ever seen a PC outputting data from one of its USB ports to another device? How are you supposed to do that? With a plain male-to-male USB cable, in case you find one? Sorry but things don't go that way. To transfer data (files, or a network) via USB between two computers you'd need some propietary/specific software. Of course, once you have acomplished that is technically possible to transfer files with the screen content. Buy you'd need to develop a software that would capture the computer screen, compress it in real time, and send it through USB with enough low latency to be usable. That's going to be resource intensive.
A better, easier approach would be, maybe, using some sort of remote desktop or VNC on the Android machine, with the computer acting as a server. At least far more feasible than trying to implement a similar protocol by yourself.
Sorry but what you are trying to achieve is flawed from the beginning.
i have a project to do recently. what i have to do goes like following:
obtain the realtime video from the camera on the client side
stream and forward it to the server
play it on the server side
i've done some research about this and i know jmf and webcam-capture can do 1 and 3 for me. the real point that makes me stuck is the second point.
i didn't do networking programming as much as i should and i could not find the right idea to achieve this. how can i convert a captured video clip to a videostream(no sound needed by the way) and send it to the server in realtime?
all i need is just a guide to the proper api.
thanks in advance.
You need to use a Socket to connect the client and server. You can find examples in the Java Tutorials, try using an ObjectStream
Its very easy indeed. Use Windows Media Encoder to capture and stream your webcam to any other computer.
When your encoder starts, you will get a URL to view your stream, which you can use to view the stream (With audio and video) from anywhere with internet.
I would like to write a program in Java which takes pictures from an IP camera and sends (over ftp) it to a website, replacing an old image.
Does anyone know any libraries I can use for that task?
I think the main problem will be grabbing an image from IP camera and saving it as a JPEG.
Basically I have never worked with cameras before. So I will be really grateful if someone can give me some tips.
First you would have to figure out how to get the data from IP Camera you will be using. Good starting point can be found here: http://dragosc.itmcd.ro/uncategorized/java-media-framework-vs-ip-camera-jpegmjpeg-complete-overview-sources/
Second, you should choose the library for ftp communication, this topic was discussed here:
What Java FTP client library should I use?
Once you'll write smth which actually does something you can get back to SO and ask more specific questions.
I need to set up live streaming from a number of web-cameras to the internet (in browsers), and the streams should be visible only to particular users. I.e. user A logs in to my system with his or her login/password, goes to the video stream page, and sees the stream from a particular cam, and other users cannot see that video, even if they know the url to that stream.
I've looked at a number of solutions so far, but some of them are obsolete, most of them are for image processing, recognition and the like, and some are just a bit too cumbersome, like Red5, for example.
Is there a relatively simple solution for that, that would just allow me to get a videostream from a particular cam connected to my computer?
Thanks in advance.
If you are using Linux I have had success with V4L4J (Video 4 Linux 4 Java) which is small and really quite cool. You would need to do quite a bit of work to get streaming working for a low bandwidth connection but if it is over LAN playing back an MJPEG stream over a TCP socket is easy beans :-)
http://code.google.com/p/v4l4j/
Good luck.
Have a look at Java Media Framework to communicate with your cam.
I was wondering does anyone knows what video streaming infrastructure these guys are using.Front end(gui) is clear which technology these guys are using. On the net I found streaming servers are available, from flash, wowza and red5. From this link
red5 seems to have a bit bad reputation, is it so? has anyone used it? how was the experience?
I dont want to use third party host for streaming. Any suggestions to achieve the same on java based technologies.
Thanks in advance......
They are using RTMP (Real Time Media Transfer Protocol). You can use RTMPDump (a free utility) to save streaming media to your disk.