History

Add misc opus bits

JustArchi committed 10 years ago

Commit 8e0223a1 parent 59e01ab3 files · +5 −2Browse files

Unified · Split

3 files
  1. README.md +3 −1
  2. split2flac +1 −0
  3. split2flac-bash-completion.sh +1 −1
README.md+3−1
@@ -2,7 +2,7 @@ split2flac · 1 unmodified line
22 ==========
33
44 **split2flac** splits one big APE/FLAC/TTA/WV/WAV audio image (or a collection of such files, recursively) with CUE sheet
5−into FLAC/M4A/MP3/OGG_VORBIS/WAV tracks with tagging, renaming, charset conversion of cue sheet, album cover images.
5+into FLAC/M4A/MP3/OGG_VORBIS/OPUS/WAV tracks with tagging, renaming, charset conversion of cue sheet, album cover images.
66 It also uses configuration file, so no need to pass a lot of arguments every time, only an input file.
77 Should work in any POSIX-compliant shell.
88
@@ -17,6 +17,7 @@ Manual installation · 8 unmodified lines
1717 cd /usr/bin # this is a directory where split2flac was installed
1818 ln -s split2flac split2mp3
1919 ln -s split2flac split2ogg
20+ ln -s split2flac split2opus
2021 ln -s split2flac split2m4a
2122 ln -s split2flac split2wav
2223
@@ -38,6 +39,7 @@ Dependencies · 15 unmodified lines
3839 * **enca** to automatically detect charset if it's not UTF8
3940 * **lame** and **id3lib** (or better **mutagen** for Unicode tags) to split into MP3
4041 * **vorbis-tools** to split into OGG VORBIS
42+ * **opus-tools** to split into OPUS
4143
4244 * Replay Gain:
4345 * **flac** for FLAC Replay Gain support
split2flac+1−0
@@ -188,6 +188,7 @@ while [ "$1" ]; do · 187 unmodified lines
188188 mac 2>&1 | grep '(v ';
189189 faac -h 2>&1 | grep '^FAAC';
190190 oggenc --version 2>/dev/null;
191+ opusenc --version 2>/dev/null;
191192 lame --version | grep '^LAME';
192193 exit 0;;
193194 -*) eval "$msg \"${HELP}\""; emsg "\nUnknown option $1\n"; exit 1;;
split2flac-bash-completion.sh+1−1
@@ -6,7 +6,7 @@ _split2flac () { · 5 unmodified lines
66 _get_comp_words_by_ref cur prev
77
88 opts="-p -o -of -cue -cuecharset -nask -f -e -eh -enca -c -nc -C -nC -cs -d -nd -D -nD -F -colors -nocolors -g -ng -s -h -v"
9− formats="flac m4a mp3 ogg wav"
9+ formats="flac m4a mp3 ogg opus wav"
1010
1111 if [[ ${cur} == -* ]] ; then
1212 COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t