VLC Webstream does not work

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

VLC Webstream does not work

Postby Tomato » Sun Mar 08, 2009 1:04 am

[System: WinXP, on AMD X2 3600+ and 4GB RAM|LAN: 100Mbit (wired)]

Hi there. I try to make VLC work with ps3mediaserver but without any affort until now. On my PS3 the "[Videolan Video Streaming]" is added to those streams (like the built in France-TV-Streams). The Streams work great when opening in VLC directly but I see nothing for a long while on my PS3 before getting the information that the data is corrupted.

Here is (part of) my debug-log:

Code: Select all
[Thread-52] DEBUG 00:57:47.812 Opened handler on socket Socket[addr=/192.168.1.183,port=55047,localport=5001]
[Thread-52] DEBUG 00:57:47.812 Received on socket: POST /upnp/control/content_directory HTTP/1.1
[Thread-52] DEBUG 00:57:47.812 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[Thread-52] DEBUG 00:57:47.828 Received on socket: Host: 192.168.1.128:5001
[Thread-52] DEBUG 00:57:47.828 Received on socket: User-Agent: UPnP/1.0 DLNADOC/1.50
[Thread-52] DEBUG 00:57:47.828 Received on socket: Content-Length: 905
[Thread-52] DEBUG 00:57:47.828 Received on socket: Content-Type: text/xml; charset="utf-8"
[Thread-52] DEBUG 00:57:47.828 Received on socket: SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
[C:\Program Files\VideoLAN\VLC\vlc.exe] INFO  00:57:47.906 Starting C:\Program Files\VideoLAN\VLC\vlc.exe -I dummy --dummy-quiet http://wstreaming.zdf.de/zdf/veryhigh/090217_anstalt_nad.asx :sout=#transcode{vcodec=mp2v,vb=4096,acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst="\\.\pipe\VLC1236470267734"}}
[C:\Program Files\VideoLAN\VLC\vlc.exe] INFO  00:57:47.921 Reading pipe: \\.\pipe\VLC1236470267734
[Thread-52] INFO  00:57:48.015 HTTP: upnp/control/content_directory / 0-0
[Thread-52] DEBUG 00:57:48.015 Wrote on socket: HTTP/1.1 200 OK
[Thread-52] DEBUG 00:57:48.015 Wrote on socket: CONTENT-TYPE: text/xml; charset="utf-8"
[Thread-52] DEBUG 00:57:48.015 Searching for objectId: 0$9$2 with children option: false
[Thread-52] DEBUG 00:57:48.015 Wrote on socket: Server: Windows_XP-x86-5.1, UPnP/1.0, PMS/1.10.1
[Thread-52] DEBUG 00:57:48.015 Wrote on socket: Content-Length: 795
[Thread-52] DEBUG 00:57:48.015 Wrote on socket:
[Thread-52] DEBUG 00:57:48.015 Close Connection
[C:\Program Files\VideoLAN\VLC\vlc.exe] INFO  00:57:48.046 Attaching thread: C:\Program Files\VideoLAN\VLC\vlc.exe
[Timer-0] DEBUG 00:57:48.046 Buffered Space: 0 bytes
[Thread-53] DEBUG 00:57:48.062 [00000001] main libvlc debug: VLC media player - version 0.9.8a Grishenko - (c) 1996-2008 the VideoLAN team
[Thread-53] DEBUG 00:57:48.062 [00000001] main libvlc debug: libvlc was configured with ./configure  '--host=i586-mingw32msvc' '--build=i386-linux' '--enable-mkv' '--enable-release' '--without-contrib' '--enable-nls' '--enable-shared-libvlc' '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-real' '--enable-realrtsp' '--enable-ffmpeg' '--with-ffmpeg-mp3lame' '--with-ffmpeg-faac' '--with-ffmpeg-config-path=/usr/win32/bin' '--with-ffmpeg-zlib' '--enable-live555' '--with-live555-tree=/usr/win32/live.com' '--ena
[Thread-53] DEBUG 00:57:48.062 [00000001] main libvlc debug: translation test: code is "de"
[Thread-53] DEBUG 00:57:48.125 [00000395] dummy interface: VLC media player - version 0.9.8a Grishenko - (c) 1996-2008 the VideoLAN team
[Thread-53] DEBUG 00:57:48.125 [00000395] dummy interface:
[Thread-53] DEBUG 00:57:48.125 Warnung: Wenn Sie auf das graphische Interface nicht mehr zugreifen können, öffnen Sie die Befehlszeile, gehen Sie in den Ordner von VLC und führen "vlc -I qt" aus.
[Thread-53] DEBUG 00:57:48.125 [00000395] dummy interface: using the dummy interface module...
[Thread-51] INFO  00:57:48.156 Result of \\.\pipe\VLC1236470267734 : true
[Thread-53] DEBUG 00:57:48.421 [00000452] access_output_file access out error: cannot open `\\.\pipe\VLC1236470267734' (No such file or directory)
[Thread-53] DEBUG 00:57:48.421 [00000451] stream_out_standard stream out error: no suitable sout access module for `file/ts://\\.\pipe\VLC1236470267734'
[Thread-53] DEBUG 00:57:48.421 [00000450] stream_out_duplicate stream out error: no destination given
[Thread-53] DEBUG 00:57:48.421 [00000448] stream_out_transcode stream out error: cannot create chain
[Timer-0] DEBUG 00:57:49.046 Buffered Space: 0 bytes
[Timer-0] DEBUG 00:57:50.046 Buffered Space: 0 bytes
[Timer-0] DEBUG 00:57:51.046 Buffered Space: 0 bytes
[Timer-0] DEBUG 00:57:52.046 Buffered Space: 0 bytes
[Timer-0] DEBUG 00:57:53.046 Buffered Space: 0 bytes
[Thread-50] DEBUG 00:57:53.906 Wrote on socket: Content-Type: video/mpeg
[Thread-50] DEBUG 00:57:53.906 Wrote on socket: CONTENT-RANGE: bytes 0-99999999999/100000000000
[Thread-50] DEBUG 00:57:53.906 Wrote on socket: Connection: keep-alive
[Thread-50] DEBUG 00:57:53.906 Wrote on socket: Server: Windows_XP-x86-5.1, UPnP/1.0, PMS/1.10.1
[Thread-50] DEBUG 00:57:53.906 Wrote on socket:
[Thread-50] DEBUG 00:57:53.906 Suspend Read: readCount=0 / writeCount=0
[Timer-0] DEBUG 00:57:54.046 Buffered Space: 0 bytes
[Timer-0] DEBUG 00:57:55.046 Buffered Space: 0 bytes
[Timer-0] DEBUG 00:57:56.046 Buffered Space: 0 bytes
[Timer-0] DEBUG 00:57:57.046 Buffered Space: 0 bytes
[Timer-0] DEBUG 00:57:58.046 Buffered Space: 0 bytes
[Timer-0] DEBUG 00:57:59.046 Buffered Space: 0 bytes
[Timer-0] DEBUG 00:58:00.046 Buffered Space: 0 bytes
[Timer-0] DEBUG 00:58:01.046 Buffered Space: 0 bytes
[Thread-50] DEBUG 00:58:01.406 Resume Read: readCount=0 / writeCount=0
[Thread-50] DEBUG 00:58:01.406 Suspend Read: readCount=32768 / writeCount=0
[Timer-0] DEBUG 00:58:02.046 Buffered Space: -32768 bytes
[Timer-0] DEBUG 00:58:03.046 Buffered Space: -32768 bytes
[Timer-0] DEBUG 00:58:04.046 Buffered Space: -32768 bytes
[Timer-0] DEBUG 00:58:05.046 Buffered Space: -32768 bytes
[Timer-0] DEBUG 00:58:06.046 Buffered Space: -32768 bytes
[Timer-0] DEBUG 00:58:07.046 Buffered Space: -32768 bytes
[Timer-0] DEBUG 00:58:08.046 Buffered Space: -32768 bytes
[Thread-50] DEBUG 00:58:08.906 Resume Read: readCount=32768 / writeCount=0
[Thread-50] DEBUG 00:58:08.906 Suspend Read: readCount=65536 / writeCount=0

That should be the essential part. Just to be sure I added the whole log.
Those messages "access_output_file access out error" seem a bit weird for me but I got no clue what exactly the problem might be. Thanks for your help.
Attachments
debug.zip
debug-log
(13.68 KiB) Downloaded 85 times
Tomato
 
Posts: 8
Joined: Sun Mar 08, 2009 12:53 am

Re: VLC Webstream does not work

Postby Tomato » Sun Mar 08, 2009 1:24 am

Some addition. It does *not* seem to be just an VLC issue. The following Streams do *not* work:
Code: Select all
videostream.Web,TVs=ZDF HQ,http://wstreaming.zdf.de/zdf/veryhigh/090217_anstalt_nad.asx
videostream.Web,TVs=ZDF MQ,http://wstreaming.zdf.de/zdf/300/090217_anstalt_nad.asx
videostream.Web,TVs=ZDF LQ,http://wstreaming.zdf.de/zdf/56/090217_anstalt_nad.asx

But this one does work:
Code: Select all
videofeed.Web,TV Feeds=http://content.zdf.de/podcast/zdf_heute/heute.xml

(even though this one also has the "[Videolan Video Streaming]" Tag in its name. So looks like VLC there works fine.

the streams themselves are fine when opening directly with vlc

[edit:]
Ok. Now I got a step forward... When checking the mediainfo in VLC and use the file saved there (
Code: Select all
mms://ondemand.msmedia.zdf.newmedia.nacamar.net/zdf/data/msmedia/zdf/09/02/090217_anstalt_nad_vh.wmv
) instead of the .asx-URL it works. But I still wonder why the asx works in VLC directly
Tomato
 
Posts: 8
Joined: Sun Mar 08, 2009 12:53 am

Re: VLC Webstream does not work

Postby whome » Sun Mar 08, 2009 2:15 am

Known issue, .asx file works in VLC player but it cannot stream from .asx file. You must give the real HREF found in asx xml file as you've discovered. Another issue I have seen is VLC streamar prefers mms://xxxx.wmv over http://xxxx.wmv url.
Last edited by whome on Tue Mar 17, 2009 5:55 pm, edited 2 times in total.
whome
 
Posts: 113
Joined: Tue Jan 20, 2009 12:26 am

Re: VLC Webstream does not work

Postby Tomato » Tue Mar 17, 2009 1:20 pm

Thanks for reply. So I gotta search for a workaround...
Tomato
 
Posts: 8
Joined: Sun Mar 08, 2009 12:53 am

Re: VLC Webstream does not work

Postby whome » Tue Mar 17, 2009 11:48 pm

I have been doing a 3rd party module to convert various media urls to PS3MS compatible rss feed. Few sites already supported.
http://koti.mbnet.fi/akini/ps3/areenafeed.html

I took a bite and created asxsource.jsp conversion page. What it does is read .asx source, parse all ref elements and return a well formatted RSS xml. This can be used as a videofeed in web.conf file. See example below.
Code: Select all
## ZDF
videofeed.Web,ZDF=http://localhost:8080/areenafeed/asxsource.jsp?medialink=asxrefmms&title=ZDF&url=http://wstreaming.zdf.de/zdf/56/090217_anstalt_nad.asx


I have not uploaded a new version to my webpage, but will do so if you are interested in Tomcat/Jetty .war web application.
whome
 
Posts: 113
Joined: Tue Jan 20, 2009 12:26 am

Re: VLC Webstream does not work

Postby reffelo » Fri Mar 20, 2009 10:28 pm

To whome: can you help me please with this stream?
Code: Select all
http://ctdir.visual.cz/iVysilani/Services/Streaming/ClientPlaylist.aspx?id=Mjk0MjY0MjR8NjMzNzMxODQ1MTY4MTUwMDAw
reffelo
 
Posts: 6
Joined: Fri Mar 20, 2009 10:25 pm

Re: VLC Webstream does not work

Postby whome » Sat Mar 21, 2009 1:26 am

Sure, here is an internal stream url. It should work in web.conf as a videostream row. I took this from .asx xml reply. I don't know if id and session values expire. If yes then you need a 3d party converter module to parse url at runtime.

Here are http:// and mms:// versions, both worked in standalone VLC but net stream may work better with mms url.
http://cdn1401.nacevi.cz/iVysilani.Live ... =live|CT24
mms://cdn1401.nacevi.cz/iVysilani.Live? ... =live|CT24

ps: If you have contacts to TV channel you should tell them they return an invalid .asx XML document. REF HREF="http://xxxx" attribute has an url address to the internal videostream. They put & character as-is into the value, but it should be & escaped in XML document. Now all validating xml parsers give an error message when reading .asx url.

Here is a valid document, excluding few ? characters in TITLE elements due to a charset difference I had.
Code: Select all
<ASX VERSION="3.0">
  <PARAM NAME="encoding" VALUE="utf-8" />
  <ENTRY>
     <REF HREF="http://cdn1401.nacevi.cz/iVysilani.Live?id=Mjk0MjY0MjN8NjMzNzMxODQ1MTY3NjgxMjUw&amp;session=926539c802e63fde8a016775594dd5e2&amp;content=live|CT24" />
     <TITLE>?T24</TITLE>
  </ENTRY>
  <TITLE>?T24</TITLE>
</ASX>


edit: it seems urls no longer work, session and/or id values are probably expired. What is the html page where you get this url in a first place?
whome
 
Posts: 113
Joined: Tue Jan 20, 2009 12:26 am

Re: VLC Webstream does not work

Postby reffelo » Sat Mar 21, 2009 10:19 am

The html page is
Code: Select all
http://www.ct24.cz/vysilani/?streamtype=WM2

P.S.: i don´t understand most of these things, because i have PC only few years....
reffelo
 
Posts: 6
Joined: Fri Mar 20, 2009 10:25 pm

Re: VLC Webstream does not work

Postby whome » Sun Mar 22, 2009 3:36 pm

Spent few hours developing a CT24 Czech TV webpage converter. Here it is, but it does need Tomcat/Jetty engine before use. I don't know if you are familiar with them, but try it out. Converter page works fine and wasted few hours watching CT24 live tv channel for a awhile. As a bonus you can give "maxitems=X" integer value to list archived programme listing from the right-side of the webpage.

See here download link and very brief installation instructions.
http://koti.mbnet.fi/akini/ps3/areenafeed.html
viewtopic.php?f=2&t=666

web.conf file setting:
Code: Select all
videofeed.WebTV,CT24=http://localhost:8080/areenafeed/ct24cz.jsp?medialink=asxrefmms&title=Programmes&maxitems=6&url=vysilani/?streamtype=WM2
whome
 
Posts: 113
Joined: Tue Jan 20, 2009 12:26 am

Re: VLC Webstream does not work

Postby reffelo » Mon Mar 23, 2009 6:03 pm

Thanks for your time. But i can not run the TV channel. I don´t no what i doing wrong. PS3 say "there are no titles". I have instaled Tomcat engine. And i copy the files as you wrote.
Anyway, thanks again for your help.
reffelo
 
Posts: 6
Joined: Fri Mar 20, 2009 10:25 pm

Next

Return to General Help and Support

Who is online

Users browsing this forum: Bing [Bot] and 12 guests