problems with PMS > v1.04 with youtube and vlc

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.

problems with PMS > v1.04 with youtube and vlc

Postby otmanix » Sun Mar 29, 2009 6:22 pm

Until PMS version 1.04 youtube web streaming worked fine. In newer version I always get "data corrupted" messages. I compared playing the same youtube-video in pms 1.04 and pms 1.10.51. In latest version there's a different URL for the same swf-file. This URL can't be played by vlc but flash player. I tested vlc 0.9.6 to 1.0.0beta.

This is the entry in web.conf: videofeed.Web,Youtube,PS3=http://www.youtube.com/ut_rss?type=username&arg=matt9339
This is the Youtube-video: http://youtube.com/?v=tBQv3htNL3w

This is debug.log of pms 1.04 (streaming was successfull):
...
[C:\Programme\VideoLAN\VLC\vlc.exe] INFO 18:01:22.265 Starting C:\Programme\VideoLAN\VLC\vlc.exe -I dummy --dummy-quiet http://www.youtube.com/get_video%3Fvideo_id%3DtBQv3htNL3w%26t%3DvjVQa1PpcFNSvQw-SlSx00ZLk0GNsz6rIRWEW-IJV8k%3D :sout=#transcode{vcodec=mp2v,vb=4096,acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst="\\.\pipe\VLC1238342482109"}}
[C:\Programme\VideoLAN\VLC\vlc.exe] INFO 18:01:22.265 Reading pipe: \\.\pipe\VLC1238342482109
...
[Thread-79] DEBUG 18:01:28.859 Sending stream: 1146880 bytes of get/0$3$3$2$1$2/Smackdown+vs+Raw+2008+-+Preview
[Thread-79] DEBUG 18:01:28.859 Close Connection
[Thread-98] DEBUG 18:01:28.890 Opened handler on socket Socket[addr=/192.168.178.3,port=57491,localport=5001]
[Thread-98] DEBUG 18:01:28.890 Received on socket: GET /get/0$3$3$2$1$2/Smackdown+vs+Raw+2008+-+Preview HTTP/1.1
[Thread-98] DEBUG 18:01:28.890 Received on socket: Host: 192.168.178.2:5001
[Thread-98] DEBUG 18:01:28.890 Received on socket: User-Agent: PLAYSTATION 3
[Thread-98] DEBUG 18:01:28.906 Received on socket: Connection: Keep-Alive
[Thread-98] DEBUG 18:01:28.906 Received on socket: Accept-Encoding: identity
[Thread-98] DEBUG 18:01:28.906 Received on socket: transferMode.dlna.org: Streaming
[Thread-98] DEBUG 18:01:28.906 Received on socket: Range: bytes=99999475712-99999999999
[Thread-98] INFO 18:01:28.906 HTTP: get/0$3$3$2$1$2/Smackdown+vs+Raw+2008+-+Preview / 99999475712-99999999999
[Thread-98] DEBUG 18:01:28.906 Wrote on socket: HTTP/1.1 206 Partial Content
[Thread-98] DEBUG 18:01:28.906 Searching for objectId: 0$3$3$2$1$2 with children option: false
[Thread-98] DEBUG 18:01:28.906 Asked stream chunk [99999475712-99999999999] timeseek: -1.0 of Smackdown vs Raw 2008 - Preview and player VideoLan Video Streaming
[Thread-98] DEBUG 18:01:28.906 Ready to Stop: false
[Thread-98] INFO 18:01:28.906 Setting InputStream new position to: 99999475712
[Thread-98] DEBUG 18:01:28.906 Wrote on socket: Content-Type: video/mpeg
[Thread-98] DEBUG 18:01:28.906 Wrote on socket: CONTENT-RANGE: bytes 99999475712-99999999999/100000000000
[Thread-98] DEBUG 18:01:28.906 Wrote on socket: Connection: keep-alive
[Thread-98] DEBUG 18:01:28.906 Wrote on socket: Server: Windows XP-x86-5.1 UPnP/1.0, PMS
[Thread-98] DEBUG 18:01:28.906 Wrote on socket: Content-Length: 524288
[Thread-98] DEBUG 18:01:28.906 Wrote on socket:
[Thread-98] DEBUG 18:01:28.906 Sending stream: 0 bytes of get/0$3$3$2$1$2/Smackdown+vs+Raw+2008+-+Preview
...
[Thread-103] DEBUG 18:01:29.812 Wrote on socket:
[Timer-0] DEBUG 18:01:30.390 Buffered Space: 13885888 bytes
[Timer-0] DEBUG 18:01:31.390 Buffered Space: 12583648 bytes
[Timer-0] DEBUG 18:01:32.390 Buffered Space: 11413176 bytes
....

This is debug.log of pms 1.10.51 (streaming was NOT successfull):
...
[C:\Programme\VideoLAN\VLC\vlc.exe] INFO 17:55:33.203 Starting C:\Programme\VideoLAN\VLC\vlc.exe -I dummy --dummy-quiet http://youtube.com/v/tBQv3htNL3w.swf :sout=#transcode{vcodec=mp2v,vb=4096,acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst="\\.\pipe\VLC1238342133046"}}
[Thread-81] DEBUG 17:55:33.218 Received on socket: Host: 192.168.178.2:5001
[Thread-81] DEBUG 17:55:33.218 Received on socket: User-Agent: UPnP/1.0 DLNADOC/1.50
...
[Thread-82] DEBUG 17:55:33.406 [00000394] dummy interface: using the dummy interface module...
[Thread-80] INFO 17:55:33.421 Result of \\.\pipe\VLC1238342133046 : true
[Thread-82] DEBUG 17:55:35.046 [swf @ 00DA0020]Compressed SWF format not supported
[Thread-82] DEBUG 17:55:35.046 [00000426] avformat demux error: av_open_input_stream failed
[Thread-82] DEBUG 17:55:35.046 [00000426] ps demux error: cannot peek
[Thread-82] DEBUG 17:55:35.046 [00000403] main input error: no suitable demux module for `http/://youtube.com/v/tBQv3htNL3w.swf'

[Timer-0] DEBUG 17:55:35.343 Buffered Space: 0 bytes / inputs: 0
[Timer-0] DEBUG 17:55:37.343 Buffered Space: 0 bytes / inputs: 0
[Thread-79] DEBUG 17:55:39.203 Wrote on socket: Content-Type: video/mpeg
[Thread-79] DEBUG 17:55:39.203 Wrote on socket: CONTENT-RANGE: bytes 0-99999999999/100000000000
[Thread-79] DEBUG 17:55:39.203 Wrote on socket: Connection: keep-alive
[Thread-79] DEBUG 17:55:39.203 Wrote on socket: Server: Windows_XP-x86-5.1, UPnP/1.0, PMS/1.10.51
[Thread-79] DEBUG 17:55:39.203 Wrote on socket:
[Thread-79] DEBUG 17:55:39.203 Suspend Read: readCount=0 / writeCount=0
[Timer-0] DEBUG 17:55:39.343 Buffered Space: 0 bytes / inputs: 1
[Timer-0] DEBUG 17:55:41.343 Buffered Space: 0 bytes / inputs: 1
[Timer-0] DEBUG 17:55:43.343 Buffered Space: 0 bytes / inputs: 1
...
[Thread-79] DEBUG 17:59:46.703 Sending stream with premature end : 1048576 bytes of get/0$3$3$2$1$2/Smackdown+vs+Raw+2008+-+Preview. Reason: Eine bestehende Verbindung wurde softwaregesteuert
durch den Hostcomputer abgebrochen
[Thread-79] DEBUG 17:59:46.703 Ready to Stop: true
[Thread-79] DEBUG 17:59:46.703 Sending stream: 1048576 bytes of get/0$3$3$2$1$2/Smackdown+vs+Raw+2008+-+Preview
[Thread-79] DEBUG 17:59:46.703 Close Connection
[Timer-0] DEBUG 17:59:47.343 Buffered Space: 0 bytes / inputs: 0
[Thread-87] INFO 17:59:49.203 Stopping process: C:\Programme\VideoLAN\VLC\vlc.exe
[Thread-87] INFO 17:59:49.203 Destroying buffer
[C:\Programme\VideoLAN\VLC\vlc.exe] DEBUG 17:59:49.312 EOF
[Thread-88] INFO 17:59:49.312 Destroying buffer
[Thread-87] INFO 17:59:49.734 Destroying buffer
[Thread-7] TRACE 18:00:30.375 Sending BYEBYE...

When I try playing the URL directly from VLC this message occurs:
VLC kann das Eingabeformat nicht erkennen.:
The format of 'http://youtube.com/v/tBQv3htNL3w.swf' cannot be detected. Have a look at the log for details.

With debug level 1 the VLC-log contains:
avformat error: av_open_input_stream failed
ps error: cannot peek
main error: no suitable demux module for `http/://youtube.com/v/tBQv3htNL3w.swf'

With debug level 2 the VLC-log contains:
main debug: adding item `http://youtube.com/v/tBQv3htNL3w.swf' ( http://youtube.com/v/tBQv3htNL3w.swf )
qt4 debug: Adding a new MRL to recent ones: http://youtube.com/v/tBQv3htNL3w.swf
main debug: rebuilding array of current - root Wiedergabeliste
main debug: rebuild done - 13 items, index 11
main debug: processing request item http://youtube.com/v/tBQv3htNL3w.swf node null skip 0
main debug: resyncing on http://youtube.com/v/tBQv3htNL3w.swf
main debug: http://youtube.com/v/tBQv3htNL3w.swf is at 12
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'http://youtube.com/v/tBQv3htNL3w.swf'
main debug: thread (input) created at priority 1 (input/input.c:360)
main debug: requesting art for http://youtube.com/v/tBQv3htNL3w.swf
main debug: thread started
main debug: using timeshift granularity of 52428800 bytes
main debug: using timeshift path 'C:\DOKUME~1\Otmanix\LOKALE~1\Temp'
main debug: `http://youtube.com/v/tBQv3htNL3w.swf' gives access `http' demux `' path `youtube.com/v/tBQv3htNL3w.swf'
main debug: creating demux: access='http' demux='' path='youtube.com/v/tBQv3htNL3w.swf'
main debug: looking for access_demux module: 0 candidates
main debug: no access_demux module matched "http"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating access 'http' path='youtube.com/v/tBQv3htNL3w.swf'
main debug: looking for access module: 2 candidates
access_http debug: http: server='youtube.com' port=80 file='/v/tBQv3htNL3w.swf
main debug: net: connecting to youtube.com port 80
main debug: connection: Resource temporarily unavailable
qt4 debug: IM: Setting an input
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 349
qt4 debug: sizeHint: 106 - 349
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 349
qt4 debug: sizeHint: 106 - 349
main debug: connection succeeded (socket = 1196)
access_http debug: protocol 'HTTP' answer code 302
access_http debug: Server: Apache
access_http debug: this frame size=289
access_http debug: Content-Type: text/html; charset=iso-8859-1
access_http debug: redirection to http://www.youtube.com/v/tBQv3htNL3w.swf
access_http debug: http: server='www.youtube.com' port=80 file='/v/tBQv3htNL3w.swf
main debug: net: connecting to http://www.youtube.com port 80
main debug: connection: Resource temporarily unavailable
main debug: connection succeeded (socket = 1196)
main debug: searching art for http://youtube.com/v/tBQv3htNL3w.swf
main debug: looking for art finder module: 2 candidates
lua debug: Trying Lua scripts in C:\Dokumente und Einstellungen\Otmanix\Anwendungsdaten\vlc\lua\meta
lua debug: Trying Lua scripts in C:\Programme\VideoLAN\VLC\\lua\meta
lua debug: Trying Lua playlist script C:\Programme\VideoLAN\VLC\\lua\meta\01_musicbrainz.lua
lua debug: Trying Lua playlist script C:\Programme\VideoLAN\VLC\\lua\meta\10_googleimage.lua
main debug: creating access 'http' path='images.google.com/images?q=http%3A%2F%2Fyoutube%2Ecom%2Fv%2FtBQv3htNL3w'
main debug: looking for access module: 2 candidates
access_http debug: http: server='images.google.com' port=80 file='/images?q=http%3A%2F%2Fyoutube%2Ecom%2Fv%2FtBQv3htNL3w
main debug: net: connecting to images.google.com port 80
main debug: connection: Resource temporarily unavailable
main debug: connection succeeded (socket = 1580)
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Content-Type: text/html; charset=ISO-8859-1
access_http debug: Accepting Cookie: SS=Q0=aHR0cDovL3lvdXR1YmUuY29tL3YvdEJRdjNodE5MM3c; path=/search
access_http debug: Accepting Cookie: PREF=ID=9a7b2252486c5882:TM=1238347121:LM=1238347121:S=LKHe9lLWH-bkdUV4; expires=Tue, 29-Mar-2011 17:18:41 GMT; path=/; domain=.google.com
access_http debug: Server: gws
access_http debug: Transfer-Encoding: chunked
main debug: using access module "access_http"
main debug: TIMER module_need() : 121.000 ms - Total 121.000 ms / 1 intvls (Avg 121.000 ms)
main debug: Using AStream*Stream
main debug: pre buffering
main debug: received first data after 3 ms
main debug: pre-buffering done 1024 bytes in 0s - 333 kbytes/s
lua debug: Trying Lua scripts in C:\Programme\VideoLAN\VLC\\share\lua\meta
main debug: removing module "access_http"
main debug: waitpipe: object killed
main debug: TIMER module_need() : 192.000 ms - Total 192.000 ms / 1 intvls (Avg 192.000 ms)
main debug: unable to find art
main debug: art not found for http://youtube.com/v/tBQv3htNL3w.swf
access_http debug: protocol 'HTTP' answer code 303
access_http debug: Server: Apache
access_http debug: Accepting Cookie: VISITOR_INFO1_LIVE=xjlsPuHEsMA; path=/; domain=.youtube.com; expires=Tue, 24-Nov-2009 17:18:41 GMT
access_http debug: Accepting Cookie: VISITOR_INFO1_LIVE=xjlsPuHEsMA; path=/; domain=.youtube.com; expires=Tue, 24-Nov-2009 17:18:41 GMT
access_http debug: Transfer-Encoding: chunked
access_http debug: Content-Type: text/plain
access_http debug: redirection to http://www.youtube.com/swf/l.swf?swf=ht ... %20Preview
access_http debug: http: server='www.youtube.com' port=80 file='/swf/l.swf?swf=http%3A//s.ytimg.com/yt/swf/cps-vfl86375.swf&video_id=tBQv3htNL3w&rel=1&eurl=&iurl=http%3A//i1.ytimg.com/vi/tBQv3htNL3w/hqdefault.jpg&sk=KO_fAETJRVuDfAnKWCrvFj7uK_-QMFpdC&cr=US&avg_rating=4.85714285714&length_seconds=171&allow_ratings=1&title=Smackdown%20vs%20Raw%202008%20-%20Preview
main debug: net: connecting to http://www.youtube.com port 80
main debug: connection: Resource temporarily unavailable
main debug: connection succeeded (socket = 1196)
access_http debug: Sending Cookie VISITOR_INFO1_LIVE=xjlsPuHEsMA
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Connection: Keep-Alive
access_http debug: Server: Apache
access_http debug: this frame size=2655
access_http debug: Content-Type: application/x-shockwave-flash
main debug: using access module "access_http"
main debug: TIMER module_need() : 1534.000 ms - Total 1534.000 ms / 1 intvls (Avg 1534.000 ms)
main debug: Using AStream*Stream
main debug: pre buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 1024 bytes in 0s - 1000000 kbytes/s
main debug: looking for stream_filter module: 2 candidates
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating demux: access='http' demux='' path='www.youtube.com/swf/l.swf?swf=http%3A//s.ytimg.com/yt/swf/cps-vfl86375.swf&video_id=tBQv3htNL3w&rel=1&eurl=&iurl=http%3A//i1.ytimg.com/vi/tBQv3htNL3w/hqdefault.jpg&sk=KO_fAETJRVuDfAnKWCrvFj7uK_-QMFpdC&cr=US&avg_rating=4.85714285714&length_seconds=171&allow_ratings=1&title=Smackdown%20vs%20Raw%202008%20-%20Preview'
main debug: looking for demux module: 48 candidates
lua debug: Trying Lua scripts in C:\Dokumente und Einstellungen\Otmanix\Anwendungsdaten\vlc\lua\playlist
lua debug: Trying Lua scripts in C:\Programme\VideoLAN\VLC\\lua\playlist
lua debug: Trying Lua playlist script C:\Programme\VideoLAN\VLC\\lua\playlist\anevia_streams.lua
lua debug: Trying Lua playlist script C:\Programme\VideoLAN\VLC\\lua\playlist\appletrailers.lua
lua debug: Trying Lua playlist script C:\Programme\VideoLAN\VLC\\lua\playlist\bbc_co_uk.lua
lua debug: Trying Lua playlist script C:\Programme\VideoLAN\VLC\\lua\playlist\break.lua
lua debug: Trying Lua playlist script C:\Programme\VideoLAN\VLC\\lua\playlist\canalplus.lua
lua debug: Trying Lua playlist script C:\Programme\VideoLAN\VLC\\lua\playlist\cue.lua
lua debug: Trying Lua playlist script C:\Programme\VideoLAN\VLC\\lua\playlist\dailymotion.lua
lua debug: Trying Lua playlist script C:\Programme\VideoLAN\VLC\\lua\playlist\france2.lua
lua debug: Trying Lua playlist script C:\Programme\VideoLAN\VLC\\lua\playlist\googlevideo.lua
lua debug: Trying Lua playlist script C:\Programme\VideoLAN\VLC\\lua\playlist\joox.lua
lua debug: Trying Lua playlist script C:\Programme\VideoLAN\VLC\\lua\playlist\lelombrik.lua
lua debug: Trying Lua playlist script C:\Programme\VideoLAN\VLC\\lua\playlist\megavideo.lua
lua debug: Trying Lua playlist script C:\Programme\VideoLAN\VLC\\lua\playlist\metacafe.lua
lua debug: Trying Lua playlist script C:\Programme\VideoLAN\VLC\\lua\playlist\youtube.lua
lua debug: Trying Lua playlist script C:\Programme\VideoLAN\VLC\\lua\playlist\youtube_homepage.lua
lua debug: Trying Lua scripts in C:\Programme\VideoLAN\VLC\\share\lua\playlist
avformat debug: detected format: swf
avformat error: av_open_input_stream failed
vobsub debug: could not read vobsub IDX file
ps error: cannot peek
main debug: TIMER module_need() : 9.000 ms - Total 9.000 ms / 1 intvls (Avg 9.000 ms)
main error: no suitable demux module for `http/://youtube.com/v/tBQv3htNL3w.swf'
main debug: removing module "stream_filter_record"
main debug: removing module "access_http"
main debug: waitpipe: object killed
main debug: thread ended
main debug: dead input
main debug: thread times: real 0m1.578125s, kernel 0m0.015625s, user 0m0.000000s
main debug: changing item without a request (current 12/13)
main debug: nothing to play
qt4 debug: IM: Deleting the input
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 349
qt4 debug: sizeHint: 106 - 349
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 349
qt4 debug: sizeHint: 106 - 349
main debug: Destroying the input for 'http://youtube.com/v/tBQv3htNL3w.swf'
main debug: TIMER input launching for 'http://youtube.com/v/tBQv3htNL3w.swf' : 1591.000 ms - Total 1591.000 ms / 1 intvls (Avg 1591.000 ms)

Is there a known workaround or peraps a bugfix planned?

Thanks in advance, Otmanix
I provide NO application support via PM, so please post your question to the forum.
PS3 Media Server related articles on my blog: http://otmanix.de/?cat=11&lang=en
User avatar
otmanix
 
Posts: 528
Joined: Fri Jan 30, 2009 12:40 am
Location: Bavaria, Germany

mplayer and mencoder don't support compressed SWF

Postby otmanix » Sun Mar 29, 2009 9:14 pm

I tried playing the swf with mencoder and mplayer - but no luck.

C:\Programme\PS3 Media Server 1.10.51\win32>mplayer http://youtube.com/v/tBQv3htNL3w.swf
MPlayer Sherpya-SVN-r28311-4.2.5 (C) 2000-2009 MPlayer Team
CPU: AMD Athlon(tm) Dual Core Processor 5050e (Family: 15, Model: 107, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Playing http://youtube.com/v/tBQv3htNL3w.swf.
Resolving youtube.com for AF_INET...
Connecting to server youtube.com[208.65.153.238]: 80...
Resolving http://www.youtube.com for AF_INET...
Connecting to server http://www.youtube.com[208.65.153.238]: 80...
Resolving http://www.youtube.com for AF_INET...
Connecting to server http://www.youtube.com[208.65.153.238]: 80...
Cache size set to 320 KBytes
Cache fill: 0.00% (0 bytes)
libavformat file format detected.
[swf @ 02637130]Compressed SWF format not supported
LAVF_header: av_open_input_stream() failed
libavformat file format detected.
[swf @ 026A5860]Compressed SWF format not supported
LAVF_header: av_open_input_stream() failed
Exiting... (End of file)

C:\Programme\PS3 Media Server 1.10.51\win32>mencoder http://youtube.com/v/tBQv3htNL3w.swf -o temp.swf
MEncoder Sherpya-SVN-r28311-4.2.5 (C) 2000-2009 MPlayer Team
CPU: AMD Athlon(tm) Dual Core Processor 5050e (Family: 15, Model: 107, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
Resolving youtube.com for AF_INET...
Connecting to server youtube.com[208.117.236.69]: 80...
Resolving http://www.youtube.com for AF_INET...
Connecting to server http://www.youtube.com[208.65.153.238]: 80...
Resolving http://www.youtube.com for AF_INET...
Connecting to server http://www.youtube.com[208.65.153.238]: 80...
Cache size set to 320 KBytes
success: format: 0 data: 0x0 - 0xa5f
libavformat file format detected.
[swf @ 01C56210]Compressed SWF format not supported
LAVF_header: av_open_input_stream() failed
libavformat file format detected.
[swf @ 01C685C0]Compressed SWF format not supported
LAVF_header: av_open_input_stream() failed
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.
Exiting...

Is it possible to download, uncompress the flash-file and stream it to ps3? I just found this tool: http://zefonseca.com/cws2fws/

P.S.
I googled some time and now I think youtube and swf really sucks...
I provide NO application support via PM, so please post your question to the forum.
PS3 Media Server related articles on my blog: http://otmanix.de/?cat=11&lang=en
User avatar
otmanix
 
Posts: 528
Joined: Fri Jan 30, 2009 12:40 am
Location: Bavaria, Germany


Return to General Help and Support

Who is online

Users browsing this forum: Bing [Bot], geb724 and 16 guests