home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Experimental TsReader development
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Owlsroost" data-source="post: 811296" data-attributes="member: 83973"><p>The first of the new versions - continuing from the <a href="https://forum.team-mediaportal.com/mediaportal-1-2-0-beta-540/live-tv-freeze-15-30-helps-98842/" target="_blank">https://forum.team-mediaportal.com/mediaportal-1-2-0-beta-540/live-tv-freeze-15-30-helps-98842/</a> thread.</p><p></p><p>(To install them, just close MP, unzip the file and copy the new TsReader.ax into the MP program folder e.g. C:\Program Files\Team MediaPortal\MediaPortal)</p><p></p><p>Quite a few changes since v29 - main one is that the data buffering is handled differently, which allows the audio renderer to buffer more data. This is an experiment to help with the problem here - <a href="https://forum.team-mediaportal.com/bugreports-74/stuttering-live-tv-since-1-2-a-101612/" target="_blank">https://forum.team-mediaportal.com/bugreports-74/stuttering-live-tv-since-1-2-a-101612/</a> - but can create some stuttering on channel changes, so I'm interested in feedback on this....</p><p></p><p>EDIT: The sources are at <a href="https://github.com/MediaPortal/MediaPortal-1/tree/EXP-TsReader_noStopMod" target="_blank">https://github.com/MediaPortal/MediaPortal-1/tree/EXP-TsReader_noStopMod</a> (a branch in the new MP Git repository)</p><p></p><p>EDIT: noStopMod31 release attached for trials - this incorporates <a href="https://forum.team-mediaportal.com/811405-post11.html" target="_blank">mm's patch</a> and mods to try and fix the excessive stuttering that some people have been getting with v30. Feedback please <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>EDIT: noStopMod32 release attached for trials - this has re-worked file read handling.</p><p></p><p>EDIT: noStopMod33 added - this has more initial buffering and less audio decode/renderer buffering, so it should have less stuttering on channel changes.</p><p></p><p>EDIT: noStopMod34 added - more buffering changes, and video 'fast sync' timestamp modification logic improved</p><p></p><p>EDIT: noStopMod35 added - PAT version change handling mods (very experimental, trying to fix RTSP 'loop on zapping' problem), and FillBuffer() sleep handling changed to try and fix LAV video hang problems.</p><p></p><p>EDIT: noStopMod36 added - Should generate less idle time IO read requests, timestamp limit checking modified, and timeGetTime() wraparound handled globally.</p><p></p><p>EDIT: noStopMod37 added - fix for RTSP 'Wait for Good PAT' bug (introduced in v35), and some prefetch threshold changes.</p><p></p><p>EDIT: noStopMod38 added - more fixes for RTSP zapping PAT change problem.</p><p></p><p>EDIT: noStopMod39 added - as v38, but with prefetch thresholds reverted back to v36 settings.</p><p></p><p>EDIT: noStopMod41 added - IO read thread added, another fix for RTSP zapping problem, prefetch thresholds adjusted (slightly more aggressive), seek logic mods, small mod to graph rebuild trigger code.</p><p></p><p>EDIT: noStopMod43 added - SD/HD zapping fix from <a href="https://forum.team-mediaportal.com/bugreports-74/mediaportal-hangs-going-between-hd-sd-channels-100978/index5.html#post833169" target="_blank">https://forum.team-mediaportal.com/bugreports-74/mediaportal-hangs-going-between-hd-sd-channels-100978/index5.html#post833169</a> and a pmt (SetMediaType()) is now added to first sample delivered after OnThreadStartPlay() for video and audio pins. (This version is noStopMod42d with a minor mod/reversion to video sample delivery rate control).</p><p></p><p>EDIT: noStopMod44 added - Fix for random 'black screen at start of play' problem introduced in v41, and mods to duration update code to (hopefully) fix the 'live' recording stop problem.</p><p></p><p>EDIT: noStopMod45 added - Channel change (zapping) speed improvements, small duration code mods.</p><p></p><p>EDIT: noStopMod48 added - Fix for hang/quit after seek bug, experimental workaround for UNC 'file doesn't exist' (SMB2) problem, new debug registry settings (to disable graph rebuild on video frame size change).</p><p></p><p>EDIT: noStopMod50 added - Various H.264 header parsing, media sample PMT info, NALU start code detection, sample queue locking, video/audio 'slow motion sync' experiments/mods/fixes.</p><p></p><p>EDIT: noStopMod52 removed - possible 'pause' bug.....</p><p></p><p>EDIT: noStopMod54 added - Various mods to change start up behaviour and support new version of MP Audio Renderer.</p><p></p><p>EDIT: noStopMod55 added - Buffering modified to reduce zapping times and improve compatibility with MP Audio Renderer. Bug fix for radio zapping/graph rebuild problem. Seek logic simplified, and startup is much faster when used in other players. Other internal changes & improvements.</p><p></p><p>EDIT: noStopMod57 added - Significant changes to H.264 code to fix problems with some IPTV streams. Changes to buffer under-run logic.</p><p></p><p>EDIT: noStopMod59 added - Fixed a memory allocation problem in H264 header parser. Now compatible with MP 1.3.0 DVBSub3 filter. Improved compatibility with other players e.g. PotPlayer (subtitle output pin will not connect to any filter when used outside MP).</p><p></p><p>EDIT: noStopMod59b added - Crash with MP 1.3.0 subtitle filter fixed.</p><p></p><p>EDIT: noStopMod59c added - Added flush when large negative timestamp delta detected. Compatible with MP 1.2.3 and MP 1.3.0</p><p></p><p>EDIT: noStopMod63b added - Several minor bug fixes and updates, plus added a better fallback when Seeking fails due to PCR problems. Compatible with MP 1.2.3 and MP 1.3.0</p><p></p><p>EDIT: noStopMod65 added - video FPS is now calculated from stream timestamps (if possible) to improve compatibility with MPAR. Registry key added to allow FFDShow sync workaround to be forced 'on' (to fix an A/V sync problem when Core CC Parser filter is inserted between TsReader.ax and FFDShow video decoder) - HKEY_CURRENT_USER\Software\Team MediaPortal\TsReader, set "ForceFFDShowSyncFix" to '1' to force on (default is '0')</p><p></p><p>EDIT: noStopMod66 added - updates to FPS code to sanity check and correct stream timestamp FPS values.</p><p></p><p>EDIT: noStopMod68 added -</p><ul> <li data-xf-list-type="ul"><strong>New feature:</strong> Registry key added to adjust data buffering time - HKEY_CURRENT_USER\Software\Team MediaPortal\TsReader, set "BufferingDelayInMilliSeconds" to a (decimal) value in milliseconds (range is 0 to 2000, default is 0). Note - this will add delay to live TV channel changes since it needs to build up the buffer before play starts.</li> <li data-xf-list-type="ul">Fix for crashes when TV Server preview is closed.</li> <li data-xf-list-type="ul">Logging changed to use async system (same as dshowhelper).</li> <li data-xf-list-type="ul">Improvements to FPS detection code.</li> </ul><p>EDIT: noStopMod69 added -</p><ul> <li data-xf-list-type="ul">Improvements to FPS detection code.</li> <li data-xf-list-type="ul">A 'pmt' is now added to video output pin after all channel changes (experiment).</li> <li data-xf-list-type="ul">For Devs only - new "SubPinConnectAlways" reg value, allows Subtitle filter to connect when used outside of MP.</li> </ul><p>EDIT: noStopMod70 added - fix for logging problem when log folder path doesn't exist.</p><p></p><p>EDIT: v73_dev added -</p><ul> <li data-xf-list-type="ul">This version is <strong>compatible with MP 1.3.0 and later only</strong> (no support for 1.2.3)</li> <li data-xf-list-type="ul">Several bug fixes (Mantis 4252, 4269, 4270 and 4341)</li> <li data-xf-list-type="ul">Some experimental changes to try and improve RTSP behaviour - <strong>need feedback</strong> on this from client/server users - is it better/worse/no change ?</li> <li data-xf-list-type="ul">Sources for this version are at - <a href="https://github.com/MediaPortal/MediaPortal-1/tree/EXP_TsReader_RTSP_dev" target="_blank">https://github.com/MediaPortal/MediaPortal-1/tree/EXP_TsReader_RTSP_dev</a></li> </ul><p>EDIT: v77 added here - <a href="https://forum.team-mediaportal.com/threads/experimental-tsreader-development.102693/page-90#post-1035833" target="_blank">https://forum.team-mediaportal.com/threads/experimental-tsreader-development.102693/page-90#post-1035833</a> (with fix for NZ Freeview DVB-T problems).</p><p></p><p>Tony</p></blockquote><p></p>
[QUOTE="Owlsroost, post: 811296, member: 83973"] The first of the new versions - continuing from the [url]https://forum.team-mediaportal.com/mediaportal-1-2-0-beta-540/live-tv-freeze-15-30-helps-98842/[/url] thread. (To install them, just close MP, unzip the file and copy the new TsReader.ax into the MP program folder e.g. C:\Program Files\Team MediaPortal\MediaPortal) Quite a few changes since v29 - main one is that the data buffering is handled differently, which allows the audio renderer to buffer more data. This is an experiment to help with the problem here - [url]https://forum.team-mediaportal.com/bugreports-74/stuttering-live-tv-since-1-2-a-101612/[/url] - but can create some stuttering on channel changes, so I'm interested in feedback on this.... EDIT: The sources are at [url]https://github.com/MediaPortal/MediaPortal-1/tree/EXP-TsReader_noStopMod[/url] (a branch in the new MP Git repository) EDIT: noStopMod31 release attached for trials - this incorporates [URL='https://forum.team-mediaportal.com/811405-post11.html']mm's patch[/URL] and mods to try and fix the excessive stuttering that some people have been getting with v30. Feedback please :) EDIT: noStopMod32 release attached for trials - this has re-worked file read handling. EDIT: noStopMod33 added - this has more initial buffering and less audio decode/renderer buffering, so it should have less stuttering on channel changes. EDIT: noStopMod34 added - more buffering changes, and video 'fast sync' timestamp modification logic improved EDIT: noStopMod35 added - PAT version change handling mods (very experimental, trying to fix RTSP 'loop on zapping' problem), and FillBuffer() sleep handling changed to try and fix LAV video hang problems. EDIT: noStopMod36 added - Should generate less idle time IO read requests, timestamp limit checking modified, and timeGetTime() wraparound handled globally. EDIT: noStopMod37 added - fix for RTSP 'Wait for Good PAT' bug (introduced in v35), and some prefetch threshold changes. EDIT: noStopMod38 added - more fixes for RTSP zapping PAT change problem. EDIT: noStopMod39 added - as v38, but with prefetch thresholds reverted back to v36 settings. EDIT: noStopMod41 added - IO read thread added, another fix for RTSP zapping problem, prefetch thresholds adjusted (slightly more aggressive), seek logic mods, small mod to graph rebuild trigger code. EDIT: noStopMod43 added - SD/HD zapping fix from [url]https://forum.team-mediaportal.com/bugreports-74/mediaportal-hangs-going-between-hd-sd-channels-100978/index5.html#post833169[/url] and a pmt (SetMediaType()) is now added to first sample delivered after OnThreadStartPlay() for video and audio pins. (This version is noStopMod42d with a minor mod/reversion to video sample delivery rate control). EDIT: noStopMod44 added - Fix for random 'black screen at start of play' problem introduced in v41, and mods to duration update code to (hopefully) fix the 'live' recording stop problem. EDIT: noStopMod45 added - Channel change (zapping) speed improvements, small duration code mods. EDIT: noStopMod48 added - Fix for hang/quit after seek bug, experimental workaround for UNC 'file doesn't exist' (SMB2) problem, new debug registry settings (to disable graph rebuild on video frame size change). EDIT: noStopMod50 added - Various H.264 header parsing, media sample PMT info, NALU start code detection, sample queue locking, video/audio 'slow motion sync' experiments/mods/fixes. EDIT: noStopMod52 removed - possible 'pause' bug..... EDIT: noStopMod54 added - Various mods to change start up behaviour and support new version of MP Audio Renderer. EDIT: noStopMod55 added - Buffering modified to reduce zapping times and improve compatibility with MP Audio Renderer. Bug fix for radio zapping/graph rebuild problem. Seek logic simplified, and startup is much faster when used in other players. Other internal changes & improvements. EDIT: noStopMod57 added - Significant changes to H.264 code to fix problems with some IPTV streams. Changes to buffer under-run logic. EDIT: noStopMod59 added - Fixed a memory allocation problem in H264 header parser. Now compatible with MP 1.3.0 DVBSub3 filter. Improved compatibility with other players e.g. PotPlayer (subtitle output pin will not connect to any filter when used outside MP). EDIT: noStopMod59b added - Crash with MP 1.3.0 subtitle filter fixed. EDIT: noStopMod59c added - Added flush when large negative timestamp delta detected. Compatible with MP 1.2.3 and MP 1.3.0 EDIT: noStopMod63b added - Several minor bug fixes and updates, plus added a better fallback when Seeking fails due to PCR problems. Compatible with MP 1.2.3 and MP 1.3.0 EDIT: noStopMod65 added - video FPS is now calculated from stream timestamps (if possible) to improve compatibility with MPAR. Registry key added to allow FFDShow sync workaround to be forced 'on' (to fix an A/V sync problem when Core CC Parser filter is inserted between TsReader.ax and FFDShow video decoder) - HKEY_CURRENT_USER\Software\Team MediaPortal\TsReader, set "ForceFFDShowSyncFix" to '1' to force on (default is '0') EDIT: noStopMod66 added - updates to FPS code to sanity check and correct stream timestamp FPS values. EDIT: noStopMod68 added - [LIST] [*][B]New feature:[/B] Registry key added to adjust data buffering time - HKEY_CURRENT_USER\Software\Team MediaPortal\TsReader, set "BufferingDelayInMilliSeconds" to a (decimal) value in milliseconds (range is 0 to 2000, default is 0). Note - this will add delay to live TV channel changes since it needs to build up the buffer before play starts. [*]Fix for crashes when TV Server preview is closed. [*]Logging changed to use async system (same as dshowhelper). [*]Improvements to FPS detection code. [/LIST] EDIT: noStopMod69 added - [LIST] [*]Improvements to FPS detection code. [*]A 'pmt' is now added to video output pin after all channel changes (experiment). [*]For Devs only - new "SubPinConnectAlways" reg value, allows Subtitle filter to connect when used outside of MP. [/LIST] EDIT: noStopMod70 added - fix for logging problem when log folder path doesn't exist. EDIT: v73_dev added - [LIST] [*]This version is [B]compatible with MP 1.3.0 and later only[/B] (no support for 1.2.3) [*]Several bug fixes (Mantis 4252, 4269, 4270 and 4341) [*]Some experimental changes to try and improve RTSP behaviour - [B]need feedback[/B] on this from client/server users - is it better/worse/no change ? [*]Sources for this version are at - [url]https://github.com/MediaPortal/MediaPortal-1/tree/EXP_TsReader_RTSP_dev[/url] [/LIST] EDIT: v77 added here - [url]https://forum.team-mediaportal.com/threads/experimental-tsreader-development.102693/page-90#post-1035833[/url] (with fix for NZ Freeview DVB-T problems). Tony [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Experimental TsReader development
Contact us
RSS
Top
Bottom