- 自行准备Linux环境与docker环境,包括docker-compose
git clone https://github.com/gzycode39/docker-vapoursynth-yuuno.git
cd docker-vapoursynth-yuuno
- 将docker-compose.yml中的
/YOUR/ENCODE/PATH
修改为你的工作目录(即原盘所在目录),假设原盘名为HLWYYDS.2021.HLW
,宿主机目录结构为/home/hlw/HLW/HLWYYDS.2021.HLW/
,则工作目录应为/home/hlw/HLW
docker-compose up -d
docker exec -it vapoursynth-yuuno /bin/bash
frds /encode/HLWYYDS.2021.HLW/
- 按照提示选择轨道
- 耐心等待提取完成,在浏览器输入
你的机器ip:8888
(初始密码123),打开名为HLWYYDS.2021.HLW
的文件,修改第9行border= xxx
切边条数,有需要可自行添加脏边修复代码,在浏览器中预览确认无误后,回到命令行界面按任意键继续 - 进入宿主机目录
/home/hlw/HLW/out-HLWYYDS.2021.HLW
查看成片,种子及mediainfo位于torrent
目录下 - 发布成片
- python3: 3.8.5
- eac3to: v3.34
- x265: v3.5
- mkvmerge: v53.0.0
- mediainfo: v19.09
- mktorrent: v1.1
docker-compose up -d
docker exec -it vapoursynth-yuuno /bin/bash
Please refer to WhaleHu/Encode-guide-frds
eac3to-demux /PATH/TO/BDMV
encode_series "/PATH/TO/SERIES/REMUX"
eac3to "xxx.dtsma" "xxx.ac3"
-
Access your_ip:8888, the default password is 123.
-
Open the notebook encode.ipynb
-
to be continued
git clone https://github.com/gzycode39/docker-vapoursynth-yuuno.git
cd docker-vapoursynth-yuuno
docker-compose up -d
docker exec -it vapoursynth-yuuno /bin/bash
docker-compose ps
docker-compose down
docker pull yyfyyf/vapoursynth-yuuno:v0.X
X为最新版本号
eac3to 目录
eac3to-demux 目录
ip:映射端口
先输一行%load_ext yuuno
然后下面输入%%vspreview再接脚本代码
run
把ipynb的脚本内容复制一份到vpy,修改sh脚本中的帧数为样片帧数,修改vpy为对应vpy
运行sh脚本,压制样片
观察码率
eac3to "原音轨.dtsma" 新音轨.ac3
mkvmerge -o "电影名.年份.bluray.1080p.x265.10bit.MNHD-FRDS.mkv" --title "电影名 [年份] Bluray 1080p MNHD-FRDS" --chapters "原盘目录.txt" --compression 0:none --default-duration 0:24000/1001fps --track-name 0:作者署名 成片.hevc --compression 0:none --default-track 0 --language 0:ISO编码 音轨.ac3 --compression 0:none --default-track 0 --language 0:chi --track-name 0:CHS "简中字幕.sup" --compression 0:none --language 0:chi --track-name 0:CHT "繁中字母.sup" --compression 0:none --language 0:原始字幕语言编码 --track-name 0:原始字幕语言编码 "原始语言字幕.sup"
mktorrent -a tracker地址 -l 22 -p 成片目录