MPlayer has lots options for video rendering and filtering. Any suggestions on good MPlayer options that improve video rendering quality nicely? My ~/.mplayer/config is as follows with 2 profiles: [fast] vf=eq2 [default] vf=hqdn3d vo=gl:yuv=3:lscale=5:cscale=5 ao=pulse The default one gives good video quality by using the hqdn3d video filter while the CPU usage is high. If
Read more
Tag: mplayer
How to play video in full screen and keep it looping with MPlayer?
Posted onI would like to play a video file in full screen and automatically make it keep playing during an exhibition. On Linux, how to do it with MPlayer? You can use this command mplayer -fs -loop 0 video.mp4 Here, -fs make it fullscreen and -loop 0 makes it loop infinitely. For more usage of mplayer,
Read more
How to build mplayer with libdvdnav on Linux?
Posted onI find the mplayer from rpmfusion does not contain libdvdnav. How to build mplayer with libdvdnav on Linux? I did this on Fedora 21 to build mplayer with libdvdnav: Download mplayer src from http://www.mplayerhq.hu/design7/dload.html and extract the tarball. Install needed packages (you will need more if you need more features): # yum install gcc make
Read more
How to play 3D movies in MPlayer?
Posted onHow to play 3D movies in MPlayer on normal screen (2D)? You can play 3D movies on 2D screen by mplayer -vo gl_stereo=3 your.movie.file For the gl:stereo=3 option, check MPlayer man page: stereo=value Select a method for stereo display. You may have to use -aspect to fix the aspect value. Add 32 to swap left
Read more
How to download a rtmp stream on Linux?
Posted onHow to download a rtmp video stream on Linux? You can use mplayer to dump the rtmp stream like: mplayer -dumpstream rtmp://example.com/path/to/stream.mp4 It will generate ./stream.dump and you can rename it to the file with the extension you need like stream.mp4. The rtmp link usually can be found from the HTML or JavaScript source code
Read more
How to capture camera photo/video using MPlayer on Linux?
Posted onHow to capture camera photo/video using MPlayer on Linux? You can watch the video from the camera by MPlayer: # mplayer tv:// Note that you need the root privilege to play the tv://. You can use mplayer to capture photos by: # mplayer -vo png -frames 3 tv:// If will store files 0000000{1..3}.png in the
Read more
How to force MPlayer to start a video at the center of the screen?
Posted onHow to force MPlayer to start a video at the center of the screen? I assume you are using Linux. Put this line into your ~/.mplayer/config: geometry=50%:50% Check more options in MPlayer manual.
How to improve MPlayer video quality?
Posted onHow to improve MPlayer video quality by selecting a “better” video rendering/filter? You can choose a different video filter. I use hqdn3d which gives me the best quality. Be careful on machines with low CPUs. To use hqdn3d, put this line into your ~/.mplayer/config: vf=hqdn3d Check more options of video filters in MPlayer manual.
How to concatenate multiple video file together on Linux
Posted onI have multiple video files, say video1.avi, video2.avi and video3.avi. How to concatenate these multiple video file to a single file together on Linux? You can use mencoder to concatenate multiple video files to one file. For installing mencoder on Fedora, please check: http://www.systutorials.com/1493/mplayer-on-fedora/ For the question, the command is: mencoder -oac copy -ovc copy
Read more
How to change the audio track for .mkv files in mplayer?
Posted onHow to change the audio track for .mkv files in mplayer? Key shortcut: # (dvd, mpeg, matroska, avi and libavformat only) cycle through the available audio tracks. tab (mpeg-ts and libavformat only) More: https://www.systutorials.com/b/linux/663/mostly-used-mplayer-keyboard-control/
Additional Repositories for CentOS Linux
Posted onCentOS is a super solid Linux distro. However, its default repository’s packages are limited compared to Fedora. Even Fedora needs some additional repositories to have software packages for daily usage, such as MPlayer, ffmpeg. Fortunately, some community maintained repositories provides these software. In this post, we introduce theses additional common repositories and how to install
Read more
How to Get Rid of DTS/AC3 Audio using ffmpeg on Linux to Play MKV Files on iOS or Android
Posted onI encountered the problem on iPhone that MKV video files with AC3 are played with no sound. The OPlayer reports to me that “According to DTS patent, DTS is forbidden to play , None of the media player on iPhone/iPad can play DTS”. However, the video file can be played in MPlayer on Linux just
Read more
How to Rotate Videos from iPhone in Linux
Posted oniPhone is nice to take videos. However, one headache is the video may be rotated by 90 degree if you play it with non-Apple software such as MPlayer on Linux or Windows. This tutorial will introduce how to rotate the video taken from iPhone or other sources on Linux by 90 degree. The tool we
Read more
How to Play Movie from Remote Host using MPlayer over SSH
Posted onMPlayer is a great movie player. SSH is a great tool to connect and transfer data over the network securely. Combining these 2 great tools together will be greater. You may already has a small server storing some movies or videos or music and playing them on your laptop will be convenient. In this post,
Read more
How to Use MPlayer to Play DVD Directories / ISO Files / Disks
Posted onMPlayer is a universal (nearly) movie/music player on Linux and many more systems. It’s also my favourite player and MPlayer plays movie or music files in any format that I drop to it. Now, let’s take a look at how to use MPlayer play DVD. MPlayer plays “DVD” in many formats: DVD disks, ISO files,
Read more
Additional Repositories for Fedora Linux
Posted onFedora’s repositories provide most of the software packages needed when using Linux. However, for various consideration, they do not provide some packages, such as MPlayer, ffmpeg. Fortunately, some community maintained repository provides these software. And they may also package propriety software, such as ATI fglrx dive, NVIDIA driver, into rpm packages. In this post, we
Read more
Converting Video Files for iPod/iPhone/iPad
Posted onWe usually have video files in .wmv .mpg .rmvb or .mkv formats. The iPod, iPhone or iPad only accept a limited number of video file types, such as .mov and .mp4. To play these video files in .wmv .mpg or .rmvb format, we should first convert them to .mov or .mp4 files that can played
Read more
How to Take Screenshots in MPlayer
Posted onTaking screenshots in mplayer is simple. mplayer can also take continuous snapshots. Enable screenshot filter When we want to take screenshots when playing video, first we need to set the “-vf screenshot” option: $ mplayer -vf screenshot video.file If we want to enable the screenshot filter by default, we may put the option by adding
Read more
Useful Mplayer/Mencoder Commands
Posted onmplayer/mencoder are powerful tools. This is a list of useful mplayer/mencoder commands. Extract the audio, convert it to PCM and write the resulting wave file to audio.wav: mplayer -vo null -hardframedrop -ao pcm:file=audio.wav video.avi Convert .wav file to .mp3 file: lame -h out.wav out.mp3 Preview a video composed of all jpeg files from the current
Read more
How to Install MPlayer and MEncoder on Fedora
Posted onFedora does not include MPlayer or MEncoder for some reasons in its official repositories. But RPMfusion does it for us. Let’s install mplayer and mencoder and learn some tricks to play rmvb files. 1. Add RPMfusion repository: Enable RPM Fusion repositories 2. Install MPlayer and MEncoder # dnf install mplayer mencoder 3. Get codecs Most
Read more