Hacker News new | ask | show | jobs
by syl_sau 2056 days ago
As "intricate" as some -filter_complex commands may be, it's still readable. Spending 2 hours reading and testing out commands should be all you need to master it.

I've been using many CLI tools for all kind of purpose and I think it cannot be stressed how well design the whole ffmpeg program is. I even made a whole music video montage out of it.

1 comments

the thing that took a bit of time to keep from getting confused is audio mapping. streams are indexed from 0 while channels are indexed from 1. knowing when something needs the stream index vs the channel index gets weird until that one day it finally clicks. i also argue with its choices of channel layout names[0]. a lack of 5.1+2.0 to be labeled similar to L,R,C,LFE,Ls,Rs+Lt,Rt. instead, it wants to call it some 7.1 monstrosity. also, industry standard for 5.1 is L,R,C,LFE,Ls,Rs while FFMPEG calls it FL,FR,FC,LFE,BL,BR. They also forgo Lt/Rt for DL/DR. Maybe I'm too video centric, and these make more sense to an audio centric person???

[0]https://trac.ffmpeg.org/wiki/AudioChannelManipulation#Listch...