I am not clued about ffmpeg at all but looking at different threads i did manage to make a command line to convert my files. I was hoping someone could help me add 6ch audio in my command line this is my command
ffmpeg -i input.mkv -vcodec libx264 -vf "scale=1920:1080:flags=lanczos, format=yuv420p" -preset slow -crf 21.5 -c:a ac3 -b:a 256k output.mkv
help would be very appreciated thanks
+ Reply to Thread
Results 1 to 3 of 3
-
-
This should work added to your code:
Code:ffmpeg -i input.mkv -vcodec libx264 -vf "scale=1920:1080:flags=lanczos, format=yuv420p" -preset slow -crf 21.5 -c:a ac3 -b:a 256k -ac 6 output.mkv
I have never used a decimal for the -crf . I would use 21 or 22 for close to what you are trying. -
Thank you very much for the help it worked great. The decimal i use to get the exact size i want .1 to .9 i find it helps probably just me though lol
Similar Threads
-
Help with ffmpeg command with audio delay
By Zer0lll in forum AudioReplies: 6Last Post: 3rd Feb 2025, 14:27 -
Channels jumbled after ffmpeg converson from Dolby Atmos to 6Ch WAV
By rudolffischer in forum AudioReplies: 5Last Post: 12th Mar 2024, 11:33 -
Get the complete FFmpeg command line when using FFmpeg Batch Converter
By pascor in forum Newbie / General discussionsReplies: 8Last Post: 13th May 2021, 23:14 -
How to include audio in an overlay ffmpeg command?
By giladsof in forum Video ConversionReplies: 2Last Post: 27th Apr 2021, 09:36 -
Command line to add audio to mkv files
By Nico Darko in forum Video ConversionReplies: 25Last Post: 12th Jul 2020, 21:27