Skip to main content

Service to stream mp4 files in fragments

Project description

Fragmented mp4stream Package

Usage

import fragmentedmp4stream.service
import sys

def main(argv):
    fragmentedmp4stream.service.start(argv)

if __name__ == "__main__":
    main(sys.argv[1:])

videocodec support

  • h264
  • h265

parameters

  • -p(--port) port to bind(def 4555)
  • -r(--root) files directory(required) - path to seek required mp4 file
  • -v(--verb) be verbose (show structure of required mp4 file)
  • -h(--help) this help

installation

pip install fragmented-mp4stream-pkg==0.0.1

url

http://ip:port/file_without_extension

example

  • service

python3 mp4stream.py -r ~/video/

  • client

ffplay http://192.168.250.229:4555/toystory20

Service streams ~/video/toystory20.mp4

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fragmented-mp4stream-pkg-0.0.2.tar.gz (14.9 kB view hashes)

Uploaded Source

Built Distribution

fragmented_mp4stream_pkg-0.0.2-py3-none-any.whl (26.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page