Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4383  / 2 Years ago, wed, october 19, 2022, 1:53:50

Sorry, I am really new to this, and have problems doing some tasks without help.



So I have a terminal command:



ffmpeg 
-y
-i '/media/levan/BEEA60D8EA608E89/Downloads/Videos/Tony Braxton - Un-Break My Heart.VOB'
-s 1920x1080
-aspect 16:9
-r 25
-b 15550k
-bt 19792k
-vcodec libtheora
-acodec libvorbis
-ac 2
-ar 48000
-ab 320k
ddd.ogg


and I want to have 3 pass video in output video, but how do I accomplish this?



I found that I must write -pass n command some where, but where to write it I do not know. I tested this and wrote -pass 3 at the end but then the terminal just showed a > symbol.


More From » multimedia

 Answers
6

Using your parameters, and your "one option per line", a two pass encode looks like:



ffmpeg 
-y
-i '/media/levan/BEEA60D8EA608E89/Downloads/Videos/Tony Braxton - Un-Break My Heart.VOB'
-s 1920x1080
-aspect 16:9
-r 25
-b 15550k
-bt 19792k
-vcodec libtheora
-an
-f ogg
-pass 1
/dev/null
&&
ffmpeg
-y
-i '/media/levan/BEEA60D8EA608E89/Downloads/Videos/Tony Braxton - Un-Break My Heart.VOB'
-s 1920x1080
-aspect 16:9
-r 25
-b 15550k
-bt 19792k
-vcodec libtheora
-acodec libvorbis
-ac 2
-ar 48000
-ab 320k
-pass 2
ddd.ogg


You can exclude the audio from the first pass and output to /dev/null (as in the example). I don't see any reason why you need three passes.


[#33915] Wednesday, October 19, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fectlyole

Total Points: 64
Total Questions: 110
Total Answers: 110

Location: Nicaragua
Member since Thu, Feb 3, 2022
2 Years ago
;