head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.50 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.48 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.46 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.44 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.42 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.40 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.38 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.36 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.34 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.32 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.30 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.28 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.26 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.24 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.22 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.20 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.18 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.16 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.14 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.12 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.10 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.8 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.6 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.4 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.2 pkgsrc-2020Q1-base:1.1; locks; strict; comment @# @; 1.1 date 2020.03.20.21.19.54; author nia; state Exp; branches; next ; commitid ntf2a26adTlVwb1C; desc @@ 1.1 log @ffmpeg4: Add native Solaris/NetBSD audio support. Work by Yorick Hardy and myself. Also submitted to ffmpeg-devel, but they didn't take much notice. To record audio: $ ffmpeg4 -f sunau -i /dev/audio0 recording.wav To play audio: $ ffmpeg4 -i recording.wav -f sunau /dev/audio0 Bump PKGREVISION @ text @$NetBSD$ --- doc/indevs.texi.orig 2019-12-31 21:35:22.000000000 +0000 +++ doc/indevs.texi @@@@ -1282,6 +1282,35 @@@@ Set the number of channels. Default is 2 @@end table +@@section sunau + +Solaris/NetBSD audio input device. + +The filename to provide to the input device is the device node +representing the Sun input device, and is usually set to +@@file{/dev/audio0}. + +For example to grab from @@file{/dev/audio0} using @@command{ffmpeg} use the +command: +@@example +ffmpeg -f sunau -i /dev/audio0 /tmp/oss.wav +@@end example + +@@subsection Options + +@@table @@option + +@@item buffer_samples +Set the size of the audio buffer in samples. Default is 32. + +@@item sample_rate +Set the sample rate in Hz. Default is 48000. + +@@item channels +Set the number of channels. Default is 2. + +@@end table + @@section video4linux2, v4l2 Video4Linux2 input video device. @