Video conferance on Android - Java for Android App Development

Hi,
I wonder if there is an easy imlementation of video conferencing on Android.
I have one android public use device and many private use devices.
Using scenario :
User will select a private device to connect and public device will connect to that private device.
Server will send cam video and mic audio to connected private device and play only audio stream from connected private device.
Private device needs to send only mic audio to public device and play received streams.
Options tried are below :
- Streaming to devices from java. I cant find an easy way to implement it.
- Streaming using ffmpeg etc. It is still too low level for our system and high latency. I think I need to configure my ffserver.
- WebRTC, I only tried it on browsers level. It is slow sometimes and needs a server. I cant find any serverless implementation.
Any suggetions appreciated. Thanks.

turgutbasar said:
Hi,
I wonder if there is an easy imlementation of video conferencing on Android.
I have one android public use device and many private use devices.
Using scenario :
User will select a private device to connect and public device will connect to that private device.
Server will send cam video and mic audio to connected private device and play only audio stream from connected private device.
Private device needs to send only mic audio to public device and play received streams.
Options tried are below :
- Streaming to devices from java. I cant find an easy way to implement it.
- Streaming using ffmpeg etc. It is still too low level for our system and high latency. I think I need to configure my ffserver.
- WebRTC, I only tried it on browsers level. It is slow sometimes and needs a server. I cant find any serverless implementation.
Any suggetions appreciated. Thanks.
Click to expand...
Click to collapse
I've already seen this type of thing with Skype and Google Hangouts. Not sure if that's what you mean or if what your talking about is completely different.

Related

Anyone interested in a home made VOD service?

As some of you asked me for the translation, I did it. I just put it here, so that you can all give a try if you want.
http://shaka-team.ch/kaliF.ProD/FuN_KeY/vod_eng.rar
A week ago I spent some time to build a home made Video On Demand system, and I was wondering if it could interest some of you. If you are interested I can translate it into english and write a little how-to.
My system is very simple; the computer with the data (films, divx, dvd, ...) will become a web server listing all available media and offering live streaming and transcoding to smartphones/pdas and/or other computers.
Usage:
I am far too lazy to convert my film/dvd to ppc format and to send it to the SD card; that's why I decided to stream the film I want to see directly over the wifi. I also use this when I am on the go with a computer/ppc and nothing to do, I can easily watch my films through the internet.
Requirement for the server:
-Win 2k/XP Pro/2k3 with IIS setuped
Requirement for the client (PDA):
-TCPMP installed
-A tytn (didn't tried with other device in fact, but it should work on most PDA/smartphone)
Requirement for the client PC:
-Divx codec or filter setuped
Limitation:
-If you plan to stream over the internet, keep in mind that the size of your upload will condition the quality of the video.
-Only one client can stream at the same time (in fact more clients can connect to the server, but they will all see the same film)
-No possibility to go forward/backward, you have to watch the entire film straith forward (you can pause as long as your device is able to hold the running film in the buffer)
SETUP
-On XP Pro, Win 2k, Win 2k3 go to control panel > add/remove software > integrated components
-Select and install IIS (www service is enough)
-Extract my app in c:\inetpub\wwwroot\vod
-Edit default.asp and replace "c:\film_path" by the path of your films (you can add many folders by copy-pasting this line)
-Edit the play.asp and replace "server_name" by the name or the IP of the computer
-Edit film.asx and replace "external_dns" by your external ip or DNS if you have one. You can also setup here the local name/ip of the computer (the same as in play.asp) but in this case you will not be able to stream your films from outside your home network
-If you are using the external IP/DNS, do not forget to configure your router/firewall to allow and to route the traffic from the socket 8080 to the computer hosting the app
-If you don't have a static IP, you can freely get a DNS that link to your dynamique IP; visit www.dyndns.org for more informations
-go at http://computer_name/vod and try to watch a film (There may be an issue with firefox; I may work on it a bit later)
SETUP, PPC Side
-Setup TCPMP 0.71RC1 or 0.72RC1; most of the versions available should be fine
-Go to setup menu and remove all the tick in directdraw page if you are experiencing strange behaviour with the picture
-Go to file association and tic at least Windows meta files (ASX, ...)
-Start pocket IE and go to http://server_name/vod; you should be able to watch your films by now
NOTES
-The app is able to handle DVD files, as long as it can detect the VIDEO_TS folders
-The app is limited to one user at the same time; I did this because my upload do not allow me to stream more
-There is still a slight syncro problem on PPC with the picture and the sound; sadly, I think that it is a TCPMP issue
I'd be VERY interested in trialling this service, as I installed Orb and, like many other people with the latest version (see the Orb support forums), it just doesn't work AT ALL.
So, I'm looking for a good replacement (which works!) - I'm not afraid of getting my hands dirty and tweaking, bug testing, so yeah - send me the details ... Just a quick questing regarding the requirement for IIS; what technology does this use, .net/ASP? If so, I might have to install an ASP filter for Apache (as I don't use IIS), or I might have to set up that fileserver machine I've been preparing to build for a while
Yes, it uses a ASP. Most of the time I code in php, but as my file server was under win2k3 I decided to "learn" ASP. But my code is very simple; I am pretty sure that it can be translated in php in about 15 minutes, I don't believe in php on windows and asp on linux
Well mate, you know who to PM with the details & info
EDIT: DELETED by CyberTron
Main topic edited => UP !
Regarding ORB, I have it installed and it works flawlessly with my Tytn. I can select my home webcam to see how my puppy is doing while away from home. I can stream all my recorded TV shows and movies as well as watch live TV from anywhwere that has a decent Internet connection. I can also schedule TV shows to record, plus I have access to all my music and picture libraries. I love it - its simply the most amazing free software. I love that there is nothing required to install on my Tytn it just uses the web browser and WM10.
Too bad ORB does not support DVB-S cards.
BTW, I'm converting mpegs from my webcam into 3gp H.263 using ffmpeg, it
shrinks files about 1/100 (w/ 176x144 resolution 5fps only, which is ok for this
purpose).
Downloaded just now, but I'm going to bed (have you seen the time! 6am UK time ) so I'll give it a try either tomorrow or beginning of next week.
I know orb, and it is a service that work great. But in my case I dont like the use of external server that I cannot control; that's why I prefere doing it my way. My app is not here to replace orb, it is just a small alternative that do the thing a bit different.

Shift No Longer Needed!

i was thinking of a getting a shift as i am desperate to be able to play p2p streams via my hsdpa connection , so i can watch LIVE football on my AMEO from sopcast and other p2p streaming tv progs.
This morning I finally CRACKED it! and am now watching
Full screen SOPCAST TV on my AMEO
This means I can watch literally EVERY FOOTBALL match ANYWHERE on my AMEO for FREE!
this may be old news but im amazed.
if you want to know how i will post details
watching football for a bit to get it work is cooooooool...
tell me more!!!!!
dont beat around the bush c'mon hit us with the details!
okay heres how its done
First u must have an unlimited HSDPA account or you are gonna spend loads of dosh
progs needed for full control fom anywhere
Logmein - free version (pc remote control app)
VLC player (pc app)
Sopcast 1.1.2 (pc App)
TCPMP 0.81 (its the only version that plays video great for me, u may prefer other versions)
obviously you need BB connection on your home pc
1. install logmein and create an account you can then log into your pc remotely (change resolution to 640X480)
and you can see the whole of your screen on your athena/ameo.htc7500 etc
install all of the above apps
2.In your Ameo make sure that TCPMP is your choice for all video types i.e. wmv playback etc so it auto runs any video
3. open media player , select open URL and under network options select wifi/Lan (1.0mbps or faster) and tick detect connection speed and then close
4. start sopcast on your pc and get a channel going in the standalone player not the web based player
5.start VLC
6. once the channel has started right click on the player screen and select properties
7. highlight and copy the location http://xxxxxxxxxx etc
8. click File- open network stream on vlc player
9.select HTTP/HHTPS/FTP/MMS and paste the location into the URL box
10. the stream should now start to play in vlc (prob quicker than sopcast!)
11.click file again on VLC and select WIZARD
12. make sure stream to network is slected and click next
13.select Existing play item and highlight the location name in the box and click next
14.Select HTTP and leave the box below blank press next
15.Leave on ASF and click next
16. type 1 or 2 or leave blank it may or may not matter
17.now click finish
VLC player should shrink and in the bottom box it should have a timer that doesnt move and say transcoding
click view and check messages if its BLANK your in business.
Now open up internet explorer in your ameo
and type
mms://your pc's ip address:8080 press go
TCPMP player should automatically start and start playing the stream.
If you are in portrait mode when you hear some sound press the button to change to landscape and TCPMP should be playing back whatever you Channel you selected.
VOILA!
Logmein like all remote software allows you to set this all up from your PC remotely
have fun FOOTY HERE I COME!!
Can anyone confirm that this works?
Also, is it better/worse than a Slinbox type config, aside from the advantage of not requiring a separate cable/tv box?
simoncells.com said:
Can anyone confirm that this works?
Also, is it better/worse than a Slinbox type config, aside from the advantage of not requiring a separate cable/tv box?
Click to expand...
Click to collapse
If it didnt work i wouldnt post it
An easier way to do this is (taken from the Orb website not my work and it works great is)
I managed to get SopCast and pplive streaming on my cell through Orb. It's probably similar with the other p2p streaming softwares.
'Here's how to do it:
1. Open SopCast on a channel.
2. Add the Custom Channel in Orb. For that, go the the TV application, select the Internet TV/favorite channels menu, and click the Add Custom action next to the play button. Enter SopCast for the name and http://127.0.0.1:8902/tv.asf for the URL (this URL may be different for you if you changed the default ports options in SopCast)
3. You can now stream this channel via Orb from the Internet TV menu.
With pplive, the URL to add depends on the channel you select, to find it, click on the "open in external Windows Media Player icon" once the channel play, and look at the URL of the playing item, it will look like http://127.0.0.1:8888 '
it does pause now and then but you can get a good long watch much of the time depending on the channel
this is down to the way TCPMP player handles streams more than the ORB software
i can stream this while on evdo, but not on wifi, can i configure the wifi tho stream this?
i2idiniow said:
i can stream this while on evdo, but not on wifi, can i configure the wifi tho stream this?
Click to expand...
Click to collapse
should be the same, i have hsdpa and havent tried wifi so i cant say for sure , but why not?
might be to do with IP addresses, if u are at using wifi maybe your ip address is different
Question for spacecat, or anyone else who can help:
I have an ameo too, and have tried the two ways that you have mentioned of viewing sopcast i.e. through VLC and ORB. Have found the following:
1) via ORB: Managed to get the stream to the ameo displayed via TCPMP but the video was very choppy and frankly unwatchable (any particular settings I should be aware of?)
2) via VLC: Keep getting the error mms: protocol not supported (do I need a particular plugin for TCPMP?)
Which option gives better quality of steam?
Thanks in advance
billu said:
Question for spacecat, or anyone else who can help:
I have an ameo too, and have tried the two ways that you have mentioned of viewing sopcast i.e. through VLC and ORB. Have found the following:
1) via ORB: Managed to get the stream to the ameo displayed via TCPMP but the video was very choppy and frankly unwatchable (any particular settings I should be aware of?)
2) via VLC: Keep getting the error mms: protocol not supported (do I need a particular plugin for TCPMP?)
Which option gives better quality of steam?
Thanks in advance
Click to expand...
Click to collapse
you need the WM5 WMV9 codecs the WM6 codecs you currently have do not work properly !
basically unzip the attached files and bung em in your windows folder !
oh and if your stationary you can get away with your ORB server uploading at 320K or 400k max but 400 might have issues, if you are on the move (train for example) 160K is about your limit but experiment, and be mindful of your home broadbands max up speed, im on virgin 20Mb (down) so my max upload speed is 768K

Streaming video from vlc to G1?

I am trying to restream some online windows formatted video streams to my G1 using VLC.
I have tried to get this working myself, with the help of google.
But I just can't get it working.
This should work... in theory:
cvlc -vvv "<url>" --sout '#transcode{soverlay,ab=42,samplerate=44100,channels=1,acodec=mp4a,vcodec=h264,width=328,height=288,fps=15,vb=200,venc=x264{vbv-bufsize=500,partitions=all,level=12,no-cabac,subme=7,threads=4,ref=2,mixed-refs=1,bframes=0,min-keyint=1,keyint=50,trellis=2,direct=auto,qcomp=0.0,qpmax=51}}:gather:rtp{mp4a-latm,sdp=rtsp://0.0.0.0:8000/news.sdp}'
I have alswo tried streaming over http: std{access=http,mux=ts,dst=0.0.0.0:8000}'
Whenever I try, Meridian just says "sorry, this video cannot be played."
This is the output from logcat:
I/ActivityManager( 97): Starting activity: Intent { data=rtsp://xx.xx.xx.xx:8000 flags=0x10000000 comp={org.iii.ro.meridian/org.iii.ro.meridian.VideoPlayActivity} }
I/ActivityManager( 97): Stopping service: org.iii.ro.meridian/.MusicPlaybackService
I/HTCIMEService( 260): [finishInput]:
W/ActivityManager( 97): Unable to start service Intent { action=com.htc.android.mail.eassvc.EASAppSvc }: not found
E/HTCIMEService( 260): ^^^^^^^^^^^^^^^^^^^^^^Fail to bind EAS AppSvc!
W/ActivityManager( 97): Unbind failed: could not find connection for [email protected]
V/VideoView( 6200): reset duration to -1 in openVideo
I/ActivityManager( 97): Displayed activity org.iii.ro.meridian/.VideoPlayActivity: 891 ms
E/PlayerDriver( 37): Command PLAYER_INIT completed with an error or info PVMFFailure
E/MediaPlayer( 6200): error (1, -1)
E/MediaPlayer( 6200): Error (1,-1)
D/VideoView( 6200): Error: 1,-1
E/MediaPlayer( 6200): stop called in state 0
E/MediaPlayer( 6200): error (-38, 0)
W/MediaPlayer( 6200): mediaplayer went away with unhandled events
W/InputManagerService( 97): Window already focused, ignoring focus gain of: [email protected]
D/dalvikvm( 97): GC freed 31607 objects / 1294288 bytes in 475ms
honestly i just use ORB. It streams and converts the video(files, music, pictures, etc) on the fly to your phone. It is about as easy as it gets.
ggolemg said:
honestly i just use ORB. It streams and converts the video(files, music, pictures, etc) on the fly to your phone. It is about as easy as it gets.
Click to expand...
Click to collapse
orb is pretty terrible in that it is restricted to windonkey on the server side. VLC is open source and probably the #1 media server/player for *nix, though also works for the donkey.
@DarkFoxDK: have you been able to transcode a static file for playback using VLC? I haven't tried with VLC yet (just mencoder). That is definitely a first step, to make sure that the encoding you are using is proper for the device. When you have that working, then try with the streaming. Is meridian even capable of receiving streaming video? I suppose that the best approach would be to develop a VLC-port for android.
ggolemg said:
honestly i just use ORB. It streams and converts the video(files, music, pictures, etc) on the fly to your phone. It is about as easy as it gets.
Click to expand...
Click to collapse
Windows is just not an option... besides, I don't want to rely on a 3rd party service.
lbcoder said:
@DarkFoxDK: have you been able to transcode a static file for playback using VLC? I haven't tried with VLC yet (just mencoder). That is definitely a first step, to make sure that the encoding you are using is proper for the device. When you have that working, then try with the streaming. Is meridian even capable of receiving streaming video? I suppose that the best approach would be to develop a VLC-port for android.
Click to expand...
Click to collapse
I haven't actually tried that yet, I'll do that as soon as I have the time.
Meridian is using the video view-thing in android like all the other apps, so yes. (Also, there's an "Open URL" option, with rtsp:// in it as default).
Yes, the mobile equivalent of VLC is CorePlayer and they're working on it: http://forum.corecodec.com/viewtopic.php?f=22&t=1327. I'ts pay-for but it'll play pretty much anything you throw at it (within limits).
Yes, it does indeed play with no problems, when I save it to a file.
Using std{access=file,dst=/home/martin/test.mp4}
I really have no clue where to go from here.
I had a similar adventure trying to get VLC streaming working a few months back. I pretty much got to the same spot you are. I then found that what Android supports is RTSP, not RTP streams (or at least that is how I interpreted it). From how I understood it RTSP is basically just a control channel for delivering RTP and other streams. Luckily VLC has VLM which is supposed to do RTSP stream management. You get to it in vlc->tools->VLM Configuration. I played around with that for a few hours, but never got it actually streaming. I got discouraged when I found someone reporting that RTSP was broken in the current 1.0 android build, but I never went back and tried again with cupcake. This is all from memory so might not be totally accurate. If you do figure it out, please post! If I get to hacking on it again I will do the same.
I almost got this working...
I set up Darwin Streaming Server and the sample files work (except for the h264 ones..).
But I just can't get VLC working...
According to this thread it seems to be a problem/bug with VLC: http://forum.videolan.org/viewtopic.php?f=4&t=58616
did any of u guys try that feature in gmote ?? it has an otion of playback into phone..i tried with a mp3 file but it took me ages to buffer a 3mb file tho...
Dare{D}evil said:
did any of u guys try that feature in gmote ?? it has an otion of playback into phone..i tried with a mp3 file but it took me ages to buffer a 3mb file tho...
Click to expand...
Click to collapse
It doesn't work outside your own LAN, so it doesn't really work for that purpose..
GMote will stream over 3G, just follow the steps in its FAQ to forward ports and you're all set.
innerspace said:
GMote will stream over 3G, just follow the steps in its FAQ to forward ports and you're all set.
Click to expand...
Click to collapse
Ok, But can it take a live video stream and transcode it to a digestible format for the G1?
Anyways, I got restreaming working with these settings
Code:
vlc rtsp://streamer-01.dr.nordija.dk/dr1lowmp4 -I dummy --sout "#transcode{vcodec=h264,venc=x264{no-cabac,level=12,vbv-maxrate=384,vbv-bufsize=1000,keyint=75,ref=3,bframes=0},width=320,height=180,acodec=mp4a,ab=64,vb=384}:rtp{dst=0.0.0.0,port=1234,sdp=file:///usr/local/movies/t.sdp,mp4a-latm}"
DarkFoxDK said:
Anyways, I got restreaming working with these settings
Code:
vlc rtsp://streamer-01.dr.nordija.dk/dr1lowmp4 -I dummy --sout "#transcode{vcodec=h264,venc=x264{no-cabac,level=12,vbv-maxrate=384,vbv-bufsize=1000,keyint=75,ref=3,bframes=0},width=320,height=180,acodec=mp4a,ab=64,vb=384}:rtp{dst=0.0.0.0,port=1234,sdp=file:///usr/local/movies/t.sdp,mp4a-latm}"
Click to expand...
Click to collapse
Can you please give more specifics on this? I am desperately trying to get the output from my Linksys WVC54GCA visible on my HTC Hero and I think this may be the key. The cam already outputs RTSP stream which I can view in VLC but Android players won't open it.
I assume that I could just substitute my source video for the one you're using, but then how would I view this on my device? Is there a specific URL I would use? (Note: my device, camera, and VLC are all on the same LAN)
Thanks for your help, I've been pulling my hair out over this, I'm pretty handy with a Linux shell but am not very knowledgeable about this streaming stuff.
OK, I figured out the last bit. I just need to replace the sdp= part with an rtsp:// URL, and then that's the URL I send to Meridian Player or Doga Player on my Android device. So the full vlc command is:
Code:
vlc -v http://<CAMERA_IP>/img/video.asf -I dummy --sout "#transcode{vcodec=h264,venc=x264{no-cabac,level=12,vbv-maxrate=384,vbv-bufsize=1000,keyint=75,ref=3,bframes=0},width=320,height=180,acodec=none,ab=64,vb=384}:rtp{dst=,port=1234,sdp=rtsp://<COMPUTER_IP>:1234/stream.sdp,mp4a-latm}"
So then in Android I open the rtsp://<COMPUTER_IP>:1234/stream.sdp URL, which I assume is not the real data stream but rather is just info on how to open the video and audio streams.
It still doesn't look great but at least it's working, I'll mess around with the rest of the settings to try to get it to look decent (I'm guessing the closer I can get it to the original stream the better it will look).
Thanks for posting this, once I get it all working the way I want I'll post the final solution I came up with...
Happy streamer
I've been streaming media files and live satellite feeds with VLC to all my mobile devices for several years.
I just want to share my settings with you guys so you could try out what i've been happy with for many years.
I'm using VLC 0.8.6i and have all the settings in a m3u file. For media files replace the <media> with what you would like to stream.
The settings gives good quality stream and work great for streaming on a 3G and HSDPA network.
Code:
#EXTM3U
#EXTVLCOPT:sout=#transcode{vcodec=div3,vb=650,width=400,height=240,acodec=mp3,ab=96,channels=2,fps=25.0,samplerate=44100}:duplicate{dst=std{access=http,mux=asf,dst=:88}} :sout-all
<media>
This m3u file can be used for streaming all types of media just replace <media> with what ever you like to stream.
Happy streaming.
bulldog64 said:
Code:
#EXTM3U
#EXTVLCOPT:sout=#transcode{vcodec=div3,vb=650,width=400,height=240,acodec=mp3,ab=96,channels=2,fps=25.0,samplerate=44100}:duplicate{dst=std{access=http,mux=asf,dst=:88}} :sout-all
<media>
Click to expand...
Click to collapse
hy bulldog64!
thx for that input - but i do not quite get it - do you http-serve the m3u file to the android-device via apache or do you just launch it on the server? when i execute your m3u-file it plays my video, but vlc outputs:"cant find file.."<your code>". how is it supposed to be set up? whats the url to call on the android-broswer (<ip>:88/<??which file>) ? thanks a lot! i have been trying to stream localy (from localhost to localhost) for some hours, but vlc´s syntax is too much for me, and after all i dont know the basics of streaming..
tinyDVR app works
tobiasly said:
OK, I figured out the last bit. I just need to replace the sdp= part with an rtsp:// URL, and then that's the URL I send to Meridian Player or Doga Player on my Android device. So the full vlc command is:
Thanks for posting this, once I get it all working the way I want I'll post the final solution I came up with...
Click to expand...
Click to collapse
Was hoping for a update here for a while. Looked all over for a solution... And just tonight found one!
TinyDVR (free via market)!
All other apps failed miserably. (At least with the WVC54GCA linksys cams) Even that 'IP cam viewer - lite' app failed. (i wasnt willing to shell out 10 bucks for the pro.)
Anyway! Yay
i found this to work locally:
Code:
vlc <path-to-video-file> :sout=#transcode {vcodec=h264,vb=256,width=320,height=280,scale=1,acodec=mpga,ab=64,channels=2}:duplicate{dst=std{access=http,mux=asf,dst=:8085}} :sout-all
but now, which (free) client on android can open streams ?? got a galaxy and the browser wont launch the player.
You can use Dogaplayer to get the stream.
Do you have the option with the M3U file of Bulldog64 working?
I have the same problem:
VLC plays the file, but doesn't stream anything if I start the M3U on my server.
For me it would be great to get it working!
I have made a M3U file with a playlist of all my DVB-T TV card channels.
So when it's possible to get the stream code working in the M3U file , I can watch and zap TV on my mobile.
hy
no dogaplayer wont access 3g on my galaxy s - "cant play video"- i got no network activity, so i assume it has trouble getting out to the network. so far i have found "vlc stream&convert" an app that can remote control vlc, browse directories and start streming and play the stream. on my galaxy s it starts streaming (network activity, vlc log file shows start) bit it doesnt show any video or audio.
Try TCP port 554 for streaming and open your dynamic UDP ports (I think all > 41000)in your router. This works for me. I use Vodafone as a provider and they only allow rtsp video streams over TCP port 554. Music (mp3) streams is also possible over http.
Have you any results with M3U playfiles?
I use VLC Stream & Convert too, but if I select the M3U playlist file and start VLC web interface on my PC server, I see in Stream & Convert all information about the actual playlist file, but I receive no video and sound signal. Other video files (such as MPG, MP4) works OK, so it is not a settings problem. I don't have a credit card, so I don't know if you have to have the Pro version for this. Can anyone tell me?
This is also the reason I want the M3U file to contain streaming & convert settings, so I can view the stream with Dogaplayer, so without the use the app. Stream & Convert.

[App] VLC Stream & Convert

VLC Stream & Convert
hxxp://traveldevel.com
This software has been out for a little over 2 months and for some reason it hasnt become wildly popular. I figured id start a thread for it since the software can be quirky when setting it up. It sounds like it was a side project for the author.. it is an amazing side project. My phone has become the end all be all multimedia device. I can access my music with Subsonic and all of my Movies with this app. The only thing you need on your PC is VLC.
My EVO is 100% Stock so I do know it works with everything on the stock EVO.
Some quick tips with the EVO.
1. By default the app is set to use port 554 under the "Stream to phone (rtsp)". Change that to port 5554.
2. Wifi has to be on for the video streaming to work for some reason. You do not have to be connected to wifi, just the antenna has to be on.
3. IF you are confused by VLC and want aa quick way to set it up properly in windows (especially with the newer versions of vlc) the VLC setup tool by Hobbyist Software works great. It is a one time setup.
I've had this app for a while now and love it.
Actually, thanks to this post I figured out finally how to stream video over 3g. Didn't know the wireless had to be turned on.. weird.
Awesome being able to have my entire media collection on the go, don't have to worry about converting files or switching out what is on my sd card.
I tried setting this up before but couldn't get it to work. I believe VLC is setup correctly and I put in my computers IP (trying to do it over 3G). It never displays my files, it also doesn't give an error message or anything either. Just sits there. Any idea?
When you go to localhost:8080 in your pc browser what do you see?
donloki said:
When you go to localhost:8080 in your pc browser what do you see?
Click to expand...
Click to collapse
I see the VLC web interface. But when I put in my IP address (trying to do it over 3g and not wifi) it doesn't connect.
I made a little write up for another forum, steal anything you'd like for the OP:
Fans of Air Video on the iPhone/Pad/Touch know that there are no plans for a much requested Android port because if its reliance on Apple's AirPlay protocol.
Well for Android users there's now an equivalent alternative using VLC.
What this does:
Let you transcode and play on the fly any media file you can play with the desktop version of VLC from your desktop and stream live to your Android device over WiFi and/or a mobile network (3G/4G). VLC will stream the video via the RTSP protocol which supports live seeking of streamed content.
Orb Live also does this, but the Orb client is not free and the video quality sucks ass. The video quality using VLC transcoding is quite excellent.
Installing the RTSP Server
Quick Setup:
1.) Grab a copy of VLC, the latest version of this writing is v1.1.4 has garbled audio issues when transcoding videos with AAC, so grab the older version (1.1.3) from here:
http://www.oldapps.com/VLC_Player.php?old_vlc=53?download
2.) Start VLC and go to
A.) Tools->Preferences
B.) On the bottom left click on the "All" radio button to show all settings.
C.) On the treeview to the left exapnd the Interface tree node and select the "Main interfaces" tree item.
D.) On the right side check the "HTTP remote control interface" option and press the Save button.
Leave VLC running it will act as a streaming RTSP server with a web based file browser running by default on port 8080.
For a more advanced setup, or if you need to setup using alternate ports refer to the info here:
http://traveldevel.com/vlc-stream-convert/setup
Installing Client
Grab VLC Stream and Convert from the Market (the free version works fine and will do pretty much everything we want):
http://www.appbrain.com/app/vlc-stream-convert/com.gmail.traveldevel.android.vlc.app
Exposing VLC to the Internet for 3G/Mobile streaming
Quick Setup;
1.) On my Windows 7 firewall settings I allowed the VLC.exe public and private network access.
2.) On the router I port forwarded the default ports used by VLC for the web based file browser and RTSP server (ports 8080 and 5554 respectively). The default RTSP port may be 554, check and/or change VLC Stream & Convert to verify.
More detailed setup:
http://traveldevel.com/vlc-stream-convert/streaming-over-3g
Streaming over 3G on Froyo (Android 2.2) Workaround
Apparantly there's an issue with Froyo (experienced with my Evo 4G running stock Froyo) which locks down the ability to stream via RTSP over 3G. The work-around is to turn on the WiFi radio, even if you stream off 3G.
More info on the issue here:
http://community.htc.com/na/htc-forums/android/f/94/p/5287/23683.aspx
http://forum.androidcentral.com/htc-evo-4g/26814-htc-streaming-media-player-problems.html
Tweaking for your device:
For optimized viewing on Sprint 3G's network on my EVO 4G, I use thse settings.
1.) In the VLC Stream & Convert application type the "menu" button and tap "Settings".
2.) Under the "Stream to phone (rtsp) under the "H.264" AVC settings I set
- Video Bitrate to 512
- Width to 480
- Canvas aspect ratio : 15:9 (800:480)
- Under x264 settings I set Reference frames to 3.
3.) Under the "Playback" section set:
-Portrait video width to 480
-Landscape video width to 800
Playing Media:
http://traveldevel.com/vlc-stream-convert/usage
Thanks Talyn.... cant wait to get home and try this.
i been using my ipod touch (wifi tether) with air video to stream from home while at work but id like to not have to carry both devices everyday.
will try this later for sure
Followed the above instructions.
I can remotely control VLC, but I can't seem to get the video to run. I configured the port to 5554 and 554 (with the appropriate router changes). I also configured these ports in Windows Firewall.
I get an error stating: "Too Many Errors"
Don't know if this matters, but it is running on a Windows Home Server machine.
sw99 said:
Followed the above instructions.
I can remotely control VLC, but I can't seem to get the video to run. I configured the port to 5554 and 554 (with the appropriate router changes). I also configured these ports in Windows Firewall.
I get an error stating: "Too Many Errors"
Don't know if this matters, but it is running on a Windows Home Server machine.
Click to expand...
Click to collapse
As a troubleshooting step can you stream within your local network? Meaning don't try to connect via 3g, use the local ip address of the home server and connect within your local home network wifi. That will tell us if the issue is router/Sprint network related configuration issue.
One more thing that should be pointed out.
You are giving the entire Internet access to your files. Developer suggests that you limit your router access to your IP address, but I found that Sprint changes your IP address on a regular basis.
Wish VLC would implement some sort of security on their end.
I had to use port 554 but video playback is choppy for some reason over wifi or 3g.
^^ yeah, the security thing sucks. One solution would be to relay it via VPN but that would add a bunch of overhead. It wouldn't be too hard to write your own file browser interface with an RTSP relay, but alas who has the time....
hkkmr said:
I had to use port 554 but video playback is choppy for some reason over wifi or 3g.
Click to expand...
Click to collapse
What are the specs of the computer you're running VLC on? Might be due to it not being powerful to encode certain videos on the fly.
I have it running on a pretty beefy machine. Core i7 920 overlclocked to 3.9ghz, and I can trans code 1080p MKVs with no choppiness.
TalynOne said:
What are the specs of the computer you're running VLC on? Might be due to it not being powerful to encode certain videos on the fly.
I have it running on a pretty beefy machine. Core i7 920 overlclocked to 3.9ghz, and I can trans code 1080p MKVs with no choppiness.
Click to expand...
Click to collapse
It's older pc, Core 2 Duo 8400.
hkkmr said:
It's older pc, Core 2 Duo 8400.
Click to expand...
Click to collapse
That's still a pretty darn good processor. What's your CPU usage at when streaming videos?
Working good for me on Wifi on the local network but not when I try to connect externally. I have all the appropriate ports forwarded and it acts like it's playing.. But I get no video. No errors.. Just no video.
thenags said:
Working good for me on Wifi on the local network but not when I try to connect externally. I have all the appropriate ports forwarded and it acts like it's playing.. But I get no video. No errors.. Just no video.
Click to expand...
Click to collapse
What bitrate / horizontal width set to? How fast is your 3G connection? I usually have to wait about 10 or seconds before the video starts playing over 3G. Until then it's just black.
It's working fine for me now that I'm outside of my local network. It just wasn't working when I was on my local network and trying to connect with an external IP. Dunno why
Sent from my PC36100 using XDA App
thenags said:
It's working fine for me now that I'm outside of my local network. It just wasn't working when I was on my local network and trying to connect with an external IP. Dunno why
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Ah, probably due to loopback being off on your router. Quite common.
Bumping to say I just tested this with the HDMI cable and it works fine! There's some serious nerd cred to be able stream and trascode videos on the fly over the Internet and into someone's big screen TV via your phone.

[Q] VLC Stream and Convert/ VLC Direct Sound No Video

I have searched xda and androidcentral for an answer as to why I can't get VLC stream and Convert to work properly. I can get it to connect to my computer and with port forwarding i can connect thru 3g (not sure yet if i can with another wifi network) however I can play videos on the computer and my device but my Evo will not play the video just the sound of the movie. Does anyone know why ? or what port has to be open? I have enabled port forwarding on my netgear router device for 554.5554,8080,8081 and 1724!!
I have an error trying to play videos with VLC s/c I have searched for several days now trying to find a solution to this problem because I feel it's something on my end. However, I can not seem to fix this problem.
I have enabled the web streaming of vlc and setup seemed simple enough. I can actually use vlc s/c just like vlc remote. I can control and play videos but I get no video only audio. I have the ports forward I used portforward app to check if the ports are open which claim they are.
I use norton antivirus as my antivirus and they also control my firewall while the portforward app and my network discovery on my evo says they open. I still get no video when i play the video only audio. Even with my firewall disabled i still get no video.
Now I must admit I am a bit confused on if the ports are actually open since if this is an issue on my Evo then I should be able to view videos on the computer. However, when i perform the test and go to my ip:8080. i can do the same like on my Evo but I get no video. This makes me think the port is not open even though all my apps say they are. OH i must also add i'm not sure if this matters but portforward says 5554 is open however it was unable to ping it.
My setup i have a static ip address.
I'm trying to access for now on my LAN.
I have created a program rule and traffic rule to allow connection to and from the computers for vlc and ports 554,5554,8080,8081.
I have portforwarded on my router netgear wn 1000
I also am running a gateway windows 7.
Please any help would be [email protected]@
Did you set it for rtsp playback? If you did you should try lowering the bit rate for the video
Sent from my PC36100 using XDA App
m4xwellmurd3r said:
Did you set it for rtsp playback? If you did you should try lowering the bit rate for the video
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Yes, I have. I have the port open and forwarded well portforward claims it to be as well as my network discovery. However, I get no video only audio when i access from my computer on the browser.
I have the same problem.
All of VLC Direct, AndTV and VLC Stream & Convert gets only audio, not video ;(.

Categories

Resources