Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
3
votes
1
answers
3287
views
Failed to open vdpau backend - Nouveau
I'm using ArchLinux and when I run vlc or mplayer, I used to get the error Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory This doesn't seem to cause any error as far as video playback is concerned, but I want to know the reason for this pr...
I'm using ArchLinux and when I run vlc or mplayer, I used to get the error
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
This doesn't seem to cause any error as far as video playback is concerned, but I want to know the reason for this problem.
I referred to this post in UbuntuForums and one of the suggestions to solve the problem was to install
nouveau-fw
. Looking at the installed files by the nouveau-fw
package, I couldn't find libvdpau_nouveau.so
at all in the list, but surprisingly mplayer stopped showing the error after installing the package. But vlc
still continues to show the error.
The only other solution given in the post was to install official nvidia drivers. I'm hoping to avoid this and just use the open-source drivers. Hoping someone can provide a solution to this.
Hashken
(333 rep)
Apr 10, 2015, 04:12 AM
• Last activity: Jul 10, 2025, 03:08 AM
0
votes
2
answers
4433
views
mplayer -vo caca with geometry
This `-geometry 256x144+1095+600` work to show video in rigth bottom: mplayer -ontop -noborder -geometry 256x144+1095+600 -loop 0 -idle -fixed-vo -msglevel all=-1 2>/dev/null video.mp4 [![enter image description here][1]][1] But this one (`-vo caca`) always stay in same position with same width and...
This
But this one (
My ultimate goal is display it in virtual console, so i wanted to know the equivalent format of
-geometry 256x144+1095+600
work to show video in rigth bottom:
mplayer -ontop -noborder -geometry 256x144+1095+600 -loop 0 -idle -fixed-vo -msglevel all=-1 2>/dev/null video.mp4

-vo caca
) always stay in same position with same width and height regardless of -geometry any_value
:
mplayer -vo caca -ontop -noborder -geometry 256x144+1095+600 -loop 0 -idle -fixed-vo -msglevel all=-1 2>/dev/null video.mp4

-geometry
for -vo caca
. (It could be nice to know -vo fbdev
too :)
林果皞
(5546 rep)
Oct 28, 2016, 02:54 AM
• Last activity: May 3, 2025, 07:02 PM
0
votes
0
answers
157
views
Mplayer slower than other video players
I have as my main media/video player my own (built from source by myself, including all the necessary libraries) mplayer However, one of the problems that I have with it, it's his low relative performance when compared to the system default media player (totem) and with some customized version of mp...
I have as my main media/video player my own (built from source by myself, including all the necessary libraries) mplayer
However, one of the problems that I have with it, it's his low relative performance when compared to the system default media player (totem) and with some customized version of mplayer that runs in another linux.
For instance, a 1280x720 video (scaled to 1024x768), used between 65-89% of cpu use in a few minutes of observation. This with mplayer automatically re-scaling it to 1024x768.
Totem has a greater range of cpu utilization (like 34 to 86%) when also re-scaling the video. Perhaps, its because it does not play it smoothly (it has fairly frequent very small fractions of time where the video stops playing). The video is not really playable on Totem when compared with Mplayer, despite lower cpu utilization.
However, this was for a HD video.
For a 640x360 scaled to 1024x768, mplayer used mainly 35 to 40% of cpu use in slow moving scenes and between high 30s to about 45-46% in faster scenes.
Totem on other hand uses something like 12-20% cpu in the slow scenes and from a bit less than twenty to about 30% in the faster scenes.
The mplayer of the other linux is by far the faster of the three. On the 640x360 video, it uses around 8.5-9.0% of cpu use in the slower scenes, with peaks around 13%. On the faster scenes, it usually goes from low 10s to around 16-17%, perhaps a bit more in a very few selected moments. Xorg use seems to be considerably less, around 3.3 to 4% most of time, against 6-7%, perhaps 8% of the xorg on the other OS
So my goal is to bring my mplayer performance close to mplayer from the other OS (perhaps xorg performance too)
Feel to make any questions about my system.
user2752471
(265 rep)
Mar 3, 2024, 06:59 PM
1
votes
1
answers
202
views
mplayer command line only show timestamp
I want to use mplayer command line to play music files in the terminal and keep the output messages quiet only except for audio timestamp. Only keep the last line `A: 133.5 (02:13.4) of 347.1 (05:47.0) 0.` in the below example (of course 02:13.4/05:47.0 format would be better). Is there any way to g...
I want to use mplayer command line to play music files in the terminal and keep the output messages quiet only except for audio timestamp. Only keep the last line
A: 133.5 (02:13.4) of 347.1 (05:47.0) 0.
in the below example (of course 02:13.4/05:47.0 format would be better). Is there any way to get that? Thanks.
> mplayer -novideo "Tokimeki Records,ひかり/Midnight Pretenders (feat. ひかり)/Tokimeki Records,ひかり - Midnight Pretenders (feat. ひかり).flac"
MPlayer 1.5-14.0.0 (C) 2000-2022 MPlayer Team
Can't init Apple Remote.
Playing Tokimeki Records,ひかり/Midnight Pretenders (feat. ひかり)/Tokimeki Records,ひかり - Midnight Pretenders (feat. ひかり).flac.
libavformat version 59.17.102 (internal)
libavformat file format detected.
[lavf] stream 0: audio (flac), -aid 0
[lavf] stream 1: video (mjpeg), -vid 0
Clip info:
ALBUM: Midnight Pretenders (feat. ひかり)
ARTIST: Tokimeki Records/ひかり
COMMENT: Create by xxxx copyright protected dump tool. author 5L
TITLE: Midnight Pretenders (feat. ひかり)
Load subtitles in Tokimeki Records,ひかり/Midnight Pretenders (feat. ひかり)/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 59.21.100 (internal)
AUDIO: 48000 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->192000)
Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)
==========================================================================
AO: [coreaudio] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 133.5 (02:13.4) of 347.1 (05:47.0) 0.
gpanda
(113 rep)
Nov 28, 2023, 02:14 PM
• Last activity: Nov 28, 2023, 08:07 PM
0
votes
1
answers
102
views
Using MPlayer with Legacy Hauppauge FM tuner card bt878 chipset
New to this forum but have been a Linux user for over 20 years. I support an older OpenSuse 12.2 box that has one of the WinTV Hauppauge FM tuner boards. MPlayer4.1 runs fine on the console for audio and video. I would like to run the same for the FM tuner in the card. Been looking at the Man pages...
New to this forum but have been a Linux user for over 20 years. I support an older OpenSuse 12.2 box that has one of the WinTV Hauppauge FM tuner boards. MPlayer4.1 runs fine on the console for audio and video.
I would like to run the same for the FM tuner in the card. Been looking at the Man pages for usage such as:
mplayer radio://[channel|frequency][/capture] [options]
I.e.
mplayer -radio driver=v4l radio://104.4
each time I get:
MPlayer 1.0rc4-4.1.2 (C) 2000-2010 MPlayer Team
Playing radio://104.4.
[radio] Unknown driver name: v4l
Failed to open radio://104.4.
Exiting... (End of file)
Has anyone any luck running FM radio from MPlayer
on the Hauppauge cards in the past? Seems like it is asking for the driver type each time.
Thanks
Steve
SteveB77
(1 rep)
Oct 28, 2023, 04:39 PM
• Last activity: Oct 29, 2023, 09:26 AM
0
votes
1
answers
282
views
Use mplayer as an xscreensaver?
Wanting to run a video as my screensaver, I ran into problems configuring it appropriately. I am summarizing the solution here in Q&A format.
Wanting to run a video as my screensaver, I ran into problems configuring it appropriately. I am summarizing the solution here in Q&A format.
kdb
(229 rep)
May 17, 2023, 09:01 AM
4
votes
4
answers
7214
views
mplayer -msglevel all=-1 doesn't make it completely silent!
I'm trying to open `mplayer` to play video without **any** terminal output using this: mplayer -msglevel all=-1 /path/to/video also: mplayer -really-quiet /path/to/video but it doesn't make it completely silent! and these are printed to output: [flv @ 0x9a5d100]Estimating duration from bitrate, this...
I'm trying to open
mplayer
to play video without **any** terminal output using this:
mplayer -msglevel all=-1 /path/to/video
also:
mplayer -really-quiet /path/to/video
but it doesn't make it completely silent! and these are printed to output:
[flv @ 0x9a5d100]Estimating duration from bitrate, this may be inaccurate
[ass] Init
[ass] Updating font cache
How can I make mplayer
completely silent?
Thanks
Ariyan
(2166 rep)
Feb 28, 2013, 05:55 PM
• Last activity: Jan 27, 2023, 10:29 PM
2
votes
2
answers
594
views
Why can't play music at reboot?
`OS` info: uname -a Linux debian 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux I want to play music at reboot. sudo crontab -e @reboot /usr/bin/sleep 200;/usr/bin/mplayer /home/debian/welcome.mp3 No music play ,check cron log to see what happened: sudo journalctl -u cron | g...
OS
info:
uname -a
Linux debian 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux
I want to play music at reboot.
sudo crontab -e
@reboot /usr/bin/sleep 200;/usr/bin/mplayer /home/debian/welcome.mp3
No music play ,check cron log to see what happened:
sudo journalctl -u cron | grep -e "root" |grep -e mplayer -A 3
Oct 17 20:07:46 debian CRON: (root) CMD (/usr/bin/sleep 200;/usr/bin/mplayer /home/debian/welcome.mp3)
Oct 17 20:11:07 debian CRON: pam_unix(cron:session): session closed for user root
The cmd in crontab starts at Oct 17 20:07:46,closed the session at Oct 17 20:11:07,almost 200seconds!
import datetime
start = datetime.datetime(2022, 10, 17, 20, 7, 46)
end = datetime.datetime(2022, 10, 17, 20, 11, 7)
end-start
datetime.timedelta(seconds=201)
It means that /usr/bin/sleep 200
executed ,but /usr/bin/mplayer /home/debian/welcome.mp3
never start ,why?
Without /usr/bin/sleep 200
in crontab,the /usr/bin/mplayer /home/debian/welcome.mp3
only last 7 seconds!It is a 5 minutes long music!
Oct 17 20:04:50 debian CRON: (root) CMD (/usr/bin/mplayer /home/debian/welcome.mp3)
Oct 17 20:04:57 debian CRON: pam_unix(cron:session): session closed for user root
Update to create cron with a regular user,the same log :
Oct 17 21:37:26 debian CRON: (debian) CMD (/usr/bin/sleep 200;/usr/bin/mplayer /home/debian/welcome.mp3)
Oct 17 21:40:48 debian CRON: pam_unix(cron:session): session closed for user debian
Same action ,from start to end ,it last 202 seconds,almost 200 seconds.
Update for adding a mplayer's log.
Oct 17 22:25:11 debian CRON: (debian) CMD (/usr/bin/sleep 200;/usr/bin/mplayer /home/debian/welcome.mp3 2>/tmp/mplayer.reboot.log)
Oct 17 22:28:33 debian CRON: pam_unix(cron:session): session closed for user debian
cat /tmp/mplayer.reboot.log
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
[AO_ALSA] alsa-lib: pcm_hw.c:1715:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-2): No such file or directory
[AO_ALSA] alsa-lib: pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Playback open error: No such file or directory
Failed to initialize audio driver 'alsa'
[AO SDL] Unable to open audio: No available audio device
Failed to initialize audio driver 'sdl:aalib'
Could not open/initialize audio device -> no sound.
Check the file:
file /home/debian/welcome.mp3
/home/debian/welcome.mp3: Audio file with ID3 version 2.4.0, contains:MPEG ADTS, layer III, v1, 64 kbps, 48 kHz, Stereo
THe playback hardware devices:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Generic_1 [HD-Audio Generic], device 0: ALC662 rev3 Analog [ALC662 rev3 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 2: Generic_1 [HD-Audio Generic], device 1: ALC662 rev3 Digital [ALC662 rev3 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
showkey
(499 rep)
Oct 17, 2022, 01:32 PM
• Last activity: Oct 21, 2022, 03:40 PM
2
votes
1
answers
285
views
How to listen from radio device?
I have a radio card with /dev/radio correctly created. I've connected my radio card to soundcard, on line-in port, I run mplayer and I listen...silence. mplayer -radio adevice=hw=0.0:arate=96000 -rawaudio rate=96000 radio://103.8 Modules are loaded lsmod |grep -i alsa saa7134_alsa 11554 0 saa7134 16...
I have a radio card with /dev/radio correctly created. I've connected my radio card to soundcard, on line-in port, I run mplayer and I listen...silence.
mplayer -radio adevice=hw=0.0:arate=96000 -rawaudio rate=96000 radio://103.8
Modules are loaded
lsmod |grep -i alsa
saa7134_alsa 11554 0
saa7134 163772 1 saa7134_alsa
elbarna
(13690 rep)
Oct 29, 2016, 01:16 AM
• Last activity: Oct 21, 2022, 11:23 AM
1
votes
1
answers
299
views
Process (mplayer) doesn't read from named pipe when started from webserver (lighttpd)
# tl;dr $ sudo -u www-data mplayer -slave -input file=/srv/mplayer.fifo -playlist /srv/list & $ lsof /srv/mplayer.fifo | tail +2 mplayer 21059 www-data 4u FIFO 179,2 0t0 2359331 /srv/mplayer.fifo $ cat /var/www/html/test #!/usr/bin/bash mplayer -slave -input file=/srv/mplayer.fifo -playlist /srv/lis...
# tl;dr
$ sudo -u www-data mplayer -slave -input file=/srv/mplayer.fifo -playlist /srv/list &
$ lsof /srv/mplayer.fifo | tail +2
mplayer 21059 www-data 4u FIFO 179,2 0t0 2359331 /srv/mplayer.fifo
$ cat /var/www/html/test
#!/usr/bin/bash
mplayer -slave -input file=/srv/mplayer.fifo -playlist /srv/list &
$ curl 'http://localhost/test' # mplayer starts playback (and keeps playing)
$ lsof /srv/mplayer.fifo
# no output!?
# details
On my **Raspberry Pi**, I have a *lighttpd* server running. It's supposed to start and control an *mplayer* process. The webserver starts mplayer with
-slave -input file=/srv/mplayer.fifo
. (So mplayer reads and executes commands from that file.) In order to skip to the next song, one of the webserver scripts writes pt_skip 1
to /srv/mplayer.fifo
. This indeed works when mplayer was run from command line. But when started from lighttpd, mplayer does not read commands from /srv/mplayer.fifo
. I don't understand why. Here's what I did:
Setup
$ mkfifo /srv/mplayer.fifo
$ chmod o+w /srv/mplayer.fifo
$ ls -l /srv/mplayer.fifo
prw-r--rw- 1 root root 0 Aug 7 12:11 /srv/mplayer.fifo
Test (ran from command line)
$ sudo -u www-data mplayer -ao alsa -slave -input file=/srv/mplayer.fifo -playlist /srv/list -shuffle
$ lsof /srv/mplayer.fifo
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mplayer 21059 www-data 4u FIFO 179,2 0t0 2359331 /srv/mplayer.fifo
$ ps aux | grep mplayer
root 21058 0.0 0.2 4680 2400 pts/0 S+ 12:13 0:00 sudo -u www-data mplayer -ao alsa -slave -input file=/srv/mplayer.fifo -playlist /srv/list -shuffle
www-data 21059 11.6 3.1 127928 30008 pts/0 SL+ 12:13 0:01 mplayer -ao alsa -slave -input file=/srv/mplayer.fifo -playlist /srv/list -shuffle
That's like expected. But if I run mplayer from lighttpd ...
$ cat /var/www/html/play
#!/usr/bin/bash
mplayer -ao alsa -slave -input file=/srv/mplayer.fifo -playlist /srv/list -shuffle &
... **it starts mplayer**, but the mplayer instance is not reading from /srv/mplayer.fifo
. lsof
doesn't produce any output:
$ lsof /srv/mplayer.fifo
$ ps aux | grep mplayer
www-data 21177 15.3 3.1 128212 29744 ? SL 12:30 0:01 mplayer -ao alsa -slave -input file=/srv/mplayer.fifo -playlist /srv/list -shuffle
I can also see mplayer is not reading from the pipe, because writing to it blocks. The mplayer logs don't show anything unusual. Do you have an idea why mplayer doesn't read from the named pipe when run from lighttpd?
steffen
(121 rep)
Aug 7, 2022, 12:56 PM
• Last activity: Aug 15, 2022, 01:02 PM
6
votes
3
answers
2549
views
MPlayer plays video in a new window instead of running in terminal
I am using the "-vo caca" option in order to be able to play a video in the terminal. However, mplayer is opening up a window in which the video runs. Is there any way to make it play in the console window (to have it filled)? I am using Linux Mint 16.
I am using the "-vo caca" option in order to be able to play a video in the terminal. However, mplayer is opening up a window in which the video runs. Is there any way to make it play in the console window (to have it filled)? I am using Linux Mint 16.
Vintage
(61 rep)
Apr 14, 2014, 09:38 AM
• Last activity: Jun 16, 2022, 04:48 PM
8
votes
4
answers
22039
views
How to get mplayer to play from stdin?
Why doesn't this work? cat /dev/video1 | mplayer - If I could get that to work, then I could play & record video at the same time using 'tee' to feed mplayer and mencoder. I want to play live video (from /dev/video1:input=1:norm=NTSC) and record it at the same time without introducing lag. mplayer p...
Why doesn't this work?
cat /dev/video1 | mplayer -
If I could get that to work, then I could play & record video at the same time using 'tee' to feed mplayer and mencoder.
I want to play live video (from /dev/video1:input=1:norm=NTSC) and record it at the same time without introducing lag.
mplayer plays the video fine (no noticeable lag).
mencoder records it fine.
But I can't figure out how to "tee" the output from /dev/video so that I can feed it to both at the same time. (I know ways to encode it, then immediately play the encoded video, but that introduces too much lag).
If mplayer and mencoder would read from stdin, then I could use 'tee' to solve this.
How can I do it?
[BTW, I'd be happy with ANY solution that plays & records at the same time, as long as it doesn't add lag - I'm not wedded to mplayer. But encoding first and then playing adds lag.]
nerdfever.com
(303 rep)
Oct 21, 2013, 10:47 PM
• Last activity: May 20, 2022, 01:56 AM
1
votes
0
answers
524
views
How can I execute a command in a shell script in a loop and in background mode?
In [Restart mplayer stream process on loss of internet connection -> use while true][1] an answer is given to restart an external command of a shell script - [mplayer][2] - after a connection loss. One commentator also mentions that this solution does avoid high cpu usage - in contrast to this answe...
In Restart mplayer stream process on loss of internet connection -> use while true an answer is given to restart an external command of a shell script - mplayer - after a connection loss. One commentator also mentions that this solution does avoid high cpu usage - in contrast to this answer: Restart mplayer stream process on loss of internet connection -> use -loop 0
I want to extend this script record.sh that calls mplayer as background job via '&' so that it is also inert against internet connection losses or router reconnects.
**As I am a beginner in shell scripting, I have difficulties to get a solution that uses something like**
while true
do mplayer http://YOURSTREAMHERE:8000/playlist.m3u -cache 1024
sleep 2
done
**in the context of that
record.sh
script (which calls mplayer
as a background task via &
).**
**How would a modified record.sh
script look like that is inert to connection losses and does not use much CPU?**
user146500
(11 rep)
May 7, 2022, 04:15 AM
• Last activity: May 11, 2022, 03:51 PM
2
votes
1
answers
1227
views
MPlayer can't play opus files inside mp4 container
I'm using mplayer version 1.4-11. When trying to play these (audio-only) kind of files, MPlayer gives the error message "Cannot find codec for audio format 0x7375704F." Other media players like vlc have no problem playing them. The supported codec [list](http://www.mplayerhq.hu/DOCS/codecs-status.ht...
I'm using mplayer version 1.4-11.
When trying to play these (audio-only) kind of files, MPlayer gives the error message "Cannot find codec for audio format 0x7375704F."
Other media players like vlc have no problem playing them.
The supported codec [list](http://www.mplayerhq.hu/DOCS/codecs-status.html) on the MPlayer website says it supports the similar audio format "0x7375706F" with codec names "FFmpeg opus" and "FFmpeg libopus".
MPlayer can successfully play opus audio files with an .opus extension or inside an .mkv file, and ffplay (the ffmpeg player utility) can play these mp4 files without a problem.
Here's an example command for creating this sort of file (use any audio file you have laying around):
ffmpeg -i myaudio.mp3 -acodec libopus -y test.mp4
Everything indicates MPlayer should have no problem playing this files, and yet it it complains about the audio format being unsupported. Why?
U9875093
(21 rep)
Feb 27, 2021, 11:06 PM
• Last activity: Jan 23, 2022, 07:10 AM
1
votes
1
answers
1104
views
Using mencoder to record a video
I'm trying to use `mencoder` to record a video. The following command was taken from an [online tutorial](https://wiki.archlinux.org/index.php/Webcam_setup#MPlayer): mencoder tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0:forceaudio:adevice=/dev/dsp -ovc lavc -oac mp3lame -lameopts cb...
I'm trying to use
mencoder
to record a video. The following command was taken from an [online tutorial](https://wiki.archlinux.org/index.php/Webcam_setup#MPlayer) :
mencoder tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0:forceaudio:adevice=/dev/dsp -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o filename.avi
The output is as follows:
MEncoder SVN-r37379 (C) 2000-2015 MPlayer Team
210 audio & 441 video codecs
success: format: 9 data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski
comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: UVC Camera (046d:0825)
Capabilities: video capture streaming
supported norms:
inputs: 0 = Camera 1;
Current input: 0
Current format: YUYV
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Inappropriate ioctl for device
Error: Cannot set norm!
Selected input hasn't got a tuner!
Unable to open '/dev/dsp': No such file or directory
Unable to open '/dev/dsp': No such file or directory
Unable to open '/dev/dsp': No such file or directory
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.
Exiting...
user@ArchBox:~/Dropbox$ mencoder tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0:forceaudio:ade[15838:17998:0117/045341:ERROR:cert_verify_proc_nss.cc(922)] CERT_PKIXVerifyCert for api.tldr.io failed err=-8181
How do I address these errors?
George
(1899 rep)
Jan 17, 2016, 09:57 AM
• Last activity: Aug 24, 2021, 08:30 AM
29
votes
2
answers
61583
views
How to recover a broken mp4 file: moov atom not found
I made a recording with ffmpeg -f alsa -ac 2 -i plughw:0,0 /tmp/audio.mp4 I then moved `/tmp/audio.mp4` to another directory (`/root/audio.mp4`) without stopping `ffmpeg` leading to a broken `.mp4` file: ffplay /root/audio.mp4 [...] [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f3524000b80] moov atom not found audi...
I made a recording with
ffmpeg -f alsa -ac 2 -i plughw:0,0 /tmp/audio.mp4
I then moved
/tmp/audio.mp4
to another directory (/root/audio.mp4
) without stopping ffmpeg
leading to a broken .mp4
file:
ffplay /root/audio.mp4
[...]
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f3524000b80] moov atom not found
audio.mp4: Invalid data found when processing input
**How to recover and read my .mp4
file?**
user123456
(5258 rep)
Jan 11, 2019, 09:00 AM
• Last activity: Jul 31, 2021, 10:49 AM
0
votes
1
answers
1037
views
Cache not filling error when using mplayer to read from stdin
I have a program that's generating audio and I can't get mplayer to play it. I'm doing ./myprogram | mplayer - -cache 1024 -cache-min 30 -noconsolecontrols And I get the message Cache fill: X% (Y bytes) X goes up to the specified `cache-min` value (but not past it) and then it keeps printing the err...
I have a program that's generating audio and I can't get mplayer to play it. I'm doing
./myprogram | mplayer - -cache 1024 -cache-min 30 -noconsolecontrols
And I get the message
Cache fill: X% (Y bytes)
X goes up to the specified
cache-min
value (but not past it) and then it keeps printing the error message:
Cache not filling, consider increasing -cache and/or -cache-min!
I tried some other values for cache
and cache-min
but none of them worked. Of course, there is a possibility that my program is somehow at fault.
Dunno
(101 rep)
May 19, 2016, 06:09 PM
• Last activity: Apr 19, 2021, 05:27 PM
3
votes
1
answers
2640
views
How to display an image with mplayer?
**How can I display a `jpg` image with `mplayer` for an infinite amount of time?** Wen opening an image with `mplayer`, the image is displayed for about 0.1s and then `mplayer` is leaving: mplayer image.png PS: the ultimate goal is to send a picture to /dev/fb0 which can be done with the mplayer opt...
**How can I display a
jpg
image with mplayer
for an infinite amount of time?**
Wen opening an image with mplayer
, the image is displayed for about 0.1s and then mplayer
is leaving:
mplayer image.png
PS: the ultimate goal is to send a picture to /dev/fb0 which can be done with the mplayer option -fbdev2 /dev/fb0
user123456
(5258 rep)
Dec 15, 2016, 02:41 PM
• Last activity: Mar 7, 2021, 07:26 PM
0
votes
1
answers
86
views
Why is Electricsheep on Debian not using the mplayer configuration for display settings?
I have set electricsheep for screensaver in Debian. I want to run it in full screen, at 25 fps, but it runs at 23 fps with a very strange resolution. Checking on `ps` it return this ps -efww|grep mpla user 2481 2479 28 21:58 ? 00:02:24 mplayer -really-quiet -cache 8192 -monitoraspect 1280:800 -fps 2...
I have set electricsheep for screensaver in Debian.
I want to run it in full screen, at 25 fps, but it runs at 23 fps with a very strange resolution.
Checking on
ps
it return this
ps -efww|grep mpla
user 2481 2479 28 21:58 ? 00:02:24 mplayer -really-quiet -cache 8192 -monitoraspect 1280:800 -fps 23 -vo vdpau -wid 0x1C0000A -nostop-xscreensaver -
user 2483 2481 0 21:58 ? 00:00:01 mplayer -really-quiet -cache 8192 -monitoraspect 1280:800 -fps 23 -vo vdpau -wid 0x1C0000A -nostop-xscreensaver -
This is the .electricsheep/preferences.xml
file:
This is my mplayer
config
# Write your default config options here!
vo=vdpau
menu=yes
vf=screenshot
fullscreen=yes
softvol=yes
softvol-max=300
msgcolor=yes
aspect=16:9
tskeepbroken=true
use-filename-title=yes
Why, instead of running at fullscreen with 16:9 aspect as Slackware did, does it run with its own options?
I have solved the framerate problem, but it still runs at a strange resolution of 1280:800.
elbarna
(13690 rep)
Dec 12, 2020, 09:13 PM
• Last activity: Dec 13, 2020, 09:10 AM
1
votes
1
answers
1782
views
Mplayer fails to play network stream
I'm trying to play youtube streams with mplayer. On running `mplayer -cache 2048 https://www.youtube.com/watch?v=USUA_1WVM8I`, I get the following output and the video does not play at all. MPlayer SVN-r37379 (C) 2000-2015 MPlayer Team 210 audio & 441 video codecs Playing https://www.youtube.com/wat...
I'm trying to play youtube streams with mplayer. On running
mplayer -cache 2048 https://www.youtube.com/watch?v=USUA_1WVM8I
, I get the following output and the video does not play at all.
MPlayer SVN-r37379 (C) 2000-2015 MPlayer Team
210 audio & 441 video codecs
Playing https://www.youtube.com/watch?v=USUA_1WVM8I .
libavformat version 56.25.101 (internal)
Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
Cache fill: 7.81% (163840 bytes) [tls @ 0x7f75d89eaa00]The TLS connection was non-properly terminated.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
Cache fill: 9.48% (198786 bytes)
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]The specified session has been invalidated for some reason.
[tls @ 0x7f75d89eaa00]
The specified session has been invalidated for some reason.
Exiting... (End of file)
The same thing happens for any other youtube video.
Looking at the output, it seems to be some problem with the TLS library, but I tried the same videos with VLC, and they played just fine. How can I solve this problem with mplayer?
Hashken
(333 rep)
Apr 10, 2015, 04:32 AM
• Last activity: Oct 14, 2020, 07:02 PM
Showing page 1 of 20 total questions