[MAC] Pb playing udp streams
#1
Hi,

since the latest release (Babylon Alpha 1), I am not able to play udp streams from strm files : udp://239.3.1.1:1234

Here below an extract of the log file :

Code:
16:47:08 T:2689193760 M:3589562368   DEBUG: Load scroll-up-focus.png: 0.1ms (bundled)
16:47:08 T:2689193760 M:3589648384   DEBUG: Load scroll-up.png: 0.1ms (bundled)
16:47:15 T:2689193760 M:3589640192   DEBUG: new file set audiostream:0
16:47:15 T:2689193760 M:3589640192   DEBUG: CPlayerCoreFactory::GetPlayers(udp://239.3.1.1:1234)
16:47:15 T:2689193760 M:3589640192   DEBUG: GetPlayers - Item is an internet stream, content-type=application/octet-stream
16:47:15 T:2689193760 M:3589640192  NOTICE: DVDPlayer: Opening: udp://239.3.1.1:1234
16:47:15 T:2963566592 M:3589632000   DEBUG: Running thread 2963566592
16:47:15 T:2963566592 M:3589632000   DEBUG: thread start, auto delete: 1
16:47:15 T:2689193760 M:3589632000 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:47:15 T:2964099072 M:3589623808   DEBUG: Running thread 2964099072
16:47:15 T:2964099072 M:3589623808   DEBUG: thread start, auto delete: 0
16:47:15 T:2964099072 M:3589623808  NOTICE: Creating InputStream
16:47:15 T:2964099072 M:3589599232    INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles
16:47:15 T:2964099072 M:3589599232   DEBUG: CacheSubtitles: START
16:47:15 T:2964099072 M:3589599232    INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles done
16:47:15 T:2964099072 M:3589599232  NOTICE: Creating Demuxer
16:47:18 T:2963566592 M:3589570560    INFO: Loading skin file: DialogProgress.xml
16:47:18 T:2963566592 M:3589541888   DEBUG: Load DialogProgress.xml: 5.11ms
16:47:18 T:2963566592 M:3589550080   DEBUG: DialogProgress::StartModal called
16:47:18 T:2963566592 M:3589550080   DEBUG:
16:47:18 T:2963566592 M:3589550080   DEBUG: ------------------- GUI_MSG_WINDOW_INIT
16:47:18 T:2963566592 M:3589550080   DEBUG: Progress dialog
16:47:18 T:2963566592 M:3589550080   DEBUG: -------------------
16:47:18 T:2963566592 M:3589451776   DEBUG: Load button-focus2.png: 0.2ms (bundled)
16:47:18 T:2963566592 M:3589447680   DEBUG: Alloc resources: 0.41ms (0.03 ms skin load, 0.10 ms preload)
16:47:25 T:2964099072 M:3586592768   [b]DEBUG: Error, could not open file udp://239.3.1.1:1234
16:47:25 T:2964099072 M:3586592768   ERROR: OpenDemuxStream - Error creating demuxer[/b]16:47:25 T:2964099072 M:3586592768  NOTICE: CDVDPlayer::OnExit()
16:47:25 T:2964099072 M:3586592768  NOTICE: CDVDPlayer::OnExit() deleting input stream
16:47:25 T:2964099072 M:3586592768   DEBUG: Playback was stopped
16:47:25 T:2964099072 M:3586592768   DEBUG: staticThread, deleting thread graphic context
16:47:25 T:2964099072 M:3586592768   DEBUG: Thread 2964099072 terminating
16:47:25 T:2689193760 M:3586592768  NOTICE: CDVDPlayer::CloseFile()
16:47:25 T:2689193760 M:3586592768 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:47:25 T:2689193760 M:3586592768  NOTICE: DVDPlayer: waiting for threads to exit
16:47:25 T:2689193760 M:3586633728  NOTICE: DVDPlayer: finished waiting
16:47:25 T:2689193760 M:3586633728   ERROR: Playlist Player: skipping unplayable item: 0, path [udp://239.3.1.1:1234]
16:47:25 T:2958921728 M:3586637824   DEBUG: Running thread 2958921728
16:47:25 T:2958921728 M:3586637824   DEBUG: thread start, auto delete: 0
16:47:25 T:2958921728 M:3586633728   DEBUG: staticThread, deleting thread graphic context
16:47:25 T:2958921728 M:3586633728   DEBUG: Thread 2958921728 terminating
16:47:25 T:2689193760 M:3585585152   DEBUG: Load DialogBack.png: 4.4ms (bundled)
16:47:25 T:2689193760 M:3583479808   DEBUG: Load DialogFront.png: 4.5ms (bundled)
16:47:25 T:2689193760 M:3582402560   DEBUG: Load separator.png: 0.2ms (bundled)
16:47:25 T:2689193760 M:3582324736   DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
16:47:25 T:2689193760 M:3582320640   DEBUG: Progress dialog
16:47:25 T:2689193760 M:3582320640   DEBUG: -------------------
16:47:25 T:2963566592 M:3586228224   DEBUG: staticThread, deleting thread object
16:47:25 T:2963566592 M:3586228224   DEBUG: staticThread, deleting thread graphic context
16:47:25 T:2963566592 M:3586228224   DEBUG: Thread 2963566592 terminating

thanks in advance
Reply
#2
olivelemalin Wrote:Hi,

since the latest release (Babylon Alpha 1), I am not able to play udp streams from strm files : udp://239.3.1.1:1234

Here below an extract of the log file :

Code:
16:47:08 T:2689193760 M:3589562368   DEBUG: Load scroll-up-focus.png: 0.1ms (bundled)
16:47:08 T:2689193760 M:3589648384   DEBUG: Load scroll-up.png: 0.1ms (bundled)
16:47:15 T:2689193760 M:3589640192   DEBUG: new file set audiostream:0
16:47:15 T:2689193760 M:3589640192   DEBUG: CPlayerCoreFactory::GetPlayers(udp://239.3.1.1:1234)
16:47:15 T:2689193760 M:3589640192   DEBUG: GetPlayers - Item is an internet stream, content-type=application/octet-stream
16:47:15 T:2689193760 M:3589640192  NOTICE: DVDPlayer: Opening: udp://239.3.1.1:1234
16:47:15 T:2963566592 M:3589632000   DEBUG: Running thread 2963566592
16:47:15 T:2963566592 M:3589632000   DEBUG: thread start, auto delete: 1
16:47:15 T:2689193760 M:3589632000 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:47:15 T:2964099072 M:3589623808   DEBUG: Running thread 2964099072
16:47:15 T:2964099072 M:3589623808   DEBUG: thread start, auto delete: 0
16:47:15 T:2964099072 M:3589623808  NOTICE: Creating InputStream
16:47:15 T:2964099072 M:3589599232    INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles
16:47:15 T:2964099072 M:3589599232   DEBUG: CacheSubtitles: START
16:47:15 T:2964099072 M:3589599232    INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles done
16:47:15 T:2964099072 M:3589599232  NOTICE: Creating Demuxer
16:47:18 T:2963566592 M:3589570560    INFO: Loading skin file: DialogProgress.xml
16:47:18 T:2963566592 M:3589541888   DEBUG: Load DialogProgress.xml: 5.11ms
16:47:18 T:2963566592 M:3589550080   DEBUG: DialogProgress::StartModal called
16:47:18 T:2963566592 M:3589550080   DEBUG:
16:47:18 T:2963566592 M:3589550080   DEBUG: ------------------- GUI_MSG_WINDOW_INIT
16:47:18 T:2963566592 M:3589550080   DEBUG: Progress dialog
16:47:18 T:2963566592 M:3589550080   DEBUG: -------------------
16:47:18 T:2963566592 M:3589451776   DEBUG: Load button-focus2.png: 0.2ms (bundled)
16:47:18 T:2963566592 M:3589447680   DEBUG: Alloc resources: 0.41ms (0.03 ms skin load, 0.10 ms preload)
16:47:25 T:2964099072 M:3586592768   [b]DEBUG: Error, could not open file udp://239.3.1.1:1234
16:47:25 T:2964099072 M:3586592768   ERROR: OpenDemuxStream - Error creating demuxer[/b]16:47:25 T:2964099072 M:3586592768  NOTICE: CDVDPlayer::OnExit()
16:47:25 T:2964099072 M:3586592768  NOTICE: CDVDPlayer::OnExit() deleting input stream
16:47:25 T:2964099072 M:3586592768   DEBUG: Playback was stopped
16:47:25 T:2964099072 M:3586592768   DEBUG: staticThread, deleting thread graphic context
16:47:25 T:2964099072 M:3586592768   DEBUG: Thread 2964099072 terminating
16:47:25 T:2689193760 M:3586592768  NOTICE: CDVDPlayer::CloseFile()
16:47:25 T:2689193760 M:3586592768 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:47:25 T:2689193760 M:3586592768  NOTICE: DVDPlayer: waiting for threads to exit
16:47:25 T:2689193760 M:3586633728  NOTICE: DVDPlayer: finished waiting
16:47:25 T:2689193760 M:3586633728   ERROR: Playlist Player: skipping unplayable item: 0, path [udp://239.3.1.1:1234]
16:47:25 T:2958921728 M:3586637824   DEBUG: Running thread 2958921728
16:47:25 T:2958921728 M:3586637824   DEBUG: thread start, auto delete: 0
16:47:25 T:2958921728 M:3586633728   DEBUG: staticThread, deleting thread graphic context
16:47:25 T:2958921728 M:3586633728   DEBUG: Thread 2958921728 terminating
16:47:25 T:2689193760 M:3585585152   DEBUG: Load DialogBack.png: 4.4ms (bundled)
16:47:25 T:2689193760 M:3583479808   DEBUG: Load DialogFront.png: 4.5ms (bundled)
16:47:25 T:2689193760 M:3582402560   DEBUG: Load separator.png: 0.2ms (bundled)
16:47:25 T:2689193760 M:3582324736   DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
16:47:25 T:2689193760 M:3582320640   DEBUG: Progress dialog
16:47:25 T:2689193760 M:3582320640   DEBUG: -------------------
16:47:25 T:2963566592 M:3586228224   DEBUG: staticThread, deleting thread object
16:47:25 T:2963566592 M:3586228224   DEBUG: staticThread, deleting thread graphic context
16:47:25 T:2963566592 M:3586228224   DEBUG: Thread 2963566592 terminating

thanks in advance

239.3.1.1 does not ping, is this a real site ? if not, please post a real site that we can use for testing. thanks.
Reply
#3
Hi,

indeed it is not a real site, it is a multicast group address on my personal network. So you can't ping it. Anyway, as it is a multicast address (D class), you can't ping it ...

In fact, before this release, with XBMC, (like with VLC, MPlayer ...) you can play a multicasted (or unicasted) stream.

To test it, you can stream a video file with VLC :
- stream on network
- select UDP and choose a destination multicast address (for example 239.3.1.1), and leave the default port (1234)
- select MPEG-TS as encapsulation method

So the internet stream url XBMC has to play is : udp://239.3.1.1:1234

(you can also test it with VLC by playing it : file / Open Network / UDP Multicast = 239.3.1.1:1234)


I have to say that I don't have such a problem on Windows or Linux, but only on MAC.
Maybe a ffdshow compilation problem on MAC ?

Thanks in advance.
Reply
#4
Do I have to open a ticket on the trac ?
Reply
#5
olivelemalin Wrote:Do I have to open a ticket on the trac ?

That would be best, trac is golden. Make sure you describe the problem in detail and include logs and examples or enough info for any dev to reproduce the problem without having to guess how to setup to debug the problem.
Reply
#6
I've submited a patch to fix this bug in attachment of the ticket #6315 (http://xbmc.org/ticket/6315). Details are explained in the ticket comment.
Reply

Logout Mark Read Team Forum Stats Members Help
[MAC] Pb playing udp streams0