mplayer:mplayer_usage
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mplayer:mplayer_usage [2011/03/09 12:38] – deva | mplayer:mplayer_usage [2023/12/19 21:35] (current) – 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 | ||
+ | </ | ||
+ | |||
+ | Extended (pixel format conversion): | ||
+ | < | ||
+ | ffmpeg -i my-original-video.wmv -pix_fmt yuv420p -vcodec libx264 -f mp4 -vb 1024k -preset slow my-new-video.mp4 | ||
+ | </ | ||
+ | |||
+ | Extended (pixel format conversion and audio from ' | ||
+ | < | ||
+ | ffmpeg -i my-original-video.wmv -i other.mp4 -map 0:0 -map 1:1 -pix_fmt yuv420p -vcodec libx264 -f mp4 -vb 1024k -preset slow my-new-video.mp4 | ||
+ | </ | ||
+ | |||
+ | ===Fixed bitrate videos for Blender=== | ||
+ | < | ||
+ | ffmpeg -i input.mp4 -vcodec libx264 -f mp4 -b 1200k -minrate 1200k -maxrate 1200k -preset slow output-fixed.mp4 | ||
+ | </ | ||
+ | |||
+ | https:// |
mplayer/mplayer_usage.1299670709.txt.gz · Last modified: 2011/03/09 12:38 by deva