Difference between revisions of "High quality screen capture with avconv"

From MyLabWiki
Jump to: navigation, search
(Created page with " See also High quality screen capture with Ffmpeg")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
  avconv -f x11grab -r 25 -s 1280x720 -i :0.0+0,0 -vcodec libx264 -pre lossless_ultrafast -threads 0 video.mkv
  
 +
Presets are now called .avpreset
 +
 +
When capturing with audio, we need to specify stream ID for the -pre option:
 +
 +
  avconv -f alsa -i pulse -f x11grab -r 25 -s 1280x720 -i :0.0+0,0 -acodec libfaac -vcodec libx264 '''-pre:0 lossless_ultrafast''' -threads 0 video.mkv
 +
 +
Note that on Mint 13  -acodec pcm_s16le  gives trouble in MKV container.
 +
 +
Use -pre:0 lossless_slow when converting to .mov format.
 +
 +
If having problems with '''-acodec libfaac''' try omitting acodec altogether. It will then use libvorbis which is fine (just not lossless).
  
 
See also [[High quality screen capture with Ffmpeg]]
 
See also [[High quality screen capture with Ffmpeg]]
 +
 +
[[Category:avconv]]

Latest revision as of 12:36, 21 April 2013

 avconv -f x11grab -r 25 -s 1280x720 -i :0.0+0,0 -vcodec libx264 -pre lossless_ultrafast -threads 0 video.mkv

Presets are now called .avpreset

When capturing with audio, we need to specify stream ID for the -pre option:

 avconv -f alsa -i pulse -f x11grab -r 25 -s 1280x720 -i :0.0+0,0 -acodec libfaac -vcodec libx264 -pre:0 lossless_ultrafast -threads 0 video.mkv

Note that on Mint 13 -acodec pcm_s16le gives trouble in MKV container.

Use -pre:0 lossless_slow when converting to .mov format.

If having problems with -acodec libfaac try omitting acodec altogether. It will then use libvorbis which is fine (just not lossless).

See also High quality screen capture with Ffmpeg