mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-03 15:27:45 +02:00
shntool: added bugfix
This commit is contained in:
parent
80441cce1e
commit
632dfaa388
@ -15,4 +15,4 @@ Another possible tagging software is [MusicBrainz Picard](../picard.md)
|
|||||||
### Splitting Flac file according to cue file
|
### Splitting Flac file according to cue file
|
||||||
|
|
||||||
`shnsplit` can be used to split flac files.
|
`shnsplit` can be used to split flac files.
|
||||||
In the [shnsplit article](/wiki/linux/shnsplit.md) an explanation on this is given.
|
In the [shnsplit article](/wiki/linux/shntool.md) an explanation on this is given.
|
||||||
|
@ -28,6 +28,10 @@ cuebreakpoints '<cue file>' | shnsplit -o '<codec>' '<audio file>'
|
|||||||
Omitting of the `-o` flag will result in output files with the `.wav` filetype.
|
Omitting of the `-o` flag will result in output files with the `.wav` filetype.
|
||||||
Alternatively the usage of `cuebreakpoints` can be avoided with the following
|
Alternatively the usage of `cuebreakpoints` can be avoided with the following
|
||||||
command.
|
command.
|
||||||
|
Sometimes `cuebreakpoints` outputs incorrect timestamps.
|
||||||
|
They are usually missing a `0` at the end.
|
||||||
|
To fix this the output of the `cuebreakpoints` command can be piped into `sed s/$/0/` which can be
|
||||||
|
piped into shnsplit just as in the example before.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
shnsplit -f '<cue file>' -o '<codec>' '<audio file>'
|
shnsplit -f '<cue file>' -o '<codec>' '<audio file>'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user