You can use wget over ssh to open an HTTP connection and output stream data, then mplayer on the local machine to play it.
ssh <user>@<host> "wget <stream> -O -" | mplayer -cache 512 -
wget's -O (capital letter oh) option sets its output file; - (dash) implies stdout.
mplayer's -cache option causes a configurable amount ...
You can use ssh's -L flag to create a tunnel from your system to a remote:
ssh -L <localport>:<streamhost>:<streamport> <user>@<remote>
You can then connect to your end of the tunnel with mplayer as you would otherwise:
You can try and use Untrunc to fix the file.
Restore a damaged (truncated) mp4, m4v, mov, 3gp video. Provided you
have a similar not broken video.
you may need to compile it from source, but there is another option to use a Docker container and bind the folder with the file into the container and fix it that way.
You can use the included Dockerfile to ...
It looks to be in this config file, at least according to this SU Q&A titled: get mplayer to start with a default volume other than 25%.
To override the muted option you can press the numeric keys, 9 & 0. These will decrease/increase the volume. I believe the m key will toggle the muted sound too.
OK, but where is this option ...
You can set up a SOCKS proxy:
ssh -D localhost:8080 user@remotehost
You can use tell any other application, such as your web browser, to use this proxy too.
Solution provided here (https://github.com/ponchio/untrunc) solved my problem!
I run it as a Docker container. Here my steps:
Install Docker (in case you don't have it yet)
Download the file (in an empty directory) https://raw.githubusercontent.com/ponchio/untrunc/master/Dockerfile
On the same directory of the Dockerfile, run:
docker build -t untrunc .
No. Mplayer can run using the the linux kernel framebuffer, which if you are on one of the virtual consoles (these are tty devices, and they are not the same as what's used in a GUI terminal) makes it seem as if it's running "in the console" because, of course, that's the entire screen. But it's not running in the console, it's running in the framebuffer, ...
sshfs is a wonderful tool for cases like this. It hides many a firewall and allows you to use whatever player you choose (though mplayer is still a nice choice).
sudo apt-get install sshfs # your favorite packager here
sshfs firstname.lastname@example.org:/home/arthur/Music ~/Music
I also run Subsonic listening to port 4040 on localhost and then ssh-tunnel home with
You might want to install the package mplayer-resumer. This will allow you to resume a video from where you left off. When you're done watching the videos using this wrapper script, you can then safely delete them.
$ mplayer-resumer options path/to/file
Automatic resuming from where you left off - tips tricks
mplayer-resumer on github
excerpt from main ...
There is a lot of misinformation on the web about this not being possible, however, it most definitely is possible. Note, you may need to adjust the -i and -pix_fmt a bit for your situation.
ffmpeg -i /dev/video0 -pix_fmt bgra -f fbdev /dev/fb0
Also note, the user executing this must have privileges to write to the framebuffer (i.e. root).
From man mplayer:
Do not play/encode video. In many cases this will not work, use
-vc null -vo null instead.
Based on that statement, one (and possibly both) of the following should work:
mplayer -novideo foo.mp3
mplayer -vc null -vo null foo.mp3
Turning my comment in to an answer:
My best recommendation is to use mpv, which supports video-out drivers (and a lot more!) that AFAIK mplayer does not. Although mplayer development has recently seen some activity, for a long time (mplayer 1.1: June 2012; 1.2: October 2015) it was effectively dead. mpv, on the other hand, has had consistent releases since ...
Answer from: http://ranger.carina.uberspace.de/qa/358/open-several-marked-files.
I tested this and it works.
Marking is limited to 1 directory. To open files in multiple directories, you need to use the copy buffer instead:
Move to a file you want to use and type "ya" to add the file to the copy buffer. If you mark files with space or v, they will all be ...
They both are used and supports different set of codecs. Even more some va-api drivers run nvdpau interfaces and vice versa.
Archlinux wiki is good at explaining some basic things with its tables, even non distro specific stuff, which aplies to many distros:
I don't think what you want to do is possible using a single mplayer. I found this exact question asked and apparently answer thusly:
excerpt :[MPlayer-users] Display and record a camera ip stream at the same time ?
This work, but I really want to do it in the same mplayer process. Any
idea how to write a stream in a file in slave mode ? I haven'...
The question was somedays old, and I did not submit it but it was still in my browser window.
In the meantime I have evolved a somewhat hacker brute-force solution. I went to the folder where my mplayer binary is and copied it to another name.
sudo cp mplayer mplfull
Changed all occurrences of MPlayer to MPlfull in the copied file.
sudo sed -...
You can try using pulseaudio sound server daemon in the raspberry pi and configuring pulseaudio client with the internal network ip of the server in the configuration.
For example if you are using Debian and raspbian.
echo "snd_bcm2835" > /etc/modules /* load the sound module \*/
apt-get install pulseaudio pulseaudio-module-zeroconf ...
For a cleanest/nicest solution you will need a second framebuffer device, which would require another graphics card. But there's another hacky way to achieve what you want with just one card.
You can list all cards and connectors (monitors) available with:
$ mpv --drm-connector help
Then you can choose which card (0 or 1) and connector to use as an output ...
You may try to use a LADSPA plugin called ladspacc. Note that the regular karaoke effect is a simple operation (phase cancellation) while the opposite effect involves a complex signal processing chain; the ladspacc implementation will create slight sound artifacts.
If you want to pass the arguments to your script to mplayer, in an xterm, this should work:
xterm -e mplayer "$@"
This works because of how "$@" expands: one parameter per item. xterm does not attempt to interpret the arguments to the command in any way; it just passes them through.
If you need actually put your file list in a variable, your ...
As an alternative to explicitly diddling with file descriptors, in Bash you have a convenient way to do pipelines-as-FDs:
mplayer -shuffle -playlist <(find /some/path -type f -not -name '*.foo')
You have both <(COMMAND) (pipe output from command) and >(COMMAND) (pipe output into command) for this kind of purpose. They typically work by using /...
The way I have found is to inspect the data stream in the browser itself using browser developer tools. In Chrome, launch the developer tools, then click on the network tab. Then navigate to the page containing the stream. The stream will appear in the network tab - you may have to scroll up or down to find it but it will be the resource that is constantly ...
Play file directly
You do not have to even download these files prior to playing them with mplayer. From the mplayer man page:
mplayer [options] [file|URL|playlist|-]
So mplayer can play URLs directly.
$ mplayer http://mymusic.store.com/musicfoo.mp3
You'll likely need to adjust the cache values to get mplayer to playback ...