Closed Montspy closed 2 years ago
Reproduces on problematic install with this command:
./docker.sh ffmpeg -loglevel info -y -ss 00:00:00 -to 00:00:02 -f lavfi -i anullsrc -f lavfi -i anullsrc -filter_complex "amerge=inputs=2[a]" -map "[a]" -ac 2 test.mp3
Command output extract:
Input #0, lavfi, from 'anullsrc':
Duration: N/A, start: 0.000000, bitrate: 705 kb/s
Stream #0:0: Audio: pcm_u8, 44100 Hz, stereo, u8, 705 kb/s
Input #1, lavfi, from 'anullsrc':
Duration: N/A, start: 0.000000, bitrate: 705 kb/s
Stream #1:0: Audio: pcm_u8, 44100 Hz, stereo, u8, 705 kb/s
Filter amerge has an unconnected output
Potential fix to be tested in commit 14d97837e7ba188e991847698fab7b5a82c1ccc9
Could not get user to test the fix, but it has been working well on my machine. Cherry-picked the fix into PR #47 (commit 26eb5b2ae7a6c16e17dbaf90fbe8c2e825a2fc5d) Will close this issue once it reaches main branch
The workaround for missing audio channels does not behave as expected on some installs.
Confirmed ffmpeg version matches known working setups