User Tools

Site Tools


mplayer:mplayer_usage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mplayer:mplayer_usage [2011/03/09 12:38]
deva
mplayer:mplayer_usage [2019/11/12 21:56] (current)
deva
Line 6: Line 6:
 <code> <code>
 mplayer -fps 15 tv:// -tv driver=v4l2:device=/dev/video0 mplayer -fps 15 tv:// -tv driver=v4l2:device=/dev/video0
 +</code>
 +
 +===Play MTS files===
 +<code>
 +mplayer -demuxer lavf -lavdopts threads=4:fast:skiploopfilter=all:skipframe=none -fps 25 SOMEFILE.MTS
 </code> </code>
  
Line 37: Line 42:
  
 ===Grabbing from X11=== ===Grabbing from X11===
-Low resolution and low quiality:+Low resolution and low quality:
 <code> <code>
 ffmpeg -f x11grab -s vga -i :0.0 /tmp/out.mpg ffmpeg -f x11grab -s vga -i :0.0 /tmp/out.mpg
Line 67: Line 72:
 </code> </code>
 This is not exactly the mencoder approach... but this seemed to be the right place to put it. This is not exactly the mencoder approach... but this seemed to be the right place to put it.
 +
 +===Browser friendly videos===
 +<code>
 +ffmpeg -i my-original-video.wmv -vcodec libx264 -f mp4 -vb 1024k -preset slow my-new-video.mp4
 +</code>
mplayer/mplayer_usage.1299670709.txt.gz ยท Last modified: 2011/03/09 12:38 by deva