mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-07-08 18:06:30 +00:00
[PR #655] [MERGED] Ability to extract Chapters from MP4 files. #1499
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/655
Author: @saurabhshri
Created: 1/20/2017
Status: ✅ Merged
Merged: 1/20/2017
Merged by: @cfsmp3
Base:
master← Head:patch-1📝 Commits (6)
0e4d211Extract chapter instead of subtitles if extract_chapters is True.c9a3a0cExtract chapters from mp4 file and write it in a file.db8d9c6By default don't extract chapters.d1b1271Option for chapter extraction.d941478Function prototype for chapter extraction.77da2dcAdded -chapters paramater for chapter extaraction from MP$.📊 Changes
6 files changed (+128 additions, -13 deletions)
View changed files
📝
src/ccextractor.c(+8 -1)📝
src/gpacmp4/mp4.c(+102 -12)📝
src/lib_ccx/ccx_common_option.c(+1 -0)📝
src/lib_ccx/ccx_common_option.h(+1 -0)📝
src/lib_ccx/ccx_mp4.h(+1 -0)📝
src/lib_ccx/params.c(+15 -0)📄 Description
Various files such as MP4 may have chapter markers in them. They are also present in the audio books we purchase, for example, from Amazon. , CCExtractor should now be able to extract Chapter Markers too. 🙂
Usage is simple. To extract chapter markers from a MP4 video file :
It will create file.txt with Chapter Markers in OGG format.
Example :
Note : If -chapters is used with any other files than MP4, CCExtractor will simply extract subtitles from them.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.