Kodi Community Forum
XBMC Tuxbox Enigma Stream Client (Enigma / Enigma2 Based Dreambox & Dbox2) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: XBMC Tuxbox Enigma Stream Client (Enigma / Enigma2 Based Dreambox & Dbox2) (/showthread.php?tid=23834)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47


- mkortstiege - 2010-08-06

Please stop double posting. File a new bug report (trac.xbmc.org) and i'll see if i can handle it.


- rtrimarchi - 2010-08-06

sorry Blush

was just asking for help, but didnt know if this was the right subforum to use.... Huh


- rtrimarchi - 2010-08-06

vdrfan Wrote:Please stop double posting. File a new bug report (trac.xbmc.org) and i'll see if i can handle it.

Just opened Rolleyes

hopefully (since I have never opened one before) I gave all the needed info on it.

Hope you can help.....

I'm sure you will Nod

THANKS THANKS THANKS Nod

The XBMC addicted Laugh


[MAC] Tuxbox Channel switching random problem - nobody.loopback - 2010-08-07

I just started to use xbmc on a MacMini late 2009 together with a DM500 which has a pli image installed.

The dm500 streams ok with zapstream to all my other machines, however, I never tried xbmc.

Now, when I try to switch channels, it may or may not work. Most of the time xbmc displays nothing, or, hangs.

The situation improved when I used a current nightly build, but still, after 1 or 2 switches, no TV signal is displayed, instead the box behaves, like it wants to playback an mp3.

I downloaded the current trunk as of today, and tried to find out, what is happening.

It looks, like the demuxer in unable to detect the correct format most of the times, It depends on the channel, but, there are no channels which I can be sure that it will work.

Finally I decided to make a rude workaround which works very nice, 100% of all channels are now ok (and, everything else does still work!).

in:
XBMC/utils/TuxBoxUtil.cpp, about line: 629:
it reads:
Code:
items.SetMimeType("video/x-ms-asf");
I replaced this with
Code:
items.SetMimeType("video/x-mpegts");

I think it does not make much sense to set "video/x-ms-asf", since satelllite broadcast is mpegts anyway.

in:
xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp: about line: 270, it reads:
Code:
if( m_pInput->GetContent().length() > 0 )
  {  
    std::string content = m_pInput->GetContent();

    /* check if we can get a hint from content */
    if     ( content.compare("video/x-vobsub") == 0 )
      iformat = m_dllAvFormat.av_find_input_format("mpeg");
    else if( content.compare("video/x-dvd-mpeg") == 0 )
      iformat = m_dllAvFormat.av_find_input_format("mpeg");
  }

I replaced this with:
Code:
if( m_pInput->GetContent().length() > 0 )
  {  
    std::string content = m_pInput->GetContent();

    /* check if we can get a hint from content */
    if     ( content.compare("video/x-vobsub") == 0 )
      iformat = m_dllAvFormat.av_find_input_format("mpeg");
    else if( content.compare("video/x-dvd-mpeg") == 0 )
      iformat = m_dllAvFormat.av_find_input_format("mpeg");
    else if( content.compare("video/x-mpegts") == 0 )
    {
      CLog::Log(LOGDEBUG, "detected mpegts");
      iformat = m_dllAvFormat.av_find_input_format("mpegts");
    }
  }

Built xbmc, and now, I am very happy switching channels.

Dont know, if others have a similar problem (it might be related to the box ?), or if something will break if this fix would be included in the code of XBMC, because I just started to use it.

Maybe, someone who is used to the code could have a look at it ?

Thanks.
N.


- sternchen66681 - 2010-08-09

Hello from Germany!

I have also the same problem, my dBox2 Streams the TV Show to my XBMC but one Zap to other Channel -> Nothing! Sometimes there is some sound, but it is so bad that you can't understand one think...


- nobody.loopback - 2010-08-09

maybe this is related ?
http://forum.xbmc.org/showthread.php?tid=78597


- mkortstiege - 2010-08-10

Looks fine to me. Please file a new ticket (trac.xbmc.org) and attach the diff.


- nobody.loopback - 2010-08-10

Thanks.

I submitted this as: Ticket #9852

N.


- rtrimarchi - 2010-08-10

svn r32669 should have this fix in it.....

still not released.....

let's hope.....


- rtrimarchi - 2010-08-10

nobody.loopback Wrote:I just started to use xbmc on a MacMini late 2009 together with a DM500 which has a pli image installed.

The dm500 streams ok with zapstream to all my other machines, however, I never tried xbmc.

Now, when I try to switch channels, it may or may not work. Most of the time xbmc displays nothing, or, hangs.

The situation improved when I used a current nightly build, but still, after 1 or 2 switches, no TV signal is displayed, instead the box behaves, like it wants to playback an mp3.

I downloaded the current trunk as of today, and tried to find out, what is happening.

It looks, like the demuxer in unable to detect the correct format most of the times, It depends on the channel, but, there are no channels which I can be sure that it will work.

Finally I decided to make a rude workaround which works very nice, 100% of all channels are now ok (and, everything else does still work!).

in:
XBMC/utils/TuxBoxUtil.cpp, about line: 629:
it reads:
Code:
items.SetMimeType("video/x-ms-asf");
I replaced this with
Code:
items.SetMimeType("video/x-mpegts");

I think it does not make much sense to set "video/x-ms-asf", since satelllite broadcast is mpegts anyway.

in:
xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp: about line: 270, it reads:
Code:
if( m_pInput->GetContent().length() > 0 )
  {  
    std::string content = m_pInput->GetContent();

    /* check if we can get a hint from content */
    if     ( content.compare("video/x-vobsub") == 0 )
      iformat = m_dllAvFormat.av_find_input_format("mpeg");
    else if( content.compare("video/x-dvd-mpeg") == 0 )
      iformat = m_dllAvFormat.av_find_input_format("mpeg");
  }

I replaced this with:
Code:
if( m_pInput->GetContent().length() > 0 )
  {  
    std::string content = m_pInput->GetContent();

    /* check if we can get a hint from content */
    if     ( content.compare("video/x-vobsub") == 0 )
      iformat = m_dllAvFormat.av_find_input_format("mpeg");
    else if( content.compare("video/x-dvd-mpeg") == 0 )
      iformat = m_dllAvFormat.av_find_input_format("mpeg");
    else if( content.compare("video/x-mpegts") == 0 )
    {
      CLog::Log(LOGDEBUG, "detected mpegts");
      iformat = m_dllAvFormat.av_find_input_format("mpegts");
    }
  }


Built xbmc, and now, I am very happy switching channels.

Dont know, if others have a similar problem (it might be related to the box ?), or if something will break if this fix would be included in the code of XBMC, because I just started to use it.

Maybe, someone who is used to the code could have a look at it ?

Thanks.
N.


nobody.loopback,
hopefully you can help on this problem too ... Sad

http://forum.xbmc.org/showthread.php?tid=78268&highlight=tuxbox

Can you give it a look Huh

Not many people use xbmc with dm500 here.... Sad

My programming skills are very little Oo

Thanks in advance... Wink


- nobody.loopback - 2010-08-11

I dont use VLC for playback.
anyway, the new version of the tuxbox client for the dbox/dreambox uses not streamts but zapstream.

zapstream has some major advantages:
- is able to continue viewing even if a channel change occurs
- you dont need to specify an exact url containing the video and audio pids, instead, you can just say: give me the stream, whatever channel is tuned
- zapstream kills itself when the connection is terminated. streamts might continue to send, even if nobody is listening, which might lead to memory problems in the os of the box.

so, zapstream is preferred. Even on a DM500 zapstream can reliable stream a movie.

the URL of zapstream is:
http://ip.of.the.box:31344
regardless, what channel is tuned.
you can also add a request to prefer a specified language by appending:
/langpid=0x????
I dont know, why this does not work with VLC.
It will work with VLC, if you omit the /langpid=0x???? parameter.

I think xbmc tries to figure out, if zapstream is avaialible, and, should fall back to streamts, if zapstream is not availible.

I dont know If your box has zapstream. But, if you have a dreambox, you can install it by using an image from http://www.pli-images.org.
It is even possible to install this in a dbox image.But, I dont have a dbox any more, so I cant give you directions for this.


- sternchen66681 - 2010-08-11

Hi nobody.loopback,

my XBMC is runing under Windows. My problem is right now that I can't find TuxBoxUtil.cpp and DVDDemuxFFmpeg.cpp. Is that because of my OS?


- mkortstiege - 2010-08-11

Those files are SOURCE files, so there's nothing to find in your XBMC installation. Just grab a fresh copy from http://mirrors.xbmc.org/nightlies/win32/ and report back if it fixed your issue.


Hi vdrfan, - sternchen66681 - 2010-08-12

thx, i was searching all over Eek!

Is in this build a channel switch fix (xbmc-r32198-Dharma.exe)?


- nobody.loopback - 2010-08-12

Sternchen,
the version 32198 is rather old, it is dated 27 July 2010.
try the "xbmc-r32693-Dharma.exe", this is from 11 Aug. 2010.