|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| autom4te.cache/ | H | 07-Nov-2004 | - | 6,190 | 5,595 |
| avilib/ | H | 03-May-2022 | - | 5,890 | 4,043 |
| debian/ | H | 07-Nov-2004 | - | 267 | 147 |
| COPYING | H A D | 14-Aug-2002 | 17.6 KiB | 341 | 281 |
| ChangeLog | H A D | 07-Nov-2004 | 11.8 KiB | 313 | 260 |
| INSTALL | H A D | 10-Feb-2004 | 7.8 KiB | 187 | 146 |
| Makefile.am | H A D | 04-May-2003 | 2 KiB | 76 | 60 |
| Makefile.in | H A D | 03-May-2022 | 25.2 KiB | 740 | 630 |
| README | H A D | 07-Nov-2004 | 2.6 KiB | 88 | 59 |
| TODO | H A D | 13-Apr-2004 | 60 | 2 | 1 |
| ac3_common.c | H A D | 07-Nov-2004 | 2.5 KiB | 96 | 74 |
| ac3_common.h | H A D | 16-Sep-2002 | 976 | 53 | 30 |
| acinclude.m4 | H A D | 04-May-2003 | 10.3 KiB | 335 | 288 |
| aclocal.m4 | H A D | 07-Nov-2004 | 37.7 KiB | 1,094 | 930 |
| autogen.sh | H A D | 23-Sep-2002 | 1.5 KiB | 53 | 37 |
| common.c | H A D | 20-Nov-2003 | 4.4 KiB | 216 | 169 |
| common.h | H A D | 20-Nov-2003 | 1.9 KiB | 82 | 51 |
| config.guess | H A D | 05-Sep-2002 | 37.7 KiB | 1,326 | 1,145 |
| config.sub | H A D | 05-Sep-2002 | 28.8 KiB | 1,461 | 1,320 |
| configure | H A D | 07-Nov-2004 | 169.7 KiB | 5,875 | 4,864 |
| configure.in | H A D | 07-Nov-2004 | 836 | 38 | 28 |
| depcomp | H A D | 05-Sep-2002 | 11.8 KiB | 424 | 278 |
| dvdxchap.1 | H A D | 07-Nov-2004 | 1.4 KiB | 61 | 60 |
| dvdxchap.c | H A D | 07-Nov-2004 | 6.7 KiB | 220 | 195 |
| generic.cpp | H A D | 23-Oct-2003 | 7.2 KiB | 264 | 217 |
| install-sh | H A D | 07-Nov-2004 | 6.2 KiB | 270 | 153 |
| missing | H A D | 07-Nov-2004 | 10 KiB | 337 | 263 |
| mkinstalldirs | H A D | 07-Nov-2004 | 1.8 KiB | 100 | 72 |
| mp3_common.c | H A D | 04-May-2003 | 2.5 KiB | 94 | 68 |
| mp3_common.h | H A D | 12-Sep-2002 | 914 | 49 | 25 |
| ogmcat.1 | H A D | 07-Nov-2004 | 3.4 KiB | 99 | 98 |
| ogmcat.cpp | H A D | 02-Nov-2004 | 30.6 KiB | 988 | 868 |
| ogmdemux.1 | H A D | 07-Nov-2004 | 2.2 KiB | 93 | 92 |
| ogmdemux.c | H A D | 10-Feb-2004 | 28.5 KiB | 839 | 777 |
| ogminfo.1 | H A D | 07-Nov-2004 | 2.6 KiB | 88 | 87 |
| ogminfo.c | H A D | 20-Nov-2003 | 19.1 KiB | 563 | 509 |
| ogmmerge.1 | H A D | 07-Nov-2004 | 12.2 KiB | 381 | 380 |
| ogmmerge.cpp | H A D | 13-Apr-2004 | 31.8 KiB | 1,113 | 993 |
| ogmmerge.h | H A D | 20-Nov-2003 | 3.3 KiB | 114 | 83 |
| ogmsplit.1 | H A D | 07-Nov-2004 | 4.1 KiB | 128 | 127 |
| ogmsplit.cpp | H A D | 20-Nov-2003 | 35.4 KiB | 1,197 | 1,072 |
| ogmstreams.h | H A D | 20-Nov-2003 | 3.4 KiB | 129 | 54 |
| ogmtools.spec | H A D | 07-Nov-2004 | 2 KiB | 70 | 61 |
| os.h | H A D | 25-Oct-2003 | 975 | 53 | 45 |
| p_ac3.cpp | H A D | 04-May-2003 | 8.4 KiB | 315 | 247 |
| p_ac3.h | H A D | 03-Jan-2003 | 1.9 KiB | 63 | 40 |
| p_index.cpp | H A D | 04-May-2003 | 3 KiB | 131 | 92 |
| p_index.h | H A D | 04-May-2003 | 1.1 KiB | 49 | 25 |
| p_mp3.cpp | H A D | 20-May-2003 | 8.2 KiB | 310 | 243 |
| p_mp3.h | H A D | 03-Jan-2003 | 1.8 KiB | 60 | 38 |
| p_pcm.cpp | H A D | 04-May-2003 | 6.2 KiB | 212 | 172 |
| p_pcm.h | H A D | 03-Jan-2003 | 1.4 KiB | 53 | 30 |
| p_textsubs.cpp | H A D | 23-Oct-2003 | 6.9 KiB | 286 | 229 |
| p_textsubs.h | H A D | 03-Jan-2003 | 1.2 KiB | 46 | 23 |
| p_video.cpp | H A D | 04-May-2003 | 7.4 KiB | 267 | 227 |
| p_video.h | H A D | 03-Jan-2003 | 1.5 KiB | 53 | 32 |
| p_vobsub.cpp | H A D | 04-May-2003 | 6.6 KiB | 256 | 205 |
| p_vobsub.h | H A D | 01-Mar-2003 | 1.5 KiB | 61 | 35 |
| p_vorbis.cpp | H A D | 23-Oct-2003 | 11.1 KiB | 381 | 287 |
| p_vorbis.h | H A D | 03-Jan-2003 | 1.5 KiB | 56 | 32 |
| queue.cpp | H A D | 02-Apr-2004 | 4.8 KiB | 231 | 181 |
| queue.h | H A D | 05-Feb-2003 | 1.7 KiB | 62 | 36 |
| r_ac3.cpp | H A D | 12-Nov-2003 | 3.9 KiB | 149 | 111 |
| r_ac3.h | H A D | 04-May-2003 | 1.4 KiB | 55 | 30 |
| r_avi.cpp | H A D | 13-Apr-2004 | 17.1 KiB | 588 | 508 |
| r_avi.h | H A D | 01-Apr-2004 | 2.6 KiB | 93 | 61 |
| r_microdvd.cpp | H A D | 04-May-2003 | 5.8 KiB | 218 | 178 |
| r_microdvd.h | H A D | 04-May-2003 | 1.4 KiB | 55 | 28 |
| r_mp3.cpp | H A D | 06-Jul-2004 | 4.1 KiB | 158 | 118 |
| r_mp3.h | H A D | 04-May-2003 | 1.5 KiB | 59 | 32 |
| r_ogm.cpp | H A D | 10-Feb-2004 | 24.7 KiB | 850 | 665 |
| r_ogm.h | H A D | 10-Feb-2004 | 3 KiB | 97 | 66 |
| r_srt.cpp | H A D | 04-May-2003 | 4.8 KiB | 173 | 133 |
| r_srt.h | H A D | 04-May-2003 | 1.4 KiB | 55 | 28 |
| r_vobsub.cpp | H A D | 13-Apr-2004 | 11.8 KiB | 365 | 312 |
| r_vobsub.h | H A D | 04-May-2003 | 1.9 KiB | 68 | 39 |
| r_wav.cpp | H A D | 04-May-2003 | 4.4 KiB | 155 | 114 |
| r_wav.h | H A D | 04-May-2003 | 1.5 KiB | 61 | 33 |
| subtitles.cpp | H A D | 02-Apr-2004 | 3.8 KiB | 154 | 118 |
| subtitles.h | H A D | 14-Sep-2002 | 898 | 45 | 22 |
| vorbis_header_utils.c | H A D | 23-Oct-2003 | 6.3 KiB | 242 | 201 |
| vorbis_header_utils.h | H A D | 03-Jan-2003 | 642 | 25 | 18 |
README
1OGMtools 1.5
2==============
3
4--[ IMPORTANT ] ---------------------------------------------------
5Up to version 1.2 ogmmerge produced broken headers. Version 1.2 is
6now able to read both the old headers and the proper new ones and
7will only write proper headers. In order to fix the broken headers
8in old files you can simply run something like:
9ogmmerge -o good.ogm old_and_broken.ogm
10--[ IMPORTANT ] ---------------------------------------------------
11
12These tools allow information about (ogminfo) or extraction
13from (ogmdemux) or creation of (ogmmerge) or the splitting of
14(ogmsplit) OGG media streams. OGM is used for "OGG media streams".
15
16Base code taken from Ogg/Vorbis CVS repository at
17http://www.xiph.org/
18
19Installation is simple. Run './configure' followed by 'make' and
20'make install'. If, for some reason, there is no 'configure' script then
21run './autogen.sh' which will recreate it.
22
23The full documentation for each command is now maintained in its
24man page only. Type 'ogmmerge -h' to get you started.
25
26This code comes under the GPL (see www.gnu.org or the file COPYING).
27Modify as needed.
28
29The newest version can always be found at
30http://www.bunkus.org/videotools/ogmtools/index.html
31
32Moritz Bunkus <moritz@bunkus.org>
33
34------------------
35Example
36=======
37
38Here's a *very* brief example of how you could use the ogmtools
39with mencoder in order to rip a DVD:
40
41a) Extract the audio to PCM audio and let mencoder calculate the
42video frame numbers:
43
44mencoder -dvd 1 -ovc frameno -oac pcm -o frameno.avi
45
46b) Extract the audio again, this time to a plain WAV file:
47
48mplayer -dvd 1 -vc dummy -vo null -hardframedrop -ao pcm -aofile audio.wav
49
50At the moment selecting a non-existant video codec with -vc results
51in the fastest audio dump.
52
53c) Normalize the sound (optional)
54
55normalize audio.wav
56
57d) Encode the audio to Vorbis:
58
59oggenc -q3 -oaudio-q3.ogg audio.wav
60
61e) Somehow calculate the bitrate for your video. Use something like...
62
63video_size = (target_size - audio-size) / 1.0115
64video_bitrate = video_size / length / 1000 * 8
65
66target_size, audio_size in bytes
67length in seconds
681.0115 is the overhead caused by putting the streams into an OGM file.
69video_bitrate will be in kbit/s
70
71f) Use the two-pass encoding for the video:
72
73mencoder -dvd 1 -oac copy -ovc lavc \
74 -lavcopts vcodec=mpeg4:vbitrate=1000:vhq:vqmin=2:vpass=1 \
75 -vop scale=....,crop=..... \
76 -o /dev/null
77
78mencoder -dvd 1 -oac copy -ovc lavc \
79 -lavcopts vcodec=mpeg4:vbitrate=1000:vhq:vqmin=2:vpass=2 \
80 -vop scale=....,crop=..... \
81 -o movie.avi
82
83g) Merge:
84
85ogmmerge -o movie.ogm -A movie.avi audio-q3.ogg
86
87The option -A should be given to avoid copying the raw PCM audio stream.
88