Page 1 of 1

Problem with playing MPEG-2 TS stream

Posted: 24 Nov 2008 17:11
by jamie
Hi all,

I am having problems getting VLC to play an MPEG-2 TS stream. VLC seems to start playing it, but nothing is displayed:

Code: Select all

main debug: starting new item main debug: processing request item http://172.16.0.50:8080/tv/bbcnews24 node Playlist skip 0 main debug: resyncing on http://172.16.0.50:8080/tv/bbcnews24 main debug: http://172.16.0.50:8080/tv/bbcnews24 is at 3 main debug: creating new input thread main debug: Creating an input for 'http://172.16.0.50:8080/tv/bbcnews24' main debug: waiting for thread initialization main debug: thread started main debug: thread 5412 (input) created at priority 1 (input/input.c:370) qt4 debug: Updating the stream status: 3 main debug: `http://172.16.0.50:8080/tv/bbcnews24' gives access `http' demux `' path `172.16.0.50:8080/tv/bbcnews24' main debug: creating demux: access='http' demux='' path='172.16.0.50:8080/tv/bbcnews24' main debug: looking for access_demux module: 0 candidates main warning: 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='172.16.0.50:8080/tv/bbcnews24' main debug: looking for access module: 2 candidates access_http debug: http: server='172.16.0.50' port=8080 file='/tv/bbcnews24 main debug: net: connecting to 172.16.0.50 port 8080 main debug: connection: Resource temporarily unavailable main debug: connection succeeded (socket = 5548) access_http debug: protocol 'HTTP' answer code 200 access_http debug: Content-Type: application/octet-stream access_http debug: Pragma: no-cache access_http debug: Transfer-Encoding: chunked access_http debug: Connection: keep-alive main debug: using access module "access_http" main debug: TIMER module_Need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms) qt4 debug: New Event: type 1103 qt4 debug: Updating the stream status: 2 main debug: Using AStream*Stream main debug: pre-buffering... main debug: received first data for our buffer main debug: pre-buffering done 61238 bytes in 0s - 456 kbytes/s main debug: creating demux: access='http' demux='' path='172.16.0.50:8080/tv/bbcnews24' main debug: looking for demux module: 51 candidates main debug: using demux module "ts" main debug: TIMER module_Need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms) main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\ ts debug: DEMUX_SET_GROUP 0 00000000 main debug: `http://172.16.0.50:8080/tv/bbcnews24' successfully opened ts debug: pid[650] unknown ts debug: pid[640] unknown ts debug: pid[641] unknown ts debug: pid[643] unknown ts debug: pid[651] unknown qt4 debug: New Event: type 1103 ts debug: pid[652] unknown qt4 debug: Updating the stream status: 3 main debug: control type=1 ts debug: PATCallBack called ts debug: new PAT ts_id=0 version=0 current_next=1 ts debug: * number=4415 pid=0 ts debug: pid[1014] unknown
OS: Windows Server 2003 Enterprise + SP2
VLC 0.9.6

I'd appreciate any insight anyone can offer. I've tried various versions of VLC, going back to 0.8.x, with the same problem. Also experienced the same issue in Linux as well. I should probably also note that the stream plays perfectly in MPlayer.

Thanks,

Jamie

Re: Problem with playing MPEG-2 TS stream

Posted: 28 Nov 2008 12:16
by jamie
I've played around with various settings to no avail.

With --use-stream-immediate I get:

Code: Select all

main debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU main debug: looking for memcpy module: 3 candidates main debug: using memcpy module "memcpymmxext" main debug: thread 4600 (Interaction control) created at priority 0 (interface/interaction.c:382) main debug: thread started main debug: Creating an input for 'Media Library' main debug: Input is a meta file: disabling unneeded options main debug: `file/xspf-open://C:\Documents and Settings\spcadmin\Application Data\vlc\ml.xspf' gives access `file' demux `xspf-open' path `C:\Documents and Settings\spcadmin\Application Data\vlc\ml.xspf' main debug: creating access 'file' path='C:\Documents and Settings\spcadmin\Application Data\vlc\ml.xspf' main debug: looking for access module: 2 candidates access_file debug: opening file `C:\Documents and Settings\spcadmin\Application Data\vlc\ml.xspf' main debug: using access module "access_file" main debug: TIMER module_Need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms) main debug: Using AStream*Immediate main debug: p_buffer 01490020-02090020 main debug: creating demux: access='file' demux='xspf-open' path='C:\Documents and Settings\spcadmin\Application Data\vlc\ml.xspf' main debug: looking for demux module: 1 candidate playlist debug: using XSPF playlist reader main debug: using demux module "playlist" main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: `file/xspf-open://C:\Documents and Settings\spcadmin\Application Data\vlc\ml.xspf' successfully opened main debug: looking for xml module: 1 candidate main debug: using xml module "xtag" main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) playlist warning: invalid <playlist> attribute:"xmlns:vlc" playlist debug: parsed 0 tracks successfully main debug: removing module "xtag" main debug: EOF reached main debug: control type=1 main debug: removing module "playlist" main debug: removing module "access_file" main debug: TIMER input launching for 'Media Library' : 9.000 ms - Total 9.000 ms / 1 intvls (Avg 9.000 ms) main debug: waiting for thread initialization main debug: thread started main debug: thread 4676 (preparser) created at priority 0 (playlist/thread.c:79) main debug: waiting for thread initialization main debug: thread started main debug: thread 4688 (fetcher) created at priority 0 (playlist/thread.c:108) main debug: waiting for thread initialization main debug: thread started main debug: rebuilding array of current - root Playlist main debug: rebuild done - 0 items, index -1 main debug: thread 4684 (playlist) created at priority 0 (playlist/thread.c:117) main debug: looking for interface module: 1 candidate main debug: using interface module "hotkeys" main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: thread 4700 (interface) created at priority 0 (interface/interface.c:168) main debug: thread started main debug: adding item `http://172.16.0.50:8080/tv/bbcnews24' ( http://172.16.0.50:8080/tv/bbcnews24 ) main info: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. main debug: looking for interface module: 3 candidates main debug: using interface module "qt4" main debug: TIMER module_Need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms) main debug: thread 4864 (interface) created at priority 0 (interface/interface.c:168) main debug: thread started main debug: starting new item main debug: processing request item null node Playlist skip 0 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: creating new input thread main debug: Creating an input for 'http://172.16.0.50:8080/tv/bbcnews24' main debug: waiting for thread initialization main debug: thread started main debug: thread 4996 (input) created at priority 1 (input/input.c:370) main debug: `http://172.16.0.50:8080/tv/bbcnews24' gives access `http' demux `' path `172.16.0.50:8080/tv/bbcnews24' main debug: creating demux: access='http' demux='' path='172.16.0.50:8080/tv/bbcnews24' main debug: looking for access_demux module: 0 candidates main warning: 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='172.16.0.50:8080/tv/bbcnews24' main debug: looking for access module: 2 candidates access_http debug: http: server='172.16.0.50' port=8080 file='/tv/bbcnews24 main debug: net: connecting to 172.16.0.50 port 8080 main debug: connection: Resource temporarily unavailable main debug: connection succeeded (socket = 5060) access_http debug: protocol 'HTTP' answer code 200 access_http debug: Content-Type: application/octet-stream access_http debug: Pragma: no-cache access_http debug: Transfer-Encoding: chunked access_http debug: Connection: keep-alive main debug: using access module "access_http" main debug: TIMER module_Need() : 8.000 ms - Total 8.000 ms / 1 intvls (Avg 8.000 ms) main debug: Using AStream*Immediate main debug: p_buffer 022D0020-02ED0020 main debug: creating demux: access='http' demux='' path='172.16.0.50:8080/tv/bbcnews24' main debug: looking for demux module: 51 candidates main debug: using demux module "ts" main debug: TIMER module_Need() : 22.000 ms - Total 22.000 ms / 1 intvls (Avg 22.000 ms) main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\ ts debug: DEMUX_SET_GROUP 0 00000000 main debug: `http://172.16.0.50:8080/tv/bbcnews24' successfully opened ts debug: pid[640] unknown ts warning: lost synchro ts debug: skipping 104 bytes of garbage ts debug: pid[6800] unknown ts warning: lost synchro ts debug: skipping 104 bytes of garbage ts debug: pid[3095] unknown ts warning: lost synchro ts debug: skipping 104 bytes of garbage ts debug: pid[2378] unknown ts warning: lost synchro ts debug: skipping 104 bytes of garbage ts debug: pid[7418] unknown ts warning: lost synchro ts debug: skipping 104 bytes of garbage ts debug: pid[5587] unknown ts warning: lost synchro ts debug: skipping 104 bytes of garbage ts debug: pid[6263] unknown ts warning: lost synchro ts debug: skipping 104 bytes of garbage ts debug: pid[4113] unknown ts warning: lost synchro ts debug: skipping 104 bytes of garbage ts debug: pid[5654] unknown ts warning: lost synchro ts debug: skipping 104 bytes of garbage ts debug: pid[652] unknown ts debug: pid[641] unknown ts debug: pid[650] unknown ts debug: pid[651] unknown ts debug: pid[643] unknown main debug: control type=1 qt4 debug: Error while initializing qt-specific localization qt4 debug: Updating the stream status: 3 ts warning: lost synchro ts debug: skipping 38 bytes of garbage ts debug: pid[1415] unknown ts warning: lost synchro ts debug: skipping 82 bytes of garbage ts debug: pid[2125] unknown ts warning: lost synchro ts debug: skipping 126 bytes of garbage ts debug: pid[6890] unknown ts warning: lost synchro ts debug: skipping 170 bytes of garbage ts debug: pid[7444] unknown ts warning: lost synchro ts debug: skipping 170 bytes of garbage ts debug: pid[857] unknown ts debug: pid[2013] unknown ts warning: lost synchro ts debug: skipping 114 bytes of garbage ts debug: pid[4528] unknown ts warning: lost synchro ts debug: skipping 158 bytes of garbage ts debug: pid[4374] unknown ts warning: lost synchro ts debug: skipping 182 bytes of garbage ts debug: pid[5149] unknown ts warning: lost synchro ts debug: skipping 38 bytes of garbage ts debug: pid[1820] unknown ts warning: lost synchro ts debug: skipping 82 bytes of garbage ts debug: pid[3622] unknown ts warning: lost synchro ts debug: skipping 126 bytes of garbage ts debug: pid[1] unknown ts warning: lost synchro ts debug: skipping 170 bytes of garbage ts debug: pid[5841] unknown ts warning: lost synchro ts debug: skipping 26 bytes of garbage ts debug: pid[3167] unknown ts warning: lost synchro ts debug: skipping 70 bytes of garbage ts debug: pid[6068] unknown ts warning: lost synchro ts debug: skipping 114 bytes of garbage ts debug: pid[1246] unknown ts warning: lost synchro ts debug: skipping 158 bytes of garbage ts debug: pid[5491] unknown ts warning: lost synchro ts debug: skipping 38 bytes of garbage ts debug: pid[931] unknown ts warning: lost synchro ts debug: skipping 82 bytes of garbage ts debug: pid[2181] unknown ts warning: lost synchro ts debug: skipping 126 bytes of garbage ts warning: lost synchro ts debug: skipping 100 bytes of garbage ts debug: skipping 26 bytes of garbage ts debug: pid[6505] unknown ts warning: lost synchro ts debug: skipping 70 bytes of garbage ts debug: pid[2611] unknown ts warning: lost synchro ts debug: skipping 114 bytes of garbage ts debug: pid[4800] unknown ts warning: lost synchro ts debug: skipping 158 bytes of garbage ts debug: pid[5670] unknown ts warning: lost synchro ts debug: skipping 126 bytes of garbage ts debug: pid[6873] unknown ts warning: lost synchro ts debug: skipping 170 bytes of garbage ts debug: pid[4419] unknown ts warning: lost synchro ts debug: skipping 26 bytes of garbage ts debug: pid[995] unknown ts warning: lost synchro ts debug: skipping 70 bytes of garbage ts debug: pid[185] unknown ts warning: lost synchro ts debug: skipping 114 bytes of garbage ts debug: pid[7867] unknown ts warning: lost synchro ts debug: skipping 158 bytes of garbage ts debug: pid[4486] unknown ts warning: lost synchro ts debug: skipping 138 bytes of garbage ts debug: pid[4395] unknown ts warning: lost synchro ts debug: skipping 182 bytes of garbage ts debug: pid[3732] unknown ts warning: lost synchro ts debug: skipping 38 bytes of garbage ts debug: pid[3892] unknown ts warning: lost synchro ts debug: skipping 82 bytes of garbage ts debug: pid[6360] unknown ts warning: lost synchro ts debug: skipping 126 bytes of garbage ts debug: pid[3933] unknown ts warning: lost synchro ts debug: skipping 170 bytes of garbage ts debug: pid[829] unknown ts warning: lost synchro ts debug: skipping 26 bytes of garbage ts debug: pid[1873] unknown ts warning: lost synchro ts debug: skipping 70 bytes of garbage ts debug: pid[7692] unknown ts warning: lost synchro ts debug: skipping 114 bytes of garbage ts debug: pid[5501] unknown ts warning: lost synchro ts debug: skipping 114 bytes of garbage ts debug: pid[1014] unknown ts warning: lost synchro ts debug: skipping 38 bytes of garbage ts debug: pid[5144] unknown ts warning: lost synchro ts debug: skipping 82 bytes of garbage ts debug: pid[1785] unknown ts warning: lost synchro ts debug: skipping 126 bytes of garbage ts debug: pid[5570] unknown ts warning: lost synchro message warning: message queue overflowed
Both MPlayer and Media Player Classic can play the stream with no issues.

Re: Problem with playing MPEG-2 TS stream

Posted: 28 Nov 2008 14:37
by Jean-Baptiste Kempf
Can you share the stream?