Difference between revisions of "MPEG-4"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
− | # | + | {{wikipedia|MPEG-4}} |
+ | |||
+ | '''MPEG-4''' is a form of '''[[MPEG]]''' encoding. It is a flexible audio and video compression format. The format describes audio and video compression, with a container format for streaming across networks and saving to disk. It also contains optional extra features, including [[DRM]] and [[subtitles]]. These extra features are only included in software if needed. MPEG-4 can provide better quality than MPEG-2 at low bitrates. | ||
+ | |||
+ | Here is an example of how to transcode an AVI into an MPEG-4 video from the [[command prompt]] | ||
+ | <blockquote> | ||
+ | vlc ''file.avi'' --sout='#transcode{vcodec=mp4v, acodec=mpga}:std{access=file, mux=mp4,url=''file.m4v''}' | ||
+ | </blockquote> | ||
+ | |||
+ | |||
+ | == Codecs == | ||
+ | * Video codec: '''mp4v''' ('''m4v''') | ||
+ | * Audio codec: '''mp4a''' ('''m4a''') - this is [[AAC]]. | ||
+ | |||
+ | == Container == | ||
+ | {{mux|id=mp4|encoder=y|altid=mov|altid2=3gp}} | ||
+ | |||
+ | == Source code == | ||
+ | {{file|modules/mux/mp4.c}} |
Revision as of 23:49, 16 December 2006
MPEG-4 is a form of MPEG encoding. It is a flexible audio and video compression format. The format describes audio and video compression, with a container format for streaming across networks and saving to disk. It also contains optional extra features, including DRM and subtitles. These extra features are only included in software if needed. MPEG-4 can provide better quality than MPEG-2 at low bitrates.
Here is an example of how to transcode an AVI into an MPEG-4 video from the command prompt
vlc file.avi --sout='#transcode{vcodec=mp4v, acodec=mpga}:std{access=file, mux=mp4,url=file.m4v}'
Codecs
- Video codec: mp4v (m4v)
- Audio codec: mp4a (m4a) - this is AAC.
Container
mp4
|
VLC can encode and decode this container. The module name to use at the command line is mp4, but you can also use mov, or 3gp. |