Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 19171  / 3 Years ago, fri, september 24, 2021, 8:26:59

I've been having trouble with this because I'm new to Linux:
I would like to convert different video formats to ogv. I found some terminal commands like this: ffmpeg -i input.avi -acodec libvorbis -ac 1 -b 768k output.ogg



The problem with these type of commands is that they are intended to change bit rate, fps, or even resolution. I would like to just change the file format without changing anything else about the video.



I looked at the man pages for ffmpeg and found some useful info but I don't know how to space command-line options.



Are there any easy ways to do this? In addition, is there a command to change the bit rate so that it doesn't go over a certain rate?


More From » media

 Answers
4

I figured it out here is the command



ffmpeg -y -i '/media/some/file.mkv' -s 1920x1080
-aspect 16:9 -r 25 -b 18550k -bt 22792k -vcodec libtheora
-acodec libvorbis -ac 2 -ar 48000 -ab 320k lol.ogg


-b is target bit rate
-bt is like max bit rate
-ac 2 -ar 48000 is stereo 48 kHz
-ab is audio bit rate


[#33965] Sunday, September 26, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rcraftemur

Total Points: 118
Total Questions: 119
Total Answers: 144

Location: Turks and Caicos Islands
Member since Sun, Mar 7, 2021
3 Years ago
;