查看“︁Ym”︁的源代码
←
Ym
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{DISPLAYTITLE:{{spmono|ym}}}} A very personal Windows Batch script for the downloading of music or audio tracks from YouTube to a local place (here in this case is <code>D:\<wbr />_<wbr />W<wbr />M<wbr />D<wbr />\</code>) using a locally stored up-to-date Net<wbr />scape-styled {{spmono|coo<wbr />kies<wbr />.<wbr />txt}} (here in this case, it is located at <code>D:\<wbr />Omni<wbr />gena<wbr />\<wbr />coo<wbr />kies<wbr />.<wbr />txt</code>) that automatically produced by {{spmono|yt<wbr />-<wbr />dlp}}. It requires the following software to be properly set up in {{spmono|%PATH%}} (here in my case is <code>C:\<wbr />_<wbr />c<wbr />\</code>): * [https://exiftool.org/#alone {{spmono|exiftool}}]; * [https://github.com/yt-dlp/FFmpeg-Builds/releases/latest/download/ffmpeg-master-latest-win64-gpl-shared.zip {{spmono|ffmpeg}}]; * [https://github.com/xiph/flac/releases/latest {{spmono|flac}}]; * [https://github.com/google/jpegli/actions/workflows/release.yaml?query=is%3Asuccess {{spmono|jpegli}}]; * [https://www.rarewares.org/rrw/neroaac.php Nero AAC Encoder] (with {{spmono|neroAacTag.exe}} renamed to {{spmono|aact.exe}}); * [https://github.com/nu774/qaac/releases/latest {{spmono|qaac}}]; * [https://drive.google.com/file/d/1Xp5TnAye_lqZv3W8Ye7iuQAB5JlHbdi2/ {{spmono|QTFiles}} for {{spmono|qaac}}]; and * [https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/latest/download/yt-dlp.exe {{spmono|yt-dlp}}]. By default, this batch script will download the audiotrack from the given URL ({{spmono|yt-dlp}}), convert it to an intermediate .{{spmono|flac}} file ({{spmono|ffmpeg}}), re-encode it as .{{spmono|m4a}} ({{spmono|qaac}}), and then crop the thumbnail image downloaded from the URL to 1:1 ({{spmono|ffmpeg}}) and add it as the .{{spmono|m4a}} file’s cover image (Nero AAC Encoder). The script also accepts three switches set out as follows: * <code>'''-a'''</code>: changes to {{spmono|ya}} mode where the naming pattern is slightly different, the cover image is not cropped to 1:1, and the audio quality is slightly lower (<code>-v 0</code> → <code>-V 127</code>); * <code>'''-s'''</code>: changes to {{spmono|yms}} mode where the exact frame at the 64th second of the video is extracted, proportionally scaled if needed by making its shorter edge at exactly 1,200 px, cropped to 1:1, and set as the cover image of the file; ** (specially, if <code>'''-ss''' <span style="color: #0663ba;">'''''n'''''</span></code> is used, then the given number <span style="color: #0663ba;">{{spmono|'''''n'''''}}</span> shall surpass the default value, 64, and be used for <code>-ss</code> in the final {{spmono|ffmpeg}} command;) and * <code>'''-k'''</code>: keeps the intermediate .{{spmono|flac}} file for future uses. Although it is a .{{spmono|flac}} file, it does not have and cannot produce any acoustic improvements; therefore it is only recommended to keep it if it shall be further edited to ensure there is no quality loss in re-encoding. ==The batch== {{ym-win-jpegli}} =={{spmono|yt-dlp}} configuration files== These files shall be put into <code>%<wbr />App<wbr />Data<wbr />%<wbr />\<wbr />yt<wbr />-<wbr />dlp</code> with no extension attached to their filenames. {{yt-dlp-config-yan}} {{yt-dlp-config-ymn}} {{yt-dlp-config-ya}} {{yt-dlp-config-ym}} {{yt-dlp-config-yms}}
此页面嵌入的页面:
Template:NB
(
查看源代码
)
Template:Spmono
(
查看源代码
)
Template:Stblk
(
查看源代码
)
Template:Stblu
(
查看源代码
)
Template:Ym-win-jpegli
(
查看源代码
)
Template:Yt-dlp-config-ya
(
查看源代码
)
Template:Yt-dlp-config-yan
(
查看源代码
)
Template:Yt-dlp-config-ym
(
查看源代码
)
Template:Yt-dlp-config-ymn
(
查看源代码
)
Template:Yt-dlp-config-yms
(
查看源代码
)
返回
Ym
。
导航菜单
个人工具
登录
命名空间
页面
讨论
不转换
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
工具
链入页面
相关更改
页面信息