Go Back   Android Forums > Android Discussion > Android Media
Android Media For Ringtones, Video, TV, Audio or anything else Multimedia related...

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old September 19th, 2010, 03:27 PM   #51 (permalink)
New Member
 
Join Date: Sep 2010
Location: The Netherlands
Posts: 2
 
Device(s): Samsung Galaxy S
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Looks like a very cool app! I even got it working for a while, but after the last update the only things I see are the messages "Buffering" and "General Error"

yuzz is offline  
Reply With Quote
sponsored links
Old September 20th, 2010, 07:04 AM   #52 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

@painless:
When you do http streaming TCP packets will be sent back from VLC to your device from the port that you specified in the app, e.g. 8081.
In case of rtsp streaming UDP packets are sent to the device but not from the rtsp port that you have given in the app (554, 5554 etc.) but from random ports like 53505 and 53506 (for audio and video).

@saecrow, yuzz:
Regarding buffering errors: I'm refactoring some of the code now. If it has been working for you it will work again soon.
traveldevel is offline  
Reply With Quote
Old September 20th, 2010, 02:16 PM   #53 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 8
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by traveldevel View Post
@painless:
When you do http streaming TCP packets will be sent back from VLC to your device from the port that you specified in the app, e.g. 8081.
In case of rtsp streaming UDP packets are sent to the device but not from the rtsp port that you have given in the app (554, 5554 etc.) but from random ports like 53505 and 53506 (for audio and video).
hi traveldevel,

that would explain why tunneling rtsp doesn't work. Is there any way to know what those random ports are? Is there a specific range I can just portforward like ports 53500-53600?
painless is offline  
Reply With Quote
Old September 20th, 2010, 02:43 PM   #54 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks for everyone's help thus far.

I can successfully stream over wifi, but over 3g and 4g the full stream (both audio and video) cuts out after 10-20 secs. Just to clarify, everything works perfectly for the initial seconds, then, in the notifications bar, I get the message VLC disconnected, and the stream completely stops.

Port of the vlc server is forwarded on the router, and an exception in firewall has been made for vlc.

Any suggestions would be greatly appreciated
ffigs is offline  
Reply With Quote
Old September 28th, 2010, 12:13 AM   #55 (permalink)
Junior Member
 
Join Date: May 2010
Posts: 99
 
Device(s):
Carrier: Not Provided

Thanks: 4
Thanked 20 Times in 12 Posts
Default

I'm not sure what has happened, but after updating to the new EVO update, streaming over 3G no longer works (Even with the trick I posted above). It works fine over WiFI and firewall is turned off.. so no clue if something changed in the app or in Android itself that prevents it now.

Anyone still have it working on an HTC Evo after the most recent update?
__________________
Want more file space in the cloud? Try QR Code DropBox! or Hyperlink for Dropbox App Available for Android! (Use these referral links for a bonus 250 Megs!)
DroidGnome is offline  
Reply With Quote
Old September 28th, 2010, 08:07 AM   #56 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Anyone found a way to get it to allow multiple connections and play multiple different files at once? I tried with two phones and it went crazy and I had to restart VLC on the computer... would be great if it's possible (which I think it is).
valsacar is offline  
Reply With Quote
Old September 28th, 2010, 09:24 AM   #57 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok... this is odd, it worked just fine a few minutes ago but now when on 3G it just says buffering failed... but on wiki it's fine.
valsacar is offline  
Reply With Quote
Old September 29th, 2010, 02:20 AM   #58 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

@painless
I haven't found a parameter in VLC to set these ports and the range is quite huge. There's one setting for the destination ports but it doesn't work when VLC auto creates the sdp file. You can run Wireshark on your computer to monitor the traffic and see how the ports change everytime.

@DroidGnome
There's a test stream but it has nothing to do with my app and the stream comes from a Darwin Streaming Server. Link #1 and #3 (port 554) should work on your device: http://spbgo.com/stest/
Also note that in the latest release your rtsp port may have changed to 5554 because I had so many complaints. However, for streaming over 3G you probably have to use 554.
traveldevel is offline  
Reply With Quote
Old September 29th, 2010, 04:39 AM   #59 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have no idea what is going on now... all of the sudden it won't even TRY to bind the rtsp port (be it 554 or 5554)...
valsacar is offline  
Reply With Quote
Old September 29th, 2010, 04:49 PM   #60 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I have a problem trying to stream video to my phone wia rtsp. When I try to start a stream the vlc log shows the following:

main error: socket bind error (No error) main error: cannot create socket(s) for HTTP host
stream_out_rtp error: cannot export SDP as RTSP


I don't get any audio or video - audio streaming via http works.



I already googled it but could not find anything helpful ;/
Froghut is offline  
Reply With Quote
sponsored links
Old September 30th, 2010, 12:56 AM   #61 (permalink)
Junior Member
 
Join Date: May 2010
Posts: 99
 
Device(s):
Carrier: Not Provided

Thanks: 4
Thanked 20 Times in 12 Posts
Default

Quote:
Originally Posted by traveldevel View Post
@painless
Also note that in the latest release your rtsp port may have changed to 5554 because I had so many complaints. However, for streaming over 3G you probably have to use 554.
Yes that was the problem... Might I suggest that future updates do NOT change user settings. It's fine to change initial settings, but it seems odd to me to change something a user had working because someone ELSE didn't.

Either way, restoring the ports to what I set up originally works fine.
DroidGnome is offline  
Reply With Quote
Old September 30th, 2010, 10:24 PM   #62 (permalink)
New Member
 
Join Date: Jan 2010
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Does anybody know how to setup VLC so that it starts by itself when I boot up my Mac Mini with the web interace enabled? (and Mac OS X interface disabled, if posible)

I've already bought the pro version, after just using the free one for about an hour (I think it's awesome) but I don't know a word about command lines in Mac Os X

myuser$ /Applications/VLC.app/Contents/MacOS/VLC --extraintf=http --http-host=0.0.0.0:8080 --http-src=http/
[0x10021a1f8] main interface: creating httpd
[0x10021a1f8] oldhttp interface error: cannot find any file in directory http
[0x10021a1f8] main interface error: no suitable interface module
[0x10021b558] main interface error: no suitable interface module
[0x1002035c8] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x1002035c8] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
reycat is offline  
Reply With Quote
Old October 1st, 2010, 02:26 AM   #63 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by DroidGnome View Post
Yes that was the problem... Might I suggest that future updates do NOT change user settings. It's fine to change initial settings, but it seems odd to me to change something a user had working because someone ELSE didn't.
You're right. Sorry for that. The app should have shown you a notification message on startup that the port will be changed. Also I checked for a special flag from an earlier version not to affect those users who manually changed their port.
traveldevel is offline  
Reply With Quote
Old October 4th, 2010, 03:04 PM   #64 (permalink)
New Member
 
Join Date: Apr 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

I think VLC S&C is a great app and have been able to use it successfully both via WiFi and 3g. but when I am browsing through my folder structure, it doesn't seem to show anything within the folder when there's a large amount of folders and files within that folder (ie. 100+ folders).

Has VLC set limits to what it will open in a folder structure?
OnSterrDroids is offline  
Reply With Quote
Old October 5th, 2010, 02:58 AM   #65 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by OnSterrDroids View Post
I think VLC S&C is a great app and have been able to use it successfully both via WiFi and 3g. but when I am browsing through my folder structure, it doesn't seem to show anything within the folder when there's a large amount of folders and files within that folder (ie. 100+ folders).

Has VLC set limits to what it will open in a folder structure?
VLC has no limits (not sure)

But I will put 500 or 1000 files in a directory and test again. Maybe it's a timeout issue when transfering the file list.
So far I had no problems with browsing over WiFi but over 3G sometimes I get socket timeouts. I'm working on the file browsing right now anyway, maybe it will work for you in the next release. But for people with 10000 files per directory I cannot guarantee.
traveldevel is offline  
Reply With Quote
The Following User Says Thank You to traveldevel For This Useful Post:
OnSterrDroids (October 5th, 2010)
Old October 18th, 2010, 03:19 PM   #66 (permalink)
New Member
 
Join Date: Oct 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi, installed latest update from market and vlc stream does not works anymore, through rtsp I have only audio but no video
My device is a HTC Desire, does anyone has the same problem?

thanks
w1p30ut is offline  
Reply With Quote
Old October 20th, 2010, 04:59 PM   #67 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by w1p30ut View Post
hi, installed latest update from market and vlc stream does not works anymore, through rtsp I have only audio but no video
My device is a HTC Desire, does anyone has the same problem?
Sorry. Devices seem to behave differently. I'm developing on a Nexus One only.
But video shall work again in the latest 1.1.0 Pro.
traveldevel is offline  
Reply With Quote
Old October 21st, 2010, 10:26 PM   #68 (permalink)
New Member
 
Join Date: Oct 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default How to get fullscreen video?

I just downloaded the free version of the app and love it so far but would like to know how to get fullscreen video on my Droid X. I have tried changing all the playback sizes, but no matter what I choose the video will either be small or stretched across the screen in width but only take up about 1/3 of the screen in height. If I can get fullscreen working, I'll definitely be purchasing the full version of the app. Thanks for any help!
bradwatson is offline  
Reply With Quote
Old October 22nd, 2010, 12:31 AM   #69 (permalink)
New Member
 
Join Date: Oct 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by valsacar View Post
Anyone found a way to get it to allow multiple connections and play multiple different files at once? I tried with two phones and it went crazy and I had to restart VLC on the computer... would be great if it's possible (which I think it is).
In order for that to work you're going to want to setup 2 different ports to forward to the pc running VLC, one for each phone. Next, you'll want to allow VLC to run multiple instances. Once thats done you should be good to go.

Best o' luck!

Rob
robb823 is offline  
Reply With Quote
Old October 23rd, 2010, 01:15 AM   #70 (permalink)
Member
 
Mr.Slave's Avatar
 
Join Date: Mar 2010
Posts: 271
 
Device(s): G1, MT3G, Eris, Droid, and Incredible(active)
Carrier: Not Provided

Thanks: 17
Thanked 88 Times in 29 Posts
Default

I have just gotten this setup on my Incredible and netbook running win7. All I want to do is use the app as a remote control to select files, play, and pause. I can browse all folders down to My Videos but then I open it and its empty. Same goes with My Music folder once I open it its empty. Do I need the pro version for this operation?
Mr.Slave is offline  
Reply With Quote
sponsored links
Old October 23rd, 2010, 03:29 AM   #71 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Mr.Slave View Post
I can browse all folders down to My Videos but then I open it and its empty. Same goes with My Music folder once I open it its empty. Do I need the pro version for this operation?
The free version will list all files that VLC can open, except playlist files which is a Pro feature. So there may be another reason. Can you see media files in other folders on your drive?
traveldevel is offline  
Reply With Quote
Old October 27th, 2010, 10:37 PM   #72 (permalink)
Junior Member
 
Join Date: Oct 2010
Posts: 73
 
Device(s): 64GB Marble White Samsung Galaxy Note II
Carrier: Not Provided

Thanks: 5
Thanked 51 Times in 13 Posts
Default

Traveldevel,

rtsp over wifi works. Unfortunately, it does not work in 3G. I noticed many people have said they are having the same problems, but it used to work with the old version.

I an having the "buffering failed" problem. I just purchased the pro version, unfortunately that has not helped. I have tried 1.1.4, 1.1.3, and now I'm trying 1.1.2 of vlc.

I've downloaded the vlc_stream_dual_v110_2.bat file, and edited it so that it points to the vlc.exe's location, so the batch file works.

I've opened up ports 8080, 8081, and 5554 on my firewall.

I've correctly set up the connection settings on my android, Samsung Galaxy so it can connect via wifi and 3g, at least to browse files and initiate the play. I know to restart the android app when i switch back and fourth from wifi and 3g. That part I figured out.

So the wifi connects no problem, and streams over rtsp. Just wen I put it to 3g, everything looks like it is about to start the video, then it says "buffering failed". If I look at my network meter, I can see that network streaming is going on, even though the video is not playing on he android. my computer will continue to report that traffic is leaving my computer, and my android reports it is receiving 3g Data, until I do "Stop & Exit".
Please help!

Thanks
ucsdmike@gmail.com
Lucidmike is offline  
Last edited by Lucidmike; October 27th, 2010 at 10:41 PM.
Reply With Quote
Old October 28th, 2010, 03:31 AM   #73 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Lucidmike View Post
Just wen I put it to 3g, everything looks like it is about to start the video, then it says "buffering failed".
Getting a "buffering failed" over 3G is a part success!
At least it means that you set up your router correctly.
Otherwise you would get a "Cannot open [host]:[port]" message.

But maybe you can not use port 5554 with your mobile network provider because when I tried streaming over 3G for the first time I had the same problem until I found out that I can only use port 554.

I've just written a help page:
Streaming over 3G | traveldevel.com
traveldevel is offline  
Reply With Quote
Old October 29th, 2010, 06:57 PM   #74 (permalink)
New Member
 
Join Date: Oct 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I finally got the streaming over 3g, does anyone know how to stream from an outside wireless network? Like at a friends house or at work? When I am connected to any wireless network and using my external ip, I get a buffer message, and it the play bar moves, but no picture.

any ideas?

thanks in advance

Evo
lifeskills is offline  
Reply With Quote
Old October 31st, 2010, 04:59 AM   #75 (permalink)
New Member
 
Join Date: Apr 2010
Posts: 8
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

It's working fine for me but I can't get the audio to sync on either of my androids, I've tried sync on audio, desync -50, frame rate original, sample 44100 as suggested but it still doesn't work.

Nexus One running Cyanogen 6 (Froyo)
Elonex eTouch 10" tablet

Any suggestions?

**UPDATE: Did a clean install of VLC on the PC and all is happy!!!
cgcrute is offline  
Last edited by cgcrute; October 31st, 2010 at 06:07 AM.
Reply With Quote
Old November 3rd, 2010, 02:13 AM   #76 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by traveldevel View Post
I've just written a help page:
Streaming over 3G | traveldevel.com
I added another guide for streaming over VPN (on 3G or Wi-Fi)
Streaming over VPN | traveldevel.com

Should work for most people. I really prefer this method.

If anyone can to contribute the steps to setup VPN on Linux or Mac please send me an email.
traveldevel is offline  
Reply With Quote
Old November 11th, 2010, 02:27 AM   #77 (permalink)
New Member
 
Join Date: Nov 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Dazed and Confused

I'm trying to get video streaming to work over wifi. I have VLC 1.1.0 installed and the Web interface enabled in View as well as a specific port selected in Tools>Preferences>All>Main interfaces>HTTP by entering a specific host address and port, rather than using the 8080 port.

I have conflicting results. Earlier, I could get VLC S&C to connect to the server at the specific address and port and browse files but video would not stream over RTSP. Now, VLC S&C reports that "Cannot connect to [addressort]" although nothing has changed.

Any help would be appreciated. An explanation of how the RTSP port is used would be great, too. Does VLC have options that need to be set for RTSP?

Update: I reverted to using the default HTTP interface port in VLC of 8080 and set the phone app to do the same and I can connect and browse files again using RTSP mode. However, as soon as I select a file, VLC crashes. If I use HTTP mode, the audio stream of the video file plays as expected.

Update #2: Ok, through much trial and error I think I have finally worked through how this is supposed to work. If I try to play a file that is not a compatible format for the phone app, it crashes VLC. If I use the Convert on Computer mode, VLC dumps a MP4 version of whatever file I have loaded through the phone app's browse function into the containing folder of the original file. I can then stream this converted MP4 to the phone using RTSP mode.

That's great and all, except VLC left out the audio when it remuxed my MKV to MP4. Now I'm back to square one, which is searching for an app that either transcodes videos on the fly and streams a format that is compatible with the phone, or can play the videos I have from a LAN share. Everything I've seen so far is at least a step away: VLC S&C requires fully converting first before streaming (and isn't successful); Allshare accesses LAN DLNA servers but only uses the phone's built-in player to open videos, which cannot play them; Estrong's File Explorer accesses LAN shares and can play videos using its built-in player but does not have the option to use a different player if the video is on a LAN share and is incompatible with the built-in player (and one would need a working VPN solution to access the LAN to see the shares from 3G/4G); PS3 Media Server transcodes and streams almost anything on the fly from a LAN share as a DLNA server but is currently only accessible by a PS3.

The final option is to reconvert all of my videos to compatible formats but I don't want to waste space by keeping duplicate files and I'm unwilling to lose valuable subtitle and alternate audio track information by deleting incompatible versions of videos.

Thanks anyways, Traveldevel.
hammmy is offline  
Last edited by hammmy; November 11th, 2010 at 03:21 AM.
Reply With Quote
Old November 20th, 2010, 11:21 AM   #78 (permalink)
Junior Member
 
Join Date: Nov 2010
Posts: 18
 
Device(s): Evo running Fresh 3.5.0.1 with Launcher Pro
Carrier: Not Provided

Thanks: 9
Thanked 0 Times in 0 Posts
Default

Does anybody know how to keep the user in a certain directory? In other words, I'd like to set the document root, so I can't click ".." and browse my whole server. It just seems like a security risk. Another option would be requiring a password, does Stream & Convert support this?
Lafcadio is offline  
Reply With Quote
Old November 22nd, 2010, 08:27 PM   #79 (permalink)
New Member
 
Join Date: Nov 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default cant stream over 3g but can stream over wifi.

i have been reading everyone's reply trying to figure out what i am doing wrong and for some reason I cant seem to get the stream to work over 3g. I have it working over my wifi network. I assume that I configured everything to the specifications of the instructions but it still says "cannot connect". Can anyone give me an explanation in layman's term? I would be grateful for any information to lead me in the right direction. Thanks!
osc416 is offline  
Reply With Quote
Old November 23rd, 2010, 08:19 AM   #80 (permalink)
Junior Member
 
Join Date: Nov 2010
Posts: 18
 
Device(s): Evo running Fresh 3.5.0.1 with Launcher Pro
Carrier: Not Provided

Thanks: 9
Thanked 0 Times in 0 Posts
Default

osc416,

Have you followed traveldevel's tests tutorial and the howto 3G webpage? Where does your setup fail on the tests tutorial?

It may depend on your phone. My phone (Evo), for example, needs to have the wireless On, even if I'm streaming over 3G. So, to test this at home I have to force my phone to forget my home wireless network.

Also, I've noted that S&C is slow to realize changes in connection settings. Be sure you hit Menu (then "More") then "Stop and Exit". After you change your connection settings. (You may have to do this twice.)

I edited this post because I see that traveldevel posted a how-to on VPNs. This sounds like the most reliable (and secure) way to finalize a setup.
Lafcadio is offline  
Last edited by Lafcadio; November 23rd, 2010 at 08:43 AM.
Reply With Quote
sponsored links
Old November 23rd, 2010, 08:21 AM   #81 (permalink)
Junior Member
 
Join Date: Nov 2010
Posts: 18
 
Device(s): Evo running Fresh 3.5.0.1 with Launcher Pro
Carrier: Not Provided

Thanks: 9
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Lafcadio View Post
Does anybody know how to keep the user in a certain directory? In other words, I'd like to set the document root, so I can't click ".." and browse my whole server. It just seems like a security risk. Another option would be requiring a password, does Stream & Convert support this?
I addressed this in a thread at the VLC support forum. Link here.
Lafcadio is offline  
Reply With Quote
Old November 23rd, 2010, 09:00 AM   #82 (permalink)
New Member
 
Join Date: Nov 2010
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

i believe vlc streams to a pre-setup ip address from the server... so you would have to have the same ip address for your phone or at least maybe the same range of ip address for the server know where to send the stream. so, when you are out of your own house/wi-fi your ip is drastically different, havent looked into dyndns.com to see if there is a client for your phone(where your ip address stays the same actually looks the same where ever you are in the world . but now you got me thinking and im heading over there now to see about that.
rkn5555 is offline  
Reply With Quote
Old November 23rd, 2010, 09:43 AM   #83 (permalink)
New Member
 
Join Date: Nov 2010
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default dyndns works

got to dyndns.com and sign up for a free service. now my galaxy is reachable through my own host name
rkn5555 is offline  
Reply With Quote
Old November 23rd, 2010, 09:49 AM   #84 (permalink)
Junior Member
 
Join Date: Nov 2010
Posts: 18
 
Device(s): Evo running Fresh 3.5.0.1 with Launcher Pro
Carrier: Not Provided

Thanks: 9
Thanked 0 Times in 0 Posts
Default

Has anybody had success with VPN serving on Linux?
I followed these steps but stopped at the optional part (which shares the Internet connection).

I can connect from my phone, click Scan in VLC S&C, find the server, browse the media, but can not play. It (S&C) eventually disconnects and continually says "Cannot connect to 192.168.0.1" It will not re-connect until I disconnect the VPN, connect to a separate VLC server, then re-start the VPN connection.
Lafcadio is offline  
Reply With Quote
Old December 8th, 2010, 07:51 PM   #85 (permalink)
Member
 
gotwillk's Avatar
 
Join Date: Nov 2009
Posts: 367
 
Device(s):
Carrier: Not Provided

Thanks: 11
Thanked 12 Times in 5 Posts
Default

anyone have issues where the audio plays but there's no video? i'm using Stream to phone (rtsp) method. tried all kinds of video files but each time the audio plays but no video. i'm on vlc 1.1.5.
gotwillk is offline  
Reply With Quote
Old December 16th, 2010, 05:29 AM   #86 (permalink)
New Member
 
Join Date: Dec 2010
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default cannot browse files in folders

hi,

i use the vlc-stream pro version and have one question. there is no file visible on my browse tab. i see only the home dirs on my linux machine. if i switch into my home folder, there is absolutely nothing - only black, no sub folders, no files and so on.

what is wrong? i can connect to my vlc server from phone side with the standard browser to see the web interface. i can remote the running video too with my phone.
playing around with some settings, but i have no idea what's wrong.

anybody know this problem?

edit: i forgot, i saw the content of my home folder after the first installation, but only one time.
4carlos is offline  
Last edited by 4carlos; December 16th, 2010 at 05:47 AM.
Reply With Quote
Old December 16th, 2010, 09:24 AM   #87 (permalink)
Junior Member
 
Join Date: Nov 2010
Posts: 18
 
Device(s): Evo running Fresh 3.5.0.1 with Launcher Pro
Carrier: Not Provided

Thanks: 9
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by 4carlos View Post
hi,

i use the vlc-stream pro version and have one question. there is no file visible on my browse tab. i see only the home dirs on my linux machine. if i switch into my home folder, there is absolutely nothing - only black, no sub folders, no files and so on.

what is wrong? i can connect to my vlc server from phone side with the standard browser to see the web interface. i can remote the running video too with my phone.
playing around with some settings, but i have no idea what's wrong.

anybody know this problem?

edit: i forgot, i saw the content of my home folder after the first installation, but only one time.
You may have tried this, but there's an option in S&C to only show media files, have you tried disabling this?

Also, are you running the server as the same user whose home directory you're browsing? It may be a permissions issue.
Lafcadio is offline  
Reply With Quote
Old December 17th, 2010, 06:06 PM   #88 (permalink)
New Member
 
Join Date: Dec 2010
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default cannot export SDP as RTSP error

I too am getting the set of errors:

main stream out error: socket bind error (no error)
main stream out error: cannot create socket(s) for HTTP host
steam_out_rtp stream out error: cannot export SDP as RTSP

I've tried VLC 1.1.12, 1.1.13 and not 1.1.15. This is a fresh installation of Windows 7 64 bit Ultimate. I only use VLC for streaming to my phone. Also, before my fresh install of windows, VLC actually stopped working, giving the same errors. It did work at one point. I have no idea what may have changed. I am attempting to do the streaming from my LAN. I can stream audio over http, and the sound from video files over http, but nothing over rtsp.

Any advice would be much appreciated.
johnp338 is offline  
Last edited by johnp338; December 17th, 2010 at 06:22 PM.
Reply With Quote
Old December 19th, 2010, 01:17 AM   #89 (permalink)
New Member
 
Join Date: Dec 2010
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Lafcadio View Post
You may have tried this, but there's an option in S&C to only show media files, have you tried disabling this?

Also, are you running the server as the same user whose home directory you're browsing? It may be a permissions issue.

thanks for answer,

can you tell me where i can find the option 'show only media files'? i'm blind i guess.

yep, i'm sure. my server is running under my user login and i can browse all folders in my home dir with another android app called 'androstream'. i have no problem too, to stream all media files (and playlists and tv via dvb-t!) to my netbook (runs fine under ubuntu).
restricted permissions are not my problem i hope?

it works in all cases from above except vlc-stream & convert

i'm running froyo (non rooted) on a htc legend
vlc version 1.1.5 (linux)
vlc s&c pro 1.4.0 (from android market)
4carlos is offline  
Reply With Quote
Old December 26th, 2010, 11:47 AM   #90 (permalink)
New Member
 
Join Date: Dec 2010
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm wondering if perhaps I have VLC configured improperly. Would anyone be willing to share their known working solution? I've followed the guide for setting up VLC, and those changes are the only changes I've made, but I'm wondering/hoping that maybe it's as simple as something I have misconfigured in the settings.
johnp338 is offline  
Reply With Quote
sponsored links
Old December 27th, 2010, 12:41 AM   #91 (permalink)
New Member
 
Join Date: Dec 2010
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

1+

why it's so hard to configure for properly function?

1. start vlc on your computer and switching on the web interface on port 8080
2. make sure, the expected ports are open and reachable (8080, 5554...)
3. start vlc s&c on the android phone and connect with the vlc server running on pc
4. browse media files with vlc s&c on the computer
5. select a movie and enjoy

sounds easy? yes, but it isn't!

i need a more detailed instruction to get it to work. problem number 1 is,
i cannot browse any folders/files with vlc s&c. all folders are empty, seems
they contains nothing. i try it with many variations of vlc command lines from
the web without success. i have already checked with other apps. vlc s&c
is the only one that doesn't show the contents of my folders.
second problem is, sometimes if i stream a movie directly from my computer,
i got the message 'buffering' 5 or 6 times. i'm happy, but few seconds later
the message 'to many errors' appears, or i get the movie without sound (only
native mp4).

maybe, vlc s&c is not the right application for me. what i need is a simple solution:

1. browse my media folder on the pc via vlc s&c (contains different types *.mpg, *.avi...)
2. select one of them and stream it to my phone (converted in mp4)

is anybody here to share the knowledge how to make it?

running froyo (non rooted) on a htc legend
vlc version 1.1.5 (linux)
vlc s&c pro 1.4.0 (from android market)
4carlos is offline  
Reply With Quote
Old December 27th, 2010, 08:46 AM   #92 (permalink)
Junior Member
 
Join Date: Nov 2010
Posts: 18
 
Device(s): Evo running Fresh 3.5.0.1 with Launcher Pro
Carrier: Not Provided

Thanks: 9
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by 4carlos View Post
i cannot browse any folders/files with vlc s&c. all folders are empty, seems
they contains nothing.
What OS is your server computer running? Run VLC from command line using the following command:

cvlc -I http --verbose 2

(You can put vlc instead of cvlc if you like.) This will let you view vlc's debug output. Now, browse on your phone. Does it give helpful error messages as your phone interacts with the server? (If there is too much output use 1 or 0 instead of 2, or just remove the "--verbose X" part and see what it outputs.)
Lafcadio is offline  
Reply With Quote
Old February 9th, 2011, 02:13 PM   #93 (permalink)
mjn
Junior Member
 
Join Date: Jan 2011
Posts: 15
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is there a trick to getting it working on 3G that I am missing?

Streaming works fine at home over Wifi.

I have added port forwarding of , 554,5554,8080,8081 to the machine with VLC installed(4 separate entries).

VLC is open and web interface is added(running).

.hosts file has been edited to allow everything right now, I want to get it working before worrying about security.

I am away from my wifi network , but have wifi active

I go to android phone(EVO), run VLC S&C, go to connect, put in my comcast address(checked it a few minutes ago). put in 554 for the port and it just sits there. browse tab is available but nothing shows underneath. Not even sure if I am connected.

If I put in port 5554, 8080 or 8081 I get an immediate "cannot connect to x.x.x.x:8080", but when 554 is the port ...no error, but nothing in the browse tab either.

I am RDPing fine to the same machine through the phone.



__________________________________________________ ___________
I get lost in a lot of these posts that go back and forth with unexplained details. I know this is my lack of knowledge. But its why I am asking the question the way I am. Sorry if it seems cryptic.(newbish)
mjn is offline  
Reply With Quote
Old February 9th, 2011, 04:27 PM   #94 (permalink)
New Member
 
Join Date: Feb 2011
Posts: 4
 
Device(s): Galaxy S Captivate
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Just in case it helps anyone, I'll log everything I did to get everything setup the way I like it.

My setup consists of the following:
PC = Windows 7 64-bit
VLC version = 1.1.7 (standalone)
Router = Linksys WRT320N running the DD-WRT v24-sp2 firmware
Phone = Galaxy S Captivate

I simply run "vlc.exe --extraintf=http", and while my phone is connected to the Wifi I am able to stream via rtsp to my phone perfectly.

The fun part was setting up so I could stream over 3G...

First I tried using the PPTP VPN, but it kept dropping connection. Considering how my average 3G speed is only around 120 kbps, the VPN overhead might be too much (especially trying to encrypt/decrypt packets for a live video stream).

What I've done instead is I enabled port forwarding on my router for ports 8080 and 5554. This made it so I could stream just fine over 3G, only problem is that it's not secure! Fortunately with the DD-WRT firmware on my router this could be fixed through the use of customized iptables. I ssh'd into my router and ran the following commands to create the port forwards that would ONLY work when the source ip address was that of my phone:
Quote:
iptables -t nat -I PREROUTING -p 0 -s {{MY PHONE IP}} -d $(nvram get wan_ipaddr) -j DNAT --to 192.168.1.105
iptables -I FORWARD -p 0 -s {{MY PHONE IP}} -d 192.168.1.105 -j logaccept
(obviously "{{MY PHONE IP}}" was the ip address from my phone, 192.168.1.105 = my pc)
This makes it so that all the requests (udp & tcp) that come from my phone get forwarded to my pc.

At first I tried specifying the ports 8080 and 5554, but then saw that the UPD requests on other random ports were getting dropped (I guess custom routes don't work for auto accepting relatives). I could have alternatively fixed this problem by only allowing the udp packets to be on random ports via the following:
Quote:
iptables -t nat -I PREROUTING -p tcp -s {{MY PHONE IP}} -d $(nvram get wan_ipaddr) --dport 8080 -j DNAT --to 192.168.1.105:8080
iptables -t nat -I PREROUTING -p tcp -s {{MY PHONE IP}} -d $(nvram get wan_ipaddr) --dport 5554 -j DNAT --to 192.168.1.105:5554
iptables -t nat -I PREROUTING -p udp -s {{MY PHONE IP}} -d $(nvram get wan_ipaddr) -j DNAT --to 192.168.1.105
iptables -I FORWARD -p tcp -s {{MY PHONE IP}} -d 192.168.1.105 --dport 8080 -j logaccept
iptables -I FORWARD -p tcp -s {{MY PHONE IP}} -d 192.168.1.105 --dport 5554 -j logaccept
iptables -I FORWARD -p udp -s {{MY PHONE IP}} -d 192.168.1.105 -j logaccept
... but 2 lines for setting the routes instead of 6 worked for me.


However, I quickly discovered that AT&T is nice enough to change my ip address every time I switch from WiFi to 3G (or just at random times while I am still connected to 3G)... I also quickly discovered that whatsmyip.org tells me that I have a different ip address than the ip address that my router sees when I try connecting to it... makes you wonder what's really happening to your internet traffic? Anyway, I managed to fix that too by creating a small script on my router:
Quote:
myip=$(netstat -n | grep :22 | grep ESTABLISHED | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}[^:22]' | tail -1)
iptables -t nat -I PREROUTING -p 0 -s $myip -d $(nvram get wan_ipaddr) -j DNAT --to 192.168.1.105
iptables -I FORWARD -p 0 -s $myip -d 192.168.1.105 -j logaccept
I saved that as vlc-setup.sh, then using the ConnectBot app on my phone, I ssh into my router (using rsa-2 private key authentication) and run the script (actually I set it as a new connection, that after authenticating it executes that script and exits). The script basically just finds my phones ip address from the last connection to my ssh port, then adds the routing entries to my iptables to allow my ip address.


I hope that all makes sense to anyone else trying to do the same thing as I was ... Now I just wish that the VLC S&C app could save multiple connections with individual streaming settings.
TheDruidsKeep is offline  
Last edited by TheDruidsKeep; February 9th, 2011 at 05:44 PM.
Reply With Quote
The Following User Says Thank You to TheDruidsKeep For This Useful Post:
iweiteh (February 12th, 2011)
Old February 11th, 2011, 08:11 AM   #95 (permalink)
New Member
 
Join Date: Feb 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default VLC not working

Ok guys so this is my first post and looking for a little help. So I set up the VLC S&A and it seemed to do fine. It is on port 8080 and found my IP no problem. I go into it and can find my movies etc no problem. But when I select them it says "Cannot create play command". I am running VLC 1.1.7, should I downgrade to one I saw you guys say was working or should it do fine on this one?
Thanks in advance for any help!
P.S. I'm on a Mytouch 4G
Decimator is offline  
Last edited by Decimator; February 11th, 2011 at 03:15 PM.
Reply With Quote
Old February 11th, 2011, 10:40 AM   #96 (permalink)
New Member
 
Join Date: Feb 2011
Posts: 1
 
Device(s): Samsung GT-9000i
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am getting the "Buffering Failed" error whenever I try to stream over 3g (this goes for audio tracks as well as movie clips). I use a Samsung Galaxy S, and I am able to stream to my device using 3G-settings (connecting to my router's global IP, and then through forwarded ports accessing my comp and VLC), but only for as long as I am connected to that routers WiFi (haven't tried connecting through another wifi, since I only have my phones IP set as allowed to access, and connecting through another wifi will show me as having another IP than that). I use port 7070 (couldn't get 554 to work) and am using the free version, tough I will most definately purchase the pro version once I get 3g-streaming to work.
Y0uk41 is offline  
Reply With Quote
Old February 11th, 2011, 10:45 AM   #97 (permalink)
Senior Member
 
Join Date: Jan 2011
Location: Buffalo, NY USA
Posts: 905
 
Device(s): LG Ally, Samsung Fascinate, Viewsonic G-Tablet, B&N Nook Color
Carrier: Not Provided

Thanks: 34
Thanked 99 Times in 84 Posts
Default

Quote:
Originally Posted by drabidea View Post
Anyone know how to use this with crappy Vista? I can't set up VLC because I don't have administrative rights. I hate Vista
Install Linux?
__________________
LG Ally, ClockWorkMod + Velocity 0.4
Samsung Fascinate, EB01 Debloated Deodexed
Viewsonic GTablet, VEGAn 4.1
PSkeptic is offline  
Reply With Quote
Old February 12th, 2011, 05:12 AM   #98 (permalink)
New Member
 
Join Date: Feb 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here's a fail story from my side. I'm running VLC 1.0.6 under Linux, streaming DVB-S into LAN. HTTP page is accessible, showing the playlist of the saved tv stations between which i can zap. Clicking on a link to rtsp://mylocal.ip:5554/stream.sdp is opening the HTC StreamingMediaPlayer presenting me perfect and stable audio&video TV.

To simplify the intercation I tried VLC S&C but without any luck, even with a working configuration (as above). VLC S&C connects to my vlc server, showing me the title of the currently played programm, but failes to show audio & video, with one of two alternating error messages "Buffering..." & "Cannot play: Too many errors"

Any hint?
mcframe is offline  
Reply With Quote
Old February 16th, 2011, 02:49 PM   #99 (permalink)
mjn
Junior Member
 
Join Date: Jan 2011
Posts: 15
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by mjn View Post
Is there a trick to getting it working on 3G that I am missing?

Streaming works fine at home over Wifi.

I have added port forwarding of , 554,5554,8080,8081 to the machine with VLC installed(4 separate entries).

VLC is open and web interface is added(running).

.hosts file has been edited to allow everything right now, I want to get it working before worrying about security.

I am away from my wifi network , but have wifi active

I go to android phone(EVO), run VLC S&C, go to connect, put in my comcast address(checked it a few minutes ago). put in 554 for the port and it just sits there. browse tab is available but nothing shows underneath. Not even sure if I am connected.

If I put in port 5554, 8080 or 8081 I get an immediate "cannot connect to x.x.x.x:8080", but when 554 is the port ...no error, but nothing in the browse tab either.

I am RDPing fine to the same machine through the phone.



__________________________________________________ ___________
I get lost in a lot of these posts that go back and forth with unexplained details. I know this is my lack of knowledge. But its why I am asking the question the way I am. Sorry if it seems cryptic.(newbish)

It works fine if I disable wifi. FYI
mjn is offline  
Reply With Quote
Old February 17th, 2011, 03:34 PM   #100 (permalink)
Junior Member
 
{LCD}Stelios's Avatar
 
Join Date: Jan 2011
Location: London
Posts: 48
 
Device(s): Desire HD,Sensation
Carrier: Not Provided

Thanks: 14
Thanked 3 Times in 3 Posts
Default

Works great for me over WIFI picture and sound is really good. Not tried 3G.
Would be great if it could utilise the whole of the screen on the Desire HD.
Many thanks to the dev'.
{LCD}Stelios is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Discussion > Android Media
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:38 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.