I am just trying to add a silent audio track to a video file using ffmpeg:
ffmpeg.exe -i video.mkv -i anullsrc -c:v copy -c:a aac -shortest test.mkv
I have ffmpeg precompiled release for windows 64bit (20170208)
Whenever I run I get this error:
anullsrc: No such file or directory
Thanks for any help.
I had to specify the lavfi
filter as well and put it before -i anullsrc
:
-f lavfi
For a complete commandline:
ffmpeg -i video.mkv -f lavfi -i anullsrc -c:v copy -c:a aac -shortest test.mkv
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With