Playing Dreambox .TS files?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
pasurimi Offline
Junior Member
Posts: 8
Joined: May 2008
Reputation: 0
Post: #16
Crocodile Wrote:...But browsing the dreambox got broken instead.
You mean browsing it with Filemanager or with Enigma2v0.1 plugin?
find quote
Crocodile Offline
Junior Member
Posts: 22
Joined: May 2008
Reputation: -10
Location: Varberg
Post: #17
Built a new version and now browsing works again.. streaming is still broken Sad
find quote
Crocodile Offline
Junior Member
Posts: 22
Joined: May 2008
Reputation: -10
Location: Varberg
Post: #18
I have found the problem why streaming does not work.
streamts (the streaming server on the dreambox) does not like when XBMC send http HEAD request. actually any HTTP request that streamts is not ready to stream with will will make streamts hang for an undetermined time, usually about 10 seconds.

Workaround:
XBMC/xbmc/FileSystem/FileCurl.cpp on line 670
if(m_url.Left(5).Equals("http:") || m_url.Left(6).Equals("https:"))

if you make this if statement fail if for instance there was m_url.Port we could skip this if the port is 31339 (default streamts port).
Currently I just make it fail but I guess other things will break Smile
find quote
pasurimi Offline
Junior Member
Posts: 8
Joined: May 2008
Reputation: 0
Post: #19
My primitive but perfectly functioning (without any any file-modifications) method to stream from Dreambox to XBMC:

- connect to the webinterface of Dreambox using a browser like Firefox
- generate an save (e.g. on dektop) different stream*.m3u files of your desired services (channels)
- simply open this stream*.m3u files with XBMCs filemanager and enjoy a perfect streamingNod

But this is not an elegant method -that's why i'm tryig to get Enigma2v0.1 plugin to stream from 7025 but still not succeeded. Can somebody help on this?
find quote
Crocodile Offline
Junior Member
Posts: 22
Joined: May 2008
Reputation: -10
Location: Varberg
Post: #20
I made a patch for the linux version to make tuxbox client work. it's much better Smile

Apply my patch and got video and add source.. choose browse and select tuxbox client instead of SMB. Then add IP user/pw to the dreambox and bom, you can now browse and play your favorite channels. Much better then going via firefox I think.

Patch is located at: http://sourceforge.net/tracker/index.php...tid=581840

Let me know if it works for you Smile
find quote
pt-1 Offline
Senior Member
Posts: 175
Joined: Aug 2006
Reputation: 0
Post: #21
Crocodile Wrote:I made a patch for the linux version to make tuxbox client work. it's much better Smile

Apply my patch and got video and add source.. choose browse and select tuxbox client instead of SMB. Then add IP user/pw to the dreambox and bom, you can now browse and play your favorite channels. Much better then going via firefox I think.

Patch is located at: http://sourceforge.net/tracker/index.php...tid=581840

Let me know if it works for you Smile

Enigma or Neutrino ..?
find quote
Crocodile Offline
Junior Member
Posts: 22
Joined: May 2008
Reputation: -10
Location: Varberg
Post: #22
Enigma is what I am using.
find quote
Locutus73 Offline
Junior Member
Posts: 18
Joined: Jan 2007
Reputation: 0
Post: #23
Hi.
I made a XBMC plugin for streaming live TV from Dreamboxes with Enigma2.
This plugin replaces my old Enigma2v0.1 script no longer working (Enigma2 web interface is changed).
Here's the release thread [RELEASE] Enigma2 plugin
This script works seamlessly on my XBOX, but doesn't plays http ts streams on my macbook (OSX 10.4.11 - XBMC 8.10 bf1:ATLANTIS).

Here's some logs from my Mac when trying to open a stream

Code:
===== sabato 17 gennaio 2009 19:09:36 Europe/Rome =====
19:09:40 T:2684407808 M:1090670592  NOTICE: DVDPlayer: Opening: http://192.168.0.254:8001/1:0:1:1FBA:189C:FBFF:820000:0:0:0:
19:09:40 T:2684407808 M:1090678784 WARNING: CDVDMessageQueue::Put MSGQ_NOT_INITIALIZED
19:09:40 T:45900288 M:1090674688  NOTICE: Creating InputStream
19:09:41 T:45900288 M:1074765824  NOTICE: Creating Demuxer
19:09:42 T:45900288 M:1074286592  NOTICE: Opening audio stream: 0 source: 256
19:09:42 T:45900288 M:1074286592  NOTICE: Finding audio codec for: 86016
19:09:42 T:45900288 M:1074245632  NOTICE: Creating audio thread
19:09:42 T:44048384 M:1074237440  NOTICE: running thread: CDVDPlayerAudio::Process()
19:10:02 T:45900288 M:1073647616  NOTICE: CDVDPlayer::OnExit()
19:10:02 T:45900288 M:1073655808  NOTICE: DVDPlayer: eof, waiting for queues to empty
19:10:02 T:45900288 M:1073655808  NOTICE: DVDPlayer: closing audio stream
19:10:02 T:45900288 M:1073655808  NOTICE: Closing audio stream
19:10:02 T:45900288 M:1073655808  NOTICE: waiting for audio thread to exit
19:10:02 T:44048384 M:1073655808  NOTICE: Closing audio device
19:10:02 T:44048384 M:1073655808  NOTICE: thread end: CDVDPlayerAudio::OnExit()
19:10:02 T:45900288 M:1073664000  NOTICE: Deleting audio codec
19:10:02 T:45900288 M:1073696768  NOTICE: CDVDPlayer::OnExit() deleting demuxer
19:10:02 T:45900288 M:1073696768  NOTICE: CDVDPlayer::OnExit() deleting input stream
19:10:02 T:2684407808 M:1090125824  NOTICE: CDVDPlayer::CloseFile()
19:10:02 T:2684407808 M:1090125824 WARNING: CDVDMessageQueue::Put MSGQ_NOT_INITIALIZED
19:10:02 T:2684407808 M:1090125824  NOTICE: DVDPlayer: waiting for threads to exit
19:10:02 T:2684407808 M:1090154496  NOTICE: DVDPlayer: finished waiting

EDIT
I've just checked under WinXP: same results, with the same logs.
(This post was last modified: 2009-01-18 00:05 by Locutus73.)
find quote
mini__me Offline
Junior Member
Posts: 27
Joined: Jun 2009
Reputation: 0
Post: #24
Hi Locutus73,

I have installed your plugin under windows and cannot play as above using your plugin from my DM800, is there a fix for this as the plugin looks exactly what I need as it shows all bouquets and even now showing epg :-) Just doesn't play :-(
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #25
Locutus73 Wrote:Hi.
I made a XBMC plugin for streaming live TV from Dreamboxes with Enigma2.
This plugin replaces my old Enigma2v0.1 script no longer working (Enigma2 web interface is changed).
Here's the release thread [RELEASE] Enigma2 plugin
This script works seamlessly on my XBOX, but doesn't plays http ts streams on my macbook (OSX 10.4.11 - XBMC 8.10 bf1:ATLANTIS).

Here's some logs from my Mac when trying to open a stream

Code:
===== sabato 17 gennaio 2009 19:09:36 Europe/Rome =====
19:09:40 T:2684407808 M:1090670592  NOTICE: DVDPlayer: Opening: http://192.168.0.254:8001/1:0:1:1FBA:189C:FBFF:820000:0:0:0:
19:09:40 T:2684407808 M:1090678784 WARNING: CDVDMessageQueue::Put MSGQ_NOT_INITIALIZED
19:09:40 T:45900288 M:1090674688  NOTICE: Creating InputStream
19:09:41 T:45900288 M:1074765824  NOTICE: Creating Demuxer
19:09:42 T:45900288 M:1074286592  NOTICE: Opening audio stream: 0 source: 256
19:09:42 T:45900288 M:1074286592  NOTICE: Finding audio codec for: 86016
19:09:42 T:45900288 M:1074245632  NOTICE: Creating audio thread
19:09:42 T:44048384 M:1074237440  NOTICE: running thread: CDVDPlayerAudio::Process()
19:10:02 T:45900288 M:1073647616  NOTICE: CDVDPlayer::OnExit()
19:10:02 T:45900288 M:1073655808  NOTICE: DVDPlayer: eof, waiting for queues to empty
19:10:02 T:45900288 M:1073655808  NOTICE: DVDPlayer: closing audio stream
19:10:02 T:45900288 M:1073655808  NOTICE: Closing audio stream
19:10:02 T:45900288 M:1073655808  NOTICE: waiting for audio thread to exit
19:10:02 T:44048384 M:1073655808  NOTICE: Closing audio device
19:10:02 T:44048384 M:1073655808  NOTICE: thread end: CDVDPlayerAudio::OnExit()
19:10:02 T:45900288 M:1073664000  NOTICE: Deleting audio codec
19:10:02 T:45900288 M:1073696768  NOTICE: CDVDPlayer::OnExit() deleting demuxer
19:10:02 T:45900288 M:1073696768  NOTICE: CDVDPlayer::OnExit() deleting input stream
19:10:02 T:2684407808 M:1090125824  NOTICE: CDVDPlayer::CloseFile()
19:10:02 T:2684407808 M:1090125824 WARNING: CDVDMessageQueue::Put MSGQ_NOT_INITIALIZED
19:10:02 T:2684407808 M:1090125824  NOTICE: DVDPlayer: waiting for threads to exit
19:10:02 T:2684407808 M:1090154496  NOTICE: DVDPlayer: finished waiting

EDIT
I've just checked under WinXP: same results, with the same logs.


pastebin (http://www.pastebin.com) the FULL xbmc.log please. There's other info that might be important.

Comparisons to the XBox are useless, the Xbox uses mplayer for video playback, XBMC on osx/linux/windows uses it's internal player and ffmpeg for playback.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
mini__me Offline
Junior Member
Posts: 27
Joined: Jun 2009
Reputation: 0
Post: #26
http://pastebin.com/m7459962f

As it tries to play it, it thinks it's audio as you can see from the log.

Cheers

mini
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #27
mini__me Wrote:http://pastebin.com/m7459962f

As it tries to play it, it thinks it's audio as you can see from the log.

Cheers

mini

Not a clue why. I'd need a sample of the video content it see why.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
mini__me Offline
Junior Member
Posts: 27
Joined: Jun 2009
Reputation: 0
Post: #28
Hmmm not sure how to do that as it's streaming from the Dreambox. Steaming works with my enigma1 based DM500 added as a tuxbox client.

Any ideas as to how to get you a sample?
find quote
Post Reply