mkogg.py: Fix 'self.get_mp4_metadata(self, source)'
[blog.git] / posts / Ogg.mdwn
1 [Ogg][] is an open source multimedia container format ([why open
2 source formats are a *Good Idea*][open]).  [Ogg/Vorbis][vorbis] is
3 popular for encoding audio, and [Ogg/Theora/Vorbis][theora] is popular
4 for encoding video.
5
6 You can easily record desktop tutorials encoded in Ogg/Theora/Vorbis
7 using [recordMyDesktop][] (see my [[screen recording]] post for
8 details).  However, sometimes your recording ends up with a bit of
9 cruft at the ends that you want to crop out.  Enter [oggz][], a simple
10 tool for minor Ogg stream editing.
11
12 For example, you can quickly extract the first 657 seconds of a video with
13
14     $ oggz chop -e 657 -o output.ogv input.ogv
15
16 You can then add comments using [vorbiscomment][] from the
17 [vorbis-tools][] package.
18
19     $ vorbiscomment -a input.ogv -t "ARTIST=Some Guy" -t "TITLE=A Title"
20
21 [Ogg]: http://xiph.org/ogg/
22 [open]: http://xiph.org/about/
23 [vorbis]: http://www.vorbis.com/
24 [theora]: http://www.theora.org/faq/#13
25 [recordMyDesktop]: http://recordmydesktop.sourceforge.net/
26 [oggz]: http://xiph.org/oggz/
27 [vorbiscomment]: http://wiki.xiph.org/VorbisComment
28 [vorbis-tools]: http://www.xiph.org/downloads/