Answers.Body: <p>To determine if a channel has <a href="http://www.scte.org/SCTEDocs/Standards/ANSI_SCTE%2035%202017.pdf" rel="nofollow noreferrer">SCTE-35</a>, you will need to have the Program Map Table (PMT) recorded. From the PMT, you should be able to find the Packet Identifiers (PIDs) of all of the streams associated with the channel you are interested in. There will be a PID for the video and at least one audio PID. If SCTE-35 is present, there will be at least one PID with a stream type of 0x52.</p>
  
  <p>Keep in mind, the PMT and the SCTE-35 PID will either need to be in the clear or you will need to be able to decrypt the conditional access.</p>
  
  <p>The easiest way to check all of this is with a transport stream analyzer. Most of the freely available ones, like <a href="http://www.digitalekabeltelevisie.nl/dvb_inspector/" rel="nofollow noreferrer">DVB Inspector</a>, will show you the PMT. However, you will probably need a commercial analyzer to get it to display something more than just the raw SCTE-35 bytes.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-05T07:48:59.743Z
Answers.Text: Thanks. So if I record a channel into a .ts file, the dvb inspector can say if it includes the flag? For now i only need to know if it has scte 35. Not really the value.
Answers.UserDisplayName: angel_30
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-05T13:34:29.073Z
Answers.Text: I haven't personally used DVB Inspector, but it came recommended by a reliable source. In theory it should be able to at least show you if the PID exists. It may not show more than stream type in hex and the raw content of the PID.
Answers.UserDisplayName: Michael Liebman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-05T16:39:23.500Z
Answers.Text: Here is a screenshot of the table: https://i.imgur.com/liPBoNr.png I tested for a few channels (Bounce, Escape, Laff), and none had PID of 0x52.
Answers.UserDisplayName: angel_30
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-05T16:40:04.033Z
Answers.Text: Do you know of any channels having that? Where can I find a list of ATSC channels which have SCTE 35?
Answers.UserDisplayName: angel_30
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-05T18:09:33.230Z
Answers.Text: If you are are capturing the transport stream off an offer the air channel of a cable system, they are likely grooming out the SCTE-35. You would need to look at the provider feed to the station or MPVD. Most major cable networks should have DPI triggers at that point.
Answers.UserDisplayName: Michael Liebman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-05T18:29:12.853Z
Answers.Text: You are right. The provider probably removes it at the time we receive it. I need to find another way. My whole aim is to just classify ad contents and video contents.
Answers.UserDisplayName: angel_30
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-05T01:06:58.403Z
Answers.LastActivityDate: 2017-12-05T01:06:58.403Z
Answers.UserDisplayName: Michael Liebman
Answers.Body: <p>Try <strong>threefive.</strong>
  threefive returns all SCTE-35 data (Splice Info Section, Splice Command, and Splice Descriptors) in the proper format according to the 2019 specification.</p>
  <p><a href="https://github.com/futzu/SCTE35-threefive" rel="nofollow noreferrer">https://github.com/futzu/SCTE35-threefive</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-08T14:03:35.623Z
Answers.LastActivityDate: 2020-10-08T14:03:35.623Z
Answers.UserDisplayName: Adrian
Body: <p>There is a standard for Cable TV called SCTE 35 that can signal ad insertion. I need to play around with this signal.</p>
  
  <p>I have a ATSC receiver now, and I can record TV into .TS file format. How can I check if a channel includes SCTE 35 signals?</p>
  
  <p><strong>UPDATE:</strong> Upon checking, unfortunately none of my current 4 channels include SCTE-35 signal (US ATSC receiver: Bounce, Escape, LAFF, Create, KUVN). Do we have any digital TV channels in the US that have that signal?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-05T16:55:17.950Z
Comments.Text: What are you trying to accomplish and what software are you using?
Comments.UserDisplayName: AJ Henderson
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-05T17:12:20.450Z
Comments.Text: Actually I used TVHeadend which also shows if a channel has SCTE-35 (0x52 PID). DVB Inspector as said below also does that. Unfortunately none of my current channels include that. Do we even any one channel having that signal in the US?
Comments.UserDisplayName: angel_30
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-05T17:54:18.140Z
Comments.Text: I asked about what you are trying to accomplish because I somewhat expect that they would be stripped before going to consumers.  The purpose is to allow for a local broadcaster to insert their local advertisements in to the stream automatically.  There is no reason that information would need to be sent to the end consumers and I don't see why it would be forwarded in to the signals being sent out to consumers.
Comments.UserDisplayName: AJ Henderson
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-05T18:28:32.120Z
Comments.Text: You are right. The provider probably removes it at the time we receive it. I was trying to use that signal to classify videos and ads.
Comments.UserDisplayName: angel_30
Tags: <video><ffmpeg><video-editor><streaming><video-recording>
Title: Digital TV SCTE 35 signal
UserDisplayName: angel_30
ThreadText: # Digital TV SCTE 35 signal
  
  (Asked by: username_0 on 2017-12-05)
  
  There is a standard for Cable TV called SCTE 35 that can signal ad insertion. I need to play around with this signal.
  
  I have a ATSC receiver now, and I can record TV into .TS file format. How can I check if a channel includes SCTE 35 signals?
  
  **UPDATE:** Upon checking, unfortunately none of my current 4 channels include SCTE-35 signal (US ATSC receiver: Bounce, Escape, LAFF, Create, KUVN). Do we have any digital TV channels in the US that have that signal?
  
  **Tags:** video, ffmpeg, video-editor, streaming, video-recording
  
  > **Comments:**
  > **username_1**: What are you trying to accomplish and what software are you using?  
  > **username_0**: Actually I used TVHeadend which also shows if a channel has SCTE-35 (0x52 PID). DVB Inspector as said below also does that. Unfortunately none of my current channels include that. Do we even any one channel having that signal in the US?  
  > **username_1**: I asked about what you are trying to accomplish because I somewhat expect that they would be stripped before going to consumers.  The purpose is to allow for a local broadcaster to insert their local advertisements in to the stream automatically.  There is no reason that information would need to be sent to the end consumers and I don't see why it would be forwarded in to the signals being sent out to consumers.  
  > **username_0**: You are right. The provider probably removes it at the time we receive it. I was trying to use that signal to classify videos and ads.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2017-12-05. Score: 4
  
  To determine if a channel has [SCTE-35](http://www.scte.org/SCTEDocs/Standards/ANSI_SCTE%2035%202017.pdf), you will need to have the Program Map Table (PMT) recorded. From the PMT, you should be able to find the Packet Identifiers (PIDs) of all of the streams associated with the channel you are interested in. There will be a PID for the video and at least one audio PID. If SCTE-35 is present, there will be at least one PID with a stream type of 0x52.
  
  Keep in mind, the PMT and the SCTE-35 PID will either need to be in the clear or you will need to be able to decrypt the conditional access.
  
  The easiest way to check all of this is with a transport stream analyzer. Most of the freely available ones, like [DVB Inspector](http://www.digitalekabeltelevisie.nl/dvb_inspector/), will show you the PMT. However, you will probably need a commercial analyzer to get it to display something more than just the raw SCTE-35 bytes.
  
  > **Comments:**
  > **username_0**: Thanks. So if I record a channel into a .ts file, the dvb inspector can say if it includes the flag? For now i only need to know if it has scte 35. Not really the value.  
  > **username_2**: I haven't personally used DVB Inspector, but it came recommended by a reliable source. In theory it should be able to at least show you if the PID exists. It may not show more than stream type in hex and the raw content of the PID.  
  > **username_0**: Here is a screenshot of the table: https://i.imgur.com/liPBoNr.png I tested for a few channels (Bounce, Escape, Laff), and none had PID of 0x52.  
  > **username_0**: Do you know of any channels having that? Where can I find a list of ATSC channels which have SCTE 35?  
  > **username_2**: If you are are capturing the transport stream off an offer the air channel of a cable system, they are likely grooming out the SCTE-35. You would need to look at the provider feed to the station or MPVD. Most major cable networks should have DPI triggers at that point.  
  > **username_0**: You are right. The provider probably removes it at the time we receive it. I need to find another way. My whole aim is to just classify ad contents and video contents.  
  
  ---
  
  ### Answer by username_3 on 2020-10-08. Score: 0
  
  Try **threefive.**
  threefive returns all SCTE-35 data (Splice Info Section, Splice Command, and Splice Descriptors) in the proper format according to the 2019 specification.
  
  <https://github.com/futzu/SCTE35-threefive>
  
  
  ---
  
  