Kodi Community Forum
[Release] MLBMC - a Major League Baseball (video) add-on - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [Release] MLBMC - a Major League Baseball (video) add-on (/showthread.php?tid=104391)



RE: [Release] MLBMC - a Major League Baseball (video) add-on - rbrohman - 2013-05-12

For the life of me, I cannot get hls working in Openelec. I have the latest 0.1.0 installed, and copied the mlbhls binary file to \storage\.xbmc\addons\plugin.video.mlbmc.hls\resources\mlbhls\openelec-mlbhls\x86_64 (also making sure it was executable). But still, I'm unable to start a stream. I get the listing for all the archived games, I get the sources for each game, I can even see the innings list if I enable that option. But once I select the stream, nothing happens and I'm left back at the game selection list.

My log file: http://pastebin.com/LN8NJBWf

Any ideas?

Thanks!


RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2013-05-13

Code:
09:53:36 T:140279152203584  NOTICE: DVDPlayer: Opening: /storage/recordings/mlbtv.tmp-MajaSC/Pittsburgh_Pirates_Coverage_-_ROOT-HD.ts
09:53:36 T:140279152203584 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
09:53:36 T:140279152203584  NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
09:53:36 T:140278909740800  NOTICE: Thread CDVDPlayer start, auto delete: false
09:53:36 T:140278909740800  NOTICE: Creating InputStream
09:53:36 T:140278909740800  NOTICE: Creating Demuxer
09:53:36 T:140278909740800   ERROR: OpenDemuxStream - Error creating demuxer

Demuxer error, try setting a longer wait time or a larger buffer size if your using file-in/file-out.


RE: [Release] MLBMC - a Major League Baseball (video) add-on - rbrohman - 2013-05-13

I've tried with a 60 second wait time, but as soon as the 60 seconds runs out, I'm instantly back at the game selection screen. Tried also with file in/out set with a 24 MB buffer size, but it doesn't even seem to buffer, I just go directly from the source selection back to the games list.

Here's the log file from that attempt: http://pastebin.com/SYB6cmRR

I'm on a 75Mbps connection, and playing the non-hls 2.4mb strehttp://forum.xbmc.org/newreply.php?tid=104391am works flawlessly with no buffering.

Thanks for your help.


RE: [Release] MLBMC - a Major League Baseball (video) add-on - sdsnyr94 - 2013-05-13

Sorry I have not had much time to do any troubleshooting, but in my logs I am seeing the same thing as rbrohman on Openelec.

From his log:

09:53:03 T:140277836625664 ERROR: Open - error probing input format, /storage/recordings/mlbtv.tmp-qZYp9B/Pittsburgh_Pirates_Coverage_-_ROOT-HD.ts
09:53:03 T:140277836625664 ERROR: OpenDemuxStream - Error creating demuxer

I see this same error message. Only difference is that after the wait time (non-FIFO), and it does not matter how long I set, I immediately get the pop-up that says mlbhls is still running do you want to retry. You can keep selecting Yes, but it keeps looping back to that pop-up.

FIFO for me works great on archived games.. during live games the playback is very jittery, and the video seems to slow and then speed-up to try and sync with the audio.


RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2013-05-13

(2013-05-13, 15:24)rbrohman Wrote: I've tried with a 60 second wait time, but as soon as the 60 seconds runs out, I'm instantly back at the game selection screen. Tried also with file in/out set with a 24 MB buffer size, but it doesn't even seem to buffer, I just go directly from the source selection back to the games list.

Here's the log file from that attempt: http://pastebin.com/SYB6cmRR

I'm on a 75Mbps connection, and playing the non-hls 2.4mb strehttp://forum.xbmc.org/newreply.php?tid=104391am works flawlessly with no buffering.

Thanks for your help.

In that log it doesn't look like mlbhls process is ever runningHuh


I uploaded a new version 0.1.1 -> https://mlbmc-xbmc.googlecode.com/files/plugin.video.mlbmc.hls-0.1.1.zip

For openElec 3 make sure you replace the mlbhls files make sure they are executable. I ment to update the add-on with the new version but forgot Confused


RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2013-05-13

(2013-05-13, 15:44)sdsnyr94 Wrote: I see this same error message. Only difference is that after the wait time (non-FIFO), and it does not matter how long I set, I immediately get the pop-up that says mlbhls is still running do you want to retry. You can keep selecting Yes, but it keeps looping back to that pop-up.

Hmm... IDK, playing a file like this has always been kind of a 'hack'. The 'proper' way to do it is via FIFO.

(2013-05-13, 15:44)sdsnyr94 Wrote: FIFO for me works great on archived games.. during live games the playback is very jittery, and the video seems to slow and then speed-up to try and sync with the audio.

Maybe ask the guys on the openelec forumsHuh The only thing I might suggest is, maybe a larger buffer would let the player sync properly.


RE: [Release] MLBMC - a Major League Baseball (video) add-on - sdsnyr94 - 2013-05-13

(2013-05-13, 17:05)divingmule Wrote:
(2013-05-13, 15:44)sdsnyr94 Wrote: I see this same error message. Only difference is that after the wait time (non-FIFO), and it does not matter how long I set, I immediately get the pop-up that says mlbhls is still running do you want to retry. You can keep selecting Yes, but it keeps looping back to that pop-up.

Hmm... IDK, playing a file like this has always been kind of a 'hack'. The 'proper' way to do it is via FIFO.

(2013-05-13, 15:44)sdsnyr94 Wrote: FIFO for me works great on archived games.. during live games the playback is very jittery, and the video seems to slow and then speed-up to try and sync with the audio.

Maybe ask the guys on the openelec forumsHuh The only thing I might suggest is, maybe a larger buffer would let the player sync properly.

I've tried upping the buffer size, but it does not seem to help. Do you think it could be an Nvidia driver issue?

I will give the new version a run tonight... I'll let you know if I get the same results.


RE: [Release] MLBMC - a Major League Baseball (video) add-on - rbrohman - 2013-05-13

I've installed 0.1.1. After that I cut in the mlbhls files (from the openelec forum thread) to /.xbmc/addons/plugin.video.mlbmc.hls/resources/mlbhls/openel
ec-mlbhls/x86_64 and /i386. (do they need to go somewhere else too?) Then I run chmod +x against them. I even verified that I can run these binaries from shell via putty, so they are executable. Is there something else that I missed that is needed to get the mlbhls process started up? My log file still seems to indicate that it's not running.

Log: http://pastebin.com/ASxUCG0Q


RE: [Release] MLBMC - a Major League Baseball (video) add-on - sdsnyr94 - 2013-05-13

(2013-05-13, 17:31)rbrohman Wrote: I've installed 0.1.1. After that I cut in the mlbhls files (from the openelec forum thread) to /.xbmc/addons/plugin.video.mlbmc.hls/resources/mlbhls/openel
ec-mlbhls/x86_64 and /i386. (do they need to go somewhere else too?) Then I run chmod +x against them. I even verified that I can run these binaries from shell via putty, so they are executable. Is there something else that I missed that is needed to get the mlbhls process started up? My log file still seems to indicate that it's not running.

Log: http://pastebin.com/ASxUCG0Q

try a reboot... sometimes Openelec will not run the binary after you do the install of the add-on without a reboot... at least in my experience.


RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2013-05-13

Ahh... seems something has changed, my code for detecting openlec os doesn't seem to be working anymoreHuh

Could you try adding a lib directory to the add-on's directory, then copy the mlbhls executable there.

From putty it should be something like -
Code:
mkdir .xbmc/addons/plugin.video.mlbtv.hls/lib
cp .xbmc/addons/plugin.video.mlbtv.hls/resources/mlbhls/openelec-mlbhls/x86_64/mlbhls .xbmc/addons/plugin.video.mlbtv.hls/lib/



RE: [Release] MLBMC - a Major League Baseball (video) add-on - rbrohman - 2013-05-13

Created the directory: .xbmc/addons/plugin.video.mlbmc.hls/lib

and copied the mlbhls binary from the .../x86_64 folder to here. Again ensured it was executable, and threw in a reboot for good measure. Alas, same result.


Log file still shows mlbhls as not running: http://pastebin.com/N4UfzVXQ


RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2013-05-13

(2013-05-13, 22:23)rbrohman Wrote: Created the directory: .xbmc/addons/plugin.video.mlbmc.hls/lib

and copied the mlbhls binary from the .../x86_64 folder to here. Again ensured it was executable, and threw in a reboot for good measure. Alas, same result.


Log file still shows mlbhls as not running: http://pastebin.com/N4UfzVXQ

Sorry, the new directory needs to be named bin not lib Confused I noticed when you download the mlbhls files they need to be renamed, e.g. mlbhls_x86_64 to mlbhls.

Could you do me a favor? from putty run these commands and post the output -
Code:
python
import os
os.uname()
exit()

Their also may be errors logged to the hls_log -
Code:
cat /.xbmc/userdata/addon_data/plugin.video.mlbmc.hls/hls.log

Edit: its hls.log not hls_log


RE: [Release] MLBMC - a Major League Baseball (video) add-on - rbrohman - 2013-05-14

That did it! Thanks so much! Looks fantastic on my 60" plasma!

Output from python:

('Linux', 'LivingRoomOpenelec', '3.7.10', '#1 SMP Mon Apr 29 01:37:14 CEST 2013' , 'x86_64')


RE: [Release] MLBMC - a Major League Baseball (video) add-on - sdsnyr94 - 2013-05-14

Testing the 0.1.1 version now... And fifo is working with the Mets game... Not sure what you changed, but it seems to have helped on my system. I will continue to test other games later to make sure this is not a fluke.


RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2013-05-16

@sdsnyr94, did you also have to put mlbhls in a bin directory? Are you still having the same trouble when not using fi-fo?