Table of Contents
If you want to send us your comments, please do so. Thanks
More on comments
Multimedia players
See also Audio
system load
On a PC with a Geode 500MHz processor and 500 MB RAM
Bold name: prefered
Player | CPU | MEM | Condition / Remark | Controls |
---|---|---|---|---|
alsaplayer | Generic music player that can play back a large amount of file formats | Via the gtk+ interface | ||
cmus | 9% | 4,2% | When playing a MP3 file. Light weight audio player. When playing a MP3 file (estimate). n-cursus interface. Do not install (is no dependency only recommended) cmus-plugin-ffmpeg if you do not need it. cmus can delete media files | Yes |
cplay | 5% | 2% | When playing a MP3 file | Yes, troublesome and not convenient |
cvlc | Commandline version of VLC. Can genereate errors for certain mp4 files | No | ||
JW Player | Web based | Yes. In the player right click for the menu | ||
madplay | Written with fixed point values. Works on computers without FPU | Yes. No seek | ||
moc | 10,2% | 4,3% | When playing a MP3 file. Client and Server. Run moc with the mocp command. Can not delete media files | Yes |
mpd | Daemon | |||
mpg123 | 3,9% | 3,7% | When playing a MP3 file. MPEG 1.0/2.0/2.5 (mp1, mp2, mp3) audio stream player. Do h to display the keybindings | Yes |
mpg321 | 2,6% | 10% | Volume, skip song, (un)mute. Memory usage increases over time. Goes from 2,6% to over 4,8% in a few minutes (one song, 6 minutes, 13.000 frames) | |
mpv | 13% | 29% | When playing an audio stream | Yes |
mpv | 60% | 18% | When playing a MP3 file | Yes |
mpv | Does not play alle mp4 files | Yes | ||
mp3blaster | Failed to open sound device | Yes | ||
ncmpcpp | Client for the mpd server | |||
omxplayer | ||||
smplayer | Front-end for MPlayer and mpv | |||
splay | Based on madplay | No | ||
xmms2 | Client and server | Yes, long commands | ||
A lot of others | Which are not in the Debian repository |
mpv compared with cvlc
On an unknown PC
For video's cvlc uses one fourth of the cpu resources compared to mpv
For audio only mpv is more efficient
Media | Player | %CPU | %Mem |
---|---|---|---|
Audio | mpv | 1,7 | 1,6 |
Audio | cvlc | 2,7 | 0,9 |
Video | mpv | 15,9 | 2,8 |
Video | cvlc | 3,7 | 2,8 |
ALSA utils and other tools
Utility | Explanation |
---|---|
aconnect | command line MIDI sequencer control |
alsactl | advanced controls for ALSA sound drivers |
alsactl_init | alsa control management - initialization |
alsaloop | create loopbacks between PCM capture and playback devices |
alsamixer | curses mixer |
alsaucm | alsa use case manager |
amixer | command line mixer |
amidi | read from and write to ALSA RawMIDI ports |
aplay | command line playback |
aplaymidi | command line MIDI playback |
arecord | command line recording |
arecordmidi | command line MIDI recording |
aseqnet | command line MIDI sequencer control |
aseqdump | command line MIDI sequencer control |
aumix | Simple text based mixer control program |
ffmpeg | video converter |
iecset | set or dump IEC958 status bits |
mp3info | MP3 technical info viewer and ID3 1.x tag editor |
speaker-test | speaker test tone generator |
youtube-dl | Youtube / video downloader |
MOC
Intuïtive ncurses music player
Run mocp to start it
? gives help info
MPlayer
mplayer is superseded by mpv
Errors
When you get:
Cannot open file /home/user/.mplayer/input.conf' No such file or directory Failed to open /home/user/.mplayer/input.conf.
do
touch /home/user/.mplayer/input.conf
to resolve this.
If you want to know more about input.conf see chapter 3.3 Control of the MPlayer documentation
Here you can find a bigger example
Audio CD
mpv cdda:///dev/dvd
Streaming
ffmpeg
Source: ffmpeg streamingGuide
PulseAudio
PulseAudio is a networked low-latency sound server for Linux, POSIX and Windows systems
Work in progress
Debian on PulseAudio
PulseAudio (The PulseAudio Sound System) works on top of ALSA (Advanced Linux Sound Architecture), the successor of the OSS (Open Sound System)
Pulseaudio runs in user mode
Tools and commands
- pacmd - Reconfigure a PulseAudio sound server during runtime
- pactl - Control a running PulseAudio sound server
- pulseaudio-module-zeroconf
- pulseaudio-utils
- pacat - Cat raw audio data to a PulseAudio sink
- pacmd - Connect to PulseAudio's built-in command line control interface
- pactl - Send a control command to a PulseAudio server
- padsp - /dev/dsp wrapper to transparently support OSS applications
- paplay - Playback a WAV file via a PulseAudio sink
- parec - Cat raw audio data from a PulseAudio source
- pax11publish - Store/retrieve PulseAudio default server/sink/source settings in the X11 root window
- systemctl --user restart pulseaudio.service
- systemctl --user restart pulseaudio.socket
TCP support with anonymous clients
- General:
- Install ALSA: aptitude install alsa-oss alsa-utils libasound2 libasound2-plugins
- Client: The source computer of the sound
- aptitude install module-zeroconf-discover
- If you are running a windows manager do aptitude install pasystray
- Make sure /etc/pulse/default.pa contains load-module module-zeroconf-discover (searches for pulseaudio servers on the LAN)
- Manually run load-module module-zeroconf-discover
- Restart pulseaudio with pulseaudio --daemonize=yes (when ran as a systemd server use --daemonize=no
- Set your server to connect to the client with pasystray
- Server: The computer that makes the sound hearable via the speakersystem connected to it
- aptitude install avahi-daemon pulseaudio-module-zeroconf
- Make sure etc/pulse/default.pa contains load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/24 auth-anonymous=1
Some more ideas to get it working
Errors
pulseaudio -D
E: [pulseaudio] main.c: Daemon startup failed.
GUI programs
- paman - PulseAudio Manager (GTK)
- paprefs - PulseAudio Preferences (GTK)
- pasystray - PulseAudio controller for the system tray
- pavucontrol - A volume control for the PulseAudio sound server
- pavumeter - A volume meter for the PulseAudio sound server
mpd
mpd
Music Player Daemon (MPD) is a server that allows remote access for playing audio files (Ogg-Vorbis, FLAC, MP3, Wave, and AIFF), streams (Ogg-Vorbis, MP3) and managing playlists.
The design focus is on integrating a computer into a stereo system that provides control for music playback over a TCP/IP network.
The goals are to be easy to install and use, to have minimal resource requirements (it has been reported to run fine on a Pentium 75), and to remain stable and flexible.
Edit /etc/mpd.conf and turn
audio_output { type "httpd" name "My HTTP Stream" port "8000"
on (remove the #)
Set the firewalls the right way
Run
systemctl enable mpd.service systemctl status mpd.service systemctl start mpd.service
VLC
Multimedia player
cvlc is the commandline interface version
Rotate a video
- Tools | Effects and Filters | Video Effects | Geometry | Do one of
- turn on the Transform checkbox | Select the needed action
- turn on the Rotate checkbox | Rotate with the wheel
Errors
- Check if pulseaudio is running
- systemctl is-active pulseaudio
inactive
- or just by running pulseaudio
pulseaudio
E: [pulseaudio] pid.c: Daemon already running. E: [pulseaudio] main.c: pa_pid_file_create() failed.
To be investigated
Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy
RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.