Page 1 of 1

how to watch ustream in vlc

Posted: 08 Jul 2011 19:32
by anonekku
how do you watch ustream feeds inside vlc mediaplayer? justin.tv would be nice to know too, i guess...

Re: how to watch ustream in vlc

Posted: 09 Jul 2011 16:49
by VLC_help
Use wireshark and sniff out the media URL, then use Media -> Open Network Stream... and paste the URL there.

Re: how to watch ustream in vlc

Posted: 16 Jul 2011 11:51
by anonekku
i use wireshark to sniff the media url
rtmp://flash54.ustream.tv:1935/ustreamVideo/6296046

Your input can't be opened:
VLC is unable to open the MRL 'rtmp://flash54.ustream.tv:1935/ustreamVideo/6296046'. Check the log for details.

i go to preferences, show settings all, advanced, logging

log filename C:\Documents and Settings\User\Application Data\vlc\vlc-log.txt
log format text
verbosity -1

no log ever appears.

that media url probably doesn't work anymore though because the stream is offline by the time you try it. does anyone have a working example of rtmp being played in vlc using this method? because i haven't gotten rtmp to be played in vlc at all.

Re: how to watch ustream in vlc

Posted: 16 Jul 2011 13:40
by VLC_help
Open Tools -> Messages (set Verbosity to 2) before you start playback, it will complain. And you cannot playback all RTMP streams with VLC, some streams have compatibility issues with live555 and other require auth info which you cannot input from VLC.

Re: how to watch ustream in vlc

Posted: 20 Jul 2011 17:25
by anonekku
thanks for your reply. you have an example of one that works? i've been trying mplayer.exe and smplayer.exe but since this is a vlc.exe forum i'll focus on that here. i tried another stream thats always on and can test to see if i can get anything to work at all and it kind of does but it seems to be choking on that so it takes a long time to load i get 1 frame then nothing then lags out and i have to x out end now and it of course crashes.

rtmp://npsaflivefs.fplive.net:1935/npsaflive-live/stream50

messages i get as anyone can see for themselves...

Code: Select all

main error: option rtmp-caching does not exist qt4 warning: Input option: rtmp-caching=0 main debug: adding item `rtmp://npsaflivefs.fplive.net:1935/npsaflive-live/stream50' ( rtmp://npsaflivefs.fplive.net:1935/npsaflive-live/stream50 ) main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: processing request item rtmp://npsaflivefs.fplive.net:1935/npsaflive-live/stream50 node null skip 0 main debug: resyncing on rtmp://npsaflivefs.fplive.net:1935/npsaflive-live/stream50 main debug: rtmp://npsaflivefs.fplive.net:1935/npsaflive-live/stream50 is at 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'rtmp://npsaflivefs.fplive.net:1935/npsaflive-live/stream50' qt4 debug: Adding a new MRL to recent ones: rtmp://npsaflivefs.fplive.net:1935/npsaflive-live/stream50 main debug: thread (input) created at priority 1 (../.././src/input/input.c:220) main debug: thread started main debug: using timeshift granularity of 50 MiB main debug: using timeshift path 'C:\DOCUME~1\User\LOCALS~1\Temp' main debug: `rtmp://npsaflivefs.fplive.net:1935/npsaflive-live/stream50' gives access `rtmp' demux `' path `npsaflivefs.fplive.net:1935/npsaflive-live/stream50' main debug: creating demux: access='rtmp' demux='' path='npsaflivefs.fplive.net:1935/npsaflive-live/stream50' main debug: looking for access_demux module: 0 candidates main debug: no access_demux module matched "rtmp" main debug: TIMER module_need() : 0.271 ms - Total 0.271 ms / 1 intvls (Avg 0.271 ms) main debug: creating access 'rtmp' path='npsaflivefs.fplive.net:1935/npsaflive-live/stream50' main debug: looking for access module: 1 candidate avcodec debug: Opening 'rtmp://npsaflivefs.fplive.net:1935/npsaflive-live/stream50' avcodec error: Failed to open url using libavformat main debug: no access module matching "rtmp" could be loaded main debug: TIMER module_need() : 15.469 ms - Total 15.469 ms / 1 intvls (Avg 15.469 ms) main error: open of `rtmp://npsaflivefs.fplive.net:1935/npsaflive-live/stream50' failed: (null) main debug: thread ended main debug: no fetch required for (null) (art currently (null)) main debug: dead input main debug: thread times: real 0m0.031250s, kernel 0m0.000000s, user 0m0.015625s main debug: TIMER input launching for 'rtmp://npsaflivefs.fplive.net:1935/npsaflive-live/stream50' : 21.583 ms - Total 21.583 ms / 1 intvls (Avg 21.583 ms) main debug: changing item without a request (current 0/1) main debug: nothing to play
thats the full error but this...

main error: option rtmp-caching does not exist

this came up when i just pasted the link. rtmp-caching doesn't exist? how do i make it exist? does anyone have a test rtmp stream to work with so at least 1 works at all?

Re: how to watch ustream in vlc

Posted: 21 Jul 2011 20:11
by VLC_help
rtmp-caching does not exist just means that rtmp-caching=0 doesn't do anything. Real error is "Failed to open url using libavformat"

Re: how to watch ustream in vlc

Posted: 23 Sep 2011 02:25
by anonekku
how do you open the stream with libavformat?

Re: how to watch ustream in vlc

Posted: 23 Sep 2011 19:07
by VLC_help
That is a limitation of libavformat. Hopefully upcoming libavformat versions have better compatibility.

Re: how to watch ustream in vlc

Posted: 12 Oct 2011 02:40
by dr_always
I'm having difficulties sniffing a justin.tv rtmp URL. I've tried with wireshark, coojah/blader, and nettransport. The closest I get to a url that works in VLC is this:
rtmp://199.9.255.48/app<break>jtv_ZeBfWTN9E29_L6b9.flv http://www.justin.tv/mairj2345 http://www-cdn.justin.tv/widgets/live_s ... 0ae901.swf

from nettransport. I would really like to watch some of my favorite streams through VLC. Would someone help me sniff?

Re: how to watch ustream in vlc

Posted: 12 Oct 2011 12:39
by dr_always
Or better yet, has anyone ever been able to view a rtmp stream through VLC?

Re: how to watch ustream in vlc

Posted: 08 Aug 2017 00:06
by James400
download from github... https://github.com/chrippa/livestreamer/releases/

Run the setup x86

open Command Prompt.. cd / to C:
cd Program Files (x86)
cd Livestreamer

OOOO FUN...

livestreamer http://www.ustream.tv/channel/17074538 best

(leaving out best you will see the options at the end of the Garrbe... best means 720p from the Ustream site... some sites name this differently)