Skip to main content

iframes

Fast detection of iframes in mpegts streams

Install

  • pip install iframes
python3 -mpip install iframes

Run

  • local file
first video.ts
iframes video.ts
  • https
first https://example.com/video.ts
iframes https://example.com/video.ts
  • multicast
first udp://@227.5.5.5:1234
iframes udp://@227.5.5.5:1234

Output

  • iframe pts
14648.092267
14648.342511
14648.509344
14648.7596
14649.009844
14649.2601
14649.426933
14649.6605
14649.910744
14650.161
14650.411244
14650.6615
14650.911744
14651.162
14651.412244
14651.6625
14651.912744
14652.163
14652.413244
14652.6635
14652.847011
14653.097267
14653.347511
14653.597767
14653.848011
14654.081578
14654.315144
14654.565389
14654.815644
14655.065889
14655.316144
14655.566389
14655.816644
14656.066889
14656.317144
14656.433933
14656.684178
14656.934433
14657.184678
14657.434933

programmatically

from iframes import IFramer
ifrmr = IFramer()
first_frame = ifrmr.first('a_video.ts')
from iframes import IFramer
ifrmr = IFramer(shush=True)  # set IFramer.shush=True to suppress printing pts 
all_iframes = ifrmr.do('https://example.com/coolvideo.ts')

Metadata

Release files for iframes 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iframes 0.0.7
File Size Uploaded
iframes-0.0.7.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iframes 0.0.7
File Interpreter ABI Platform
iframes-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / iframes-0.0.7.tar.gz

Download URL iframes-0.0.7.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bab29180504e62f68d27b24e324e2cbed72ffc9df6453017f302b40aba659406
BLAKE2b-256 checksum
How to use checksums
6f6f87bb41c9c2565791a84e8f89aa9c048e81cf7ec05726cbf9dc8204a5b020
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / iframes-0.0.7-py3-none-any.whl

Download URL iframes-0.0.7-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba2dc499b03b5b731c53b42ff8566d146e0ebadb56cd723b6e7e093fac453794
BLAKE2b-256 checksum
How to use checksums
789166bf10ce4c04af6848f736f695057a5791e65619dcb7324a668add0078b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.5

2 release files

0.0.3

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page