19
votes
How to infinite loop every video I play as defaut on MPV player without having to press shift+L hotkey every single time?
As far as I know there is no configuration in this program.
While it isn't created by default, mpv supports a file called mpv.conf, which allows mpv behavior to be customized (globally, for ...
8
votes
How to infinite loop every video I play as defaut on MPV player without having to press shift+L hotkey every single time?
You could make alias with loop option and save it to .profile or .zshrc or .bashrc like:
alias mpvl='mpv --loop '
6
votes
How can I get the length of a video file from the console?
ffprobe -v error -select_streams v:0 -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 movie.mp4
Will return the total duration in seconds. (video+audio) = 124.693091
ffprobe -v ...
6
votes
get mplayer to start with a default volume other than 25%
The -volume option sets the volume between 0 and 100.
mplayer -volume 40 MyMusicVideo.mp4
3
votes
How to disable subtitles?
As @Devid said, v is the shortcut for it. But you could also change the mpv.conf file:
sub-visibility=no # Disable display of subtitles, but still load them if available.
Sources:
Example of mpv....
3
votes
Play audio-only file with subtitles, possibly use some still image as stub
I have accomplished this same task with mpv in the past without needing the video file. Use:
mpv --no-audio-display --force-window --sub-file="<subfile>" "<inputfile>"
I was making ...
3
votes
Play audio-only file with subtitles, possibly use some still image as stub
How can I play audio-only file with subtitles in mplayer?
If you're willing to be flexible on using an image as a stub and get ffmpeg involved in generating a placeholder, it can be done.
Create a ...
2
votes
What does the at symbol (@) with IPs mean in ffmpeg and vlc?
I think it is for source specific multicast address. I tried it changing to my interface address and other time to transmitter address which sent media to multicast address. Second one worked.
2
votes
Accepted
1
vote
Why are subtitles not showing in SMPlayer?
General > Multimedia engine choose other and set /usr/bin/mplayer
if you wanna use 2 subtitles you have to install sudo apt install mpv and set multimedia engine /usr/bin/mpv
1
vote
How to add mp3 inbetween mp3 with ffmpeg - concatenation inbetween
atrim
ffmpeg -i "a.mp3" -i "b.mp3" -filter_complex "
[0:a]atrim=end=50,asetpts=PTS-STARTPTS[a1];
[0:a]atrim=start=50,asetpts=PTS-STARTPTS[a3];
[a1][1:a][a3]concat=n=3:v=0:a=1
&...
1
vote
Disable embedded art/cover on music playback in mplayer
I was searching for the same and this solution worked fine for me:
Add the flag "-vo null".
-> mplayer -vo null /PATH_TO_AUDIO_FILE
1
vote
Accepted
Mplayer slow to play network stream
Is there any way I can get this to play any quicker?
With Mplayer, I believe the answer is "it's unlikely". There could be some hidden settings somewhere, but in my experience, it simply ...
1
vote
Accepted
How to make mplayer use subtitles?
You probably have mplayer without freetype and fontconfig
Configuration: --cc=clang --host-cc=clang --disable-cdparanoia --prefix=/usr/local/Cellar/mplayer/1.3.0 --disable-x11
Configuration: --enable-...
1
vote
How to sync two looping videos with mplayer and upd?
First let me thank you man. I have been using mplayer in multi monitors for nearly 15 years now. I was simply never able to get it working and I found nothing on the internet that worked. It felt ...
1
vote
Accepted
how to play audio files with crossfading on Linux?
I don't know about mplayer, but Rhythmbox has an option to crossfade between tracks. To activate it go to Edit > Settings > Playback and check the Crossfading backend option.
There's also the Auto-DJ ...
1
vote
Capture and view PAL-B raw video and stereo ALSA sound from EasyCAP STK1160 with ffmpeg and encode to x264
#1 You are saving to a rawvideo stream and so audio will not be saved. You need to save to a container, like NUT:
ffmpeg -f rawvideo -framerate 25 -s 720x576 -i /dev/video1 -f alsa -ac 2 -i hw:2,0
...
1
vote
Improve pitch shift
I don't believe that there is a way to improve mpv, unless you are an mpv developer. Maybe using another player will give better results.
Try using VLC with the --rate switch.
VLC uses its own codecs ...
1
vote
Control mplayer ran by xargs
James's idea can be implemented without an extra file descriptor:
beet ls QUERY | xargs -d '\n' sh -c 'mplayer "$@" < /dev/tty'
The same approach is suggested in xargs manual page (the last ...
1
vote
Run mplayer from bash in background without extra bash
mplayer -noconsolecontrols -really-quiet 2>/dev/null *.ogg &
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
mplayer × 151linux × 47
video × 39
ffmpeg × 20
vlc-media-player × 16
audio × 15
windows × 7
ubuntu × 7
command-line × 7
streaming × 7
dvd × 6
codec × 6
macos × 5
sync × 5
subtitles × 5
mencoder × 5
mpv × 4
bash × 3
ssh × 3
fedora × 3
linux-mint × 3
osx-snow-leopard × 3
xorg × 3
music × 3
video-editing × 3