Hello guys,
I’m currently (trying to) develop a Dreambox-plugin for Plex.
The Dreambox is a linux-based PVR/TV receiver that allows playback of live TV via streaming.
An example URL of a stream coming from the Dreambox looks like this:
http://10.0.0.2:8001/1:0:1:4E25:1BA:1:F2FF01EA:0:0:0:
VLC has no issues with this URL.
When I put the URL in a .strm file and open it in Plex, it fails to get the stream and apparently falls back to music playback:
08:05:31 T:2689230144 M:1955368960 NOTICE: DVDPlayer: Opening: http://127.0.0.1:32400/library/parts/1/test<br />
08:05:31 T:2689230144 M:1955368960 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED<br />
08:05:31 T:2963853312 M:1955352576 NOTICE: PlexDirectory::GetDirectory(http://127.0.0.1:32400/library/metadata/1)<br />
08:05:31 T:2963853312 M:1955319808 NOTICE: Creating InputStream<br />
08:05:31 T:2963853312 M:1935806464 NOTICE: Creating Demuxer<br />
08:05:31 T:2963853312 M:1935806464 NOTICE: Aggregate bitrate = 0, file bitrate = 0.<br />
08:05:31 T:2963853312 M:1935806464 ERROR: Get - failed to get stream <br />
08:05:31 T:2963853312 M:1935634432 NOTICE: Opening audio stream: 0 source: 256<br />
08:05:31 T:2963853312 M:1935634432 NOTICE: Finding audio codec for: 86016<br />
08:05:31 T:2963853312 M:1935634432 NOTICE: Creating audio thread<br />
08:05:31 T:2970243072 M:1935626240 NOTICE: running thread: CDVDPlayerAudio::Process()<br />
08:05:31 T:2689230144 M:1935626240 WARNING: Skin has invalid include: Music_Overlay<br />
08:05:31 T:2689230144 M:1935622144 ERROR: Unable to load /Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, reason: dlopen(/Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, 1): image not found<br />
08:05:31 T:2689230144 M:1931980800 ERROR: Unable to load /Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, reason: dlopen(/Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Pl<br />
08:05:32 T:2963853312 M:1931976704 NOTICE: Closing audio stream<br />
08:05:32 T:2963853312 M:1931976704 NOTICE: Waiting for audio thread to exit<br />
08:05:32 T:2970243072 M:1931976704 NOTICE: thread end: CDVDPlayerAudio::OnExit()<br />
08:05:32 T:2963853312 M:1931984896 NOTICE: Closing audio device<br />
08:05:32 T:2963853312 M:1931984896 NOTICE: Deleting audio codec<br />
08:05:32 T:2963853312 M:1931984896 NOTICE: Opening audio stream: 0 source: 256<br />
08:05:32 T:2963853312 M:1931984896 NOTICE: Finding audio codec for: 86062<br />
08:05:32 T:2963853312 M:1931984896 NOTICE: Creating audio thread<br />
08:05:32 T:2970243072 M:1931976704 NOTICE: running thread: CDVDPlayerAudio::Process()<br />
08:05:32 T:2689230144 M:1931976704 ERROR: Unable to load /Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, reason: dlopen(/Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, 1): image not found<br />
08:05:32 T:2689230144 M:1931976704 ERROR: Unable to load /Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, reason: dlopen(/Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, 1): image not found<br />
08:05:32 T:2689230144 M:1931976704 ERROR: Unable to load /Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, reason: dlopen(/Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, 1): image not found<br />
08:05:32 T:2689230144 M:1931976704 ERROR: Unable to load /Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, reason: dlopen(/Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, 1): image not found<br />
08:05:32 T:2689230144 M:1931976704 ERROR: Unable to load /Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, reason: dlopen(/Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, 1): image not found<br />
08:05:32 T:2689230144 M:1931976704 ERROR: Unable to load /Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, reason: dlopen(/Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, 1): image not found<br />
08:05:32 T:2689230144 M:1931976704 ERROR: Unable to load /Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, reason: dlopen(/Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, 1): image not found<br />
<br />
08:05:32 T:2963853312 M:1936195584 NOTICE: waiting for video thread to exit<br />
08:05:32 T:2963853312 M:1936195584 NOTICE: deleting video codec<br />
08:05:32 T:2963853312 M:1936195584 NOTICE: Waiting for audio thread to exit<br />
08:05:32 T:2970243072 M:1936195584 NOTICE: thread end: CDVDPlayerAudio::OnExit()<br />
08:05:32 T:2963853312 M:1936203776 NOTICE: Closing audio device<br />
08:05:32 T:2963853312 M:1936203776 NOTICE: Deleting audio codec<br />
08:05:32 T:2963853312 M:1936203776 NOTICE: CDVDPlayer::OnExit()<br />
08:05:32 T:2963853312 M:1936203776 NOTICE: DVDPlayer: closing audio stream<br />
08:05:32 T:2963853312 M:1936203776 NOTICE: Closing audio stream<br />
08:05:32 T:2963853312 M:1936203776 NOTICE: Waiting for audio thread to exit<br />
08:05:32 T:2689230144 M:1936203776 ERROR: Unable to load /Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, reason: dlopen(/Applications/Plex.app/Contents/Resources/Plex/visualisations/Now Playing.vis, 1): image not found<br />
08:05:32 T:2963853312 M:1936203776 NOTICE: Closing audio device<br />
08:05:32 T:2963853312 M:1936203776 NOTICE: Deleting audio codec<br />
08:05:32 T:2963853312 M:1936203776 NOTICE: CDVDPlayer::OnExit() deleting demuxer<br />
08:05:32 T:2963853312 M:1936203776 NOTICE: CDVDPlayer::OnExit() deleting input stream<br />
08:05:32 T:2689230144 M:1951961088 NOTICE: CDVDPlayer::CloseFile()<br />
08:05:32 T:2689230144 M:1951961088 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED<br />
08:05:32 T:2689230144 M:1951961088 NOTICE: DVDPlayer: waiting for threads to exit<br />
08:05:32 T:2689230144 M:1951985664 NOTICE: DVDPlayer: finished waiting<br />
Oddly enough, the exact same .strm file works in XBMC 10.1 Dharma and plays back live TV just fine:
08:12:53 T:2689230144 M:2026508288 NOTICE: DVDPlayer: Opening: http://10.0.0.2:8001/1:0:1:4E25:1BA:1:F2FF01EA:0:0:0:<br />
08:12:53 T:2689230144 M:2026508288 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED<br />
08:12:53 T:2954493952 M:2026500096 NOTICE: Creating InputStream<br />
08:12:53 T:2954493952 M:2026123264 NOTICE: Creating Demuxer<br />
08:12:54 T:2954493952 M:2021003264 NOTICE: Opening video stream: 0 source: 256<br />
08:12:54 T:2954493952 M:2021003264 NOTICE: Creating video codec with codec id: 2<br />
08:12:54 T:2954493952 M:2020855808 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video<br />
08:12:54 T:2954493952 M:2020855808 NOTICE: Creating video thread<br />
08:12:54 T:2954493952 M:2020843520 NOTICE: Opening audio stream: 1 source: 256<br />
08:12:54 T:2954493952 M:2020843520 NOTICE: Finding audio codec for: 86016<br />
08:12:54 T:2954493952 M:2020773888 NOTICE: Creating audio thread<br />
08:12:54 T:2954493952 M:2020769792 NOTICE: Opening teletext stream: 2 source: 256<br />
08:12:54 T:2954493952 M:2020769792 NOTICE: Creating teletext data thread<br />
08:12:54 T:2958880768 M:2020757504 NOTICE: running thread: CDVDPlayerAudio::Process()<br />
08:12:54 T:2959413248 M:2020745216 NOTICE: running thread: CDVDTeletextData<br />
08:12:54 T:2958880768 M:2020720640 NOTICE: Creating audio device with codec id: 86016, channels: 2, sample rate: 48000, no pass-through<br />
08:12:55 T:2956161024 M:2020704256 NOTICE: running thread: video_thread<br />
08:12:55 T:2958880768 M:2020691968 WARNING: CoreAudioRenderer::Initialize: Unable to locate configured device, falling-back to the system default.<br />
08:12:55 T:2956161024 M:2020347904 NOTICE: fps: 25.000000, pwidth: 720, pheight: 576, dwidth: 720, dheight: 405<br />
08:12:55 T:2956161024 M:2020347904 NOTICE: Display resolution DESKTOP : 1440x900 @ 60.00 - Full Screen (12)<br />
08:12:55 T:2689230144 M:2019340288 NOTICE: Using GL_TEXTURE_2D<br />
08:12:55 T:2689230144 M:2019295232 NOTICE: GL: Selecting Single Pass YUV 2 RGB shader<br />
08:12:55 T:2689230144 M:2018390016 NOTICE: GL: NPOT texture support detected<br />
08:12:55 T:2689230144 M:2018390016 NOTICE: GL: Using GL_ARB_pixel_buffer_object<br />
I’ve also tried to generate a plex-specific .strm file using the website here, same result.
Any ideas why Plex doesn’t like these mpeg2 ts streams?