mplayer/mencoder tips

A few mplayer tips i have found useful

* amplify volume in low volume media
mplayer video-name -softvol -softvol-max 500
- this will start with a low volume, u need to increase to volume using the volume keys
- instead of 10000 use the minimum value(10-10000) that works for you

* save a stream (eg rtsp://) to a file
mencoder stream-url -o output.avi -oac copy -ovc copy
- the stream url is written inside the file provided, eg inside .ram

* clip a video
mencoder input-video -o output-video -ss start-time -endpos end-time
- start-time/end-time can be seconds or hr:min:sec

* merge videos
cat videos list seperated by spaces | mencoder -oac copy -ovc copy -o output.avi -

* use 2 subtitle files with single movie file or 1 subtitle file with 2 movie files
bind a key for sifting the subtitles by cd1 duration ( in seconds ), and use this key once

links
* Encoding with MEncoder
* Video Playback and Encoding with MPlayer and MEncoder
* MPlayer docs

2 Responses to “mplayer/mencoder tips”

  1. anon Says:

    vi humour

    although totally unrelated
    i thought that you might
    enjoy this ..

    its a poem and its about vi
    http://www.cs.rpi.edu/~kennyz/doc/humor/vi.humor

  2. Arun Says:

    Thanks a lot for the info on volume amplificaiton man! I was beginning to hate MPlayer because of the low volume.. But now you’ve set me on a vehicle to explore what more MPlayer can do! Thanks a ton man!!

    I’d also like to know if you could help me find why I’m not able to install MPlayer on my another system which has Ubuntu 7.04 Fiesty Fawn installed.. I’m a little new to Linux and I find it hard to actually understand what those long lust of errors mean.. I’ll post you with the exact list of errors in about 2 days time…

    My mail ID is : meetthechamp@gmail.com

    bye :)

Leave a Reply