mirror of
https://github.com/gryf/flac2ogg.git
synced 2026-10-05 21:10:44 +02:00
Make opus default encoder
This commit is contained in:
1 parent
5a45d56784
commit
7a671a5a6d
2 files changed
+7
-6
No files matched your search
+4
-3
@@ -61,9 +61,10 @@ Given that there are couple of music files, simplest usage is as follows:
|
||||
|
||||
$ flac2ogg.py directory_of_music_files/*
|
||||
|
||||
All files from that directory will be encoded to *ogg* by default. If there
|
||||
are already some *ogg* files, new files would have ``_encoded_`` added into the
|
||||
filename. Note, that output files will be placed next to the original files.
|
||||
All files from that directory will be encoded to *opus* by default. If there
|
||||
are already some *opus* files, new files would have ``_encoded_`` added into
|
||||
the filename. Note, that output files will be placed next to the original
|
||||
files.
|
||||
|
||||
License
|
||||
=======
|
||||
|
||||
+3
-3
@@ -14,7 +14,7 @@ from mutagen.mp3 import MP3
|
||||
from mutagen.easyid3 import EasyID3, EasyID3KeyError
|
||||
|
||||
|
||||
VERSION = '1.2'
|
||||
VERSION = '1.3'
|
||||
|
||||
|
||||
def match_file(path):
|
||||
@@ -460,9 +460,9 @@ def main():
|
||||
help='Split output file with provided *.cue file')
|
||||
arg.add_argument('-r', '--recursive', action='store_true',
|
||||
help='Do the files searching recursive')
|
||||
arg.add_argument('-e', '--encoder', default='ogg', type=str,
|
||||
arg.add_argument('-e', '--encoder', default='opus', type=str,
|
||||
choices=('ogg', 'mp3', 'opus'),
|
||||
help='Encoder to use. Defaults to "ogg"')
|
||||
help='Encoder to use. Defaults to "opus"')
|
||||
arg.add_argument('-q', '--quality', help='Quality of the encoded file. '
|
||||
'Consult "lame", "oggenc" and "opusenc" manuals for '
|
||||
'details. Defaults are -V6 for lame, -q8 for oggenc and '
|
||||
|
||||
Reference in new issue
Block a user