FS#72057 - [ffmpeg] Enable bs2b and OpenCL
Attached to Project:
Arch Linux
Opened by Arzet Ro (arzeth) - Tuesday, 07 September 2021, 06:45 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 06 September 2022, 13:11 GMT
Opened by Arzet Ro (arzeth) - Tuesday, 07 September 2021, 06:45 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 06 September 2022, 13:11 GMT
|
Details
--enable-libbs2b
requires 1 new dependency: extra/libbs2b (67 KB installed size). "What's missing in headphones is the sound going from each channel to the opposite ear, arriving a short time later for the extra distance traveled, and with a bit of high frequency roll-off for the shadowing effect of the head." ( full description is on http://bs2b.sourceforge.net/ ) Use case: Some audio are badly recorded: voice is audible mostly in one channel only, while instruments are audible mostly in the other channel only, which makes listening through headphones bad. bs2b fixes this. When I want to share such video/audio with others, I add a filter to ffmpeg: -filter:a bs2b=profile=jmeier (almost no difference can be heard when listening through speakers) When I don't need to share, I don't use ffmpeg because (a little offtopic) I have this in ~/.pulse/default.pa (requires aur/ladspa-bs2b): load-module module-ladspa-sink sink_name=ladspa_bs2b plugin=bs2b label=bs2b control=650,9.5 (also load-module module-ladspa-sink sink_name=ladspa_tonestack plugin=caps label=ToneStack control=4,0.43,0.5,0.5 sink_master=ladspa_bs2b (pacman -S caps) but that's offtopic). ------------------- --enable-opencl provides 19 very useful filters (that's all) that work on all GPUs (except Raspberry Pi). ffmpeg -filters | grep opencl --enable-opencl requires 1 new dependency: `ocl-icd` (271 KB installed size); compiling requires also `opencl-headers`. (BTW, FFmpeg 4.5 will have --enable-vulkan, which requires `vulkan-icd`, `vulkan-headers`) |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Tuesday, 06 September 2022, 13:11 GMT
Reason for closing: Implemented
Additional comments about closing: 2:5.1.1-3
Tuesday, 06 September 2022, 13:11 GMT
Reason for closing: Implemented
Additional comments about closing: 2:5.1.1-3