• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

autom4te.cache/H07-Nov-2004-6,1905,595

avilib/H03-May-2022-5,8904,043

debian/H07-Nov-2004-267147

COPYINGH A D14-Aug-200217.6 KiB341281

ChangeLogH A D07-Nov-200411.8 KiB313260

INSTALLH A D10-Feb-20047.8 KiB187146

Makefile.amH A D04-May-20032 KiB7660

Makefile.inH A D03-May-202225.2 KiB740630

READMEH A D07-Nov-20042.6 KiB8859

TODOH A D13-Apr-200460 21

ac3_common.cH A D07-Nov-20042.5 KiB9674

ac3_common.hH A D16-Sep-2002976 5330

acinclude.m4H A D04-May-200310.3 KiB335288

aclocal.m4H A D07-Nov-200437.7 KiB1,094930

autogen.shH A D23-Sep-20021.5 KiB5337

common.cH A D20-Nov-20034.4 KiB216169

common.hH A D20-Nov-20031.9 KiB8251

config.guessH A D05-Sep-200237.7 KiB1,3261,145

config.subH A D05-Sep-200228.8 KiB1,4611,320

configureH A D07-Nov-2004169.7 KiB5,8754,864

configure.inH A D07-Nov-2004836 3828

depcompH A D05-Sep-200211.8 KiB424278

dvdxchap.1H A D07-Nov-20041.4 KiB6160

dvdxchap.cH A D07-Nov-20046.7 KiB220195

generic.cppH A D23-Oct-20037.2 KiB264217

install-shH A D07-Nov-20046.2 KiB270153

missingH A D07-Nov-200410 KiB337263

mkinstalldirsH A D07-Nov-20041.8 KiB10072

mp3_common.cH A D04-May-20032.5 KiB9468

mp3_common.hH A D12-Sep-2002914 4925

ogmcat.1H A D07-Nov-20043.4 KiB9998

ogmcat.cppH A D02-Nov-200430.6 KiB988868

ogmdemux.1H A D07-Nov-20042.2 KiB9392

ogmdemux.cH A D10-Feb-200428.5 KiB839777

ogminfo.1H A D07-Nov-20042.6 KiB8887

ogminfo.cH A D20-Nov-200319.1 KiB563509

ogmmerge.1H A D07-Nov-200412.2 KiB381380

ogmmerge.cppH A D13-Apr-200431.8 KiB1,113993

ogmmerge.hH A D20-Nov-20033.3 KiB11483

ogmsplit.1H A D07-Nov-20044.1 KiB128127

ogmsplit.cppH A D20-Nov-200335.4 KiB1,1971,072

ogmstreams.hH A D20-Nov-20033.4 KiB12954

ogmtools.specH A D07-Nov-20042 KiB7061

os.hH A D25-Oct-2003975 5345

p_ac3.cppH A D04-May-20038.4 KiB315247

p_ac3.hH A D03-Jan-20031.9 KiB6340

p_index.cppH A D04-May-20033 KiB13192

p_index.hH A D04-May-20031.1 KiB4925

p_mp3.cppH A D20-May-20038.2 KiB310243

p_mp3.hH A D03-Jan-20031.8 KiB6038

p_pcm.cppH A D04-May-20036.2 KiB212172

p_pcm.hH A D03-Jan-20031.4 KiB5330

p_textsubs.cppH A D23-Oct-20036.9 KiB286229

p_textsubs.hH A D03-Jan-20031.2 KiB4623

p_video.cppH A D04-May-20037.4 KiB267227

p_video.hH A D03-Jan-20031.5 KiB5332

p_vobsub.cppH A D04-May-20036.6 KiB256205

p_vobsub.hH A D01-Mar-20031.5 KiB6135

p_vorbis.cppH A D23-Oct-200311.1 KiB381287

p_vorbis.hH A D03-Jan-20031.5 KiB5632

queue.cppH A D02-Apr-20044.8 KiB231181

queue.hH A D05-Feb-20031.7 KiB6236

r_ac3.cppH A D12-Nov-20033.9 KiB149111

r_ac3.hH A D04-May-20031.4 KiB5530

r_avi.cppH A D13-Apr-200417.1 KiB588508

r_avi.hH A D01-Apr-20042.6 KiB9361

r_microdvd.cppH A D04-May-20035.8 KiB218178

r_microdvd.hH A D04-May-20031.4 KiB5528

r_mp3.cppH A D06-Jul-20044.1 KiB158118

r_mp3.hH A D04-May-20031.5 KiB5932

r_ogm.cppH A D10-Feb-200424.7 KiB850665

r_ogm.hH A D10-Feb-20043 KiB9766

r_srt.cppH A D04-May-20034.8 KiB173133

r_srt.hH A D04-May-20031.4 KiB5528

r_vobsub.cppH A D13-Apr-200411.8 KiB365312

r_vobsub.hH A D04-May-20031.9 KiB6839

r_wav.cppH A D04-May-20034.4 KiB155114

r_wav.hH A D04-May-20031.5 KiB6133

subtitles.cppH A D02-Apr-20043.8 KiB154118

subtitles.hH A D14-Sep-2002898 4522

vorbis_header_utils.cH A D23-Oct-20036.3 KiB242201

vorbis_header_utils.hH A D03-Jan-2003642 2518

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