go2rtc: v1.6.0 ffmpeg issues - Filtering and streamcopy cannot be used together

My camera feed doesn’t work when setup as follows, it worked fine on v1.5.0

go2rtc:
  streams:
    frontdoor-audio: 
      - "ffmpeg:http://192.168.0.30/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=secretpassword#video=copy#audio=copy#audio=opus#raw= -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -flags low_delay -strict experimental -analyzeduration 1000M -probesize 1000M -rw_timeout 5000000"
    frontdoor-sub: 
      - "ffmpeg:http://192.168.0.30/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=secretpassword#video=copy#audio=copy#audio=opus#raw= -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -flags low_delay -strict experimental -analyzeduration 1000M -probesize 1000M -rw_timeout 5000000"

I’ve also tried these ways:

ffmpeg:http://192.168.0.30/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=secretpassword#video=copy#audio=copy#audio=opus#raw= -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -flags low_delay -strict experimental -analyzeduration 1000M -probesize 1000M -rw_timeout 5000000
"ffmpeg:http://192.168.0.30/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=secretpassword#video=copy#audio=copy#audio=opus"

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16 (10 by maintainers)

Most upvoted comments

Looks like this is compatible version with audio=copy

ffmpeg:
  opus: "-c:a libopus -ar:a 48000 -ac:a 2 -application:a voip -min_comp 0"

There’s currently no way to ‘turn off’ or disable a camera in Frigate. Hopefully this functionality is coming soon.

it can be turned off in the config, just not via API yet

As fast fix you can disable OPUS quality fix. At the moment I can’t figure out how to combine OPUS quality fix and audio=copy. Related #387

ffmpeg:
  opus: "-c:a libopus -ar:a 48000 -ac:a 2 -application:a voip"

#audio=copy#audio=opus broken?

This is still a valid issue, #audio=copy should be able to be used along with #audio=opus