Marth64 changed the topic of #ffmpeg to: Welcome to the FFmpeg USER support channel | Development channel: #ffmpeg-devel | Bug reports: https://ffmpeg.org/bugreports.html | Wiki: https://trac.ffmpeg.org/ | This channel is publically logged | FFmpeg 7.1 is released
fling_ is now known as fling
down200 has quit [Ping timeout: 244 seconds]
System_Error has quit [Remote host closed the connection]
down200 has joined #ffmpeg
System_Error has joined #ffmpeg
Narrat has quit [Quit: They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.]
Kei_N_ has joined #ffmpeg
Kei_N has quit [Ping timeout: 252 seconds]
emanuele6 has quit [Read error: Connection reset by peer]
FlorianBad has quit [Quit: Konversation terminated!]
FlorianBad has joined #ffmpeg
evilscreww has joined #ffmpeg
minimal has quit [Quit: Leaving]
<aaabbb> what is the difference between me=esa and me=tesa for libx264? i keep hearing tesa is better but that esa, being exhaustive, is "mathematically equivalent to brute force"
<furq> Normal exhaustive motion search uses a highly optimized sequential elimination algorithm (SEA) to search every single candidate within <merange> pixels of the best predictor. Its about 7 times faster than a naive exhaustive search.
<furq> The Hadamard exhaustive search (TESA) attempts to approximate something that would normally be about 70 times slower than the aforementioned SEA; running a SATD (sum of absolute [Hadamard] transformed differences) on each motion vector candidate instead of a much faster SAD. This is more accurate, but much slower. Obviously, if it was actually 70 times slower, it would be totally useless. As such, TESA uses
<furq> a thresholding algorithm to run SATD on the X best results from the exhaustive search, where X is <merange>/2.
Marth64 has joined #ffmpeg
Forza has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Forza has joined #ffmpeg
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 245 seconds]
Warcop has quit [Remote host closed the connection]
evilscreww has quit [Ping timeout: 250 seconds]
Warcop has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
<aaabbb> furq: then i'm confused about esa being described as "mathematically equivalent to brute force". how could something be more accurate than a completely exhaustive search?
System_Error has joined #ffmpeg
<aaabbb> i might be confused about exactly "what" is being exhaustively searched. i assumed that esa checked every possible motion vector within a search radius and so could only be optimized for speed, not accuracy
<aaabbb> oh, the difference is that tesa just has a different (and more accurate) way of determining what "best" is? but both esa and tesa do go through every possible mv?
<aaabbb> i misunderstood you when i first read what you wrote. i think i see what you mean. so with esa, sad is run on each mv candidate to determine which is best. but with tesa, it uses sad on all mvs but instead of choosing the best, it chooses merange/2 mvs and runs the slower satd to determine which one to pick?
<aaabbb> it's a shame that there is no "placebo4realz" preset for testing purposes, something that uses satd on every mv, something that sets merange to the highest that doesn't make future predictions worse (64 i think), disables the internal fast-bskip etc
StephenLynx has quit [Quit: Leaving]
<aaabbb> furq: why does x264 lossless disable tesa and only use esa on placebo?
<aaabbb> even with merange=tesa explicitly, it changes it to esa
evilscreww has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
echelon has quit [Remote host closed the connection]
echelon has joined #ffmpeg
Muimi has joined #ffmpeg
evilscreww has quit [Quit: Leaving]
rvalue has quit [Read error: Connection reset by peer]
System_Error has quit [Remote host closed the connection]
rvalue has joined #ffmpeg
System_Error has joined #ffmpeg
bray90820 has joined #ffmpeg
<bray90820> How would I do something like ffmpeg -i input.mp4 -c:a copy output.mp4 but have it grab the second audio track instead of the first
<aaabbb> bray90820: -map a:1 i think
<bray90820> I'll ry it thanks
catsoften has quit [Ping timeout: 252 seconds]
catsoften has joined #ffmpeg
<bray90820> aaabbb: That sorta worked i get the audio without any video
<aaabbb> then add -map v:0
<bray90820> Well that pulled the first auio track without video
<bray90820> Let me restart my computer and see if that fixes it because I was experencing something weird earlier
bray90820 has quit [Remote host closed the connection]
bray90820 has joined #ffmpeg
<bray90820> I'm back
<bray90820> aaabbb:
<bray90820> Yeah I get audio no video
<aaabbb> https://trac.ffmpeg.org/wiki/Map <- check out this for info on using -map
<aaabbb> -map 1:a -map 0:v should work
<bray90820> Are you sure it's not -map a:1 map v:0
<aaabbb> i rarely use -map but maybe you'd want -map 0:v:0 -map 0:a:1
<aaabbb> to take file 0, video stream 0, and file 0, audio stream 1 (ignoring audio stream 0)
<bray90820> I'm trying -map a:1 map v:0 right now and i'll see what that does
Brocker has quit [Ping timeout: 248 seconds]
<bray90820> It seems as if -map a:1 map v:0 worked
<bray90820> aaabbb:
<aaabbb> a:1 and v:0 are the same as 0:a:1 0:v:0
<aaabbb> when you have only one input file
<bray90820> What do you mean
<aaabbb> meaning a:1 is implicitly the same as 0:a:1 i.e. the leading 0 is implied
<bray90820> so 0::a:1 should work as well?
<aaabbb> 0:a:1 should work the same as a:1
<aaabbb> the purpose of the first of the three is if you have multiple input files eg ffmpeg -i input1.mp4 -i input2.mp4
<bray90820> so to recap -map a:1 map v:0 is the same as -map 0:a:1 ?
<aaabbb> "-map a:1 -map v:0" is the same as "-map 0:a:1 -map 0:v:0"
<bray90820> Ok thanks
<bray90820> That's all i really needed thanks
<aaabbb> np
082ABEWVI is now known as woky_
sewn has quit [Remote host closed the connection]
sewn has joined #ffmpeg
Brocker has joined #ffmpeg
Brocker has quit [Read error: Connection reset by peer]
Brocker has joined #ffmpeg
Marth64 has quit [Quit: Leaving]
putacho has joined #ffmpeg
elChippo has joined #ffmpeg
microchip_ has quit [Ping timeout: 265 seconds]
putacho has quit [Ping timeout: 252 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
emmanuelux has quit [Quit: au revoir]
lavaball has joined #ffmpeg
EmleyMoor has joined #ffmpeg
Offspring has quit [Quit: ZNC - https://znc.in]
Offspring has joined #ffmpeg
swamp_ has joined #ffmpeg
zmt01 has quit [Ping timeout: 276 seconds]
Keshl has quit [Read error: Connection reset by peer]
Keshl_ has joined #ffmpeg
Sketch has quit [Remote host closed the connection]
Sketch has joined #ffmpeg
echelon has quit [Quit: echelon]
bray90820 has quit [Ping timeout: 244 seconds]
DauntlessOne4 has quit [Read error: Connection reset by peer]
DauntlessOne4 has joined #ffmpeg
Scienceboy has joined #ffmpeg
Blacker47 has joined #ffmpeg
coldfeet has joined #ffmpeg
zmt01 has joined #ffmpeg
swamp_ has quit [Ping timeout: 276 seconds]
antranigv has quit [Quit: ZNC 1.9.0 - https://znc.in]
auri has quit [Quit: No Ping reply in 210 seconds.]
rsx has joined #ffmpeg
coldfeet has quit [Quit: Lost terminal]
System_Error has quit [Remote host closed the connection]
Scienceboy has quit [Ping timeout: 252 seconds]
sonicrules1234 has quit [Ping timeout: 276 seconds]
sentriz has quit [Ping timeout: 252 seconds]
EmleyMoor has quit [Ping timeout: 246 seconds]
sentriz has joined #ffmpeg
Scienceboy has joined #ffmpeg
EmleyMoor has joined #ffmpeg
sonicrules1234 has joined #ffmpeg
System_Error has joined #ffmpeg
alexherbo2 has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
Scienceboy has quit [Ping timeout: 252 seconds]
earthwormjim has joined #ffmpeg
earthwormjim has quit [Quit: Toodles]
alexherbo2 has quit [Remote host closed the connection]
swamp_ has joined #ffmpeg
zmt01 has quit [Ping timeout: 260 seconds]
antranigv has joined #ffmpeg
System_Error has joined #ffmpeg
Scienceboy has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
alexherbo2 has joined #ffmpeg
System_Error has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Remote host closed the connection]
EmleyMoor has joined #ffmpeg
alexherbo2 has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
DauntlessOne4 has quit [Remote host closed the connection]
Marth64 has joined #ffmpeg
zmt01 has joined #ffmpeg
swamp_ has quit [Ping timeout: 260 seconds]
zmt01 has quit [Ping timeout: 244 seconds]
coldfeet has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
StephenLynx has joined #ffmpeg
System_Error has joined #ffmpeg
ghoti has quit [Remote host closed the connection]
rsx has quit [Quit: rsx]
zmt00 has joined #ffmpeg
stolen has joined #ffmpeg
zmt00 has quit [Ping timeout: 272 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
lavaball has joined #ffmpeg
Scienceboy has quit [Ping timeout: 252 seconds]
Scienceboy has joined #ffmpeg
emanuele6 has joined #ffmpeg
Scienceboy has quit [Ping timeout: 252 seconds]
cmc has quit [Remote host closed the connection]
cmc has joined #ffmpeg
Scienceboy has joined #ffmpeg
Scienceboy has quit [Ping timeout: 260 seconds]
sewn has quit [Remote host closed the connection]
sewn has joined #ffmpeg
blb has quit [Quit: brb]
blb has joined #ffmpeg
ghoti has joined #ffmpeg
darkapex has quit [Remote host closed the connection]
darkapex has joined #ffmpeg
alexherbo2 has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
lucasta has joined #ffmpeg
alexherbo2 has joined #ffmpeg
Scienceboy has joined #ffmpeg
stolen has quit [Quit: Connection closed for inactivity]
FlorianBad has quit [Remote host closed the connection]
minimal has joined #ffmpeg
travisghansen has quit [Ping timeout: 252 seconds]
travisghansen has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
lucasta has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
FlorianBad has joined #ffmpeg
drew` has joined #ffmpeg
drew has quit [Ping timeout: 260 seconds]
drew` is now known as drew
coldfeet has quit [Quit: Lost terminal]
lavaball has quit [Quit: lavaball]
lavaball has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
emanuele7 has joined #ffmpeg
YuGiOhJCJ has joined #ffmpeg
emanuele6 is now known as Guest4986
emanuele7 is now known as emanuele6
Guest4986 has quit [Ping timeout: 265 seconds]
Brocker has quit [K-Lined]
lucasta has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
Brocker has joined #ffmpeg
Scienceboy has quit [Ping timeout: 248 seconds]
LaCerveza has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
LaCerveza has joined #ffmpeg
Marth64 has quit [Quit: Leaving]
iive has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
lucasta has quit [Quit: Leaving]
jab416171 has quit [Ping timeout: 265 seconds]
LaCerveza has quit [Remote host closed the connection]
EmleyMoor has quit [Ping timeout: 252 seconds]
EmleyMoor has joined #ffmpeg
jab416171 has joined #ffmpeg
mven971 has quit [Quit: Goodbye.]
DauntlessOne4 has joined #ffmpeg
FlorianBad has quit [Remote host closed the connection]
bray90820 has joined #ffmpeg
<bray90820> How would I do something like this for i in *.mkv; do ffmpeg -i "$i" -c:a copy "${i%.*}.mp4"; done but with -map a:1 -map v:0
FlorianBad has joined #ffmpeg
FlorianBad has quit [Client Quit]
shibboleth has joined #ffmpeg
FlorianBad has joined #ffmpeg
mven971 has joined #ffmpeg
iconoclasthero has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
iconoclasthero has joined #ffmpeg
SuicideShow has quit [Ping timeout: 265 seconds]
SuicideShow has joined #ffmpeg
<BtbN> I don't understand the question. Just add the mappings in there?
sonicrules1234 has quit [Remote host closed the connection]
sonicrules1234 has joined #ffmpeg