easyrip 4.13.0__tar.gz → 4.13.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {easyrip-4.13.0 → easyrip-4.13.2}/PKG-INFO +1 -1
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/global_val.py +1 -1
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/ripper/ripper.py +16 -12
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip.egg-info/PKG-INFO +1 -1
- {easyrip-4.13.0 → easyrip-4.13.2}/LICENSE +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/README.md +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/__init__.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/__main__.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_command.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_config/config.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_config/config_key.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_log.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_main.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_mlang/__init__.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_mlang/global_lang_val.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_mlang/lang_en.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_mlang/lang_tag_val.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_mlang/lang_zh_Hans_CN.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_mlang/translator.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_prompt.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_web/__init__.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_web/http_server.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/easyrip_web/third_party_api.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/ripper/media_info.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/ripper/param.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/ripper/sub_and_font/__init__.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/ripper/sub_and_font/ass.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/ripper/sub_and_font/font.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/ripper/sub_and_font/subset.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip/utils.py +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip.egg-info/SOURCES.txt +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip.egg-info/dependency_links.txt +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip.egg-info/entry_points.txt +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip.egg-info/requires.txt +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/easyrip.egg-info/top_level.txt +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/pyproject.toml +0 -0
- {easyrip-4.13.0 → easyrip-4.13.2}/setup.cfg +0 -0
|
@@ -4,7 +4,7 @@ from functools import cache
|
|
|
4
4
|
from pathlib import Path
|
|
5
5
|
|
|
6
6
|
PROJECT_NAME = "Easy Rip"
|
|
7
|
-
PROJECT_VERSION = "4.13.
|
|
7
|
+
PROJECT_VERSION = "4.13.2"
|
|
8
8
|
PROJECT_TITLE = f"{PROJECT_NAME} v{PROJECT_VERSION}"
|
|
9
9
|
PROJECT_URL = "https://github.com/op200/EasyRip"
|
|
10
10
|
PROJECT_RELEASE_API = "https://api.github.com/repos/op200/EasyRip/releases/latest"
|
|
@@ -474,17 +474,21 @@ class Ripper:
|
|
|
474
474
|
f"-map 0:{_audio_info.index} -c:a {_encoder} {ffparams_out} "
|
|
475
475
|
f'"{_new_output_str}.wav" '
|
|
476
476
|
)
|
|
477
|
-
_flac_encode_str_list
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
477
|
+
_flac_encode_str_list.extend(
|
|
478
|
+
[
|
|
479
|
+
(
|
|
480
|
+
f"flac -j 32 -8 -e -p -l {'19' if _audio_info.sample_rate > 48000 else '12'} "
|
|
481
|
+
f'-o "{_new_output_str}.flac" "{_new_output_str}.wav"'
|
|
482
|
+
),
|
|
483
|
+
f'{cmd_head_del} "{_new_output_str}.wav"',
|
|
484
|
+
]
|
|
485
|
+
)
|
|
484
486
|
|
|
485
487
|
_mux_flac_input_list.append(f'"{_new_output_str}.flac"')
|
|
486
488
|
|
|
487
|
-
_del_flac_str_list
|
|
489
|
+
_del_flac_str_list.append(
|
|
490
|
+
f'{cmd_head_del} "{_new_output_str}.flac" '
|
|
491
|
+
)
|
|
488
492
|
|
|
489
493
|
match len(_mux_flac_input_list):
|
|
490
494
|
case 0:
|
|
@@ -660,7 +664,7 @@ class Ripper:
|
|
|
660
664
|
)
|
|
661
665
|
|
|
662
666
|
encoder_format_str_list = [
|
|
663
|
-
get_vs_ff_cmd(f
|
|
667
|
+
get_vs_ff_cmd(f"-c:v {preset_name.value} {_param}")
|
|
664
668
|
]
|
|
665
669
|
|
|
666
670
|
case Ripper.Preset_name.svtav1:
|
|
@@ -678,7 +682,7 @@ class Ripper:
|
|
|
678
682
|
(f"-{key} {val}" for key, val in _option_map.items() if val)
|
|
679
683
|
)
|
|
680
684
|
|
|
681
|
-
encoder_format_str_list = [get_vs_ff_cmd(f
|
|
685
|
+
encoder_format_str_list = [get_vs_ff_cmd(f"-c:v libsvtav1 {_param}")]
|
|
682
686
|
|
|
683
687
|
case Ripper.Preset_name.vvenc:
|
|
684
688
|
_option_map = {
|
|
@@ -694,7 +698,7 @@ class Ripper:
|
|
|
694
698
|
(f"-{key} {val}" for key, val in _option_map.items() if val)
|
|
695
699
|
)
|
|
696
700
|
|
|
697
|
-
encoder_format_str_list = [get_vs_ff_cmd(f
|
|
701
|
+
encoder_format_str_list = [get_vs_ff_cmd(f"-c:v libvvenc {_param}")]
|
|
698
702
|
|
|
699
703
|
case Ripper.Preset_name.ffv1:
|
|
700
704
|
_option_map = {
|
|
@@ -706,7 +710,7 @@ class Ripper:
|
|
|
706
710
|
(f"-{key} {val}" for key, val in _option_map.items() if val)
|
|
707
711
|
)
|
|
708
712
|
|
|
709
|
-
encoder_format_str_list = [get_vs_ff_cmd(f
|
|
713
|
+
encoder_format_str_list = [get_vs_ff_cmd(f"-c:v ffv1 {_param}")]
|
|
710
714
|
|
|
711
715
|
case Ripper.Preset_name.subset:
|
|
712
716
|
encoder_format_str_list = []
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|