dvdxchap from ogmtools.
This is the dvdxchap
tool from OGMTools by Moritz Bunkus.
This program extracts chaper information from a DVD source and displays it in a form usable by tools like mkvmerge.
dvdxchap [-t TITLE] [-c START[-END]] [-v] [-V] [-h] DVD-SOURCE
where:
-t
/--title
- Specify title number, defaulting to 1.-c
/--chapter
- Specify the chapter range (2-4). This adjusts all timecodes so that they start at 0.-v
- Increase verbosity-V
- Show version infomration-h
- Show helpDVD-SOURCE
- Path to a DVD file system root.You need to have CMake and libdvdread installed. Run the following commands after cloning the repository:
cd where-project-is-cloned
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
make install
You can add C flags to the cmake
invocation with an argument similar to -DCMAKE_C_FLAGS_RELEASE='-O2 -pipe -march=native -fomit-frame-pointer'
.
You will then have dvdxchap
in the build
directory. You can use make install
to install like normal on a Linux or GNU-convention system (like macOS).
.clang-format
fileclang-format
for all files before committing (clang-format -i *.c *.h
).clang-format
cmake .. -DCMAKE_BUILD_TYPE=Debug
)cmake .. -DCMAKE_BUILD_TYPE=Release
)