• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 19
Change channel really slow
#31
@margo, if it still analyzes the stream, it is not activated. Check DVDFactoryDemuxer.cpp. Is demuxer opened with false as second argument?
Reply
#32
I pushed some new commits for detecting live streams and opening demuxer accordingly.
Reply
#33
This works much better.! Now 2 {s} for the switch (backend) and 1,5 {s} XBMC displaying "Buffering" before continuing the playback.

Will do more testing (SD->HD switching etc.) tomorrow, but this is already a huge improvement. Well done!
Developer of the MediaPortal PVR addon and retired developer of the Argus-TV PVR-addon.
http://www.scintilla.utwente.nl/~marcelg/xbmc
Reply
#34
Does the addon need to set anything special? When using the VU+ addon, the demuxer is opened with false as second argument.
VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
Reply
#35
false as second argument skips find_stream_info. If this is the case, you don't need further settings.

What it does:
- the stream is parsed by ffmpeg for pat/pmt, this sets the streams
- in order to set parameters like width/height for a video stream we need to wait for SPS
- once we got SPS, we can decode a video frame and set stream parameters
Reply
#36
MediaPortal changes the PAT on a channel switch and this now triggers ffmpeg with the changes from FernetMenta.

The addition of "steaminfo" to line 119: if(demuxer->Open(pInputStream, streaminfo)) in FernetMenta's last change did the trick for MediaPortal.
Developer of the MediaPortal PVR addon and retired developer of the Argus-TV PVR-addon.
http://www.scintilla.utwente.nl/~marcelg/xbmc
Reply
#37
Bravo FernetMenta!!! Working well here.

Thank you!

Thomas
Reply
#38
Can someone post a build if its not too much trouble please? Would Love to test

Thanks in advance
Reply
#39
I was already planning to release a Frodo 12.1 build including my development MediaPortal pvr addon.
Because the changes of FernetMenta are better than my workaround, I will first backport them to Frodo before I'm going to release a 12.1 build.
First I will need to do more testing. I've already seen that radio playback gives problems right now (stuttering and unplayable web channels). Not sure yet whether this is related to this particular improvement (don't think so...) or other "master" changes.
Developer of the MediaPortal PVR addon and retired developer of the Argus-TV PVR-addon.
http://www.scintilla.utwente.nl/~marcelg/xbmc
Reply
#40
@loggio and other people wanting to test these changes:
Here is a Windows 12.1 build with the included changes: xbmc-12.1-Frodo-margro.exe.

Preferred settings for the MediaPortal PVR addon users to get the fastest channel switching:
under the PVR addon settings, "Playback" tab, choose: "TSReader" and enable "Fast channel switching".

To help FernetMenta and me, please report channel switching issues that you didn't see on the official 12.0 / 12.1 builds. (Preferably with a debug log file posted on http://xbmclogs.com/).
Developer of the MediaPortal PVR addon and retired developer of the Argus-TV PVR-addon.
http://www.scintilla.utwente.nl/~marcelg/xbmc
Reply
#41
Wow, just tried the build out, incredible improvement - even works nicely when it switch between channels that are on two different tuners.
Change times are down to around 1 second, it makes things feel much more 'STB' like Smile

Can't wait to see the changes make it into an Openelec build.
Reply
#42
I'd like to say thanks for the hard work you guys have put into this. I've tried this build and found it greatly helped the channel change times with the NextPVR addon. With a DVB-S tuner my channel change times are about a second. Good job guys.
Reply
#43
(2013-03-24, 16:57)margro Wrote: @loggio and other people wanting to test these changes:
Here is a Windows 12.1 build with the included changes: xbmc-12.1-Frodo-margro.exe.

Preferred settings for the MediaPortal PVR addon users to get the fastest channel switching:
under the PVR addon settings, "Playback" tab, choose: "TSReader" and enable "Fast channel switching".

To help FernetMenta and me, please report channel switching issues that you didn't see on the official 12.0 / 12.1 builds. (Preferably with a debug log file posted on http://xbmclogs.com/).
Is this working also with other PVR addons like DVBViewer?
Anything to be setup under the addon settings?

Dakkar
Reply
#44
Hi magro,
did your biuild include another pvr addon like argus?
Reply
#45
@Dakkar: the change is not specific for the MediaPortal PVR addon, so there is a good chance that it will also work for DVBViewer. Just try it and report back if it works or not. All standard PVR addons are included in this build.

@BenAtNVS Yes the latest version of the Argus PVR addon (v1.6.166, 13-03-2013) is also included.
Developer of the MediaPortal PVR addon and retired developer of the Argus-TV PVR-addon.
http://www.scintilla.utwente.nl/~marcelg/xbmc
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 19

Logout Mark Read Team Forum Stats Members Help
Change channel really slow2