3 audio settings – Kontron KTT20-pITX User Manual
Page 38
KTD-S0045-D
Page 34
Linux® BSP
KTT20/pITX Software Guide
9.2.2 Reencoding
Examples
With the
ffmpeg
tool you can reencode video files which do not comply the criteria listed above.
S
Create H.264 baseline profile, avg bitrate 15 Mbps, peak bitrate 20 Mbps:
ffmpeg -y -i ./video.mov -vcodec libx264 -profile baseline -b 15M-maxrate 20M -bufsize 1830k
-acodec
copy
./video_h264_max20_aver15.mov
S
Create Xvid, avg bitrate 8 Mbps, peak bitrate 10 Mbps:
ffmpeg
-y -i ./video.mov -vcodec mpeg4 -vtag xvid -b 8M -maxrate 10M-bufsize 1830k
-acodec copy ./video_xvid_max10_aver8.avi
9.3
Audio Settings
If you have trouble with audio input/output please check the 'alsamixer' settings.
Examples with the command line tool 'amixer':
S
For an overview type
amixer contents
S
To change a value type e.g.
amixer cset numid=46 on
You can find some audio files in the directory
usr/share/sounds/...
. Play these files with the 'aplay' tool,
for example
aplay ring.wav
.
The following table gives an indication to solve the problem(s).
Control
Name
Value
1
Left Input PGA Switch
off
2
Left Input PGA Volume
15
3
Left Input PGA Common Mode Switch
off
4
Right Input PGA Switch
off
5
Right Input PGA Volume
15
6
Right Input PGA Common Mode Switch
off
7
ADC OSR
High performance
8
HPF Switch
off
9
HPF Mode
Hi-fi
10
DRC Switch
off
11
DRC Compressor Slope R0
1/16
12
DRC Compressor Slope R1
1
13
DRC Compressor Threshold Volume
124
14
DRC Volume
15
15
DRC Minimum Gain Volume
0
16
DRC Maximum Gain Volume
0
17
DRC Attack Rate
1.45ms
18
DRC Decay Rate
743ms
19
DRC FF Delay
9 samples
20
DRC Anticlip Switch
on
21
DRC QR Switch
on
22
DRC QR Threshold Volume
2