I'm trying to figure out how to use rebar to:
- create erlang project
- add a dependency on an erlang module from github
- start the app via the erl console
- create a release and start the app from the release (via the generated scripts)
#!/bin/bash | |
rtmpdump -r 'rtmp://wolf.tv.macrophile.com/oflaDemo/wolftv' -v -q | \ | |
ffmpeg -i pipe: -bsf h264_mp4toannexb -codec copy -map 0 -f ssegment \ | |
-segment_list test.m3u8 -segment_time 4 -segment_wrap 24 \ | |
-segment_format mpegts -segment_list_type hls stream%05d.ts |