![Phytec L-1017e.A3 i.MX 8M Plus Manual Download Page 67](http://html1.mh-extra.com/html/phytec/l-1017e-a3-i-mx-8m-plus/l-1017e-a3-i-mx-8m-plus_manual_1554092067.webp)
L-1017e.A3 i.MX 8M Plus BSP Manual
•
•
target$ amixer -c1 sset
'Left PGA Mixer Mic3R'
on
target$ amixer -c1 sset
'Right PGA Mixer Mic3R'
on
target$ arecord -t wav -c
2
-r
44100
-f S16_LE test.wav
Device Tree Audio configuration:
https://git.phytec.de/linux-imx/tree/arch/arm64/boot/dts/freescale/overlays/
imx8mp-phyboard-pollux-peb-av-010.dtso?h=v5.10.72_2.2.0-phy9#n43
Video
Videos with Gstreamer
The video is installed by default in the BSP:
target$ gst-launch-
1.0
playbin uri=file:
///usr/share/phytec-qtdemo/videos/
caminandes.webm
Or
target$ gst-launch-
1.0
-v filesrc location=<video.mp4> \
! qtdemux ! h264parse ! queue ! vpudec ! waylandsink async=
false
enable-last-sample=
f
alse
\
qos=
false
sync=
false
Or
target$ gplay-
1.0
/usr/share/phytec-qtdemo/videos/caminandes.webm
kmssink
Plugin ID Evaluation
The
kmssink
plugin needs a connector ID. To get the connector ID, you can use the tool
modetest
.
target$ modetest -c imx-drm
The output will show something like:
Information
Since playback and capture share hardware interfaces, it is not possible to use different sampling rates
and formats for simultaneous playback and capture operations.