ffmpeg master, -vcodec copy: holden@rye:~/tmp2$ tffmpeg -t 5 -f x11grab -video_size 640x480 -framerate 10 -i :0.0 -vcodec copy output-master-copy.mkv ffmpeg version N-37610-g0349d61 Copyright (c) 2000-2012 the FFmpeg developers built on Feb 7 2012 18:30:40 with gcc 4.4.3 configuration: --enable-gpl --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab libavutil 51. 38.100 / 51. 38.100 libavcodec 54. 1.100 / 54. 1.100 libavformat 54. 0.100 / 54. 0.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 62.100 / 2. 62.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 [x11grab @ 0x1b5a5e0] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 640 height: 480 [x11grab @ 0x1b5a5e0] shared memory extension found [x11grab @ 0x1b5a5e0] Estimating duration from bitrate, this may be inaccurate Input #0, x11grab, from ':0.0': Duration: N/A, start: 1328635871.365939, bitrate: 98304 kb/s Stream #0:0: Video: rawvideo, bgr0, 640x480, 98304 kb/s, 10 tbr, 1000k tbn, 10 tbc Output #0, matroska, to 'output-master-copy.mkv': Metadata: encoder : Lavf54.0.100 Stream #0:0: Video: rawvideo, bgr0, 640x480, q=2-31, 98304 kb/s, 1k tbn, 1000k tbc Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help frame= 51 fps= 10 q=-1.0 Lsize= 61203kB time=00:00:05.00 bitrate=100274.2kbits/s video:61200kB audio:0kB global headers:0kB muxing overhead 0.004146% holden@rye:~/tmp2$ tffplay output-master-copy.mkv ffplay version N-37610-g0349d61 Copyright (c) 2003-2012 the FFmpeg developers built on Feb 7 2012 18:30:40 with gcc 4.4.3 configuration: --enable-gpl --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab libavutil 51. 38.100 / 51. 38.100 libavcodec 54. 1.100 / 54. 1.100 libavformat 54. 0.100 / 54. 0.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 62.100 / 2. 62.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 [rawvideo @ 0x16c5e40] Pixel format was not specified and cannot be detected Last message repeated 6 times [matroska,webm @ 0x16c5340] decoding for stream 0 failed [matroska,webm @ 0x16c5340] Could not find codec parameters (Video: rawvideo, 640x480) output-master-copy.mkv: could not find codec parameters ffmpeg master, -vcodec ljpeg: holden@rye:~/tmp2$ tffmpeg -t 5 -f x11grab -video_size 640x480 -framerate 10 -i :0.0 -vcodec ljpeg output-master-ljpeg.mkv ffmpeg version N-37610-g0349d61 Copyright (c) 2000-2012 the FFmpeg developers built on Feb 7 2012 18:30:40 with gcc 4.4.3 configuration: --enable-gpl --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab libavutil 51. 38.100 / 51. 38.100 libavcodec 54. 1.100 / 54. 1.100 libavformat 54. 0.100 / 54. 0.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 62.100 / 2. 62.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 [x11grab @ 0x1da35e0] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 640 height: 480 [x11grab @ 0x1da35e0] shared memory extension found [x11grab @ 0x1da35e0] Estimating duration from bitrate, this may be inaccurate Input #0, x11grab, from ':0.0': Duration: N/A, start: 1328635951.380889, bitrate: 98304 kb/s Stream #0:0: Video: rawvideo, bgr0, 640x480, 98304 kb/s, 10 tbr, 1000k tbn, 10 tbc [buffer @ 0x1da2360] w:640 h:480 pixfmt:bgr0 tb:1/1000000 sar:0/1 sws_param: [ljpeg @ 0x1da1b40] colorspace not supported in LJPEG Output #0, matroska, to 'output-master-ljpeg.mkv': Stream #0:0: Video: ljpeg, bgr0, 640x480, q=2-31, 200 kb/s, 90k tbn, 10 tbc Stream mapping: Stream #0:0 -> #0:0 (rawvideo -> ljpeg) Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height ffmpeg 0.10, -vcodec copy: holden@rye:~/tmp2$ tffmpeg -t 5 -f x11grab -video_size 640x480 -framerate 10 -i :0.0 -vcodec copy output10-copy.mkv ffmpeg version 0.10 Copyright (c) 2000-2012 the FFmpeg developers built on Feb 7 2012 18:03:21 with gcc 4.4.3 configuration: --enable-gpl --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab libavutil 51. 34.101 / 51. 34.101 libavcodec 53. 60.100 / 53. 60.100 libavformat 53. 31.100 / 53. 31.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 60.100 / 2. 60.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 [x11grab @ 0x32525e0] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 640 height: 480 [x11grab @ 0x32525e0] shared memory extension found [x11grab @ 0x32525e0] Estimating duration from bitrate, this may be inaccurate Input #0, x11grab, from ':0.0': Duration: N/A, start: 1328634430.681290, bitrate: 98304 kb/s Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 640x480, 98304 kb/s, 10 tbr, 1000k tbn, 10 tbc Output #0, matroska, to 'output10-copy.mkv': Metadata: encoder : Lavf53.31.100 Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 640x480, q=2-31, 98304 kb/s, 1k tbn, 1000k tbc Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help frame= 51 fps= 10 q=-1.0 Lsize= 61203kB time=00:00:05.00 bitrate=100274.2kbits/s video:61200kB audio:0kB global headers:0kB muxing overhead 0.004150% holden@rye:~/tmp2$ tffplay output10-copy.mkv ffplay version 0.10 Copyright (c) 2003-2012 the FFmpeg developers built on Feb 7 2012 18:03:21 with gcc 4.4.3 configuration: --enable-gpl --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab libavutil 51. 34.101 / 51. 34.101 libavcodec 53. 60.100 / 53. 60.100 libavformat 53. 31.100 / 53. 31.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 60.100 / 2. 60.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, matroska,webm, from 'output10-copy.mkv': Metadata: ENCODER : Lavf53.31.100 Duration: 00:00:05.10, start: 0.000000, bitrate: 98308 kb/s Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 640x480, SAR 1:1 DAR 4:3, 1000k fps, 10 tbr, 1k tbn, 1k tbc (default) [buffersink @ 0x1de5fc0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' [scale @ 0x1de2260] w:640 h:480 fmt:bgra -> w:640 h:480 fmt:yuv420p flags:0x4 5.48 A-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 0/0 ffmpeg 0.10, -vcodec ljpeg: holden@rye:~/tmp2$ tffmpeg -t 5 -f x11grab -video_size 640x480 -framerate 10 -i :0.0 -vcodec ljpeg output10-ljpeg.mkv ffmpeg version 0.10 Copyright (c) 2000-2012 the FFmpeg developers built on Feb 7 2012 18:03:21 with gcc 4.4.3 configuration: --enable-gpl --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab libavutil 51. 34.101 / 51. 34.101 libavcodec 53. 60.100 / 53. 60.100 libavformat 53. 31.100 / 53. 31.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 60.100 / 2. 60.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 [x11grab @ 0x25055e0] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 640 height: 480 [x11grab @ 0x25055e0] shared memory extension found [x11grab @ 0x25055e0] Estimating duration from bitrate, this may be inaccurate Input #0, x11grab, from ':0.0': Duration: N/A, start: 1328634445.261525, bitrate: 98304 kb/s Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 640x480, 98304 kb/s, 10 tbr, 1000k tbn, 10 tbc [buffer @ 0x25192c0] w:640 h:480 pixfmt:bgra tb:1/1000000 sar:0/1 sws_param: Output #0, matroska, to 'output10-ljpeg.mkv': Metadata: encoder : Lavf53.31.100 Stream #0:0: Video: ljpeg (LJPG / 0x47504A4C), bgra, 640x480, q=2-31, 200 kb/s, 1k tbn, 10 tbc Stream mapping: Stream #0:0 -> #0:0 (rawvideo -> ljpeg) Press [q] to stop, [?] for help frame= 51 fps= 10 q=0.0 Lsize= 21173kB time=00:00:05.10 bitrate=34010.2kbits/s video:21171kB audio:0kB global headers:0kB muxing overhead 0.012058% holden@rye:~/tmp2$ tffplay output10-ljpeg.mkv ffplay version 0.10 Copyright (c) 2003-2012 the FFmpeg developers built on Feb 7 2012 18:03:21 with gcc 4.4.3 configuration: --enable-gpl --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab libavutil 51. 34.101 / 51. 34.101 libavcodec 53. 60.100 / 53. 60.100 libavformat 53. 31.100 / 53. 31.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 60.100 / 2. 60.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, matroska,webm, from 'output10-ljpeg.mkv': Metadata: ENCODER : Lavf53.31.100 Duration: 00:00:05.10, start: 0.000000, bitrate: 34010 kb/s Stream #0:0: Video: mjpeg (LJPG / 0x47504A4C), bgr24, 640x480, SAR 1:1 DAR 4:3, 10 fps, 10 tbr, 1k tbn, 1k tbc (default) [buffersink @ 0x3331e00] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' [scale @ 0x334b9c0] w:640 h:480 fmt:bgr24 -> w:640 h:480 fmt:yuv420p flags:0x4 7.96 A-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 0/0