HLS Stream creator will fail to run where an audio stream is present but shows as type none
Duration: 00:00:00.00, start: 4241.278000, bitrate: N/A
Stream #0:0: Video: flv1, 1 reference frame, yuv420p, 1280x720, 199 kb/s, 8.33 tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: none, 0 channels
The resulting error is
Duration: 00:00:00.00, start: 4241.278000, bitrate: N/A
Stream #0:0: Video: flv1, 1 reference frame, yuv420p, 1280x720, 199 kb/s, 8.33 tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: none, 0 channels
[graph 0 input from stream 0:0 @ 0xace980] w:1280 h:720 pixfmt:yuv420p tb:1/1000 fr:25/3 sar:0/1 sws_param:flags=2
No decoder for stream #0:1, filtering impossible
Error opening filters!
Invoking deleteStream
This can be mitigated by setting an FFMPEG flag to tell ffmpeg to ignore the audio stream:
ben@milleniumfalcon:/tmp/HLSCreate$ FFMPEG_FLAGS="-an"
ben@milleniumfalcon:/tmp/HLSCreate$ export FFMPEG_FLAGS
ben@milleniumfalcon:/tmp/HLSCreate$ ./HLS-Stream-Creator.sh -l -i rtmp://ent1/camtest/camera -s 2
But it'd be nice to have a commandline flag to be able to do this
Activity
2019-07-26 13:09:25
Webhook User-Agent
View Commit
2019-07-26 13:17:17
When this flag is present in the HLS-Stream-Creator commandline, we'll pass
This leads to a slightly odd (but fine)
It's a little odd looking but doesn't cause any harm, so it seems foolish to introduce additional complexity to remove arguments from a command the user will never routinely see anyway.
2019-07-26 13:17:30
2019-07-26 13:17:37
2019-07-26 13:17:37
2019-07-26 13:17:41