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
Area 51 - Testing Area
RTSP streaming library update
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="mm1352000" data-source="post: 1170944" data-attributes="member: 82144"><p>Thanks again Charlie TV <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite24" alt="(y)" title="Thumbs Up (y)" loading="lazy" data-shortname="(y)" /></p><p></p><p>I can see what you mean and this time it's definitely not a false positive.</p><p></p><p></p><p>Yep, the client log file approximately agrees:</p><p>[2016-01-11 04:23:55,015] [Log ] [MPMain ] [DEBUG] - VMR9Helper: Playing -> Repainting, Frames 0</p><p></p><p></p><p>Yep, the server's log files seem to agree. In the TV service log we have:</p><p>[2016-01-11 17:17:27,879] [Log ] [33 ] [DEBUG] - Controller: Error "The process cannot access the file 'E:\live9-0.ts.tsbuffer' because it is being used by another process." on delete in CleanTimeshiftFiles</p><p>...</p><p>[2016-01-11 17:17:28,113] [Log ] [33 ] [DEBUG] - Controller: Error "The process cannot access the file 'E:\live9-0.ts.tsbuffer8.ts' because it is being used by another process." on delete in CleanTimeshiftFiles</p><p></p><p>...and in the TsWriter log we have approximately the same entries repeating ad nauseum:</p><p>[collapse][2016-01-11 17:14:42,035] [7208870] [1344] - Recorder: TIMESHIFT Info : Program clock reference forward jump ( 47054 ).</p><p>[2016-01-11 17:14:42,285] [7208870] [1344] - MultiFileWriter: failed to create file E:\\live12-0.ts.tsbuffer3.ts</p><p>[2016-01-11 17:14:42,285] [7208870] [1344] - Failed to reopen old file. It's currently in use. Dropping data!</p><p>[2016-01-11 17:14:42,285] [7208870] [1590] - Recorder<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" />id 19c9 Continuity error... d ( prev 3 ) - bad signal?</p><p>[2016-01-11 17:14:42,285] [7208870] [1590] - Recorder<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" />id 19ca Continuity error... 9 ( prev b ) - bad signal?</p><p>[2016-01-11 17:14:42,285] [7208870] [1590] - Recorder<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" />id 19c9 Continuity error... e ( prev 3 ) - bad signal?</p><p>[2016-01-11 17:14:42,285] [7208870] [1590] - Recorder<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" />id 19ca Continuity error... f ( prev a ) - bad signal?</p><p>[2016-01-11 17:14:42,441] [7208870] [1590] - MultiFileWriter: failed to create file E:\\live9-0.ts.tsbuffer8.ts</p><p>[2016-01-11 17:14:42,441] [7208870] [1590] - Failed to reopen old file. It's currently in use. Dropping data!</p><p>[2016-01-11 17:14:42,799] [7208870] [1344] - Recorder<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" />id 961 Continuity error... c ( prev 3 ) - bad signal?</p><p>[2016-01-11 17:14:42,799] [7208870] [1344] - Recorder<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" />id 962 Continuity error... 7 ( prev d ) - bad signal?[/collapse]</p><p></p><p>The TsWriter log file doesn't run back to 4:30 AM so I can't be sure of this, but I think that this file locking may be caused by the streaming server. Streaming server is logging the entries like this repeatedly starting at ~3:30 AM:</p><p>11-01-2016 03:33:38.322 Abnormal start PCR, endPcr 128305, startPcr 8144303237</p><p>11-01-2016 03:33:38.342 Abnormal start PCR, endPcr 128305, startPcr 8144303237</p><p>11-01-2016 03:33:38.363 Abnormal start PCR, endPcr 128305, startPcr 8144303237</p><p>11-01-2016 03:33:38.384 Abnormal start PCR, endPcr 134613, startPcr 8144303237</p><p>11-01-2016 03:33:38.405 PCR rollover normally found ! endPcr 134613, startPcr 8144303237</p><p></p><p>This is nothing to do with my changes, but does indicate that there's probably a [loooong standing] bug or limitation in streaming server when it comes to streaming continuously for long periods of time. I'm not sure that I can or should do anything about this within the context of this update. The update is already quite significant. The bigger it gets, the harder it is to manage and test properly. What do you think [USER=83973]@Owlsroost[/USER] ?</p><p></p><p>Anyhow, the last thing I noticed - which may or may not be connected to some/all of the above stuff - are the following entries in the TsReader log:</p><p>[2016-01-11 03:44:24,179] [3e9e94b0] [ 690] - CRTSPClient::UpdateDuration(): RTSP DESCRIBE timed out, message = liveMedia6</p><p></p><p>There are ~1500 of them followed by ~10000 of the following entries:</p><p>[2016-01-11 05:30:53,117] [3e9e94b0] [ 690] - CRTSPClient::UpdateDuration(): RTSP DESCRIBE failed, result code = -10035, message = DESCRIBE send() failed: A non-blocking socket operation could not be completed immediately</p><p></p><p>These entries directly relate to the changes I've made, so they're a bit concerning. If they're connected to the streaming server PCR rollover stuff then it's possible that there's nothing I can do about them (ie. they're just a symptom of the streaming server problem). However I'd like to try a modification and see if it makes any difference. To that end, please could you try the same test with the attached TsReader update.</p><p></p><p>Thanks again for testing!</p><p>Regards,</p><p>mm</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1170944, member: 82144"] Thanks again Charlie TV (y) I can see what you mean and this time it's definitely not a false positive. Yep, the client log file approximately agrees: [2016-01-11 04:23:55,015] [Log ] [MPMain ] [DEBUG] - VMR9Helper: Playing -> Repainting, Frames 0 Yep, the server's log files seem to agree. In the TV service log we have: [2016-01-11 17:17:27,879] [Log ] [33 ] [DEBUG] - Controller: Error "The process cannot access the file 'E:\live9-0.ts.tsbuffer' because it is being used by another process." on delete in CleanTimeshiftFiles ... [2016-01-11 17:17:28,113] [Log ] [33 ] [DEBUG] - Controller: Error "The process cannot access the file 'E:\live9-0.ts.tsbuffer8.ts' because it is being used by another process." on delete in CleanTimeshiftFiles ...and in the TsWriter log we have approximately the same entries repeating ad nauseum: [collapse][2016-01-11 17:14:42,035] [7208870] [1344] - Recorder: TIMESHIFT Info : Program clock reference forward jump ( 47054 ). [2016-01-11 17:14:42,285] [7208870] [1344] - MultiFileWriter: failed to create file E:\\live12-0.ts.tsbuffer3.ts [2016-01-11 17:14:42,285] [7208870] [1344] - Failed to reopen old file. It's currently in use. Dropping data! [2016-01-11 17:14:42,285] [7208870] [1590] - Recorder:Pid 19c9 Continuity error... d ( prev 3 ) - bad signal? [2016-01-11 17:14:42,285] [7208870] [1590] - Recorder:Pid 19ca Continuity error... 9 ( prev b ) - bad signal? [2016-01-11 17:14:42,285] [7208870] [1590] - Recorder:Pid 19c9 Continuity error... e ( prev 3 ) - bad signal? [2016-01-11 17:14:42,285] [7208870] [1590] - Recorder:Pid 19ca Continuity error... f ( prev a ) - bad signal? [2016-01-11 17:14:42,441] [7208870] [1590] - MultiFileWriter: failed to create file E:\\live9-0.ts.tsbuffer8.ts [2016-01-11 17:14:42,441] [7208870] [1590] - Failed to reopen old file. It's currently in use. Dropping data! [2016-01-11 17:14:42,799] [7208870] [1344] - Recorder:Pid 961 Continuity error... c ( prev 3 ) - bad signal? [2016-01-11 17:14:42,799] [7208870] [1344] - Recorder:Pid 962 Continuity error... 7 ( prev d ) - bad signal?[/collapse] The TsWriter log file doesn't run back to 4:30 AM so I can't be sure of this, but I think that this file locking may be caused by the streaming server. Streaming server is logging the entries like this repeatedly starting at ~3:30 AM: 11-01-2016 03:33:38.322 Abnormal start PCR, endPcr 128305, startPcr 8144303237 11-01-2016 03:33:38.342 Abnormal start PCR, endPcr 128305, startPcr 8144303237 11-01-2016 03:33:38.363 Abnormal start PCR, endPcr 128305, startPcr 8144303237 11-01-2016 03:33:38.384 Abnormal start PCR, endPcr 134613, startPcr 8144303237 11-01-2016 03:33:38.405 PCR rollover normally found ! endPcr 134613, startPcr 8144303237 This is nothing to do with my changes, but does indicate that there's probably a [loooong standing] bug or limitation in streaming server when it comes to streaming continuously for long periods of time. I'm not sure that I can or should do anything about this within the context of this update. The update is already quite significant. The bigger it gets, the harder it is to manage and test properly. What do you think [USER=83973]@Owlsroost[/USER] ? Anyhow, the last thing I noticed - which may or may not be connected to some/all of the above stuff - are the following entries in the TsReader log: [2016-01-11 03:44:24,179] [3e9e94b0] [ 690] - CRTSPClient::UpdateDuration(): RTSP DESCRIBE timed out, message = liveMedia6 There are ~1500 of them followed by ~10000 of the following entries: [2016-01-11 05:30:53,117] [3e9e94b0] [ 690] - CRTSPClient::UpdateDuration(): RTSP DESCRIBE failed, result code = -10035, message = DESCRIBE send() failed: A non-blocking socket operation could not be completed immediately These entries directly relate to the changes I've made, so they're a bit concerning. If they're connected to the streaming server PCR rollover stuff then it's possible that there's nothing I can do about them (ie. they're just a symptom of the streaming server problem). However I'd like to try a modification and see if it makes any difference. To that end, please could you try the same test with the attached TsReader update. Thanks again for testing! Regards, mm [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Area 51 - Testing Area
RTSP streaming library update
Contact us
RSS
Top
Bottom