u/simochiology

▲ 3 r/ffmpeg

"same as original" command line for YTD Downloader PRO

Hi! I'm trying to figure out what FFmpeg command line YTD Video Downloader uses to convert video. On their offical site https://www.ytddownloader.com/help.html they listed the command lines to convert video to MP3 specifying high (256kbps), optimal (192kbps), medium (128k), & low (96kbps)

MPEG Audio Layer 3 (MP3)

ffmpeg -i %1 -vn -ar 22050 -ab 96k -ac 2 %1.mp3
ffmpeg -i %1 -vn -ar 44100 -ab 128k -ac 2 %1.mp3
ffmpeg -i %1 -vn -ar 48000 -ab 192k -ac 2 %1.mp3
ffmpeg -i %1 -vn -ar 48000 -ab 256k -ac 2 %1.mp3

However there is an option that I have always used, "same as original", which automatically keeps the same kbps as the video files, what command line is that?

I need to know this so I can directly use FFmpeg to batch cut multiple video into audio at different timestamps, which cannot be done on YTD Video Downloader (no batch option for different timestamps, but FFmpeg can run a .bat containing different command lines making it work)

Thank you!

reddit.com
u/simochiology — 5 days ago