Codec

From VideoLAN Wiki
Revision as of 00:34, 8 January 2006 by Olawlor (talk | contribs) (Delete porno spam links; add example of how to call vlc.)
Jump to navigation Jump to search

Codec is short for coder/decoder. For portability to almost all decoders, we recommend using vcodec=mp1v (MPEG 1 video), acodec=mpga (MPEG 1 layer 1 audio), and mux=mpeg1 (MPEG 1 multiplexing).

The minimal command to transcode from a capture card to a portable MPEG file is thus: vlc v4l:// :v4l-norm=1: '--sout=#transcode{vcodec=mp1v,vb=2030,audio-sync,acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=file,mux=mpeg1,url="out_file.mpg"}}'

These MPEG files have been verified to work with:

  • Windows Media Player 10
  • Apple QuickTime Player 7
  • XINE 1.0
  • ffplay
  • xanim 2.80 (no audio)

Video Codecs

Audio Codecs