VLC Stream & Convert


Last Updated: 2013-11-04 19:24:21
  1. walterpk

    walterpk New Member

    Hi,
    VLCSC v0.4.42 was working great on my Desire froyo until I updated to v0.5.0 , then I tried v0.5.2 with no luck, I had the same problem as painless.
    So I sent a message to the developer and asked for the old v0.4.42 and voila now it works nicely again.
    Maybe this could help someone.

    Advertisement
  2. shantipur

    shantipur New Member

    This VLC Player software is a slippery slope... Like everyone else I've not managed to make it work. For awhile I was at least able to establish the connection between my puter (W7 Home premium 32-bit) and my phone (Droid X, 2.1) but not able to get into the folders. Then I saw a note saying that the RTSP port should be at 5554 instead of 554...and now there's no connection. I've switched the ports back and forth, restarted my phone and puter...and no luck.

    Can we go to the developer's home en masse with a bullhorn and demand he talk to us? :) This is crazy.
  3. traveldevel

    traveldevel Member

    I have reports mainly from Galaxy S and Desire users that they cannot stream any video over rtsp after the update to v0.5.x. I cannot reproduce this on my Nexus One which makes it hard to debug. I have been trying hard today and already reverted many parts of the code to v0.4.42. It would help to get some more Android logcat output (aLogcat app) or from the logger interface of VLC.

    VLC can be started with a batch command like this:

    vlc.exe --intf=http --http-src=http/ --http-host=0.0.0.0:8080 --extraintf=logger --verbose=2 --no-quiet --quiet-synchro --file-logging --logfile=vlc-log.txt --language=en --no-interact

    This will activate the http interface and write all logs to a file.

    Regarding the other big issue with the rtsp port I'm planning to make this more easy to setup in one of the next releases. Currently 5554 seems to work best for many of you, however, when streaming over 3G only port 554 works for me and in my home network I can use any rtsp port. If you have troubles it may be a good idea to allow all ports for VLC in your firewall settings.

    And one brief note about streaming over 3G network: Don't rely on the .hosts file!! Restrict the access to your computer by firewall. On Windows go to Control Panel > System & Security > Windows Firewall > Advanced settings > Inbound Rules and in your VLC media player rule (TCP) add the remote addresses that are allowed to connect to your PC, e.g. 192.168.0.0/16 and the external IP of your device.
  4. max-greece

    max-greece Member

    Hi travel,

    I downloaded an update yesterday which I guess is the one you are referring to - still no joy on the video front - I have tried all the permutations in both portrait and landscape mode.

    Also tried a variety of ports including 554 and 5554. I even tried running with the firewall off - so I guess that's not it either.
  5. NssOne

    NssOne Member

    EDIT: Solved, as such. I can load up the playlist as a file renamed to .mp3 under the browse tab. It's kind of weird, but it works now.

    OK, I don't get what could possibly be holding me back from having VLC stream my MP3s to my Droid. All I get on VLC S&C is Cannot play: too many errors. I can't figure out the exact error or issue. I used the debug mode in VLC S&C and this is the error code it gave me ERROR -2147483638. I dunno if that helps but it's the best I could do. I can still control the player remotely, but I get no audio streaming to the phone. It doesn't even work when connected to it through the local network, so it's not a latency issue as far as I can tell.

    I just can't even figure out where to possibly track down the problem. If anybody here can help me out, it would be greatly appreciated.

    Thank you.

    Phone: Droid1 on 2.2
    PC: Ubuntu 10.10, VLC 1.1.4
  6. max-greece

    max-greece Member

    And this is the output:


    -- logger module started --
    main error: option syslog does not exist
    main: creating httpd
    mp4 warning: unknown box type iods (incompletely loaded)
    mp4 warning: unknown box type ctoo (incompletely loaded)
    mp4 warning: elst box found
    mp4 warning: control query 14 unimplemented
    main warning: no more input streams for this mux
    mp4 warning: unknown box type iods (incompletely loaded)
    mp4 warning: unknown box type ctoo (incompletely loaded)
    mp4 warning: elst box found
    mp4 warning: control query 14 unimplemented
    avi warning: unknown chunk (not loaded)
    packetizer_mpeg4video warning: waiting for VOL
    packetizer_mpeg4video warning: waiting for VOL
    main warning: no more input streams for this mux
    avi warning: unknown chunk (not unloaded)
    avi warning: unknown chunk (not loaded)
    packetizer_mpeg4video warning: waiting for VOL
    packetizer_mpeg4video warning: waiting for VOL
    avi warning: unknown chunk (not unloaded)
    packetizer_mpeg4video warning: waiting for VOL
    packetizer_mpeg4video warning: waiting for VOL
    main warning: no more input streams for this mux
    packetizer_mpeg4video warning: waiting for VOL
    packetizer_mpeg4video warning: waiting for VOL

    Help any?
  7. Ash88

    Ash88 New Member

    Has anyone had "Buffering Failing" since the last update (0.5.4)? Now the audio will not stay sync'd with the video no matter what changes I make. It was [almost] perfect prior to that update.

    Galaxy S Vibrant (Bell), 2.1
    VLC 1.1.3

    Thanks...
  8. biterror

    biterror Member

    I see that, too. I also can't get any video on my Desire (audio works ok) with version 0.5.4.
  9. max-greece

    max-greece Member

    I am starting to lose track of versions. Still no video - now running 0.6.4 (?) Intalled today.

    Noticed a new "debug mode" in the menu - will try that out later when I get the chance.
  10. biterror

    biterror Member


    Video works with version 0.5.5 (thanks!). Problems with a/v sync, seek does not work. Much better than nothing :)

    I have a digital tv receiver which can stream out transport stream video which can be viewed with VLC. Is it possible to stream this video to Android in real time? I tried adding a .m3u file with the streaing URL in it, but when I browse the files from Android, I can't see this file at all. However, if I browse the same directory in VLC, the file is visible and if I select it, I get the stream from the tv receiver.
  11. abc2000

    abc2000 Member

    I recently got it working with VLC 1.1.3, however i wanted to ask what everyone who has gotten it working is getting in terms of video quality? Mine is ok....Decent.
  12. painless

    painless Member

    The newest release seems to have fixed it for me. I was always able to get audio but now video comes in too! Both picture and sound are great for me. I haven't watched too many videos for a long period of time so hopefully the sync holds up when watching/seeking.

    I upgraded to pro license as soon as I got it working. Now my only issue is with the VLC .hosts file. Even if I put just 127.0.0.1 in the .hosts file, I'm able to connect from any IP. I've changed my ip numerous times by turning 3g on and off but I'm still always able to connect. Does anybody know why that is?

    Lastly, once I do get the .hosts file to correctly restrict access, I'd like to set up an SSH tunnel for all the streaming. I set up a SSH server on my home computer which I can connect to with ConnectBot on my phone. I forwarded ports 8080 and 8081. I'm able to browse all files and even stream music through SSH.

    My problem is that you can't forward port 554 with connect bot because it's < 1024. That sucks because my phone seems to only be able to receive RTSP over 554. Anybody know of a workaround for this?

    Gonna go donate some money to TravelDevel. Thank you man, you rock.

    Btw this is on Windows Vista, VLC 1.1.2, VLCSC 0.5.5
  13. max-greece

    max-greece Member

    So its only me left with issues?

    In debug mode I get "Cannot set video display" I get this with all of the video formats and all the sizes I have tried.
  14. traveldevel

    traveldevel Member

    @biterror:
    Unfortunately audio sync has always been an issue. It was better when VLC 1.1.0 came out but still not great. Sometimes it's synced for a while, then suddenly the audio lags for 1 or 2 seconds. Try to tweak fps (usually original frame rate reduces the problems?), audio sync option (maybe off is better?) and other settings. With H.263 codec audio sync works better for me btw.

    @painless:
    Please keep us updated about the tunneling. I like to put some instructions about that on the app website if it works well.
    I have also recognized on Windows that the .hosts file is ignored under certain situations. Try to start VLC with the lua http interface:
    Setup - TravelDevel

    @max-greece:
    "Cannot set video display." is a known issue for X10, My Touch, ... What's your device and Android version?
  15. max-greece

    max-greece Member

    Hi travel,

    My device is the LG GT540 Optimus running Android 1.6 (and hopefully 2.1 in the near future when LG can be bothered to release it...)
  16. electric.insect

    electric.insect New Member

    I really want to like this app, audio works fine, but I have no video, no matter the encoder settings. Occasionally I have sound , but no video. On 0.5.5, I got the "Unable to Set Display" error. Now I'm on 0.5.7 and I get a "ERROR: General failure".
    I'm running Donut, on a Kyocera M6000 (Zio). Running VLC 1.1.3 on Linux. This is all through WiFi.
  17. futboldc

    futboldc New Member

    I might be missing something, but I can't get it to connect. I can if I am sitting in my house and it is over wifi, but I want to be able to stream things over 3g and 4g. All I get is an error saying cannot connect to the ip address I enter. I know this is something simple, I'm just missing it!! Help please!!
  18. painless

    painless Member

    Did you open all the correct ports in your router? If you can't even connect to the VLC server then either your ports are blocked or you didn't edit the .hosts file. By default I believe .hosts only allows local connections. Add the external IP your connecting from to the file and you should be able to connect.

    A few posts ago TravelDevel talks about issues with the .hosts file on windows. He suggested starting VLC with the lua http interface. That worked perfect for me. There's a link in his post. Now I'm able to restrict access to whomever I like.
  19. painless

    painless Member

    Still can't stream RTSP through SSH. I've been streaming music through ssh fine now though for the past couple of days. I've tried numerous ports... 8080, 8081, 7070, 8554 (read this is alternate RTSP port), and a bunch of other random ports. Until I can find a port above 1024 that my phone can accept RTSP on, I'm out of luck.

    Does anybody know of other ports for RTSP? What ports work on your phones? Even if we have different phones I'm willing to try anything at this point.
  20. max-greece

    max-greece Member

    Did the latest upgrade this morning - to 0.57(?)

    ITS WORKING!!!!!!!

    Tried a bunch of videos - all OK upto 720p originals.

    In a word - YIPPEE!!!!

    OH - and a huge thank-you to Travel - will upgrade to the paid version in the next few days.
  21. arfanvilla

    arfanvilla Well-Known Member

    how do i get full screen video on my phone.
  22. painless

    painless Member


    Ok I just did even more testing trying to tunnel RTSP through SSH. WITHOUT tunneling, now I can get RTSP over port 5554 over both wi-fi and 3G. (For it to work over 3g, use DroidGnome's workaround of enabling wi-fi antenna without connecting to wi-fi). I couldn't get this to work before but now I can stream over 5554 on wifi and 3g if I connect to the VLC server directly. (Maybe v0.5.7 fixed it for me or I was doing it all wrong before.)

    Theoretically I should be able to forward port 5554 with no problems, but it's not working. When I tunnel rtsp through 5554, the screen enlarges like it's sizing the video and the counter goes up. After around 15 seconds I get 'Buffering failed.' After I click stop it keeps flashing ERROR -38/0 until I go menu -> stop and exit.

    I dunno why I can tunnel ports 8080 and 8081 for audio just fine but RTSP doesn't work.
  23. Zogg

    Zogg Member

    Traveldevel, one thing I want to do is to stream live TV to my phone. I have a setup that uses Windows Media Encoder that I used to use with my WinMo phone, but since WMV streaming isn't supported by Android I've been working on a method using VLC.

    But if this functionality could be added to your app it would definitely be cleaner. Instead of picking a media file to stream, you would select a tuner to capture from. Even if the channels or inputs had to be preconfigured that would be fine. For me, I stream from one of two channels using one capture card.

    Do you think something like this could be added to your app? Thanks!
  24. painless

    painless Member

    Hey TravelDevel,
    I dunno if this will help much with solving the SSH issues but here's the log from VLC when I tried to play a video tunneled through SSH.

    -- logger module started --
    lua: Lua HTTP interface
    main: creating httpd
    main warning: client still connected
    packetizer_mpeg4video warning: waiting for VOL
    packetizer_mpeg4video warning: waiting for VOL
    packetizer_mpeg4video warning: waiting for VOL
    packetizer_mpeg4video warning: waiting for VOL
    main warning: client still connected


    Here's the log when I played a couple over wifi with no problems:

    -- logger module started --
    lua: Lua HTTP interface
    main: creating httpd
    packetizer_mpeg4video warning: waiting for VOL
    packetizer_mpeg4video warning: waiting for VOL


    The only difference I see is the 'main warning: client still connected'

    I hope that helps a bit. Thanks
  25. saecrow

    saecrow Active Member

    had everything working fine on Friday. . . did the latest update earlier today and now get "buffering failed" when trying to stream over 3g. nothing else changed on my device. . . not sure why it's not working now (i should've left well enough alone i guess)

Share This Page