Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chapters within a title #8

Closed
yanfali opened this issue May 2, 2013 · 0 comments
Closed

chapters within a title #8

yanfali opened this issue May 2, 2013 · 0 comments

Comments

@yanfali
Copy link
Owner

yanfali commented May 2, 2013

Some videos contain videos within videos. Provide a --split-chapters which tries to separate chapters into separate videos.

e.g. --series --split-chapters 5

which would try and create a new video file and episode every 5 chapters

yanfali added a commit that referenced this issue May 3, 2013
This only works when we're in series mode.

Example output:

> $GOPATH/bin/gomkv --series --prefix C --split-chapters 5 --episode 6
HandBrakeCLI -Z "High Profile" -i /mnt/scratch/C/title00.mkv -t1 -c1-5 -a1 -E copy:ac3 -s 1,2 -o /mnt/scratch/C/C_S1E06.mkv
HandBrakeCLI -Z "High Profile" -i /mnt/scratch/C/title00.mkv -t1 -c6-10 -a1 -E copy:ac3 -s 1,2 -o /mnt/scratch/C/C_S1E07.mkv
HandBrakeCLI -Z "High Profile" -i /mnt/scratch/C/title00.mkv -t1 -c11-15 -a1 -E copy:ac3 -s 1,2 -o /mnt/scratch/C/C_S1E08.mkv
HandBrakeCLI -Z "High Profile" -i /mnt/scratch/C/title00.mkv -t1 -c16-20 -a1 -E copy:ac3 -s 1,2 -o /mnt/scratch/C/C_S1E09.mkv
HandBrakeCLI -Z "High Profile" -i /mnt/scratch/C/title00.mkv -t1 -c21-25 -a1 -E copy:ac3 -s 1,2 -o /mnt/scratch/C/C_S1E10.mkv

Splits a single video file into chapter stops so you can watch each
episode individually

- Introduce GomkvSession to hold changing values
- Add GomkvConfig.SplitFileEvery
- Add session object to API for FormatCLIOutput
- Rename FormatCLIOutput to FormatCLIOutputEntry
- Make FormatCLIOutput responsible for chapter splitting
- Change FormatCLIOutput to return an Array of Strings so the output can
  be tested
- Update Encode to add Chapter Start and Stop values when enabled
- Update unit tests for new API
- Ignores Chapter stops if there aren't enough chapters in file
- Test new GomkvSession object for regular Episodic
- Test Chapter Splitting
- Go fmt
@yanfali yanfali closed this as completed May 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant