HLS-24: Encode fails where audio stream present but null



Issue Information

Issue Type: Bug
 
Priority: Major
Status: Open

Reported By:
Ben Tasker
Assigned To:
Ben Tasker
Project: HLS Stream Creator (HLS)
Resolution: Unresolved
Components: Transcoding ,

Created: 2017-07-16 14:55:46
Time Spent Working
Estimated:
 
45 minutes
Remaining:
 
45 minutes
Logged:
 
0 minutes


Description
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


Issue Links

Toggle State Changes

Activity