web tv streaming issue

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.

web tv streaming issue

Postby vmw » Sat Feb 28, 2009 2:21 pm

I can stream certain web feeds fine, using the MMS protocol, unfortunately there are a few streams that occasionally work, that is to say, it will sometimes work on the ps3 and other times it just won't work. I can stream the feeds fine on my computer but using PMS these streams do struggle and give me "the data is corrupted message" sometimes. There is nothing in the debug.log either. It's very annoying, why does it work sometimes and not always. I don't do anything different when i attempt to run the stream and as i said above, the stream works fine on the computer. I use VLC 0.9.8a
vmw
 
Posts: 4
Joined: Sat Feb 28, 2009 2:15 pm

Re: web tv streaming issue

Postby vmw » Sun Mar 01, 2009 10:55 am

some more information about my setup:
wired gigabit connection; windows xp sp3; core 2 duo;
here's what's in the debug log of PMS version 1.10. Keep in mind that it works some of the time. Looks like VLC can't establish the connection for some reason when attempting to create the stream. If i run it manually from my computer the stream works fine, both in VLC and windows media player.

[Thread-47] TRACE 15:38:59.343 Starting transcode/remux of channel 1
[Thread-47] INFO 15:38:59.343 Creating pipe \\.\pipe\VLC1235882339343
[Thread-47] INFO 15:38:59.359 Found VLC version 0.9.8a in Windows Registry: D:\Program Files\VideoLAN\VLC\vlc.exe
[Thread-48] INFO 15:38:59.359 Waiting for pipe connection \\.\pipe\VLC1235882339343
[Thread-46] INFO 15:38:59.468 HTTP: upnp/control/content_directory / 0-0
[Thread-46] DEBUG 15:38:59.468 Wrote on socket: HTTP/1.1 200 OK
[Thread-46] DEBUG 15:38:59.468 Wrote on socket: CONTENT-TYPE: text/xml; charset="utf-8"
[Thread-46] DEBUG 15:38:59.468 Wrote on socket: Server: Windows_XP-x86-5.1, UPnP/1.0, PMS/1.10
[Thread-46] DEBUG 15:38:59.468 Wrote on socket: Content-Length: 335
[Thread-46] DEBUG 15:38:59.468 Wrote on socket:
[Thread-46] DEBUG 15:38:59.468 Close Connection
[D:\Program Files\VideoLAN\VLC\vlc.exe] INFO 15:39:02.140 Starting D:\Program Files\VideoLAN\VLC\vlc.exe -I dummy --dummy-quiet mms://... :sout=#transcode{vcodec=mp2v,vb=4096,acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst="\\.\pipe\VLC1235882339343"}}
[Thread-49] DEBUG 15:39:02.140 Opened handler on socket Socket[addr=/192.168.0.19,port=60273,localport=5001]
[Thread-49] DEBUG 15:39:02.140 Received on socket: POST /upnp/control/content_directory HTTP/1.1
[Thread-49] DEBUG 15:39:02.140 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[D:\Program Files\VideoLAN\VLC\vlc.exe] INFO 15:39:02.140 Reading pipe: \\.\pipe\VLC1235882339343
[Thread-49] DEBUG 15:39:02.250 Received on socket: Host: 192.168.0.4:5001
[Thread-49] DEBUG 15:39:02.250 Received on socket: User-Agent: UPnP/1.0 DLNADOC/1.50
[Thread-49] DEBUG 15:39:02.250 Received on socket: Content-Length: 905
[Thread-49] DEBUG 15:39:02.250 Received on socket: Content-Type: text/xml; charset="utf-8"
[Thread-49] DEBUG 15:39:02.250 Received on socket: SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
[Thread-49] INFO 15:39:02.250 HTTP: upnp/control/content_directory / 0-0
[Thread-49] DEBUG 15:39:02.250 Wrote on socket: HTTP/1.1 200 OK
[Thread-49] DEBUG 15:39:02.265 Wrote on socket: CONTENT-TYPE: text/xml; charset="utf-8"
[Thread-49] DEBUG 15:39:02.265 Searching for objectId: 0$4$0 with children option: false
[Thread-49] DEBUG 15:39:02.265 Wrote on socket: Server: Windows_XP-x86-5.1, UPnP/1.0, PMS/1.10
[Thread-49] DEBUG 15:39:02.265 Wrote on socket: Content-Length: 801
[Thread-49] DEBUG 15:39:02.265 Wrote on socket:
[Thread-49] DEBUG 15:39:02.265 Close Connection
[D:\Program Files\VideoLAN\VLC\vlc.exe] INFO 15:39:02.296 Attaching thread: D:\Program Files\VideoLAN\VLC\vlc.exe
[Timer-0] DEBUG 15:39:02.296 Buffered Space: 0 bytes
[Thread-50] DEBUG 15:39:02.296 [00000001] main libvlc debug: VLC media player - version 0.9.8a Grishenko - (c) 1996-2008 the VideoLAN team
[Thread-50] DEBUG 15:39:02.296 [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-50] DEBUG 15:39:02.296 [00000001] main libvlc debug: translation test: code is "C"
[Thread-50] DEBUG 15:39:02.359 [00000395] dummy interface: VLC media player - version 0.9.8a Grishenko - (c) 1996-2008 the VideoLAN team
[Thread-50] DEBUG 15:39:02.359 [00000395] dummy interface:
[Thread-50] DEBUG 15:39:02.359 Warning: if you can't access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I qt"
[Thread-50] DEBUG 15:39:02.359 [00000395] dummy interface: using the dummy interface module...
[Thread-48] INFO 15:39:02.375 Result of \\.\pipe\VLC1235882339343 : true
[Timer-0] DEBUG 15:39:03.296 Buffered Space: 0 bytes
[Timer-0] DEBUG 15:39:04.296 Buffered Space: 0 bytes
[Timer-0] DEBUG 15:39:05.296 Buffered Space: 0 bytes
[Thread-47] DEBUG 15:39:05.515 Wrote on socket: Content-Type: video/mpeg
[Thread-47] DEBUG 15:39:05.515 Wrote on socket: CONTENT-RANGE: bytes 0-99999999999/100000000000
[Thread-47] DEBUG 15:39:05.515 Wrote on socket: Connection: keep-alive
[Thread-47] DEBUG 15:39:05.515 Wrote on socket: Server: Windows_XP-x86-5.1, UPnP/1.0, PMS/1.10
[Thread-47] DEBUG 15:39:05.515 Wrote on socket:
[Thread-47] DEBUG 15:39:05.515 Suspend Read: readCount=0 / writeCount=0
[Timer-0] DEBUG 15:39:06.296 Buffered Space: 0 bytes
[Timer-0] DEBUG 15:39:07.296 Buffered Space: 0 bytes
[Thread-50] DEBUG 15:39:07.390 [00000418] access_mms access error: failed to open a connection (tcp)
vmw
 
Posts: 4
Joined: Sat Feb 28, 2009 2:15 pm

Re: web tv streaming issue

Postby whome » Sun Mar 01, 2009 12:16 pm

Very common issue, it seems VLC streaming module and/or dlna protocol is very fragile to any network hickups. Using standalone VLC/MS player to run same feed source usually works fine, but its not the same as stream&transcode at runtime.
whome
 
Posts: 113
Joined: Tue Jan 20, 2009 12:26 am

Re: web tv streaming issue

Postby vmw » Tue Mar 03, 2009 10:57 am

I'm not sure if that's the problem, since the logs are indicating that my localhost is failing to establish a tcp connection. I'd like to try and rework the VLC command and try a different way of streaming and transcoding
vlc.exe -I dummy --dummy-quiet mms://.... :sout=#transcode{vcodec=mp2v,vb=4096,acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst="\\.\pipe\VLC1236068870234"}}


is this option available ? or even the source code of PMS? is this available

thanks.
vmw
 
Posts: 4
Joined: Sat Feb 28, 2009 2:15 pm

Re: web tv streaming issue

Postby vmw » Tue Mar 03, 2009 11:40 am

OK i've verified on my local machine that the above vlc command does work, however it takes a couple of tries before VLC establishes the connection. I could see this by running vlc in verbose mode.

Shagarath you may be disconnecting the socket too early, keep it opened and attempt to reconnect a few times, i'll try this if you make the source code available, otherwise a new release would help.

Thanks!
vmw
 
Posts: 4
Joined: Sat Feb 28, 2009 2:15 pm


Return to General Help and Support

Who is online

Users browsing this forum: geb724, Google [Bot], Yahoo [Bot] and 19 guests