Am 19.12.2015 um 23:29 schrieb Timothy Gu:
>> PS. I did not find any ressources on how to properly name new FFmpeg
>> options, e.g. to be consistent. Using the existing "ac" option did >>
not work.


> In this situation, it is always good to check what others are using :)
>
> In this case, all the input devices seem to use "channels":
>
> https://github.com/FFmpeg/FFmpeg/blob/master/libavdevice/alsa_dec.c#L146
> https://github.com/FFmpeg/FFmpeg/blob/master/libavdevice/dshow.c#L1269


Ironically, I named it "channels" in the first place, but thought it is
too ambiguous.


> Indeed, -ac is actually mapped to "channels" within the ffmpeg
> program:
> https://github.com/FFmpeg/FFmpeg/blob/master/ffmpeg_opt.c#L900


Oh.. this looks like an automatism I originally was looking for. Great!



Matthias


_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to