Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a good open codec for screencast compression

Video captured from computer screens can be compressed very well by codecs that are optimised for screen video. Generally, this means taking into account that large areas of the screen don't change between frames, and that when areas change they are often changing back to a previously seen state.

The only one that I know of is Adobe's Flash Screen Video, specified as part of the SWF format: http://www.adobe.com/devnet/swf.html. It's slightly baroque, but usable.

I'm making an experimental HTML5/JS screencast viewer, and need a base format. At the moment, the only options I can see are implementing a FlashSV decoder in JavaScript, or rolling my own format.

Does anyone know of any other screen video codecs out there?

Edit: accepting the first answer, because the link at the bottom provided a codec very much like what I'm looking for: http://wiki.multimedia.cx/index.php?title=DosBox_Capture_Codec

like image 466
Bernie Sumption Avatar asked Jul 22 '11 04:07

Bernie Sumption


People also ask

Which video codec is best for compression?

MPEG-1: Better compression ratio than Xvid MPEG-1 is the most widely compatible, lossy audio/video format in the world. Most media players, including YouTube, support the MPEG-1 codec. The MPEG-1 codec offers a good quality of video and uses much less CPU than other codecs (The quality of MPEG-1 is similar to Xvid.)

Which codec is best for screen recording?

RSCC is the most optimized codec for screen recording. 30% much faster than others and reduce CPU usage. It boosts encoding speed without lag. Computer screen capture codec not only records the computer screen but is also used for editing the recorded videos as well as for distributing the edited videos.

Which codec is best for streaming?

For web streaming, the best video codec is simple to identify – it is H. 264. H. 264 is hands down the best codec for web streaming because it is highly efficient and compatible with most other forms of video technology you need to use for web streaming.

What are the two types of compression video codecs use?

There are two kinds of codecs; lossless, and lossy.


1 Answers

Today I discover capability of VLC (VideoLAN media player, http://www.videolan.org/vlc/) record screen. It is opensource and free for downloading/use for all desktop OSes.

After googling I found that many people recommend use H.264 codec for screencast (and x264 as free implementation http://en.wikipedia.org/wiki/X264). It is really good!

Under Windows I cd to VLC dir and run:

$ vlc screen:// --screen-fps=12 --screen-mouse-image=e:/home/.icon/cursor.png \
  --no-sout-audio --sout \
  "#transcode{venc=x264,quality:100,scale=1,fps=12}:duplicate{dst=std{access=file,mux=mp4,dst=desktop.avi}}}"

or less quality with free codes/container (theora/ ogg):

$ vlc screen:// --screen-mouse-image cursor.png --screen-fps=12 \
  --screen-width=1680 --screen-height=1050 --no-sout-audio --sout \
  "#transcode{venc=theora,quality:10,scale=0.75,fps=12}:duplicate{dst=std{access=file,mux=ogg,dst=desktop.ogg}}}"

PS. You can also check http://en.wikipedia.org/wiki/List_of_codecs#Lossless_data_compression

like image 198
gavenkoa Avatar answered Sep 22 '22 16:09

gavenkoa