Skip to main content

Posts

Showing posts with the label MPlayer

Convert and cut an avi file using mencoder from MPlayer

To convert an avi file to rmvb using mencoder try: mencoder "src.avi" -o "dest.rmvb" -ovc lavc -lavcopts vcodec=mpeg4 -oac mp3lame If real player fails to play generated file, then play it using mplayer. To cut an avi file (5 seconds is the total length to cut), use following command: mencoder -ss 00:10:10 -endpos 00:05:00 -ovc copy -oac copy "src.avi" -o "dest.avi"

MPlayer subtitle font problem in Windows

While playing a video with subtitles in mplayer, I was getting the following problem: New_Face failed. Maybe the font path is wrong. Please supply the text font file (~/.mplayer/subfont.ttf). Solution is as follows: Right click on "My Computer". Select "Properties". Go to "Advanced" tab. Click on "Environment Variables". Delete "HOME" variable from User / System variables.

Install MPlayer on Ubuntu Dapper

To install MPlayer on Ubuntu Dapper, add following lines to /etc/apt/sources.list file: deb http://archive.ubuntu.com/ubuntu dapper multiverse deb-src http://archive.ubuntu.com/ubuntu dapper multiverse After saving the file, run these two commands on a console: sudo apt-get update sudo apt-get install mplayer