[Pending] Live commercial skip detection (1 Viewer)

mm1352000

Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,219
    New Zealand New Zealand
    Country flag
    I just had a quick peak at the code. Not really within my area of expertise - I'm just curious to know what needed to be changed on the server side. :)

    If I've understood correctly, you need to be able to retrieve the frame rate of the stream/recording?

    I guess I'm wondering how well this would work for VFR IPTV streams... but maybe I misunderstood?
     

    sccrgoalie1

    Portal Pro
    September 12, 2013
    109
    165
    34
    United States of America United States of America
    I just had a quick peak at the code. Not really within my area of expertise - I'm just curious to know what needed to be changed on the server side. :)

    If I've understood correctly, you need to be able to retrieve the frame rate of the stream/recording?

    I guess I'm wondering how well this would work for VFR IPTV streams... but maybe I misunderstood?
    I changed two things on the server side.

    1. As you mention I need to grab the framerate as comskip doesn't output the framerate until it's done processing. I can only use MediaInfo on local or SMB files that's why it has to be done at the server for RTSP.

    2. I changed the way the text file is read, being sure to open it read only and allow comskip to keep writing as I read it. Previously reading the file would cause comskip to stop processing the file.

    As far as VFR IPTV streams go, I'll be honest I have no idea what that is, I guess the only way to see if those work will be to test. I assume your mostly concerned with grabbing the framerate of these files. It should be noted this doesn't work while watching live TV, rather it works after you start recording the program and then play it back from your recordings list (even though the program may still be recording). So, we should be reading the framerate from the local .ts file on the server, not the stream itself. Let me know if that doesn't make sense.
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,219
    New Zealand New Zealand
    Country flag
    Okay, thanks for the info. (y)

    VFR stands for variable frame rate. Some IPTV providers encode with VFR to reduce the bandwidth as much as possible. I guess maybe comskip would not be able to work with such recordings. As far as I know providers that use VFR are in the minority.

    Thanks for your work on this. :)
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    United Kingdom United Kingdom
    Country flag
    Okay, thanks for the info. (y)

    VFR stands for variable frame rate. Some IPTV providers encode with VFR to reduce the bandwidth as much as possible. I guess maybe comskip would not be able to work with such recordings. As far as I know providers that use VFR are in the minority.

    Thanks for your work on this. :)
    Long term, do we need to be thinking about modifying comskip to export times in minutes/seconds rather than frames? Is it even possible to do this?
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    United Kingdom United Kingdom
    Country flag
    Long term, do we need to be thinking about modifying comskip to export times in minutes/seconds rather than frames? Is it even possible to do this?
    If we add support for edl it would do that.

    To me that sounds like a good reason to switch from .txt to .edl, but I don't really understand the issues.

    Also, if we did switch to .edl, would we need to make the server/plugin changes to get the frame rate?
     

    sccrgoalie1

    Portal Pro
    September 12, 2013
    109
    165
    34
    United States of America United States of America
    To me that sounds like a good reason to switch from .txt to .edl, but I don't really understand the issues.

    Also, if we did switch to .edl, would we need to make the server/plugin changes to get the frame rate?
    Yeah maybe we should add edl support.

    It will require different changes to the tv server and plugin for RTSP. Basically to pull the edl file.
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,219
    New Zealand New Zealand
    Country flag
    I wonder whether it would be possible for the RTSP server to include the required details as metadata rather than querying the server directly. Maybe that isn't convenient (because TsReader would then have to provide some kind of interface for accessing these details)... but maybe it could enable other TV Server front ends to more seamlessly support the same feature. Only a [probably very] dumb idea.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    K MP1.24 HDHomeRun Quatro DVT2 - Pixelation on live TV General Support 1
    S IPTV from online m3u8 for Aussie Live TV General Support 10
    K Flickering live TV playback Newcomers Forum 3
    H [solved] MP2 Wiedergabe von Aufnahmen und Live TV geht nicht Allgemeines Support- und Diskussionsforum 6
    torone Dritter versuch mit Mediaportal 2 Allgemeines Support- und Diskussionsforum 1
    W [solved] MP suddenly Crashes when starting live TV on most channels and on recordings from the same channels General Support 20
    W [solved] MP suddenly Crashes when starting live TV on some channels and on some recordings Television (MyTV frontend and TV-Server) 1
    vvulture UNKNOWN ERROR when starting live TV General Support 6
    H random black screen live tv and videos (amended) General Support 0
    404 [solved] Live TV...video and audio freeze General Support 20
    404 How to turn off narration on live tv General 2
    Volker MP2 Rewind / zurückspulen bei Live TV funktioniert nicht Allgemeines Support- und Diskussionsforum 3
    G Occasional Black screen on Live TV and Recorded TV Watch / Listen Media 5
    G Live Tv friert ein Allgemeines Support- und Diskussionsforum 47
    U [solved] Beginner needs help recording live TV General 19
    limpwhizkid 1.22.0 Stutter and or artifact problem when recording and watching the same live tv channel 1.22 2
    rbo Fehlermeldung im Live-TV TV / Streaming 6
    R Pixellation on live TV every few seconds General Support 11
    M After a while Live TV or Recorded TV doesn't play first time General Support 9
    S [solved] Live TV subtitle issue if not using 100% font General 31
    S [solved] Live TV playing stopped General 13
    S Mediaportal 1.22 Pre-Release remote live-tv freezes MediaPortal 1.22 Pre Release 0
    H Live TV info OSD not displaying number of audio channels General Support 3
    E [solved] No Live TV in MP2.2 Client - Can TEST Successfully in "MediaPortal 2 TV Configuration" utility General 8
    D Skip to end/live during dvbip recording causes it to stop playing instead. General Support 15
    Similar threads

























    Top Bottom