pb with Playing an url
#1
Hi,
I have 2 problems when playing an url (unicast or multicast mode) :

1/ I have a dialog "buffering" of about 20 seconds before showing the video
The only way I have found is to set the caching mmode to false in the source code

2/ If the stream is not available, XBMC freeze, and the only thing I can do is to kill and restart it.

I am using a python script to play the url :
Code:
xbmc.Player().play("udp://239.3.1.1:1234")
But I have the same issue if I want to play it from the main xbmc interface and adding it in a *.strm file.

I am using xbmc 8.10.

Thanks in advance
Reply
#2
nobody has the same problem ?
Reply
#3
How could anyone know since you havent posted a debug log?
Having problems getting your TV shows recognized?

Try my extra TV show matching REGEX here
Reply
#4
OK.

When trying from XBMC interface Videos, and adding a file streaming.strm containing this line : udp://239.3.1.1:1234

Debug log :
Quote::15:00 T:12312 M:1254293504 NOTICE: Mapping drive Z to C:\Program Files\XBMC\cache
10:15:00 T:12312 M:1254277120 NOTICE: Mapping drive T to C:\Program Files\XBMC\userdata
10:15:00 T:12312 M:1254273024 NOTICE: Mapping drive Q to C:\Program Files\XBMC
10:15:00 T:12312 M:1254273024 NOTICE: Mapping drive U to C:\Program Files\XBMC
10:15:00 T:12312 M:1254264832 NOTICE: -----------------------------------------------------------------------
10:15:00 T:12312 M:1254256640 NOTICE: Starting XBMC, Platform: Windows XP Professional Service Pack 2 build 2600. Built on Nov 13 2008 (compiler 1500)
10:15:00 T:12312 M:1254256640 NOTICE: Intel® Core™2 Duo CPU E6750 @ 2.66GHz
10:15:00 T:12312 M:1254256640 NOTICE: Desktop Resolution: 1280x1024 32Bit at 60Hz
10:15:00 T:12312 M:1254256640 NOTICE: Q is mapped to: C:\Program Files\XBMC
10:15:00 T:12312 M:1254256640 NOTICE: The executable running is: C:\Program Files\XBMC\XBMC.exe
10:15:00 T:12312 M:1254256640 NOTICE: Log File is located: C:\Program Files\XBMC\xbmc.log
10:15:00 T:12312 M:1254256640 NOTICE: -----------------------------------------------------------------------
10:15:00 T:12312 M:1254256640 NOTICE: Setup SDL
10:15:00 T:12312 M:1253281792 NOTICE: load settings...
10:15:00 T:12312 M:1253277696 NOTICE: Mapping drive P to C:\Program Files\XBMC\userdata
10:15:00 T:12312 M:1253277696 NOTICE: loading C:\Program Files\XBMC\userdata\guisettings.xml
10:15:00 T:12312 M:1252700160 NOTICE: Getting hardware information now...
10:15:00 T:12312 M:1252700160 NOTICE: Checking resolution 10
10:15:00 T:12312 M:1252700160 NOTICE: Setting autoresolution mode 3
10:15:00 T:12312 M:1252700160 NOTICE: No advancedsettings.xml to load (C:\Program Files\XBMC\userdata\advancedsettings.xml)
10:15:00 T:12312 M:1252757504 NOTICE: C:\Program Files\XBMC\userdata\sources.xml
10:15:00 T:12312 M:1252773888 ERROR: Missing or invalid <name> and/or <path> in source
10:15:00 T:12312 M:1236119552 ERROR: Window Translator: Can't find window xlinkkai
10:15:00 T:12312 M:1236119552 ERROR: Window Translator: Can't find window trainersettings
10:15:00 T:12312 M:1235083264 NOTICE: start dvd mediatype detection
10:15:00 T:12312 M:1235116032 NOTICE: initializing playlistplayer
10:15:00 T:12312 M:1235099648 NOTICE: DONE initializing playlistplayer
10:15:00 T:12312 M:1235099648 NOTICE: load default skin:[MediaStream]
10:15:00 T:12312 M:1226547200 ERROR: Window Translator: Can't find window settingscategory
10:15:00 T:12312 M:1226637312 ERROR: Error evaluating boolean expression !Window.Previous(0) + !Window.Previous(SettingsCategory) + !Window.Previous(1001) + !Window.Previous(130) + !Window.Previous(34)
10:15:00 T:12312 M:1224032256 NOTICE: initialize done
10:15:00 T:12312 M:1224024064 NOTICE: Running the application...
10:15:00 T:12312 M:1224019968 NOTICE: ES: Starting event server
10:15:00 T:9528 M:1222991872 NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
10:15:00 T:9528 M:1222987776 NOTICE: UDP: Listening on port 9777
10:15:07 T:12312 M:1218211840 WARNING: CUtil::GetMatchingSource... no matching source found for [Video Plugins]
10:15:15 T:12312 M:1218457600 NOTICE: DVDPlayer: Opening: udp://239.3.1.1:1234
10:15:15 T:12312 M:1218449408 WARNING: CDVDMessageQueue:Tongueut MSGQ_NOT_INITIALIZED
10:15:15 T:13516 M:1218412544 NOTICE: Creating InputStream
10:15:15 T:13516 M:1218412544 NOTICE: Creating Demuxer

When trying with python script :
Quote:10:38:24 T:13188 M:1246019584 NOTICE: Mapping drive Z to C:\Program Files\XBMC\cache
10:38:24 T:13188 M:1246003200 NOTICE: Mapping drive T to C:\Program Files\XBMC\userdata
10:38:24 T:13188 M:1246003200 NOTICE: Mapping drive Q to C:\Program Files\XBMC
10:38:24 T:13188 M:1246003200 NOTICE: Mapping drive U to C:\Program Files\XBMC
10:38:24 T:13188 M:1245995008 NOTICE: -----------------------------------------------------------------------
10:38:24 T:13188 M:1245982720 NOTICE: Starting XBMC, Platform: Windows XP Professional Service Pack 2 build 2600. Built on Nov 13 2008 (compiler 1500)
10:38:24 T:13188 M:1245982720 NOTICE: Intel® Core™2 Duo CPU E6750 @ 2.66GHz
10:38:24 T:13188 M:1245978624 NOTICE: Desktop Resolution: 1280x1024 32Bit at 60Hz
10:38:24 T:13188 M:1245978624 NOTICE: Q is mapped to: C:\Program Files\XBMC
10:38:24 T:13188 M:1245978624 NOTICE: The executable running is: C:\Program Files\XBMC\XBMC.exe
10:38:24 T:13188 M:1245978624 NOTICE: Log File is located: C:\Program Files\XBMC\xbmc.log
10:38:24 T:13188 M:1245978624 NOTICE: -----------------------------------------------------------------------
10:38:24 T:13188 M:1245978624 NOTICE: Setup SDL
10:38:24 T:13188 M:1245007872 NOTICE: load settings...
10:38:24 T:13188 M:1245003776 NOTICE: Mapping drive P to C:\Program Files\XBMC\userdata
10:38:24 T:13188 M:1245003776 NOTICE: loading C:\Program Files\XBMC\userdata\guisettings.xml
10:38:24 T:13188 M:1244405760 NOTICE: Getting hardware information now...
10:38:24 T:13188 M:1244405760 NOTICE: Checking resolution 10
10:38:24 T:13188 M:1244405760 NOTICE: Setting autoresolution mode 3
10:38:24 T:13188 M:1244405760 NOTICE: No advancedsettings.xml to load (C:\Program Files\XBMC\userdata\advancedsettings.xml)
10:38:24 T:13188 M:1244442624 NOTICE: C:\Program Files\XBMC\userdata\sources.xml
10:38:24 T:13188 M:1244463104 ERROR: Missing or invalid <name> and/or <path> in source
10:38:24 T:13188 M:1227776000 ERROR: Window Translator: Can't find window xlinkkai
10:38:24 T:13188 M:1227776000 ERROR: Window Translator: Can't find window trainersettings
10:38:24 T:13188 M:1226805248 NOTICE: start dvd mediatype detection
10:38:24 T:13188 M:1226764288 NOTICE: initializing playlistplayer
10:38:24 T:13188 M:1226747904 NOTICE: DONE initializing playlistplayer
10:38:24 T:13188 M:1226747904 NOTICE: load default skin:[PM3.HD]
10:38:24 T:13188 M:1223639040 NOTICE: initialize done
10:38:24 T:13188 M:1223704576 NOTICE: Running the application...
10:38:25 T:13188 M:1223368704 NOTICE: ES: Starting event server
10:38:25 T:11644 M:1223286784 NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
10:38:25 T:11644 M:1223249920 NOTICE: UDP: Listening on port 9777
10:39:22 T:12896 M:1219772416 NOTICE: -->Python Interpreter Initialized<--
10:39:22 T:12896 M:1219772416 NOTICE:
10:39:23 T:12896 M:1215811584 NOTICE: default.py
10:39:23 T:12896 M:1215803392 NOTICE:
10:39:25 T:12896 M:1215631360 NOTICE: <xbmcgui.ControlButton object at 0x0686D1E0>
10:39:25 T:12896 M:1215631360 NOTICE:
10:39:26 T:12896 M:1215598592 NOTICE: <xbmcgui.ControlList object at 0x062FF660>
10:39:26 T:12896 M:1215598592 NOTICE:
10:39:26 T:11820 M:1215492096 NOTICE: -->Python Interpreter Initialized<--
10:39:26 T:11820 M:1215492096 NOTICE:
10:39:26 T:11820 M:1215172608 NOTICE: play.py
10:39:26 T:11820 M:1215172608 NOTICE:
10:39:27 T:14252 M:1215156224 ERROR: GL: Error making context current
10:39:27 T:14252 M:1215160320 NOTICE: DVDPlayer: Opening: udp://230.1.1.1:1234
10:39:27 T:14252 M:1215160320 WARNING: CDVDMessageQueue:Tongueut MSGQ_NOT_INITIALIZED
10:39:27 T:14048 M:1215119360 NOTICE: Creating InputStream
10:39:27 T:14048 M:1215119360 NOTICE: Creating Demuxer
And I have a dialog box : "Opening Stream" / "Downloading Playlist file ..."
And if I click cancel, nothing happens. The title change to "Opening Stream : canceling" but the dialog stays.
The only thing I can do is ctrl + alt + suppr and kill xbmc.

Thanks in advance
Reply
#5
get a newer version from the third party sticky thread, enable debug logging, try again and post a pastebin link to the full debug log here.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply

Logout Mark Read Team Forum Stats Members Help
pb with Playing an url0