Kodi Community Forum
Does PVR.WMC support EDL comskip playback? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: Windows Media Center (WMC) (https://forum.kodi.tv/forumdisplay.php?fid=205)
+---- Thread: Does PVR.WMC support EDL comskip playback? (/showthread.php?tid=187372)

Pages: 1 2


Does PVR.WMC support EDL comskip playback? - bluenote - 2014-02-24

Hey guys

Does anyone have comskip EDL support working in playback in Frodo? In Gotham?
thanks


RE: Does PVR.WMC support EDL comskip playback? - scarecrow420 - 2014-02-24

No, this is somethign we havent implemented as yet.

The XBMC pvr framework allows the addons to provide EDL data so we should be able to do it. The problem is mostly that neither krusty or I really use this stuff personally so we dont have much experience with it. Im assuming we would just read the EDL files if they exist (assumingly created by an external application kicked off by our CustomExternalAction when recordings finish) and provide that EDL information to XBMC when it asks for it. If you are able to upload a sample WTV file with corresponding EDL data file, I could see what I can do about implementing it Smile

https://drive.google.com/folderview?id=0ByNnAMYBoWvfQVBBNzFhZmNPWUE&usp=sharing


RE: Does PVR.WMC support EDL comskip playback? - bluenote - 2014-02-24

I can definitely provide a sample media file and an EDL but I'm not using WMC "in production" yet so I dont have a WTV-readable-comskip atm. This addon really seems to be the place to be though, I'm really impressed with the extras and pace of development here. Come to think of it I guess any EDL will do, right? Its an extremely simple format. I DO have .ts files and corresponding EDL's. Of course the ts is 9 gigs...

Just for kicks here's the edl anyways:

Filename CTV News at Five_25 CIVTDT_2014-02-20_17-00.edl
to correspond to CTV News at Five_25 CIVTDT_2014-02-20_17-00.ts

Code:
0.00    125.06    0
804.77    994.36    0
1230.56    1413.51    0
1734.17    1931.00    0
2351.35    2535.70    0
3065.66    3217.78    0
3393.19    3702.57    0



RE: Does PVR.WMC support EDL comskip playback? - scarecrow420 - 2014-02-24

so what produces the EDL files in your case? Would you only see this function as being available on completed recordings or would you also expect it when watching an in progress recording (eg do you have some EDL producing app that is running alongside the recording file or only as a post processing action once the recording is finished?)

Im not particularly phased at downloading 9GB but you may be about uploading it Smile If you can produce a smaller sample do upload it. Or tell me what/how you create them etc. Also what did you mean by not having a WTV-readable comskip? You mean comskip application cant support WTV files and you need something else or?


RE: Does PVR.WMC support EDL comskip playback? - bluenote - 2014-02-24

My undertanding is the comskip that supports WTV files is premium only ($10 donation)
There MAY be a version of showanalyzer that does it but I'm not sure.

I know that typically the two scenarios you mention happen. Personally I run comskip against my finished files as soon as they are done to produce the EDL. However I know that mediaportal for example (and probably others) has the ability to run a comskip check "live" against an in-progress recording. So the gold standard would probably be to be able to offer it "live".

From the XBMC wiki the mplayer EDL format is just:

[start time] [end time] [action]

Where action is 0 - cut ; 1 - mute ; 2 - scene marker; 3 - commercial break

Im only aware of comksip creating the "0" action but I suppose 3 would be correct too.

Oops, I forgot to mention the other use case. I understand that MCEBuddy can do a conversion/cut/EDL generation so that you can end up with a .ts or a .mkv or mp4 and/or an EDL or just a cut-removed-media file. That works by (I think) by converting to .ts , comskipping, and then cutting or whatever afterwards.

(EDIT had the donation amount wrong above)


RE: Does PVR.WMC support EDL comskip playback? - scarecrow420 - 2014-02-24

Well with our external action capability, we can kick off a program when a recording starts... so I guess it comes down to whether XBMC requests the EDL information repeatedly while a file is playing or whether it only asks for it once when the file starts playing (assuming it's a static file and thus the EDL info must already exist in full). We should certainly be able to provide it in any case (look for EDL filename matching the current filename whether that be a WTV or TS file and provide it if asked). I guess Ill have to do some digging into XBMC's EDL requests to the PVR backends.


RE: Does PVR.WMC support EDL comskip playback? - scarecrow420 - 2014-02-26

FYI i had a look at XBMC and it only asks for the EDL file once when first starting to play a recording, so it will only be possible to feed it the EDL data for completed recordings rather than in progress ones as well (since it doesnt keep asking for EDL updates). Other than that it should be able to be implemented pretty easily, when I get some time


RE: Does PVR.WMC support EDL comskip playback? - bluenote - 2014-02-26

Hey scarecrow

Thanks for looking into this. I picked up the latest version of comskip so I could generate a "for real" EDL for you and I'm uploading the EDL and WTV file to your google drive right now. At least, I hope Im uploading it to your drive now. Either that or to mine ...
Anyways I hope it helps. I can't wait to be commercial free Smile

thanks


RE: Does PVR.WMC support EDL comskip playback? - JazJon - 2014-02-26

I'm not sure what comskip EDL is, but I just got MCEBuddy 2.3 Beta 15 working great with WTV Unprocessed profile (Skip Remux, Skip Copying)
http://forum.xbmc.org/showthread.php?tid=187193&pid=1637696#pid1637696
https://mcebuddy2x.codeplex.com/discussions/437842 (see latest post)

EDIT just googled up EDL XBMC
http://wiki.xbmc.org/index.php?title=Edit_decision_list

Looks like this would be the sweetest method, the commercial scanning can just place markers on where to auto skip I assume?


RE: Does PVR.WMC support EDL comskip playback? - bluenote - 2014-02-26

Oddly, on my local machine server xbmc picks up the edl and skips right now. I assume the client provides a UNC , and if that holds true for remote clients then we should be good. (Because xbmc natively checks for EDL if it has disk access)

Just confirmed on my android client, also appears to skip commercials.


RE: Does PVR.WMC support EDL comskip playback? - scarecrow420 - 2014-02-26

Lol OK i guess I dont have anything to do then... Smile


RE: Does PVR.WMC support EDL comskip playback? - JazJon - 2014-02-26

(2014-02-26, 05:44)bluenote Wrote: Oddly, on my local machine server xbmc picks up the edl and skips right now. I assume the client provides a UNC , and if that holds true for remote clients then we should be good. (Because xbmc natively checks for EDL if it has disk access)

Just confirmed on my android client, also appears to skip commercials.

So EDL is working? Commercials are skipped? This sounds more ideal than MCEbuddy. Can you please point me to where to get started trying EDL?

I see this but it doesn't really point me in the right starting direction
http://wiki.xbmc.org/index.php?title=Edit_decision_list#Comskip


RE: Does PVR.WMC support EDL comskip playback? - bluenote - 2014-02-26

What you need is a file of the same name with the extension of EDL in the same location your media file.. This can be produced several ways. In fact your mcebuddy is producing the file at some point in it's processes. You can use comskip or showanalyzer to do it directly, if you get the version that can process wtv files. Otherwise, there has to be a conversion process done first.

There is no doubt a setting in mcebuddy to just produce the EDL file but I don't know how to do so.

(2014-02-26, 05:49)scarecrow420 Wrote: Lol OK i guess I dont have anything to do then... Smile

Officially most feature rich pvr addon Smile
Can you confirm the client works like I thought? I originally assumed it was a http stream.


RE: Does PVR.WMC support EDL comskip playback? - JazJon - 2014-02-26

I guess I need to better understand where the EDL comes from.
https://www.google.com/search?q=mcebuddy+edl

Found this:

"Using Custom EDL Files (v2.1.10+)
This only works when Remove Ads is set to Comskip or ShowAnalyzer.
MCEBuddy looks for a EDL file along with the original source video (with the same source video filename). If it finds the EDL file with the source video it copies the EDL file to the output directory along with the converted file.
MCEBuddy gives preference to the Custom EDL file over Comskip/ShowAnalyzer generated EDL files"

Ok so where do I create or download an EDL? I'm curious to try this out since you say it works great. I'd rather the WTV remain untouched and commercials are simply skipped over via XBMC.


RE: Does PVR.WMC support EDL comskip playback? - bluenote - 2014-02-26

Your best bet is to start with the "don't cut commercials" option in mcebuddy. Beyond that , I don't have their $$ beta so I don't know, but if you ask the mcebuddy guys they should be able to tell you. (And reread post 13 I think I have enough details there)