This metadata file can then be used as an input file to ffmpeg to mark chapters. Vgtmpeg can be used to create a metadata file with chapter data from DVDs and BDs. Then I simply run: mkvmerge -chapters chapters.txt -o output.mkv input-file.mkv What title number do you want to create chapter info for: 2Ĭhapter data file: whiteglasses_chapters.txt IFS=',' read -r -a CHAPTERS /dev/null | grep CHAPTERS: | sed 's/CHAPTERS: //'`Įcho -ne "Creating chapter data file."įor chapter in "CHAPTER$j2=$chapter" > $filename.txtĮcho "CHAPTER"$j2"NAME=Chapter $j2" > $filename.txtĮxample output: $ read_chapters.sh whiteglasses_chapters I use a combination of both of the above to create a DVD chapter file which I can later add with mkvmerge to an encoded mkv file: #!/bin/bashĮcho -ne "What title number do you want to create chapter info for: " The only library it links against in Fedora 25 (other than standard stuff) is libdvdread.so.4, which is part of the dvdnav project. If you wish to write your own code, I imagine looking at the source for lsdvd will be instructive. (Without that parameter, it will guess /dev/dvd, which is lacking on modern Linux, and is usually /dev/sr0.) It will then give you a nice listing of the chapters on the disc, like so: $ lsdvd /dev/sr0 However, I've been using a tool called lsdvd, which is a basic CLI tool that takes as it's only parameter, the block device of your DVD drive. All features (including Blu-ray decryption and processing) are free during BETA.I'm not sure about what 1-frame accuracy means in this context.Functionality to open DVD discs is free and will always stay free.Available for Windows, Mac OS X and Linux.No additional software is required for conversion or decryption.Fast conversion - converts as fast as your drive can read data.Preserves all meta-information (track language, audio type).Preserves all video and audio tracks, including HD audio.Reads Blu-ray discs protected with latest versions of AACS and BD+.There are many players that can play MKV files nearly on all platforms, and there are tools to convert MKV files to many formats, including DVD and Blu-ray discs.Īdditionally MakeMKV can instantly stream decrypted video without intermediate conversion to wide range of players, so you may watch Blu-ray and DVD discs with your favorite player on your favorite OS or on your favorite device. The MKV format can store multiple video/audio tracks with all meta-information and preserve chapters. It converts the video clips from proprietary (and usually encrypted) disc into a set of MKV files, preserving most information but not changing it in any way. MakeMKV is a format converter, otherwise called "transcoder". MakeMKV is your one-click solution to convert video that you own into free and patents-unencumbered format that can be played everywhere.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |