threefive 2.4.87__tar.gz → 2.4.89__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. {threefive-2.4.87 → threefive-2.4.89}/PKG-INFO +10 -7
  2. {threefive-2.4.87 → threefive-2.4.89}/README.md +9 -6
  3. {threefive-2.4.87 → threefive-2.4.89}/setup.py +1 -0
  4. {threefive-2.4.87 → threefive-2.4.89}/threefive/cue.py +2 -2
  5. {threefive-2.4.87 → threefive-2.4.89}/threefive/sixfix.py +15 -14
  6. {threefive-2.4.87 → threefive-2.4.89}/threefive/version.py +1 -1
  7. {threefive-2.4.87 → threefive-2.4.89}/threefive.egg-info/PKG-INFO +10 -7
  8. {threefive-2.4.87 → threefive-2.4.89}/threefive.egg-info/requires.txt +1 -0
  9. {threefive-2.4.87 → threefive-2.4.89}/bin/threefive +0 -0
  10. {threefive-2.4.87 → threefive-2.4.89}/setup.cfg +0 -0
  11. {threefive-2.4.87 → threefive-2.4.89}/threefive/__init__.py +0 -0
  12. {threefive-2.4.87 → threefive-2.4.89}/threefive/base.py +0 -0
  13. {threefive-2.4.87 → threefive-2.4.89}/threefive/bitn.py +0 -0
  14. {threefive-2.4.87 → threefive-2.4.89}/threefive/commands.py +0 -0
  15. {threefive-2.4.87 → threefive-2.4.89}/threefive/crc.py +0 -0
  16. {threefive-2.4.87 → threefive-2.4.89}/threefive/decode.py +0 -0
  17. {threefive-2.4.87 → threefive-2.4.89}/threefive/descriptors.py +0 -0
  18. {threefive-2.4.87 → threefive-2.4.89}/threefive/encode.py +0 -0
  19. {threefive-2.4.87 → threefive-2.4.89}/threefive/packetdata.py +0 -0
  20. {threefive-2.4.87 → threefive-2.4.89}/threefive/section.py +0 -0
  21. {threefive-2.4.87 → threefive-2.4.89}/threefive/segment.py +0 -0
  22. {threefive-2.4.87 → threefive-2.4.89}/threefive/segmentation.py +0 -0
  23. {threefive-2.4.87 → threefive-2.4.89}/threefive/showcues.py +0 -0
  24. {threefive-2.4.87 → threefive-2.4.89}/threefive/smoketest.py +0 -0
  25. {threefive-2.4.87 → threefive-2.4.89}/threefive/stream.py +0 -0
  26. {threefive-2.4.87 → threefive-2.4.89}/threefive/streamtypes.py +0 -0
  27. {threefive-2.4.87 → threefive-2.4.89}/threefive/stuff.py +0 -0
  28. {threefive-2.4.87 → threefive-2.4.89}/threefive/superkabuki.py +0 -0
  29. {threefive-2.4.87 → threefive-2.4.89}/threefive/upids.py +0 -0
  30. {threefive-2.4.87 → threefive-2.4.89}/threefive/xml.py +0 -0
  31. {threefive-2.4.87 → threefive-2.4.89}/threefive.egg-info/SOURCES.txt +0 -0
  32. {threefive-2.4.87 → threefive-2.4.89}/threefive.egg-info/dependency_links.txt +0 -0
  33. {threefive-2.4.87 → threefive-2.4.89}/threefive.egg-info/top_level.txt +0 -0
@@ -1,14 +1,16 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: threefive
3
- Version: 2.4.87
3
+ Version: 2.4.89
4
4
  Summary: The Undisputed Heavyweight Champion of SCTE-35. The Belts have been Unified.
5
5
  Home-page: https://github.com/futzu/threefive
6
6
  Author: Adrian of Doom, and the Fine Folks at Fu Corp.
7
7
  Author-email: spam@iodisco.com
8
8
  License: UNKNOWN
9
- Description: > HLS Manifest and Segment SCTE-35 Parser coming in v2.4.87.
9
+ Description: > threefive parses SCTE-35 from HLS, DASH, MPEGTS, Base64, Bytes, Dict, Hex, Integer, Json amd Xml.
10
10
 
11
- # threefive is a SCTE-35 parser, SCTE-35 decoder, SCTE-35 encoder, SCTE-35 injector and SCTE-35 converter.
11
+ # threefive is the Highest Rated SCTE-35 tool. Ever.
12
+
13
+ # SCTE-35 parser, SCTE-35 decoder, SCTE-35 encoder, SCTE-35 injector and SCTE-35 converter.
12
14
 
13
15
  <br> `Parses` __SCTE-35__ from multiple streams in `MPEGTS` and `Multiple Program Transport Streams`
14
16
  <br> `Parses` __SCTE-35__ from Cues encoded in`Base64`, `Bytes`, `Hex`, `Integers`.
@@ -16,12 +18,13 @@ Description: > HLS Manifest and Segment SCTE-35 Parser coming in v2.4.87.
16
18
  <br> `Parses` __SCTE-35__ from streams converted to `bin data` ( _type 0x06_ ) by `ffmpeg`.
17
19
  <br>`Encodes` __SCTE-35__ to Base64, Bytes, Hex, Integer, Json ,Xml, or MPEGTS packets.
18
20
  <br>
19
- ## Latest version is v2.4.87
21
+ ## Latest version is v2.4.89
20
22
  _Released 10/29/2024_
21
23
 
22
- ### New Stuff in threefive v2.4.87
23
- * A Cue instance can now be initialized with base64,bytes,dict,hex, hex literal, Json or xml.
24
- * HLS MAnifest and Segment SCTE-35 parsing added to threefive cli.
24
+ ### New Stuff in threefive v2.4.89
25
+ * Fixed __iframes import error__
26
+ * A __Cue__ instance can now be initialized with __base64, bytes, dict,hex, hex literal, Json, or xml.__
27
+ * __HLS__ Manifest and Segment SCTE-35 parsing added to __threefive cli.__
25
28
 
26
29
  ### New Stuff in threefive v2.4.85
27
30
  * Fix for #121 MiD upid encoding
@@ -1,6 +1,8 @@
1
- > HLS Manifest and Segment SCTE-35 Parser coming in v2.4.87.
1
+ > threefive parses SCTE-35 from HLS, DASH, MPEGTS, Base64, Bytes, Dict, Hex, Integer, Json amd Xml.
2
2
 
3
- # threefive is a SCTE-35 parser, SCTE-35 decoder, SCTE-35 encoder, SCTE-35 injector and SCTE-35 converter.
3
+ # threefive is the Highest Rated SCTE-35 tool. Ever.
4
+
5
+ # SCTE-35 parser, SCTE-35 decoder, SCTE-35 encoder, SCTE-35 injector and SCTE-35 converter.
4
6
 
5
7
  <br> `Parses` __SCTE-35__ from multiple streams in `MPEGTS` and `Multiple Program Transport Streams`
6
8
  <br> `Parses` __SCTE-35__ from Cues encoded in`Base64`, `Bytes`, `Hex`, `Integers`.
@@ -8,12 +10,13 @@
8
10
  <br> `Parses` __SCTE-35__ from streams converted to `bin data` ( _type 0x06_ ) by `ffmpeg`.
9
11
  <br>`Encodes` __SCTE-35__ to Base64, Bytes, Hex, Integer, Json ,Xml, or MPEGTS packets.
10
12
  <br>
11
- ## Latest version is v2.4.87
13
+ ## Latest version is v2.4.89
12
14
  _Released 10/29/2024_
13
15
 
14
- ### New Stuff in threefive v2.4.87
15
- * A Cue instance can now be initialized with base64,bytes,dict,hex, hex literal, Json or xml.
16
- * HLS MAnifest and Segment SCTE-35 parsing added to threefive cli.
16
+ ### New Stuff in threefive v2.4.89
17
+ * Fixed __iframes import error__
18
+ * A __Cue__ instance can now be initialized with __base64, bytes, dict,hex, hex literal, Json, or xml.__
19
+ * __HLS__ Manifest and Segment SCTE-35 parsing added to __threefive cli.__
17
20
 
18
21
  ### New Stuff in threefive v2.4.85
19
22
  * Fix for #121 MiD upid encoding
@@ -18,6 +18,7 @@ setuptools.setup(
18
18
  long_description_content_type="text/markdown",
19
19
  url="https://github.com/futzu/threefive",
20
20
  install_requires=[
21
+ 'iframes >= 0.0.7',
21
22
  'm3ufu >= 0.0.89',
22
23
  'new_reader >= 0.1.11',
23
24
  "pyaes",
@@ -175,7 +175,7 @@ class Cue(SCTE35Base):
175
175
  def _mk_load(self,data):
176
176
  bites = self.bites
177
177
  self.encode()
178
- return bites
178
+ return bites
179
179
 
180
180
  def _mk_bits(self, data):
181
181
  """
@@ -430,7 +430,7 @@ class Cue(SCTE35Base):
430
430
  self._xml_splice_command(stuff)
431
431
  self.info_section.splice_command_type = self.command.command_type
432
432
  self._xml_splice_descriptors(stuff)
433
-
433
+
434
434
  def from_xml(self, stuff):
435
435
  """
436
436
  build_cue takes the data put into the stuff dict
@@ -1,5 +1,5 @@
1
1
  """
2
- fixsix.py
2
+ sixfix.py
3
3
  """
4
4
 
5
5
  import io
@@ -24,15 +24,16 @@ class PreFix(Stream):
24
24
 
25
25
  def decode(self, func=passed):
26
26
  super().decode(func=passed)
27
- fixsix = self.pids.maybe_scte35
28
- if fixsix:
29
- print("fixing these pids", fixsix)
30
- return fixsix
27
+ sixed = self.pids.maybe_scte35
28
+ if sixed:
29
+ print("fixing these pids", sixed)
30
+ return sixed
31
31
 
32
32
 
33
33
  class SixFix(Stream):
34
34
  """
35
- FixSix fixes bin data streams with SCTE-35 to 0x86 SCTE-35 streams
35
+ SixFix class
36
+ fixes bin data streams with SCTE-35 to 0x86 SCTE-35 streams
36
37
  """
37
38
 
38
39
  CUEI_DESCRIPTOR = b"\x05\x04CUEI"
@@ -52,11 +53,11 @@ class SixFix(Stream):
52
53
  pkt = pkt[:4] + self.pmt_payload
53
54
  return pkt
54
55
 
55
- def convert_pid(self):
56
+ def convert_pids(self):
56
57
  """
57
- Stream.decode_proxy writes all ts packets are written to stdout
58
- for piping into another program like mplayer.
59
- SCTE-35 cues are printed to stderr.
58
+ convert_pids
59
+ changes the stream type to 0x86 and replaces
60
+ the existing PMT as it writes packets to the outfile
60
61
  """
61
62
  active = io.BytesIO()
62
63
  pkt_count = 0
@@ -168,16 +169,16 @@ class SixFix(Stream):
168
169
 
169
170
  def sixfix(arg):
170
171
  """
171
- fixsix converts 0x6 bin data mpegts streams
172
+ sixfix converts 0x6 bin data mpegts streams
172
173
  that contain SCTE-35 data to stream type 0x86
173
174
  """
174
175
  s1 = PreFix(arg)
175
- six2fix = s1.decode(func=passed)
176
- if not six2fix:
176
+ sixed = s1.decode(func=passed)
177
+ if not sixed:
177
178
  print2("No bin data SCTE-35 streams were found.")
178
179
  else:
179
180
  s2 = SixFix(arg)
180
- s2.con_pids = six2fix
181
+ s2.con_pids = sixed
181
182
  s2.convert_pid()
182
183
  print2(f'Wrote: sixfixed-{arg.rsplit("/")[-1]}')
183
184
 
@@ -2,4 +2,4 @@
2
2
  threefive.version
3
3
  from the cli tool run: threefive version
4
4
  """
5
- version='2.4.87'
5
+ version='2.4.89'
@@ -1,14 +1,16 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: threefive
3
- Version: 2.4.87
3
+ Version: 2.4.89
4
4
  Summary: The Undisputed Heavyweight Champion of SCTE-35. The Belts have been Unified.
5
5
  Home-page: https://github.com/futzu/threefive
6
6
  Author: Adrian of Doom, and the Fine Folks at Fu Corp.
7
7
  Author-email: spam@iodisco.com
8
8
  License: UNKNOWN
9
- Description: > HLS Manifest and Segment SCTE-35 Parser coming in v2.4.87.
9
+ Description: > threefive parses SCTE-35 from HLS, DASH, MPEGTS, Base64, Bytes, Dict, Hex, Integer, Json amd Xml.
10
10
 
11
- # threefive is a SCTE-35 parser, SCTE-35 decoder, SCTE-35 encoder, SCTE-35 injector and SCTE-35 converter.
11
+ # threefive is the Highest Rated SCTE-35 tool. Ever.
12
+
13
+ # SCTE-35 parser, SCTE-35 decoder, SCTE-35 encoder, SCTE-35 injector and SCTE-35 converter.
12
14
 
13
15
  <br> `Parses` __SCTE-35__ from multiple streams in `MPEGTS` and `Multiple Program Transport Streams`
14
16
  <br> `Parses` __SCTE-35__ from Cues encoded in`Base64`, `Bytes`, `Hex`, `Integers`.
@@ -16,12 +18,13 @@ Description: > HLS Manifest and Segment SCTE-35 Parser coming in v2.4.87.
16
18
  <br> `Parses` __SCTE-35__ from streams converted to `bin data` ( _type 0x06_ ) by `ffmpeg`.
17
19
  <br>`Encodes` __SCTE-35__ to Base64, Bytes, Hex, Integer, Json ,Xml, or MPEGTS packets.
18
20
  <br>
19
- ## Latest version is v2.4.87
21
+ ## Latest version is v2.4.89
20
22
  _Released 10/29/2024_
21
23
 
22
- ### New Stuff in threefive v2.4.87
23
- * A Cue instance can now be initialized with base64,bytes,dict,hex, hex literal, Json or xml.
24
- * HLS MAnifest and Segment SCTE-35 parsing added to threefive cli.
24
+ ### New Stuff in threefive v2.4.89
25
+ * Fixed __iframes import error__
26
+ * A __Cue__ instance can now be initialized with __base64, bytes, dict,hex, hex literal, Json, or xml.__
27
+ * __HLS__ Manifest and Segment SCTE-35 parsing added to __threefive cli.__
25
28
 
26
29
  ### New Stuff in threefive v2.4.85
27
30
  * Fix for #121 MiD upid encoding
@@ -1,3 +1,4 @@
1
+ iframes>=0.0.7
1
2
  m3ufu>=0.0.89
2
3
  new_reader>=0.1.11
3
4
  pyaes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes