Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

RTMPdownloader

Takes an env var RTMP_URL and downloads it using vlc $RTMP_URL --sout=file/ps:$MPG_OUTPUT this is a proof of concept for downloading Texas legislature videos like this one

usage

pull it
docker pull joshuacox/rtmpdownloader
or build it
docker build -t joshuacox/rtmpdownloader .
run it declaring the RTMP_URL env of the rtmp stream you want to record, the file will be save to /tmp
docker run -p /tmp:/tmp -e RTMP_URL= rtmp://207.7.154.118/OnDemand/mp4:tlchouse/tlchouse_e8bf93a9-e186-45fd-82e7-e8fd6dbf124b.mp4 joshuacox/rtmpdownloader
you can set the download path like so

docker run \
-v /tmp:/tmp \
-e RTMP_URL=rtmp://207.7.154.118/OnDemand/mp4:tlchouse/tlchouse_e8bf93a9-e186-45fd-82e7-e8fd6dbf124b.mp4 \
-e MPG_OUTPUT=/tmp/named.mpg  \
joshuacox/rtmpdownloader
Docker Pull Command
Owner
joshuacox
Source Repository

Comments (0)