User Tools

Site Tools


multimedia_players

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

PlayerCPUMEMCondition / RemarkControls
alsaplayer Generic music player that can play back a large amount of file formatsVia the gtk+ interface
cmus9%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 filesYes
cplay5%2%When playing a MP3 fileYes, troublesome and not convenient
cvlc Commandline version of VLC. Can genereate errors for certain mp4 filesNo
JW Player Web basedYes. In the player right click for the menu
madplay Written with fixed point values. Works on computers without FPUYes. No seek
moc10,2%4,3%When playing a MP3 file. Client and Server. Run moc with the mocp command. Can not delete media filesYes
mpd Daemon
mpg1233,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 keybindingsYes
mpg3212,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)
mpv13%29%When playing an audio streamYes
mpv60%18%When playing a MP3 fileYes
mpv Does not play alle mp4 filesYes
mp3blaster Failed to open sound deviceYes
ncmpcpp Client for the mpd server
omxplayer
smplayer Front-end for MPlayer and mpv
splay Based on madplayNo
xmms2 Client and serverYes, 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

MediaPlayer%CPU%Mem
Audiompv1,71,6
Audiocvlc2,70,9
Videompv15,92,8
Videocvlc3,72,8

ALSA utils and other tools

UtilityExplanation
aconnectcommand line MIDI sequencer control
alsactladvanced controls for ALSA sound drivers
alsactl_initalsa control management - initialization
alsaloopcreate loopbacks between PCM capture and playback devices
alsamixercurses mixer
alsaucmalsa use case manager
amixercommand line mixer
amidiread from and write to ALSA RawMIDI ports
aplaycommand line playback
aplaymidicommand line MIDI playback
arecordcommand line recording
arecordmidicommand line MIDI recording
aseqnetcommand line MIDI sequencer control
aseqdumpcommand line MIDI sequencer control
aumixSimple text based mixer control program
ffmpegvideo converter
iecsetset or dump IEC958 status bits
mp3infoMP3 technical info viewer and ID3 1.x tag editor
speaker-testspeaker test tone generator
youtube-dlYoutube / 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.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
multimedia_players.txt · Last modified: 18-02-2024 17:07 by wim