This shows you the differences between two versions of the page.
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] deva |
||
---|---|---|---|
Line 6: | Line 6: | ||
< | < | ||
mplayer -fps 15 tv:// -tv driver=v4l2: | mplayer -fps 15 tv:// -tv driver=v4l2: | ||
+ | </ | ||
+ | |||
+ | ===Play MTS files=== | ||
+ | < | ||
+ | mplayer -demuxer lavf -lavdopts threads=4: | ||
</ | </ | ||
Line 37: | Line 42: | ||
===Grabbing from X11=== | ===Grabbing from X11=== | ||
- | Low resolution and low quiality: | + | Low resolution and low quality: |
< | < | ||
ffmpeg -f x11grab -s vga -i :0.0 / | ffmpeg -f x11grab -s vga -i :0.0 / | ||
Line 67: | Line 72: | ||
</ | </ | ||
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=== | ||
+ | < | ||
+ | ffmpeg -i my-original-video.wmv -vcodec libx264 -f mp4 -vb 1024k -preset slow my-new-video.mp4 | ||
+ | </ |