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
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
Is Comskip meant to work in live tv?
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: 1190303" data-attributes="member: 82144"><p>Hello again</p><p></p><p>Sorry for the delayed response - I got waylaid by other priorities.</p><p></p><p></p><p>No need to apologise to me. <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></p><p>Yeah, that process should be fine. <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>The Watchdog just collects log files when MP is closed. That closing can be a crash or a standard "user-initiated" close.</p><p></p><p>The MediaPortal log file you provided shows:</p><p>[2016-07-09 10:23:03,005] [Log ] [MPMain ] [DEBUG] - g_Player.LoadChapters() - Automatic ComSkip mode is on.</p><p>[2016-07-09 10:23:03,006] [Log ] [MPMain ] [WARN ] - g_Player.LoadChapters() - Invalid chapter file</p><p></p><p>So, the chapter file is seen but not loaded, and that explains why you don't see the markers.</p><p></p><p>I think the relevant code is here:</p><p><a href="https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Core/Player/g_player.cs#L3438-L3443" target="_blank">https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Core/Player/g_player.cs#L3438-L3443</a></p><p>[code]</p><p> int fps;</p><p> if (String.IsNullOrEmpty(line) || !int.TryParse(line.Substring(line.LastIndexOf(' ') + 1), out fps))</p><p> {</p><p> Log.Warn("g_Player.LoadChapters() - Invalid chapter file");</p><p> return false;</p><p> }[/code]</p><p></p><p>In other words, it looks like MP is not picking up the Comskip "chapters" because it fails to read the frames-per-second detail from the end of the first line of the Comskip file.</p><p></p><p>Looking at the contents of the EDL file, I can see that the end of the line has a tab followed by a zero. MP is expecting a space instead of a tab... and I suspect a real FPS value is needed too.</p><p></p><p>Perhaps there are relevant Comskip options - relating to file format and/or frames per second - which you're aware of?</p><p>(I've never used Comskip, so this is where my ability to help you becomes limited at best.)</p><p></p><p></p><p>An "exclusive write flag" situation is theoretically plausible, and your explanation might be plausible too. However from the analysis above, to me it looks more like the format of the EDL file is not what MP expects it to be. Nevertheless I could easily be wrong. Might be worth trying the standard Comskip launcher plugin to see if it makes any difference.</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1190303, member: 82144"] Hello again Sorry for the delayed response - I got waylaid by other priorities. No need to apologise to me. :) Yeah, that process should be fine. (y) The Watchdog just collects log files when MP is closed. That closing can be a crash or a standard "user-initiated" close. The MediaPortal log file you provided shows: [2016-07-09 10:23:03,005] [Log ] [MPMain ] [DEBUG] - g_Player.LoadChapters() - Automatic ComSkip mode is on. [2016-07-09 10:23:03,006] [Log ] [MPMain ] [WARN ] - g_Player.LoadChapters() - Invalid chapter file So, the chapter file is seen but not loaded, and that explains why you don't see the markers. I think the relevant code is here: [URL]https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Core/Player/g_player.cs#L3438-L3443[/URL] [code] int fps; if (String.IsNullOrEmpty(line) || !int.TryParse(line.Substring(line.LastIndexOf(' ') + 1), out fps)) { Log.Warn("g_Player.LoadChapters() - Invalid chapter file"); return false; }[/code] In other words, it looks like MP is not picking up the Comskip "chapters" because it fails to read the frames-per-second detail from the end of the first line of the Comskip file. Looking at the contents of the EDL file, I can see that the end of the line has a tab followed by a zero. MP is expecting a space instead of a tab... and I suspect a real FPS value is needed too. Perhaps there are relevant Comskip options - relating to file format and/or frames per second - which you're aware of? (I've never used Comskip, so this is where my ability to help you becomes limited at best.) An "exclusive write flag" situation is theoretically plausible, and your explanation might be plausible too. However from the analysis above, to me it looks more like the format of the EDL file is not what MP expects it to be. Nevertheless I could easily be wrong. Might be worth trying the standard Comskip launcher plugin to see if it makes any difference. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
Is Comskip meant to work in live tv?
Contact us
RSS
Top
Bottom