Dreambox-like stream doesn't work (no TS demux?), with logs

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
jollino
Blank Cone
Blank Cone
Posts: 15
Joined: 05 Dec 2007 00:52

Dreambox-like stream doesn't work (no TS demux?), with logs

Postby jollino » 13 Dec 2007 17:01

Hello all,
I'm posting in this "OS independent" section of the forum because I found that the problem I had and that I have described on viewtopic.php?f=12&t=42549 seems to happen on Windows too.

I have a linux-based satellite receiver called IPBox. It's very similar to the more famous DreamBox, and does indeed run the same software. It is supposed to be able to stream data on the network as it comes from the satellite in the form of an MPEG-TS stream; VLC is the viewer of choice, and the web interface (called Enigma) has convenient links to direct VLC to the correct URL for the streaming, not to mention a cool "WEB-X-TV" functionality based on the VLC browser plugin. The quickest way to access the stream of the current channel is to use an URL like http://root:password@ipaddress/video.m3u. In my case, I left the default password (ipbox) and the IP address is 192.168.0.25, easily shortened through /etc/hosts to "ipbox".

The problem I have is that when I try to open http://root:ipbox@ipbox/video.m3u (or any more exact link provided by the web interface, such as http://192.168.0.25:31339/0,0451,0201,028b), more often than not I will get no window with the video. Nothing at all, it stays there downloading the streaming video but not showing anything. If I open the "Statistics" window, I will see the bitrate of the channel and the total amount of data transferred so far, but no video ever appears. Trying again might make it work, but sometimes I need to change channels and go back to the one I tried to watch, but that doesn't guarantee anything. Sometimes I just give up. Funny enough, trying MPlayer OSX 2 usually works even when VLC fails, but the video it shows is very sluggish, with pixelation (similar to interruptions in the MPEG stream) and with no easy way -- if there is one at all -- to change the deinterlace mode, and so on. In general, I'd rather like to use VLC, but I'm a little clueless as to what's going on. I also tried fiddling with the demux options for TS streams, and I did so a little randomly, but I don't seem to have changed anything. I even went for the complete deletion of user prefences, just to be sure I had a clean VLC (I did so both on Mac and on Windows), but nothing changed either.

My machine is an iMac intel 2.16 GHz with 2 GB of RAM; I run OS X 10.5.1 and the VM runs Windows XP SP2.

For the VLC gurus out there, here is what the log says when the stream DOES work:

Code: Select all

[00000001] main private debug: opening config file /Users/jollino/Library/Preferences/VLC/vlcrc [00000001] main private debug: checking builtin modules [00000001] main private debug: checking plugin modules [00000001] main private debug: loading plugins cache file /Users/jollino/Library/Preferences/VLC/cache/plugins-04041e.dat [00000001] main private debug: recursively browsing `./modules' [00000001] main private debug: recursively browsing `/usr/local/lib/vlc' [00000001] main private debug: recursively browsing `./plugins' [00000001] main private debug: module bank initialized, found 210 modules [00000001] main private debug: opening config file /Users/jollino/Library/Preferences/VLC/vlcrc [00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU [00000001] main private debug: looking for memcpy module: 3 candidates [00000001] main private debug: using memcpy module "memcpymmxext" [00000273] main playlist debug: waiting for thread completion [00000273] main playlist debug: thread 2953318400 (playlist) created at priority -47 (playlist/playlist.c:184) [00000274] main private debug: waiting for thread completion [00000274] main private debug: thread 2953850880 (preparser) created at priority -47 (playlist/playlist.c:210) [00000275] main interface debug: looking for interface module: 1 candidate [00000275] main interface debug: using interface module "hotkeys" [00000275] main interface debug: thread 2954383360 (interface) created at priority -47 (interface/interface.c:198) [00000273] main playlist debug: adding playlist item `http://root:ipbox@ipbox/video.m3u' ( http://root:ipbox@ipbox/video.m3u ) [00000277] main interface debug: looking for interface module: 3 candidates [00000277] main interface debug: using interface module "macosx" [00000277] main interface debug: thread 2955448320 (manage) created at priority -47 (interface/interface.c:164) [00000273] main playlist debug: nothing requested, starting [00000273] main playlist debug: creating new input thread [00000278] main input debug: waiting for thread completion [00000278] main input debug: thread 2956513280 (input) created at priority 37 (input/input.c:265) [00000278] main input debug: creating statistics handler [00000278] main input debug: `http://root:ipbox@ipbox/video.m3u' gives access `http' demux `' path `root:ipbox@ipbox/video.m3u' [00000278] main input debug: creating demux: access='http' demux='' path='root:ipbox@ipbox/video.m3u' [00000280] main demuxer debug: looking for access_demux module: 0 candidates [00000280] main demuxer warning: no access_demux module matched "http" [00000278] main input debug: creating access 'http' path='root:ipbox@ipbox/video.m3u' [00000281] main access debug: looking for access2 module: 8 candidates [00000281] access_http access debug: http: server='ipbox' port=80 file='/video.m3u [00000281] access_http access debug: user='root', pwd='ipbox' [00000281] main access debug: net: connecting to ipbox port 80 [00000281] main access debug: connection in progress [00000281] access_http access debug: protocol 'HTTP' answer code 200 [00000281] access_http access debug: stream size=42 [00000281] access_http access debug: Content-Type: video/mpegfile [00000281] main access debug: using access2 module "access_http" [00000283] main private debug: pre-buffering... [00000283] main private debug: received first data for our buffer [00000278] main input debug: creating demux: access='http' demux='' path='root:ipbox@ipbox/video.m3u' [00000284] main demuxer debug: looking for demux2 module: 44 candidates [00000284] playlist demuxer debug: found valid M3U playlist file [00000284] main demuxer debug: using demux2 module "playlist" [00000278] main input debug: `http://root:ipbox@ipbox/video.m3u' successfully opened [00000273] playlist playlist debug: starting playlist playback [00000273] main playlist debug: adding playlist item `http://192.168.0.25:31339/0,0451,0201,028b' ( http://192.168.0.25:31339/0,0451,0201,028b ) [00000278] main input debug: EOF reached [00000277] macosx interface debug: input has changed, refreshing interface [00000278] main input debug: closing input [00000284] main demuxer debug: removing module "playlist" [00000281] main access debug: removing module "access_http" [00000277] macosx interface debug: input has stopped, refreshing interface [00000278] main input debug: thread 2956513280 joined (input/input.c:412) [00000273] main playlist debug: creating new input thread [00000293] main input debug: waiting for thread completion [00000293] main input debug: thread 2956513280 (input) created at priority 37 (input/input.c:265) [00000293] main input debug: `http://192.168.0.25:31339/0,0451,0201,028b' gives access `http' demux `' path `192.168.0.25:31339/0,0451,0201,028b' [00000293] main input debug: creating demux: access='http' demux='' path='192.168.0.25:31339/0,0451,0201,028b' [00000294] main demuxer debug: looking for access_demux module: 0 candidates [00000294] main demuxer warning: no access_demux module matched "http" [00000293] main input debug: creating access 'http' path='192.168.0.25:31339/0,0451,0201,028b' [00000295] main access debug: looking for access2 module: 8 candidates [00000295] access_http access debug: http: server='192.168.0.25' port=31339 file='/0,0451,0201,028b [00000295] main access debug: net: connecting to 192.168.0.25 port 31339 [00000295] main access debug: connection in progress [00000295] access_http access debug: protocol 'HTTP' answer code 200 [00000295] access_http access debug: Server: streamts (ts) [00000295] main access debug: using access2 module "access_http" [00000296] main private debug: pre-buffering... [00000277] macosx interface debug: input has changed, refreshing interface [00000296] main private debug: received first data for our buffer [00000296] main private debug: pre-buffering done 69504 bytes in 0s - 257 kbytes/s [00000293] main input debug: creating demux: access='http' demux='' path='192.168.0.25:31339/0,0451,0201,028b' [00000297] main demuxer debug: looking for demux2 module: 44 candidates [00000297] main demuxer debug: using demux2 module "ts" [00000297] ts demuxer debug: DEMUX_SET_GROUP 0 0x0 [00000293] main input debug: `http://192.168.0.25:31339/0,0451,0201,028b' successfully opened [00000297] ts demuxer debug: pid[513] unknown [00000297] ts demuxer debug: pid[651] unknown [00000297] ts demuxer debug: pid[1105] unknown libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 0) for PID 0 [00000297] ts demuxer debug: PATCallBack called [00000297] ts demuxer debug: new PAT ts_id=5200 version=23 current_next=1 [00000297] ts demuxer debug: * number=0 pid=16 [00000297] ts demuxer debug: * number=3401 pid=1104 [00000297] ts demuxer debug: * number=3499 pid=86 [00000297] ts demuxer debug: * number=3319 pid=267 [00000297] ts demuxer debug: * number=3314 pid=268 [00000297] ts demuxer debug: * number=3410 pid=136 [00000297] ts demuxer debug: * number=3404 pid=260 [00000297] ts demuxer debug: * number=3408 pid=1107 [00000297] ts demuxer debug: * number=3406 pid=261 [00000297] ts demuxer debug: * number=3403 pid=1106 [00000297] ts demuxer debug: * number=3402 pid=1105 libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 0) for PID 1105 [00000297] ts demuxer debug: PMTCallBack called [00000297] ts demuxer debug: new PMT program number=3402 version=28 pid_pcr=513 [00000297] ts demuxer debug: * es pid=513 type=2 fcc=mpgv [00000293] main input debug: selecting program id=3402 [00000323] main decoder debug: looking for decoder module: 25 candidates [00000323] main decoder debug: using decoder module "libmpeg2" [00000323] main decoder debug: thread 2957578240 (decoder) created at priority -47 (input/decoder.c:159) [00000297] ts demuxer debug: * es pid=651 type=4 fcc=mpga [00000325] main decoder debug: looking for decoder module: 25 candidates [00000325] main decoder debug: using decoder module "mpeg_audio" [00000325] main decoder debug: thread 2958110720 (decoder) created at priority 37 (input/decoder.c:159) [00000297] ts demuxer debug: * es pid=577 type=6 dr->i_tag=0x56 [00000297] ts demuxer debug: * EBU Teletext descriptor [00000297] ts demuxer debug: * es pid=577 type=6 fcc=telx [00000297] ts demuxer debug: * es pid=208 type=192 *unknown* [00000297] ts demuxer debug: * es pid=222 type=192 *unknown* [00000297] ts demuxer debug: * es pid=213 type=193 *unknown* [00000297] ts demuxer debug: * es pid=823 type=193 *unknown* [00000297] ts demuxer warning: first packet for pid=513 cc=0x2 [00000297] ts demuxer warning: first packet for pid=651 cc=0x9 [00000325] mpeg_audio decoder debug: MPGA channels:2 samplerate:48000 bitrate:192 [00000325] main decoder debug: no aout present, spawning one [00000341] main audio output debug: looking for audio output module: 2 candidates [00000341] main audio output debug: VLC is looking for: 'mpga' 48000 Hz Stereo frame=1152 samples/1161 bytes [00000341] auhal audio output debug: system has [3] device(s) [00000323] libmpeg2 decoder debug: 720x576 (display 720,576), aspect 576000, sar 16:15, 25.000 fps [00000323] main decoder debug: no usable vout present, spawning one [00000342] main video output debug: window size: 768x576 [00000342] main video output debug: looking for video output module: 4 candidates [00000342] opengl video output debug: Texture size: 720x576 [00000345] main private debug: looking for opengl provider module: 1 candidate [00000341] auhal audio output debug: DevID: 0x118 DevName: Microfono integrato [00000341] auhal audio output debug: this device is INPUT only. skipping... [00000341] auhal audio output debug: DevID: 0x116 DevName: Ingresso integrato [00000341] auhal audio output debug: this device is INPUT only. skipping... [00000341] auhal audio output debug: DevID: 0x11a DevName: Uscita integrata [00000341] auhal audio output debug: supported format: [96000][mcpl][12][4][1][4][2][16] [00000341] auhal audio output debug: supported format: [48000][mcpl][12][4][1][4][2][16] [00000341] auhal audio output debug: supported format: [44100][mcpl][12][4][1][4][2][16] [00000341] auhal audio output debug: supported format: [96000][mcpl][4][8][1][8][2][20] [00000341] auhal audio output debug: supported format: [48000][mcpl][4][8][1][8][2][20] [00000341] auhal audio output debug: supported format: [44100][mcpl][4][8][1][8][2][20] [00000341] auhal audio output debug: supported format: [96000][mcpl][4][8][1][8][2][24] [00000341] auhal audio output debug: supported format: [48000][mcpl][4][8][1][8][2][24] [00000341] auhal audio output debug: supported format: [44100][mcpl][4][8][1][8][2][24] [00000345] macosx private debug: display is Quartz Extreme accelerated [00000343] main private debug: Registering subpicture channel, ID: 2 [00000343] main private debug: Registering subpicture channel, ID: 3 [00000343] main private debug: Registering subpicture channel, ID: 4 [00000343] main private debug: Registering subpicture channel, ID: 5 [00000341] auhal audio output debug: current format is: [44100][mcpl][41][4][1][4][2][32] [00000341] auhal audio output debug: layout of AUHAL has 2 channels [00000341] auhal audio output debug: selected 2 physical channels for device output [00000341] auhal audio output debug: VLC will output: Stereo [00000341] auhal audio output debug: we set the AU format: [48000][mcpl][9][8][1][8][2][32] [00000341] auhal audio output debug: the actual set AU format is [48000][mcpl][9][8][1][8][2][32] [00000341] main audio output debug: using audio output module "auhal" [00000341] main audio output debug: output 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes [00000341] main audio output debug: mixer 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes [00000341] main audio output debug: no need for any filter [00000341] main audio output debug: looking for audio mixer module: 3 candidates [00000341] main audio output debug: using audio mixer module "trivial_mixer" [00000341] main audio output debug: input 'mpga' 48000 Hz Stereo frame=1152 samples/1161 bytes [00000341] main audio output debug: filter(s) 'mpga'->'fl32' 48000 Hz->48000 Hz Stereo->Stereo [00000349] main private debug: looking for audio filter module: 24 candidates [00000345] main private debug: using opengl provider module "macosx" [00000342] main video output debug: using video output module "opengl" [00000342] main video output debug: waiting for thread completion [00000342] main video output debug: got 1 direct buffer(s) [00000342] main video output debug: picture in 720x576 (0,0,720x576), chroma I420, ar 4:3, sar 16:15 [00000342] main video output debug: picture user 720x576 (0,0,720x576), chroma I420, ar 4:3, sar 16:15 [00000342] main video output debug: picture out 720x576 (0,0,720x576), chroma UYVY, ar 4:3, sar 16:15 [00000342] main video output debug: looking for chroma module: 9 candidates [00000342] main video output debug: using chroma module "i420_yuy2_mmx" [00000342] main video output debug: indirect render, mapping render pictures 0-7 to system pictures 1-8 [00000342] main video output debug: thread 2960240640 (video output) created at priority 37 (video_output/video_output.c:421) [00000356] main private warning: dts != current_pts (-1034966) [00000349] main private debug: using audio filter module "mpgatofixed32" [00000341] main audio output debug: found a filter for the whole conversion [00000341] main audio output debug: filter(s) 'fl32'->'fl32' 52800 Hz->48000 Hz Stereo->Stereo [00000357] main private debug: looking for audio filter module: 24 candidates [00000356] main private warning: vout synchro warning: pts != current_date (-40000) [00000357] main private debug: using audio filter module "bandlimited_resampler" [00000341] main audio output debug: found a filter for the whole conversion [00000341] main audio output warning: output date isn't PTS date, requesting resampling (-40589) [00000341] main audio output warning: buffer is 40589 in advance, triggering downsampling [00000342] main video output warning: late picture skipped (2131) [00000356] main private debug: decoded 107/108 pictures [00000341] main audio output warning: resampling stopped after 9719823 usec (drift: -702)
(some other harmless warnings will follow during the whole streaming session)

This is what I get when the stream DOES NOT work:

Code: Select all

octavarium:/Applications/VLC.app/Contents/MacOS jollino$ ./VLC -vv http://root:ipbox@ipbox/video.m3u [00000001] main private debug: opening config file /Users/jollino/Library/Preferences/VLC/vlcrc [00000001] main private debug: checking builtin modules [00000001] main private debug: checking plugin modules [00000001] main private debug: loading plugins cache file /Users/jollino/Library/Preferences/VLC/cache/plugins-04041e.dat [00000001] main private debug: recursively browsing `./modules' [00000001] main private debug: recursively browsing `/usr/local/lib/vlc' [00000001] main private debug: recursively browsing `./plugins' [00000001] main private debug: module bank initialized, found 210 modules [00000001] main private debug: opening config file /Users/jollino/Library/Preferences/VLC/vlcrc [00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU [00000001] main private debug: looking for memcpy module: 3 candidates [00000001] main private debug: using memcpy module "memcpymmxext" [00000512] main playlist debug: waiting for thread completion [00000512] main playlist debug: thread 2953318400 (playlist) created at priority -47 (playlist/playlist.c:184) [00000513] main private debug: waiting for thread completion [00000513] main private debug: thread 2953850880 (preparser) created at priority -47 (playlist/playlist.c:210) [00000514] main interface debug: looking for interface module: 1 candidate [00000514] main interface debug: using interface module "hotkeys" [00000514] main interface debug: thread 2954383360 (interface) created at priority -47 (interface/interface.c:198) [00000512] main playlist debug: adding playlist item `http://root:ipbox@ipbox/video.m3u' ( http://root:ipbox@ipbox/video.m3u ) [00000515] main interface debug: looking for interface module: 3 candidates [00000515] main interface debug: using interface module "macosx" [00000515] main interface debug: thread 2955448320 (manage) created at priority -47 (interface/interface.c:164) [00000512] main playlist debug: nothing requested, starting [00000512] main playlist debug: creating new input thread [00000516] main input debug: waiting for thread completion [00000516] main input debug: thread 2955980800 (input) created at priority 37 (input/input.c:265) [00000516] main input debug: creating statistics handler [00000516] main input debug: `http://root:ipbox@ipbox/video.m3u' gives access `http' demux `' path `root:ipbox@ipbox/video.m3u' [00000516] main input debug: creating demux: access='http' demux='' path='root:ipbox@ipbox/video.m3u' [00000518] main demuxer debug: looking for access_demux module: 0 candidates [00000518] main demuxer warning: no access_demux module matched "http" [00000516] main input debug: creating access 'http' path='root:ipbox@ipbox/video.m3u' [00000519] main access debug: looking for access2 module: 8 candidates [00000519] access_http access debug: http: server='ipbox' port=80 file='/video.m3u [00000519] access_http access debug: user='root', pwd='ipbox' [00000519] main access debug: net: connecting to ipbox port 80 [00000515] macosx interface debug: input has changed, refreshing interface [00000519] main access debug: connection in progress [00000519] access_http access debug: protocol 'HTTP' answer code 200 [00000519] access_http access debug: stream size=52 [00000519] access_http access debug: Content-Type: video/mpegfile [00000519] main access debug: using access2 module "access_http" [00000520] main private debug: pre-buffering... [00000520] main private debug: received first data for our buffer [00000516] main input debug: creating demux: access='http' demux='' path='root:ipbox@ipbox/video.m3u' [00000521] main demuxer debug: looking for demux2 module: 44 candidates [00000521] playlist demuxer debug: found valid M3U playlist file [00000521] main demuxer debug: using demux2 module "playlist" [00000516] main input debug: `http://root:ipbox@ipbox/video.m3u' successfully opened [00000512] playlist playlist debug: starting playlist playback [00000512] main playlist debug: adding playlist item `http://192.168.0.25:31339/0,0101,0201,0294,0295,0081' ( http://192.168.0.25:31339/0,0101,0201,0294,0295,0081 ) [00000516] main input debug: EOF reached [00000516] main input debug: closing input [00000521] main demuxer debug: removing module "playlist" [00000519] main access debug: removing module "access_http" [00000516] main input debug: thread 2955980800 joined (input/input.c:412) [00000515] macosx interface debug: input has stopped, refreshing interface [00000512] main playlist debug: creating new input thread [00000522] main input debug: waiting for thread completion [00000522] main input debug: thread 2955980800 (input) created at priority 37 (input/input.c:265) [00000522] main input debug: `http://192.168.0.25:31339/0,0101,0201,0294,0295,0081' gives access `http' demux `' path `192.168.0.25:31339/0,0101,0201,0294,0295,0081' [00000522] main input debug: creating demux: access='http' demux='' path='192.168.0.25:31339/0,0101,0201,0294,0295,0081' [00000523] main demuxer debug: looking for access_demux module: 0 candidates [00000523] main demuxer warning: no access_demux module matched "http" [00000522] main input debug: creating access 'http' path='192.168.0.25:31339/0,0101,0201,0294,0295,0081' [00000524] main access debug: looking for access2 module: 8 candidates [00000524] access_http access debug: http: server='192.168.0.25' port=31339 file='/0,0101,0201,0294,0295,0081 [00000524] main access debug: net: connecting to 192.168.0.25 port 31339 [00000524] main access debug: connection in progress [00000515] macosx interface debug: input has changed, refreshing interface [00000524] access_http access debug: protocol 'HTTP' answer code 200 [00000524] access_http access debug: Server: streamts (ts) [00000524] main access debug: using access2 module "access_http" [00000525] main private debug: pre-buffering... [00000525] main private debug: received first data for our buffer [00000525] main private debug: pre-buffering done 137560 bytes in 0s - 547 kbytes/s [00000522] main input debug: creating demux: access='http' demux='' path='192.168.0.25:31339/0,0101,0201,0294,0295,0081' [00000526] main demuxer debug: looking for demux2 module: 44 candidates [00000526] main demuxer debug: using demux2 module "ts" [00000526] ts demuxer debug: DEMUX_SET_GROUP 0 0x0 [00000522] main input debug: `http://192.168.0.25:31339/0,0101,0201,0294,0295,0081' successfully opened [00000526] ts demuxer debug: PATCallBack called [00000526] ts demuxer debug: new PAT ts_id=6000 version=0 current_next=1 [00000526] ts demuxer debug: * number=0 pid=16 [00000526] ts demuxer debug: * number=1 pid=256 [00000526] ts demuxer debug: * number=2 pid=257 [00000526] ts demuxer debug: * number=3 pid=258 [00000526] ts demuxer debug: * number=4 pid=259 [00000526] ts demuxer debug: * number=5 pid=261 [00000526] ts demuxer debug: * number=11 pid=260 [00000526] ts demuxer debug: pid[513] unknown [00000526] ts demuxer debug: pid[660] unknown [00000526] ts demuxer debug: pid[661] unknown [00000526] ts demuxer debug: pid[129] unknown
And that's it, nothing else ever appears even though the stream does come down, as shown by the statistics:
Image
It seems, as the log implies anyway, that the stream can't seem to get demultiplexed.

As far as I found, this seems to be a moderately common problem with Dreambox/Ipbox users. Is there any solution, or any test I can do to try and track it down? Thank you very much!

jollino
Blank Cone
Blank Cone
Posts: 15
Joined: 05 Dec 2007 00:52

Re: Dreambox-like stream doesn't work (no TS demux?), with logs

Postby jollino » 14 Dec 2007 01:46

Using wget, I downloaded some piece of a stream that VLC didn't open. It doesn't open the dumped stream either, while mplayerosx (and mpegstreamclip) seem to be opening it -- the problem with mplayer is that it's VERY sluggish, so it's not an option. If you open this in VLC and keep an eye on the messages window, you can see pretty much what I get live. Hopefully some developer will be able to have a look at it. Here is the dump: http://sogno.net/tmp/stream.ts.
Note that it's not really a matter of "waiting it out": earlier today I let vlc try to catch on a stream for over ten minutes, but nothing ever appeared.

Thank you in advance. :)

windsok
New Cone
New Cone
Posts: 4
Joined: 09 Feb 2008 12:33

Re: Dreambox-like stream doesn't work (no TS demux?), with logs

Postby windsok » 09 Feb 2008 12:49

I have the exact same issue as described above by jollino.

I have a dreambox which is connected to my Foxtel Satellite TV service (Australia).

I have tested this with VLC 0.86d on both Mac OS X and Windows XP.

When i try to play the mpeg2 transport stream coming from the dreambox VLC just sits there downloading, but never displays any video, or plays any audio.

However if i stream the audio component only, it works fine, so the problem seems to be with the video component.

I have managed to get mplayer to successfully play the stream, I had the same problem as jollino with a jerky picture etc with mplayer, but I have got it working 100% perfectly by using the mad decoder for audio:

mplayer -ac mad -vf pp=lb -cache 2000 "$(wget -q -O - http://root:dreambox@192.168.1.64/video.m3u)"

However I would really like to get this working in VLC, as that is my preferred application.

I used mplayer to dump a sample to a .ts file, VLC still refuses to play this file, just like it does when streaming it. But maybe someone can use the .ts file to do some debugging and see what is going on? mplayer can play this file fine.

Download the .ts here - http://www.2shared.com/file/2821909/e4551b4d/test.html

Thanks Everyone!

Cheers.

windsok
New Cone
New Cone
Posts: 4
Joined: 09 Feb 2008 12:33

Re: Dreambox-like stream doesn't work (no TS demux?), with logs

Postby windsok » 09 Feb 2008 12:56

I dont know how to get logs out of VLC, but this is what mplayer shows in the console when you play the stream:

Code: Select all

computer:~ windsok$ mplayer -ac mad -vf pp=lb -cache 2000 "$(wget -q -O - http://root:dreambox@192.168.1.64/video.m3u)" MPlayer 1.0rc1-4.0.1 (C) 2000-2006 MPlayer Team CPU: Genuine Intel(R) CPU T2300 @ 1.66GHz (Family: 6, Model: 14, Stepping: 8) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 98 audio & 216 video codecs Playing http://192.168.1.64:31339/0,0441,0439,043a. Resolving 192.168.1.64 for AF_INET6... Couldn't resolve name for AF_INET6: 192.168.1.64 Connecting to server 192.168.1.64[192.168.1.64]: 31339... Cache size set to 2000 KBytes Cache fill: 10.80% (221184 bytes) TS file format detected. VIDEO MPEG2(pid=1081) AUDIO MPA(pid=1082) NO SUBS (yet)! PROGRAM N. 0 VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 15000.0 kbps (1875.0 kbyte/s) Opening video filter: [pp=lb] Opening video filter: [scale] ========================================================================== Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES) [PP] Using external postprocessing filter, max q = 6. Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp. VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2)) ========================================================================== ========================================================================== Forced audio codec: mad Opening audio decoder: [libmad] libmad mpeg audio decoder AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000) Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3) ========================================================================== AO: [macosx] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12) [PP] Using external postprocessing filter, max q = 6. VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. SwScaler: reducing / aligning filtersize 1 -> 4 SwScaler: reducing / aligning filtersize 1 -> 4 SwScaler: reducing / aligning filtersize 1 -> 1 SwScaler: reducing / aligning filtersize 5 -> 4 SwScaler: BICUBIC scaler, from yuv420p to yuyv422 using MMX2 SwScaler: using 4-tap MMX scaler for horizontal luminance scaling SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling SwScaler: using n-tap MMX scaler for vertical scaling (BGR) SwScaler: 720x576 -> 720x576 VO: [macosx] 720x576 => 1024x576 Packed YUY2 A:17526.4 V:17526.4 A-V: -0.027 ct: -0.717 183/183 9% 21% 2.1% 0 0 16%

windsok
New Cone
New Cone
Posts: 4
Joined: 09 Feb 2008 12:33

Re: Dreambox-like stream doesn't work (no TS demux?), with logs

Postby windsok » 09 Feb 2008 13:07

ok, i figured out how to get logs from VLC :D

Code: Select all

glenn-thomas-computer:MacOS glennthomas$ ./VLC -vv http://192.168.1.64:31339/0,0441,0439,043a [00000001] main private debug: opening config file /Users/glennthomas/Library/Preferences/VLC/vlcrc [00000001] main private debug: checking builtin modules [00000001] main private debug: checking plugin modules [00000001] main private debug: loading plugins cache file /Users/glennthomas/Library/Preferences/VLC/cache/plugins-04041e.dat [00000001] main private debug: recursively browsing `./modules' [00000001] main private debug: recursively browsing `/usr/local/lib/vlc' [00000001] main private debug: recursively browsing `./plugins' [00000001] main private debug: module bank initialized, found 210 modules [00000001] main private debug: opening config file /Users/glennthomas/Library/Preferences/VLC/vlcrc [00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU [00000001] main private debug: looking for memcpy module: 3 candidates [00000001] main private debug: using memcpy module "memcpymmxext" [00000273] main playlist debug: waiting for thread completion [00000273] main playlist debug: thread 2953318400 (playlist) created at priority -47 (playlist/playlist.c:184) [00000274] main private debug: waiting for thread completion [00000274] main private debug: thread 2953850880 (preparser) created at priority -47 (playlist/playlist.c:210) [00000275] main interface debug: looking for interface module: 1 candidate [00000275] main interface debug: using interface module "hotkeys" [00000275] main interface debug: thread 2954383360 (interface) created at priority -47 (interface/interface.c:198) [00000273] main playlist debug: adding playlist item `http://192.168.1.64:31339/0,0441,0439,043a' ( http://192.168.1.64:31339/0,0441,0439,043a ) [00000277] main interface debug: looking for interface module: 3 candidates [00000277] main interface debug: using interface module "macosx" [00000277] main interface debug: thread 2954915840 (manage) created at priority -47 (interface/interface.c:164) [00000273] main playlist debug: nothing requested, starting [00000273] main playlist debug: creating new input thread [00000278] main input debug: waiting for thread completion [00000278] main input debug: thread 2955558912 (input) created at priority 37 (input/input.c:265) [00000278] main input debug: creating statistics handler [00000278] main input debug: `http://192.168.1.64:31339/0,0441,0439,043a' gives access `http' demux `' path `192.168.1.64:31339/0,0441,0439,043a' [00000278] main input debug: creating demux: access='http' demux='' path='192.168.1.64:31339/0,0441,0439,043a' [00000280] main demuxer debug: looking for access_demux module: 0 candidates [00000280] main demuxer warning: no access_demux module matched "http" [00000278] main input debug: creating access 'http' path='192.168.1.64:31339/0,0441,0439,043a' [00000281] main access debug: looking for access2 module: 8 candidates [00000281] access_http access debug: http: server='192.168.1.64' port=31339 file='/0,0441,0439,043a [00000281] main access debug: net: connecting to 192.168.1.64 port 31339 [00000281] main access debug: connection in progress [00000281] access_http access debug: protocol 'HTTP' answer code 200 [00000281] access_http access debug: Server: streamts (ts) [00000281] main access debug: using access2 module "access_http" [00000283] main private debug: pre-buffering... [00000283] main private debug: received first data for our buffer [00000277] macosx interface debug: input has changed, refreshing interface [00000283] main private debug: pre-buffering done 55592 bytes in 0s - 504 kbytes/s [00000278] main input debug: creating demux: access='http' demux='' path='192.168.1.64:31339/0,0441,0439,043a' [00000284] main demuxer debug: looking for demux2 module: 44 candidates [00000284] main demuxer debug: using demux2 module "ts" [00000284] ts demuxer debug: DEMUX_SET_GROUP 0 0x0 [00000278] main input debug: `http://192.168.1.64:31339/0,0441,0439,043a' successfully opened [00000284] ts demuxer debug: pid[1081] unknown libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 0) for PID 0 [00000284] ts demuxer debug: PATCallBack called [00000284] ts demuxer debug: new PAT ts_id=15 version=30 current_next=1 [00000284] ts demuxer debug: * number=0 pid=16 [00000284] ts demuxer debug: * number=15001 pid=1019 [00000284] ts demuxer debug: * number=15002 pid=1029 [00000284] ts demuxer debug: * number=15003 pid=1039 [00000284] ts demuxer debug: * number=15004 pid=1049 [00000284] ts demuxer debug: * number=15005 pid=1059 [00000284] ts demuxer debug: * number=15006 pid=1069 [00000284] ts demuxer debug: * number=15007 pid=1079 [00000284] ts demuxer debug: * number=15008 pid=1089 [00000284] ts demuxer debug: * number=15009 pid=1099 [00000284] ts demuxer debug: * number=15010 pid=1109 [00000284] ts demuxer debug: pid[1082] unknown
Then it just sits there still downloading over the network, but not displaying anything

jollino
Blank Cone
Blank Cone
Posts: 15
Joined: 05 Dec 2007 00:52

Re: Dreambox-like stream doesn't work (no TS demux?), with logs

Postby jollino » 27 Feb 2008 01:57

I'm glad to know I'm not the only one with this issue. I have been using MPlayer too, albeit with a less comfortable way: an applescript downloads video.m3u and copies its contents to the clipboard, so I can paste the URL into MPlayer OS X. This is because mplayer doens't allow selection of audio track on the fly (about the only reason I'd prefer to use VLC), and plays them all together or takes the first one (which might not be what I want; I am not sure why the behavior changes randomly, so I have to "count" the audio tracks from the URL and remove all but what I need. Quite messy, I tell you.

The weird thing is that it works on and off, sometimes it's perfect and other times it just doesn't work, without a pattern.
Another thing I noticed is that connecting to port 31338 (not 31339) using the apid OR the vpid as the resource (e.g. http://1.2.3.4:31338/29f) shows the video OR plays the audio. I have no idea if it's possible to multiplex them on port 31338... that would be perfect.

Just wondering: what decoder do you have? The Dreambox DM500 I got for my parents seems to work fine. I admit I'm tempted to sell the ipbox 350S and get a dreambox DM600 for this reason, as I am seldom where I have the ipbox and I'd like to watch tv through the network...

FlorianO
New Cone
New Cone
Posts: 5
Joined: 01 Mar 2008 20:58

Re: Dreambox-like stream doesn't work (no TS demux?), with logs

Postby FlorianO » 01 Mar 2008 21:04

Hello all,

I encounter the _exact_ same problems with a DM500 running Gemini 4.20 image (Gemini_420_DM500_17122007.img). The tricky thing is that watching the stream is a hit or miss thing, and it depends on which channel I'm trying to watch (some don't work at all).

Any idea on how to investigate / debug this further ? Apparently VLC has a hard time demuxing the stream coming from the DM500. I've tried this on VLC version 0.8.5 and 0.8.6d on Windows but would happily dig this on a more "appropriate" platform (if it would help).

TIA,

Florian

FlorianO
New Cone
New Cone
Posts: 5
Joined: 01 Mar 2008 20:58

Re: Dreambox-like stream doesn't work (no TS demux?), with logs

Postby FlorianO » 01 Mar 2008 21:54

A few more details (vlc 0.8.4 on Linux):
When attempting to open the stream vlc aborts with smth like:

root@D620:~/Desktop# vlc http://192.168.1.99:31339/0,0024,0320,0321
VLC media player 0.8.4 Janus
libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 0) for PID 0
[00000261] main playlist: stopping playback

A bit more detailed output:
...
[00000274] main private debug: pre buffering
[00000274] main private debug: received first data for our buffer
[00000274] main private debug: prebuffering done 40880 bytes in 0s - 235 kbytes/s
[00000270] main input debug: creating demux: access='http' demux='' path='192.168.1.99:31339/0,0024,0320,0321'
[00000275] main demuxer debug: looking for demux2 module: 41 candidates
[00000155] main module debug: using demux2 module "ts"
[00000275] ts demuxer debug: DEMUX_SET_GROUP 0 (nil)
[00000270] main input debug: `http://192.168.1.99:31339/0,0024,0320,0321' successfully opened
[00000275] ts demuxer debug: pid[800] unknown
[00000275] ts demuxer debug: pid[801] unknown
libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 0) for PID 0
[00000275] ts demuxer debug: PATCallBack called
[00000275] ts demuxer debug: new PAT ts_id=2 version=4 current_next=1
[00000275] ts demuxer debug: * number=0 pid=16
[00000275] ts demuxer debug: * number=201 pid=44
[00000275] ts demuxer debug: * number=204 pid=35
[00000275] ts demuxer debug: * number=401 pid=33
[00000275] ts demuxer debug: * number=402 pid=38
[00000275] ts demuxer debug: * number=906 pid=39
[00000275] ts demuxer debug: * number=229 pid=40
[00000275] ts demuxer debug: * number=230 pid=41
[00000275] ts demuxer debug: * number=303 pid=34
[00000275] ts demuxer debug: * number=403 pid=36
[00000275] ts demuxer debug: * number=408 pid=37
[00000275] ts demuxer debug: * number=411 pid=42
[00000275] ts demuxer debug: * number=1024 pid=258
[00000275] ts demuxer warning: lost synchro
[00000275] ts demuxer debug: skipping 80 bytes of garbage
[00000001] main vlc debug: removing all interfaces
...

Any advice would be highly appreciated.

TIA,

Florian

P.S. Opening the stream with MPlayer 1.0-rc1 as posted above works perfectly.

jollino
Blank Cone
Blank Cone
Posts: 15
Joined: 05 Dec 2007 00:52

Re: Dreambox-like stream doesn't work (no TS demux?), with logs

Postby jollino » 02 Mar 2008 10:43

Okay, it seems like the problem is more common than I thought. I recently got ahold of a Dreambox DM500 (original, not a clone) to use in another room, and I loaded Gemini 4.30 on it. The VLC access is unpredictable from that too and I haven't noticed any pattern. The fact that this happens with all models of Dreambox-like receivers and with all sorts of images makes me think that there is some joint issue with Enigma and VLC's DVB module (libdvbpsi), but I'm not sure which is at fault.

Certainly the Dreambox might output malformed data, yet mplayer seems to be able to read it on all platforms. I suppose that the only thing we could do, unless there is a good programmer among us who is able to fix the problem, is to file a bug ticket on both VLC's bugtracking sytem and on Enigma's, if there is one.

I am pretty sure that the problem on the VLC side lies in libdvbpsi (the latest version can be checked out with "svn://svn.videolan.org/libdvbpsi/trunk libdvbpsi-trunk"). According to http://www.videolan.org/developers/libd ... geLog.html, there has been some work going on and both a developer and a patch-submitter seem to know how the internals work. Perhaps we could contact them directly, and we could provide them with some dumped TS stream ("wget http://dreambox:31339/etc" would be enough) so they could make some additional tests.

If you all agree, I can take care of gathering as many details as possible from my setup, which doesn't differ too much form yours, and file a bug ticket on both systems, or try to get in touch with developers of both Enigma and VLC.
In the meantime, I think we should recap what decoders we have, what image we are running on them, and which version of VLC and on which platform we are using. As for me:

IPBox 350S - ABcom 17.10.2007 -- VLC 0.8.6e OS X / Windows XP
Dreambox DM500 - Gemini 4.30 -- VLC 0.8.6e OS X / Windows XP

FlorianO
New Cone
New Cone
Posts: 5
Joined: 01 Mar 2008 20:58

Re: Dreambox-like stream doesn't work (no TS demux?), with logs

Postby FlorianO » 02 Mar 2008 22:29

Completely agree. We can consistently replicate the bug and have enough debugging info to file for a bug. We could detail at length the platforms we're using, but I don't think that is relevant. OTOH a recorded stream that shows the problem should highlight the issue, and in that respect the "test.ts" stream posted above "works" perfectly -- VLC chokes on it whereas mplayer has no problems whatsoever.

So it would be great if you can file the bug and hope we'll get this fixed soon. Please let me know if I can assist with anything, and keep us (i.e. this thread) posted.

TIA,

Florian

jollino
Blank Cone
Blank Cone
Posts: 15
Joined: 05 Dec 2007 00:52

Re: Dreambox-like stream doesn't work (no TS demux?), with logs

Postby jollino » 02 Mar 2008 23:01

I have opened a ticket at https://trac.videolan.org/vlc/ticket/1489, perhaps you could register to VLC's trac and add your own logs / TS file?

I really do hope this gets fixed, I also sent a message to a freelance developer who works on IPboxes...

jollino
Blank Cone
Blank Cone
Posts: 15
Joined: 05 Dec 2007 00:52

Re: Dreambox-like stream doesn't work (no TS demux?), with logs

Postby jollino » 06 Mar 2008 22:37

A developer(?), cmassiot, just changed the status of the bug report to "Bugs paradize". Apparently, that tag applies to "Any bugs that have no definite deadline release."

Sources:
https://trac.videolan.org/vlc/ticket/1489#comment:1
https://trac.videolan.org/vlc/milestone/Bugs%20paradize

FlorianO
New Cone
New Cone
Posts: 5
Joined: 01 Mar 2008 20:58

Re: Dreambox-like stream doesn't work (no TS demux?), with logs

Postby FlorianO » 07 Mar 2008 21:50

Nice to know that somebody is working on it.

I registered to VLC's trac, but apparently I'm not able to _add_ smth to a already submitted bug. I hope the devel's will look/post in this thread for more info, ask for more output or so.

Here's hoping for a quick bug fix.

Sjaaky
New Cone
New Cone
Posts: 3
Joined: 14 Mar 2008 20:16

Re: Dreambox-like stream doesn't work (no TS demux?), with logs

Postby Sjaaky » 14 Mar 2008 20:19

The dm500 doesn't always include the PMT in the transport stream. Therefore vlc doesn't know what to do. Don't know if it's really a vlc bug.

FlorianO
New Cone
New Cone
Posts: 5
Joined: 01 Mar 2008 20:58

Re: Dreambox-like stream doesn't work (no TS demux?), with logs

Postby FlorianO » 14 Mar 2008 23:34

Ok, thanks for the info... Although maybe not a VLC bug, but the de-muxing operation in other players are more robust -- and able to deal with it -- than libdvbpsi

And yes, I'm not particularly proud in __possibly__ advocating supporting a "broken" source, but still...

jollino
Blank Cone
Blank Cone
Posts: 15
Joined: 05 Dec 2007 00:52

Re: Dreambox-like stream doesn't work (no TS demux?), with logs

Postby jollino » 15 Mar 2008 14:33

Indeed, an IPbox developer confirmed to me that the stream sent out by Enigma is not always standard-compliant. However, the PMT information is apparently not strictly needed for the stream to be decoded (see MPlayer), therefore VLC could just go ahead anyway too. In any case, the PMT is given as the second comma-delimited parameter in the URL (I'm not sure how exactly MPlayer deals with that).

strat
New Cone
New Cone
Posts: 1
Joined: 03 Mar 2008 20:47

Re: Dreambox-like stream doesn't work (no TS demux?), with logs

Postby strat » 08 Apr 2008 21:44

I'd just like to add that I'm experiencing the same problem as jollino and windsok, and have confirmed it with 0.86d on both Windows XP SP2 and Mac OS X 10.4.11.

Interestingly, there was a time in the past year when VLC did work with the Dreamboxes. I know that back in 2006 there was at least one instance where a change broke compatibility too.

I haven't tried different Dreambox images, as I don't think the transport stream encoding will vary appreciably between them, though the web interface that launches VLC certainly can.

If anyone wants more test data from a third site, I'm happy to provide it.

jollino
Blank Cone
Blank Cone
Posts: 15
Joined: 05 Dec 2007 00:52

Re: Dreambox-like stream doesn't work (no TS demux?), with logs

Postby jollino » 12 Apr 2008 22:33

strat, please add your report to https://trac.videolan.org/vlc/ticket/1489 ... perhaps some coder will consider it a little more (even though VLC is free so we can't expect any timeframe).

As for the web interface launching VLC, all it does it making it open /video.m3u; in theory, VLC should open and play the live stream simply by having it access http://root:dreambox@1.2.3.4/video.m3u -- replacing dreambox with your password and 1.2.3.4 with the dreambox's IP.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests