How-To use Comskip to cut out commercials via MediaPortal (3 Viewers)

LawnGOD

Portal Member
October 23, 2005
15
0
Earth
WOW!

I saw this thread at work and ran home to implement it. I must say, while comskip is an incredible program, the lead off tutorial is what really got me. Short, simple and works the first time!
Thank you very much Ralph. I have used your tips with much success in the past.
And thank you Erik for your wonderful comskip program. Thanks to you guys, I no longer have to clip commercials with VirtualDub.

I have checked output of 3 shows and all seem to have a few seconds of extra commercials, but no actual content was lost. And this is "straight out of the box". I will hold the original settings and run another 20 shows thru it.

Thanks again!
 

ASiDiE

Retired Team Member
  • Premium Supporter
  • January 14, 2005
    902
    5
    USA
    I am having a little issue with comskip and wondering if you guys could help me. The problem is after I run the show through and then watch it, it seems to cutting commercials... but in the wrong place. It seems to be cutting off the show... I would say about 4 or 5 seconds before the commercial. People will be in mid sentence and then it will cut. Then it will play about 15 or so seconds of the ending commercial before the show starts again. I think I am going to download the files again and run through the guide. The only thing I have changed is the padding=2... instead of 0. Any thoughts to why this would be happening?
     

    erik1958

    Portal Pro
    January 28, 2006
    100
    7
    There are MANY reasons why this may happen.
    One very difficult reason is that the timeline of the MPEG is corrupt.
    Comskip defines the cutpoints on frame bases.
    Many players translate the frame numbers to time and then use the timeline of the mpeg to find the cutpoint.
    If the timeline is currupt, meaning the PTS timeline is broken, this will fail.
    You can use comskip to check if the cutpoints are at the right point in mpeg by starting comskip with the full path to the generated txt file as its single parameter. Comskip will open a mpeg preview window with the mpeg file shown.
    Now you can review the cutpoints to see if there they are indeed correct.

    Otherwise please follow the procedure noted in my previous post, only by providing the right info it is possible to solve the more difficult problems.
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    yes, erik. where can i download a test version.

    [edit] downloaded already latest beta from erik's site [/edit]
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    Hi Erik,

    with the dvr version downloaded from above i get the following in the log and then comskip crashes, with the window poping up, if i want to send the information to Microsoft.
    if you need the appcompat file uploaded/mailed to somewhere let me know.

    Code:
    ################################################################
    Generated using Comskip 0.79.29
    Time at start of run:
    Sun Mar 26 18:43:51 2006
    ################################################################
    Mpeg:	C:\Temp\ORF 1 - Die Pannenshow (AT) - 08.03.2006 - 20_15.dvr-ms
    Exe	comskip.exe
    Logo:	C:\Temp\ORF 1 - Die Pannenshow (AT) - 08.03.2006 - 20_15.logo.txt
    Ini:	comskip.ini
    
    Detection Methods to be used:
    	1) Black Frame
    	2) Logo - Give up after 1200 seconds
    	3) Fuzzy Logic
    	4) Aspect Ratio
    
    
    ComSkip throttles back from -0001 to -0001.
    The time is now 1843 so it's full speed ahead!
    
    found object guid: 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:5468read "header object" subobj:5, reserved1:1, reserved2:2
    found object guid: 0xd2d0a440-0xe307-0x11d2-0x97f000a0c95ea850 size:462
    Read "extended content description object"  - 'DVR Index Granularity' = '500'  - 'DVR File Version' = 'F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0'  - 'WMFSDKVersion' = '10.00.00.3802'  - 'WMFSDKNeeded' = '0.0.0.0000'  - 'VBR Peak' = '66355200'  - 'IsVBR' = 'true'  - 'ASFLeakyBucketPairs' = '000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    found object guid: 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104
    read "file properties object" file_id:0x8b449623-0x5f60-0x4a90-0x95b2687a51335d81 file_size:1239686778 creation_date:127863186386260000 data_packets_count:18916 play_duration:17616410000 send_duration:17615960000 preroll:0 flags:2 min_data_packet_size:65535 max_data_packet_size:65535 max_bitrate:66405429
    found object guid: 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:4569
    read "header extension object" reserved1:0xabd3d211-0xa9ba-0x11cf-0x8ee600c00c205365 reserved2:6 header_extension_size:4523
    found object guid: 0x7c4346a9-0xefe0-0x4bfc-0xb229393ede415c85 size:33
    Read "language list object" 1 entries  - 'de'
    found object guid: 0x26f18b5d-0x4584-0x47ec-0x9f5f0e651f0452c9 size:26
    unknown asf object (not loaded)
    found object guid: 0xc5f8cbea-0x5baf-0x4877-0x8467aa8c44fa4cca size:52
    read "metadata object" 1 entries  - IsVBR=1
    found object guid: 0x1806d474-0xcadf-0x4509-0xa4ba9aabcb96aae8 size:3834
    unknown asf object (not loaded)
    found object guid: 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a size:242
    Read "extended stream properties object":  - start=0 end=0  - data bitrate=5000118 buffer=0 initial fullness=0  - alternate data bitrate=66355200 buffer=0 initial fullness=0  - maximum object size=2024  - flags=0x2  - stream number=1 language=0  - average time per frame=400000  - stream name count=0  - payload extention system count=7
    found object guid: 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a size:336
    found object guid: 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:182
    read "stream Properties object" stream_type:0x3afb65e2-0x47ef-0x40f2-0xac2c70a90d71d343 error_correction_type:0x20fb5700-0x5b55-0x11cf-0xa8fd00805f5c442b time_offset:0 type_specific_data_length:104 error_correction_data_length:0 flags:0x2 stream_number:2
    Read "extended stream properties object":  - start=0 end=0  - data bitrate=384008 buffer=0 initial fullness=0  - alternate data bitrate=384008 buffer=0 initial fullness=0  - maximum object size=2016  - flags=0x1  - stream number=2 language=0  - average time per frame=420230  - stream name count=0  - payload extention system count=3
    found object guid: 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:265
    read "stream Properties object" stream_type:0xbc19efc0-0x5b4d-0x11cf-0xa8fd00805f5c442b error_correction_type:0x20fb5700-0x5b55-0x11cf-0xa8fd00805f5c442b time_offset:0 type_specific_data_length:187 error_correction_data_length:0 flags:0x1 stream_number:1
    found object guid: 0x7bf875ce-0x468d-0x11d1-0x8d82006097c9a2b2 size:38
    Read "stream bitrate properties object"  - stream=1 bitrate=66405429  - stream=2 bitrate=397567
    found object guid: 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:1239660110read "data object" file_id:0x8b449623-0x5f60-0x4a90-0x95b2687a51335d81 total data packet:18916 reserved:257
    found object guid: 0x33000890-0xe5b1-0x11cf-0x89f400a0c90349cb size:21200read "index object" file_id:0x8b449623-0x5f60-0x4a90-0x95b2687a51335d81 index_entry_time_interval:5000000 max_packet_count:2 index_entry_count:3524
    cannot read one asf object
    + 'Unknown' GUID 0x0-0x0-0x0-0x0000000000000000 size:0pos:0
         + 'Header' GUID 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:5468pos:0
         |    + 'Extended content description' GUID 0xd2d0a440-0xe307-0x11d2-0x97f000a0c95ea850 size:462pos:30
         |    + 'File Properties' GUID 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104pos:492
         |    + 'Header Extention' GUID 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:4569pos:596
         |    |    + 'Language List' GUID 0x7c4346a9-0xefe0-0x4bfc-0xb229393ede415c85 size:33pos:642
         |    |    + 'Unknown' GUID 0x26f18b5d-0x4584-0x47ec-0x9f5f0e651f0452c9 size:26pos:675
         |    |    + 'Metadata' GUID 0xc5f8cbea-0x5baf-0x4877-0x8467aa8c44fa4cca size:52pos:701
         |    |    + 'Padding' GUID 0x1806d474-0xcadf-0x4509-0xa4ba9aabcb96aae8 size:3834pos:753
         |    |    + 'Extended Stream Properties' GUID 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a size:242pos:4587
         |    |    + 'Extended Stream Properties' GUID 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a size:336pos:4829
         |    + 'Stream Properties' GUID 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:265pos:5165
         |    + 'Stream Bitrate Propoerties' GUID 0x7bf875ce-0x468d-0x11d1-0x8d82006097c9a2b2 size:38pos:5430
         |    + 'Stream Properties' GUID 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:182pos:4983
         + 'Data' GUID 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:1239660110pos:5468
         + 'Index' GUID 0x33000890-0xe5b1-0x11cf-0x89f400a0c90349cb size:21200pos:1239665578
    found 2 streams
    added new video stream(ID:1)
    ignoring unknown stream(ID:2)
     

    erik1958

    Portal Pro
    January 28, 2006
    100
    7
    Bug solved, zip is updated, download again and test
     

    Users who are viewing this thread

    Top Bottom