1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How-To use Comskip to cut out commercials via MediaPortal | Page 3

Discussion in 'Tips and Tricks' started by Ralph, February 5, 2006.

  1. LawnGOD

    LawnGOD Portal Member

    Joined:
    October 23, 2005
    Messages:
    15
    Likes Received:
    0
    Occupation:
    Network GOD!
    Location:
    Earth
    Ratings:
    +0 / 0
    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!
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. erik1958

    erik1958 Portal Pro

    Joined:
    January 28, 2006
    Messages:
    100
    Likes Received:
    7
    Ratings:
    +7 / 0
    I am doing some fine tuning to remove those extra seconds.
    If someone is willing to send me certain data generated by comskip for a show where they see these extra seconds that would help me.
    Please follow the instructions posted here
    http://mk.kaashoek.com/comskip/viewtopic.php?t=34
     
  4. ASiDiE
    • Team MediaPortal

    ASiDiE Retired Team Member

    Joined:
    January 14, 2005
    Messages:
    902
    Likes Received:
    5
    Occupation:
    Computer Tek/Tester for MP
    Location:
    USA
    Ratings:
    +5 / 0
    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?
     
  5. erik1958

    erik1958 Portal Pro

    Joined:
    January 28, 2006
    Messages:
    100
    Likes Received:
    7
    Ratings:
    +7 / 0
    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.
     
  6. erik1958

    erik1958 Portal Pro

    Joined:
    January 28, 2006
    Messages:
    100
    Likes Received:
    7
    Ratings:
    +7 / 0
    basic DVR-MS input for Comskip is working, anyone willing to test?
     
  7. hwahrmann
    • Team MediaPortal

    hwahrmann Development Group

    Joined:
    September 15, 2004
    Messages:
    4,473
    Likes Received:
    1,618
    Gender:
    Male
    Location:
    Vienna, Austria
    Ratings:
    +2,237 / 1
    Home Country:
    Austria Austria
    yes, erik. where can i download a test version.

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

    erik1958 Portal Pro

    Joined:
    January 28, 2006
    Messages:
    100
    Likes Received:
    7
    Ratings:
    +7 / 0
  9. hwahrmann
    • Team MediaPortal

    hwahrmann Development Group

    Joined:
    September 15, 2004
    Messages:
    4,473
    Likes Received:
    1,618
    Gender:
    Male
    Location:
    Vienna, Austria
    Ratings:
    +2,237 / 1
    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 (Text):
    1.  
    2. ################################################################
    3. Generated using Comskip 0.79.29
    4. Time at start of run:
    5. Sun Mar 26 18:43:51 2006
    6. ################################################################
    7. Mpeg:   C:\Temp\ORF 1 - Die Pannenshow (AT) - 08.03.2006 - 20_15.dvr-ms
    8. Exe comskip.exe
    9. Logo:   C:\Temp\ORF 1 - Die Pannenshow (AT) - 08.03.2006 - 20_15.logo.txt
    10. Ini:    comskip.ini
    11.  
    12. Detection Methods to be used:
    13.     1) Black Frame
    14.     2) Logo - Give up after 1200 seconds
    15.     3) Fuzzy Logic
    16.     4) Aspect Ratio
    17.  
    18.  
    19. ComSkip throttles back from -0001 to -0001.
    20. The time is now 1843 so it's full speed ahead!
    21.  
    22. found object guid: 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:5468read "header object" subobj:5, reserved1:1, reserved2:2
    23. found object guid: 0xd2d0a440-0xe307-0x11d2-0x97f000a0c95ea850 size:462
    24. 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'
    25. found object guid: 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104
    26. 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
    27. found object guid: 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:4569
    28. read "header extension object" reserved1:0xabd3d211-0xa9ba-0x11cf-0x8ee600c00c205365 reserved2:6 header_extension_size:4523
    29. found object guid: 0x7c4346a9-0xefe0-0x4bfc-0xb229393ede415c85 size:33
    30. Read "language list object" 1 entries  - 'de'
    31. found object guid: 0x26f18b5d-0x4584-0x47ec-0x9f5f0e651f0452c9 size:26
    32. unknown asf object (not loaded)
    33. found object guid: 0xc5f8cbea-0x5baf-0x4877-0x8467aa8c44fa4cca size:52
    34. read "metadata object" 1 entries  - IsVBR=1
    35. found object guid: 0x1806d474-0xcadf-0x4509-0xa4ba9aabcb96aae8 size:3834
    36. unknown asf object (not loaded)
    37. found object guid: 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a size:242
    38. 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
    39. found object guid: 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a size:336
    40. found object guid: 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:182
    41. 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
    42. 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
    43. found object guid: 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:265
    44. 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
    45. found object guid: 0x7bf875ce-0x468d-0x11d1-0x8d82006097c9a2b2 size:38
    46. Read "stream bitrate properties object"  - stream=1 bitrate=66405429  - stream=2 bitrate=397567
    47. found object guid: 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:1239660110read "data object" file_id:0x8b449623-0x5f60-0x4a90-0x95b2687a51335d81 total data packet:18916 reserved:257
    48. 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
    49. cannot read one asf object
    50. + 'Unknown' GUID 0x0-0x0-0x0-0x0000000000000000 size:0pos:0
    51.      + 'Header' GUID 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:5468pos:0
    52.      |    + 'Extended content description' GUID 0xd2d0a440-0xe307-0x11d2-0x97f000a0c95ea850 size:462pos:30
    53.      |    + 'File Properties' GUID 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104pos:492
    54.      |    + 'Header Extention' GUID 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:4569pos:596
    55.      |    |    + 'Language List' GUID 0x7c4346a9-0xefe0-0x4bfc-0xb229393ede415c85 size:33pos:642
    56.      |    |    + 'Unknown' GUID 0x26f18b5d-0x4584-0x47ec-0x9f5f0e651f0452c9 size:26pos:675
    57.      |    |    + 'Metadata' GUID 0xc5f8cbea-0x5baf-0x4877-0x8467aa8c44fa4cca size:52pos:701
    58.      |    |    + 'Padding' GUID 0x1806d474-0xcadf-0x4509-0xa4ba9aabcb96aae8 size:3834pos:753
    59.      |    |    + 'Extended Stream Properties' GUID 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a size:242pos:4587
    60.      |    |    + 'Extended Stream Properties' GUID 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a size:336pos:4829
    61.      |    + 'Stream Properties' GUID 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:265pos:5165
    62.      |    + 'Stream Bitrate Propoerties' GUID 0x7bf875ce-0x468d-0x11d1-0x8d82006097c9a2b2 size:38pos:5430
    63.      |    + 'Stream Properties' GUID 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:182pos:4983
    64.      + 'Data' GUID 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:1239660110pos:5468
    65.      + 'Index' GUID 0x33000890-0xe5b1-0x11cf-0x89f400a0c90349cb size:21200pos:1239665578
    66. found 2 streams
    67. added new video stream(ID:1)
    68. ignoring unknown stream(ID:2)
    69.  
     
  10. erik1958

    erik1958 Portal Pro

    Joined:
    January 28, 2006
    Messages:
    100
    Likes Received:
    7
    Ratings:
    +7 / 0
    Bug solved, zip is updated, download again and test
     
  11. erik1958

    erik1958 Portal Pro

    Joined:
    January 28, 2006
    Messages:
    100
    Likes Received:
    7
    Ratings:
    +7 / 0
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Like Us On Facebook

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!