A significant problem for some users is that when playing live TV, differences in the playback rate of the PC and the rate at which data arrives from the broadcaster can mean that playback has to be paused briefly to correct the situation.
The attached versions of TsReader.ax attempt to fix this problem by manipulating the video and audio playback rates very slowly - basically forcing the renderers to drop/repeat video frames and audio samples occasionally. This is much less sophisticated than the method used by MediaPortal Audio Renderer, but in reality is almost unnoticeable (at least on my systems ).
Before installing the new files backup the original files !
Copy binary files :
Path to replace TsReader.ax :
64Bit Os : C:\Program Files (x86)\Team MediaPortal\MediaPortal
32Bit OS : C:\Program Files\Team MediaPortal\MediaPortal
If you are replacing TsWriter.ax, MPFileWriter.ax, StreamingServer.dll or MPIPTV_RTSP.dll you must stop the TVservice - use the 'Manual Control' section of TV Server Configuration - http://wiki.team-mediaportal.com/1_...ion/TV-Server_Configuration/11_Manual_Control
Path to replace TsWriter.ax, MPFileWriter.ax, StreamingServer.dll and MPIPTV_RTSP.dll :
64Bit Os : C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server
32Bit OS : C:\Program Files\Team MediaPortal\MediaPortal TV Server
Restart TVservice (if stopped earlier)
Source code :
The Github branch with the source code is at https://github.com/MediaPortal/MediaPortal-1/tree/EXP-Upgrade_555_MM_Owlsroost
The latest binary files are in 'EXP-Upgrade_555_MM_Owlsroost_28-04-2016_3.zip' attached below.
This is a merge of my latest TsReader/TsWriter code with the latest 'RTSP streaming library update' code from mm1352000 (discussed in this thread - https://forum.team-mediaportal.com/threads/rtsp-streaming-library-update.132521/ )
Install TsReader.ax into the MediaPortal (client) folder - see above for installation instructions.
Install TsWriter.ax, MPFileWriter.ax, StreamingServer.dll and MPIPTV_RTSP.dll into the MediaPortal TV Server folder - see above for installation instructions.
(In case you need to go back, the previous version of TsReader.ax - v4.1.0.15 - is -> here <- and the previous version of TsWriter - v3.1.31.6 - is -> here <- Note these do not include the new RTSP code)
The attached versions of TsReader.ax attempt to fix this problem by manipulating the video and audio playback rates very slowly - basically forcing the renderers to drop/repeat video frames and audio samples occasionally. This is much less sophisticated than the method used by MediaPortal Audio Renderer, but in reality is almost unnoticeable (at least on my systems ).
Installation setup :
You must install the x86 version of Visual C++ Redistributable Package for Visual Studio 2013 if you are using MP 1.10 or older versions.Before installing the new files backup the original files !
Copy binary files :
Path to replace TsReader.ax :
64Bit Os : C:\Program Files (x86)\Team MediaPortal\MediaPortal
32Bit OS : C:\Program Files\Team MediaPortal\MediaPortal
If you are replacing TsWriter.ax, MPFileWriter.ax, StreamingServer.dll or MPIPTV_RTSP.dll you must stop the TVservice - use the 'Manual Control' section of TV Server Configuration - http://wiki.team-mediaportal.com/1_...ion/TV-Server_Configuration/11_Manual_Control
Path to replace TsWriter.ax, MPFileWriter.ax, StreamingServer.dll and MPIPTV_RTSP.dll :
64Bit Os : C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server
32Bit OS : C:\Program Files\Team MediaPortal\MediaPortal TV Server
Restart TVservice (if stopped earlier)
Usage instructions :
The new rate matching system works best using LAV Audio Decoder for TV with the 'Auto A/V Sync correction' option enabled in LAV Audio settings, and do not use MediaPortal Audio Renderer for TV.Source code :
The Github branch with the source code is at https://github.com/MediaPortal/MediaPortal-1/tree/EXP-Upgrade_555_MM_Owlsroost
Latest Binary Download (for MP 1.11 and later only) :
The latest binary files are in 'EXP-Upgrade_555_MM_Owlsroost_28-04-2016_3.zip' attached below.
This is a merge of my latest TsReader/TsWriter code with the latest 'RTSP streaming library update' code from mm1352000 (discussed in this thread - https://forum.team-mediaportal.com/threads/rtsp-streaming-library-update.132521/ )
Install TsReader.ax into the MediaPortal (client) folder - see above for installation instructions.
Install TsWriter.ax, MPFileWriter.ax, StreamingServer.dll and MPIPTV_RTSP.dll into the MediaPortal TV Server folder - see above for installation instructions.
(In case you need to go back, the previous version of TsReader.ax - v4.1.0.15 - is -> here <- and the previous version of TsWriter - v3.1.31.6 - is -> here <- Note these do not include the new RTSP code)
Attachments
Last edited: