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
WebService and Mobile Access
Popular Plugins
MPExtended
WebMediaPortal Stream LiveTV Problems
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="Makaronen" data-source="post: 1241432" data-attributes="member: 53878"><p>Hi!</p><p></p><p>I installed MPExtended 0.6.0-beta and WebMediaPortal 0.6.0-beta and everything works almost perfect.</p><p>But i have problem when i try streaming live-tv with flash via the JWplayer from the webgui.</p><p>The stream starts but stops direct after aprox 1 second. If i instead download the link and open it in VLC or Media Player it works fine.</p><p></p><p>I have used this setup before and then it worked with no problem....</p><p></p><p>Has anything changed with MediaPortal so this is no more an option?</p><p>Have tested all kind of webreaders like chrome, ie and edge with same symptom. </p><p></p><p>I guess there is problem with TSBuffer and the refresh, Here some from the log:</p><p>Anyone here who has a clue to come around this?</p><p>.................................................................................................................................................................................................................................................................................</p><p>2018-03-15 15:47:28.70534 [ (19)] INFO: [ webmediaportal-35976] Starting timeshifting on channel 408 for client WebMediaPortal (user admin)</p><p>2018-03-15 15:47:28.70634 [ (58)] DEBUG: Starting timeshifting with username mpextended-webmediaportal-35976 on channel id 408</p><p>2018-03-15 15:47:28.70834 [ (58)] DEBUG: Starting timeshifting</p><p>2018-03-15 15:47:28.99437 [ (58)] DEBUG: Timeshifting succeeded</p><p>2018-03-15 15:47:30.17351 [ (19)] DEBUG: [ webmediaportal-35976] Timeshifting started!</p><p>2018-03-15 15:47:30.17351 [ (19)] INFO: [ webmediaportal-35976] Called InitStream with type=TV; provider=0; itemId=E:\Timeshift\live3-3.ts.tsbuffer; offset=0; clientDescription=WebMediaPortal (user admin); idleTimeout=300</p><p>2018-03-15 15:47:30.20251 [ (19)] DEBUG: [ webmediaportal-35976] Called StartStream with profile=Flash HQ; start=0</p><p>2018-03-15 15:47:30.20752 [ (19)] DEBUG: [ webmediaportal-35976] StartStream for file mediatype=TV provider=0 id=E:\Timeshift\live3-3.ts.tsbuffer filetype=Content offset=0 path=E:\Timeshift\live3-3.ts.tsbuffer</p><p>2018-03-15 15:47:30.21552 [ (19)] INFO: TsBuffer: Files added 1, removed 0</p><p>2018-03-15 15:47:30.22351 [ (19)] DEBUG: Using path E:\Timeshift\live3-3.ts.tsbuffer1.ts from TS buffer E:\Timeshift\live3-3.ts.tsbuffer as source for mediatype=TV provider=0 id=E:\Timeshift\live3-3.ts.tsbuffer filetype=Content offset=0 path=E:\Timeshift\live3-3.ts.tsbuffer</p><p>2018-03-15 15:47:30.26953 [ (19)] DEBUG: [ webmediaportal-35976] Using 854x480 as output size for stream webmediaportal-35976</p><p>2018-03-15 15:47:30.27253 [ (19)] DEBUG: [ webmediaportal-35976] Final stream selection: audioId=64, subtitleId=</p><p>2018-03-15 15:47:30.29053 [ (19)] INFO: [ webmediaportal-35976] Assembling following pipeline:</p><p>2018-03-15 15:47:30.29053 [ (19)] INFO: [ webmediaportal-35976] data 1: MPExtended.Services.StreamingService.Units.InputUnit (input False, data True, log False)</p><p>2018-03-15 15:47:30.29053 [ (19)] INFO: [ webmediaportal-35976] data 5: MPExtended.Services.StreamingService.Units.EncoderUnit (input True, data True, log True)</p><p>2018-03-15 15:47:30.29053 [ (19)] INFO: [ webmediaportal-35976] data 15: MPExtended.Services.StreamingService.Units.FLVMetadataInjector (input True, data True, log False)</p><p>2018-03-15 15:47:30.29053 [ (19)] INFO: [ webmediaportal-35976] dataconn 1 -> 5</p><p>2018-03-15 15:47:30.29053 [ (19)] INFO: [ webmediaportal-35976] dataconn 5 -> 15</p><p>2018-03-15 15:47:30.29053 [ (19)] INFO: [ webmediaportal-35976] log 6: MPExtended.Services.StreamingService.Units.VLCWrapperParsingUnit</p><p>2018-03-15 15:47:30.29053 [ (19)] INFO: [ webmediaportal-35976] logconn 5 -> 6</p><p>2018-03-15 15:47:30.29153 [ (19)] INFO: [ webmediaportal-35976] Using TsBuffer to read input</p><p>2018-03-15 15:47:30.29253 [ (19)] INFO: TsBuffer: Files added 1, removed 0</p><p>2018-03-15 15:47:30.29553 [ (19)] DEBUG: [ webmediaportal-35976] Setup data unit 1</p><p>2018-03-15 15:47:30.29653 [ (19)] INFO: [ webmediaportal-35976] Encoding: starting input named pipe \\.\pipe\86da9b65-6156-4e38-b0ae-3001b0455853</p><p>2018-03-15 15:47:30.29753 [ (19)] INFO: [ webmediaportal-35976] Encoding: starting output named pipe \\.\pipe\e181ac80-5df1-4f18-8bfd-1fd89f9a5e27</p><p>2018-03-15 15:47:30.29853 [ (19)] INFO: [ webmediaportal-35976] Encoder: Transcoder configuration dump</p><p>2018-03-15 15:47:30.29853 [ (19)] INFO: [ webmediaportal-35976] Encoder: hasStdin False, hasStdout True, hasStderr False</p><p>2018-03-15 15:47:30.29853 [ (19)] INFO: [ webmediaportal-35976] Encoder: path C:\Program Files (x86)\MPExtended\Service\Streaming\vlc-2.0.2\MPExtended.Libraries.VLCWrapper.exe</p><p>2018-03-15 15:47:30.29853 [ (19)] INFO: [ webmediaportal-35976] Encoder: arguments "stream://\\\.\pipe\86da9b65-6156-4e38-b0ae-3001b0455853" "#transcode{vcodec=h264,vb=1280,venc=x264{profile=baseline,preset=veryfast},deinterlace=-1,acodec=mp4a,ab=192,channels=2,samplerate=48000,audio-sync,scodec=none,width=854,height=480}:standard{access=file,mux=ffmpeg{mux=flv},dst=\\\.\pipe\e181ac80-5df1-4f18-8bfd-1fd89f9a5e27}" "--ffmpeg-hw" "--sout-ffmpeg-strict=-2" "--audio-track=0"</p><p>2018-03-15 15:47:30.33353 [ (19)] DEBUG: [ webmediaportal-35976] Setup data unit 5</p><p>2018-03-15 15:47:30.33403 [ (19)] DEBUG: [ webmediaportal-35976] Setup data unit 15</p><p>2018-03-15 15:47:30.33703 [ (19)] DEBUG: [ webmediaportal-35976] Setup log unit 6</p><p>2018-03-15 15:47:30.33703 [ (19)] INFO: [ webmediaportal-35976] Pipeline assembled</p><p>2018-03-15 15:47:30.33853 [ (19)] INFO: [ webmediaportal-35976] Starting data unit 1</p><p>2018-03-15 15:47:30.33853 [ (19)] INFO: [ webmediaportal-35976] Starting data unit 5</p><p>2018-03-15 15:47:33.77303 [ (19)] INFO: [ webmediaportal-35976] Encoding: Copy stream of type MPExtended.Services.StreamingService.Code.TsBuffer into transcoder input stream of type MPExtended.Services.StreamingService.Code.NamedPipe</p><p>2018-03-15 15:47:33.77403 [ (19)] INFO: [ webmediaportal-35976] Encoding: Waiting till output named pipe is ready</p><p>2018-03-15 15:47:33.77403 [ (19)] INFO: [ webmediaportal-35976] Starting data unit 15</p><p>2018-03-15 15:47:33.77403 [ (19)] INFO: [ webmediaportal-35976] All data units started!</p><p>2018-03-15 15:47:33.87504 [ (19)] INFO: [ webmediaportal-35976] Started stream</p><p>2018-03-15 15:47:49.40334 [ (17)] DEBUG: [ webmediaportal-35976] Called FinishStream</p><p>2018-03-15 15:47:49.40334 [ (17)] DEBUG: [ webmediaportal-35976] Stopping stream</p><p>2018-03-15 15:47:49.40585 [ (17)] INFO: [ webmediaportal-35976] Stopping data unit 1</p><p>2018-03-15 15:47:49.40835 [ (41)] ERROR: TsBuffer: Some exception happened during refreshing the stream buffer</p><p>System.ObjectDisposedException: Cannot access a closed file.</p><p> at System.IO.__Error.FileNotOpen()</p><p> at System.IO.FileStream.get_Length()</p><p> at MPExtended.Services.StreamingService.Code.TsBuffer.RefreshTsBuffer() in D:\Projects\MediaPortal\MpExt\git\Services\MPExtended.Services.StreamingService\Code\TsBuffer.cs:line 470</p><p>2018-03-15 15:47:49.41485 [ (17)] INFO: [ webmediaportal-35976] Stopping data unit 5</p><p>2018-03-15 15:47:49.41535 [ (17)] DEBUG: [ webmediaportal-35976] Encoding: Killing transcoder</p><p>2018-03-15 15:47:49.41585 [ (17)] DEBUG: TranscoderProcess: Terminating process pid=10092</p><p>2018-03-15 15:47:49.41635 [ (17)] INFO: [ webmediaportal-35976] Stopping data unit 15</p><p>2018-03-15 15:47:49.41685 [ (17)] DEBUG: [ webmediaportal-35976] Pipeline stopped</p><p>2018-03-15 15:47:49.41685 [ (17)] DEBUG: [ webmediaportal-35976] Killed stream</p><p>2018-03-15 15:47:49.41685 [ (17)] INFO: [ webmediaportal-35976] Cancelling timeshifting</p><p>2018-03-15 15:47:49.51235 [ (41)] ERROR: TsBuffer: Some exception happened during refreshing the stream buffer</p><p>System.NullReferenceException: Object reference not set to an instance of an object.</p><p>----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p></blockquote><p></p>
[QUOTE="Makaronen, post: 1241432, member: 53878"] Hi! I installed MPExtended 0.6.0-beta and WebMediaPortal 0.6.0-beta and everything works almost perfect. But i have problem when i try streaming live-tv with flash via the JWplayer from the webgui. The stream starts but stops direct after aprox 1 second.[I] [/I]If i instead download the link and open it in VLC or Media Player it works fine. I have used this setup before and then it worked with no problem.... Has anything changed with MediaPortal so this is no more an option? Have tested all kind of webreaders like chrome, ie and edge with same symptom. I guess there is problem with TSBuffer and the refresh, Here some from the log: Anyone here who has a clue to come around this? ................................................................................................................................................................................................................................................................................. 2018-03-15 15:47:28.70534 [ (19)] INFO: [ webmediaportal-35976] Starting timeshifting on channel 408 for client WebMediaPortal (user admin) 2018-03-15 15:47:28.70634 [ (58)] DEBUG: Starting timeshifting with username mpextended-webmediaportal-35976 on channel id 408 2018-03-15 15:47:28.70834 [ (58)] DEBUG: Starting timeshifting 2018-03-15 15:47:28.99437 [ (58)] DEBUG: Timeshifting succeeded 2018-03-15 15:47:30.17351 [ (19)] DEBUG: [ webmediaportal-35976] Timeshifting started! 2018-03-15 15:47:30.17351 [ (19)] INFO: [ webmediaportal-35976] Called InitStream with type=TV; provider=0; itemId=E:\Timeshift\live3-3.ts.tsbuffer; offset=0; clientDescription=WebMediaPortal (user admin); idleTimeout=300 2018-03-15 15:47:30.20251 [ (19)] DEBUG: [ webmediaportal-35976] Called StartStream with profile=Flash HQ; start=0 2018-03-15 15:47:30.20752 [ (19)] DEBUG: [ webmediaportal-35976] StartStream for file mediatype=TV provider=0 id=E:\Timeshift\live3-3.ts.tsbuffer filetype=Content offset=0 path=E:\Timeshift\live3-3.ts.tsbuffer 2018-03-15 15:47:30.21552 [ (19)] INFO: TsBuffer: Files added 1, removed 0 2018-03-15 15:47:30.22351 [ (19)] DEBUG: Using path E:\Timeshift\live3-3.ts.tsbuffer1.ts from TS buffer E:\Timeshift\live3-3.ts.tsbuffer as source for mediatype=TV provider=0 id=E:\Timeshift\live3-3.ts.tsbuffer filetype=Content offset=0 path=E:\Timeshift\live3-3.ts.tsbuffer 2018-03-15 15:47:30.26953 [ (19)] DEBUG: [ webmediaportal-35976] Using 854x480 as output size for stream webmediaportal-35976 2018-03-15 15:47:30.27253 [ (19)] DEBUG: [ webmediaportal-35976] Final stream selection: audioId=64, subtitleId= 2018-03-15 15:47:30.29053 [ (19)] INFO: [ webmediaportal-35976] Assembling following pipeline: 2018-03-15 15:47:30.29053 [ (19)] INFO: [ webmediaportal-35976] data 1: MPExtended.Services.StreamingService.Units.InputUnit (input False, data True, log False) 2018-03-15 15:47:30.29053 [ (19)] INFO: [ webmediaportal-35976] data 5: MPExtended.Services.StreamingService.Units.EncoderUnit (input True, data True, log True) 2018-03-15 15:47:30.29053 [ (19)] INFO: [ webmediaportal-35976] data 15: MPExtended.Services.StreamingService.Units.FLVMetadataInjector (input True, data True, log False) 2018-03-15 15:47:30.29053 [ (19)] INFO: [ webmediaportal-35976] dataconn 1 -> 5 2018-03-15 15:47:30.29053 [ (19)] INFO: [ webmediaportal-35976] dataconn 5 -> 15 2018-03-15 15:47:30.29053 [ (19)] INFO: [ webmediaportal-35976] log 6: MPExtended.Services.StreamingService.Units.VLCWrapperParsingUnit 2018-03-15 15:47:30.29053 [ (19)] INFO: [ webmediaportal-35976] logconn 5 -> 6 2018-03-15 15:47:30.29153 [ (19)] INFO: [ webmediaportal-35976] Using TsBuffer to read input 2018-03-15 15:47:30.29253 [ (19)] INFO: TsBuffer: Files added 1, removed 0 2018-03-15 15:47:30.29553 [ (19)] DEBUG: [ webmediaportal-35976] Setup data unit 1 2018-03-15 15:47:30.29653 [ (19)] INFO: [ webmediaportal-35976] Encoding: starting input named pipe \\.\pipe\86da9b65-6156-4e38-b0ae-3001b0455853 2018-03-15 15:47:30.29753 [ (19)] INFO: [ webmediaportal-35976] Encoding: starting output named pipe \\.\pipe\e181ac80-5df1-4f18-8bfd-1fd89f9a5e27 2018-03-15 15:47:30.29853 [ (19)] INFO: [ webmediaportal-35976] Encoder: Transcoder configuration dump 2018-03-15 15:47:30.29853 [ (19)] INFO: [ webmediaportal-35976] Encoder: hasStdin False, hasStdout True, hasStderr False 2018-03-15 15:47:30.29853 [ (19)] INFO: [ webmediaportal-35976] Encoder: path C:\Program Files (x86)\MPExtended\Service\Streaming\vlc-2.0.2\MPExtended.Libraries.VLCWrapper.exe 2018-03-15 15:47:30.29853 [ (19)] INFO: [ webmediaportal-35976] Encoder: arguments "stream://\\\.\pipe\86da9b65-6156-4e38-b0ae-3001b0455853" "#transcode{vcodec=h264,vb=1280,venc=x264{profile=baseline,preset=veryfast},deinterlace=-1,acodec=mp4a,ab=192,channels=2,samplerate=48000,audio-sync,scodec=none,width=854,height=480}:standard{access=file,mux=ffmpeg{mux=flv},dst=\\\.\pipe\e181ac80-5df1-4f18-8bfd-1fd89f9a5e27}" "--ffmpeg-hw" "--sout-ffmpeg-strict=-2" "--audio-track=0" 2018-03-15 15:47:30.33353 [ (19)] DEBUG: [ webmediaportal-35976] Setup data unit 5 2018-03-15 15:47:30.33403 [ (19)] DEBUG: [ webmediaportal-35976] Setup data unit 15 2018-03-15 15:47:30.33703 [ (19)] DEBUG: [ webmediaportal-35976] Setup log unit 6 2018-03-15 15:47:30.33703 [ (19)] INFO: [ webmediaportal-35976] Pipeline assembled 2018-03-15 15:47:30.33853 [ (19)] INFO: [ webmediaportal-35976] Starting data unit 1 2018-03-15 15:47:30.33853 [ (19)] INFO: [ webmediaportal-35976] Starting data unit 5 2018-03-15 15:47:33.77303 [ (19)] INFO: [ webmediaportal-35976] Encoding: Copy stream of type MPExtended.Services.StreamingService.Code.TsBuffer into transcoder input stream of type MPExtended.Services.StreamingService.Code.NamedPipe 2018-03-15 15:47:33.77403 [ (19)] INFO: [ webmediaportal-35976] Encoding: Waiting till output named pipe is ready 2018-03-15 15:47:33.77403 [ (19)] INFO: [ webmediaportal-35976] Starting data unit 15 2018-03-15 15:47:33.77403 [ (19)] INFO: [ webmediaportal-35976] All data units started! 2018-03-15 15:47:33.87504 [ (19)] INFO: [ webmediaportal-35976] Started stream 2018-03-15 15:47:49.40334 [ (17)] DEBUG: [ webmediaportal-35976] Called FinishStream 2018-03-15 15:47:49.40334 [ (17)] DEBUG: [ webmediaportal-35976] Stopping stream 2018-03-15 15:47:49.40585 [ (17)] INFO: [ webmediaportal-35976] Stopping data unit 1 2018-03-15 15:47:49.40835 [ (41)] ERROR: TsBuffer: Some exception happened during refreshing the stream buffer System.ObjectDisposedException: Cannot access a closed file. at System.IO.__Error.FileNotOpen() at System.IO.FileStream.get_Length() at MPExtended.Services.StreamingService.Code.TsBuffer.RefreshTsBuffer() in D:\Projects\MediaPortal\MpExt\git\Services\MPExtended.Services.StreamingService\Code\TsBuffer.cs:line 470 2018-03-15 15:47:49.41485 [ (17)] INFO: [ webmediaportal-35976] Stopping data unit 5 2018-03-15 15:47:49.41535 [ (17)] DEBUG: [ webmediaportal-35976] Encoding: Killing transcoder 2018-03-15 15:47:49.41585 [ (17)] DEBUG: TranscoderProcess: Terminating process pid=10092 2018-03-15 15:47:49.41635 [ (17)] INFO: [ webmediaportal-35976] Stopping data unit 15 2018-03-15 15:47:49.41685 [ (17)] DEBUG: [ webmediaportal-35976] Pipeline stopped 2018-03-15 15:47:49.41685 [ (17)] DEBUG: [ webmediaportal-35976] Killed stream 2018-03-15 15:47:49.41685 [ (17)] INFO: [ webmediaportal-35976] Cancelling timeshifting 2018-03-15 15:47:49.51235 [ (41)] ERROR: TsBuffer: Some exception happened during refreshing the stream buffer System.NullReferenceException: Object reference not set to an instance of an object. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
Popular Plugins
MPExtended
WebMediaPortal Stream LiveTV Problems
Contact us
RSS
Top
Bottom