Skip to main content

Multimedia

Audio Settings

The system default sound output priority is: Bluetooth Audio > Headphones > HDMI Audio. After manual selection of audio output, The selection will be raised to the highest priority.

It means that connecting other audio devices does not switch the audio output when the device is playing at the highest priority device.

Audio Settings

Desktop Settings

Left-clicking the volume icon on the desktop taskbar brings up the audio output selector; this allows you to select between the internal audio outputs. It also allows you to select any external audio devices, such as USB sound cards and Bluetooth audio devices. A blue tick is shown against the currently selected audio output device — simply left-click the desired output to change this. The volume control and mute operate on the currently selected device. audio manager

Command Line Config

In addition to the graphical interface, we can also set up the audio from the terminal. We provide alsamixer for volume management, entering the setting ui by this command:

alsamixer

Use the up and down arrow keys to adjust the volume.

┌────────────────────────────── AlsaMixer v1.2.4 ──────────────────────────────┐
│ Card: PulseAudio F1: Help │
│ Chip: PulseAudio F2: System information │
│ View: F3:[Playback] F4: Capture F5: All F6: Select sound card │
│ Item: Master Esc: Exit │
│ │
│ ┌──┐ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │▒▒│ │
│ │▒▒│ │
│ │▒▒│ │
│ │▒▒│ │
│ │▒▒│ │
│ ├──┤ │
│ │OO│ │
│ └──┘ │
50<>50
< Master >

For changing to other audio output devices, you should get which devices are connected at first, a search is provided below:

pacmd list-sinks | grep -e 'index:' -e 'name:'

You will see the index and name of the connected audio devices like this:

    index: 0
name: <alsa_output.platform-dp0-sound.HDMI__hw_rockchiphdmi1__sink>
index: 1
name: <alsa_output.platform-es8316-sound.HiFi__hw_rockchipes8316__sink>
* index: 7
name: <bluez_sink.C0_09_0B_48_26_53.a2dp_sink>

The index with * indicates that it's the highest priority device. The following command would help you to change default output device:

pacmd set-default-sink alsa_output.platform-es8316-sound.HiFi__hw_rockchipes8316__sink  # 'alsa_output.platform-es8316-sound.HiFi__hw_rockchipes8316__sink' is the name of the device you want to set.

For more information, please check pacmd page.

Audio Settings

  • Dragon Player is the default media player included in the Debian system. If Dragon Player is not installed in the system, you can execute the following command to install it.
sudo apt-get update
sudo apt-get install dragonplayer
  • Enter your password if prompted, and then wait for the installation to complete. Once Dragon Player is installed, you can use the following command to open a video:
dragon /path/to/video/file
  • Replace "/path/to/video/file" with the actual path and filename of the video you want to play. For example, if your video is located in the Videos folder in your home directory and is called "myvideo.mp4", the command would look like this:
dragon ~/Videos/myvideo.mp4
  • Of course, you can also directly double-click the video file icon to play it.

As for the video formats supported by Dragon Player, it can decode any format that is supported by the FFmpeg library. This includes popular video formats such as MP4, AVI, MKV, WMV, FLV, MOV, and more.