小白求问,究竟如何输出x264编码的422 10bit?
dwing吧
全部回复
仅看楼主
level 1
有效ID 楼主
gh5拍摄的原始422 10bit all-i视频
mediacoder
ShanaEncoder
adobe media coder cc2018
这三个都试过了,x264/H264都只能转出420 10bit
mediacoder手动指定配置文件为hi10/hi422/hi444,等级手动5.1,都没用(auto就更不用说了)
ShanaEncoder只能指定hi10配置文件
adobe media coder cc2018和mediacoder一样手动指定配置文件和等级,勾上用最大色深渲染,也没用……
2018年01月24日 05点01分 1
level 8
--output-csp i422
2018年01月24日 07点01分 2
感谢,megui加此参数成功,但mediacoder和ShanaEncoder不行……
2018年01月24日 09点01分
level 1
shanaencoder x265/HEVC 可以加参数-pix_fmt yuv444p 、-pix_fmt yuv422p 、-pix_fmt yuv420p
10bit 8bit都行。
x264 -pix_fmt yuv422p10 -f mkv -c:v libx264 -c:a libfdk_aac -crf 19.0 -profile:v high422 -level 5.1 -preset medium -tune:v none -b:a 128k -fdkprofile he -ac 2
即是yuv422 10bits同理yuv444 8bit就去掉yuv420后面的p10[滑稽]
2018年01月24日 10点01分 3
8bit就是yuv420p这种,10bit就加上10[汗]刚竟然打错了 x264的high 444 high422指定正确就ok
2018年01月24日 11点01分
x264照着命令复制进shanaencoder,渲染报错……
2018年01月24日 14点01分
回复
ydjjydjj
:-pix_fmt yuv422p10 -f mkv -c:v libx264 -c:a libfdk_aac -crf 19.0 -profile:v high422 -level 5.1 -preset medium -tune:v none -b:a 128k -fdkprofile he -ac 2 这一行就够了,其他删掉,你不会乱搞多了空格或其他参数没对就会错误,关键格式不能错,X264可以直接设置其他
2018年01月24日 14点01分
@孤心人lll 已成功,谢谢[太开心]
2018年01月24日 14点01分
level 1
Writing application : ShanaEncoder
Writing library : ShanaEncoder
ErrorDetectionType : Per level 1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 4:2:[email protected]
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 19 s 436 ms
Width : 704 pixels
Height : 528 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 10 bits
Scan type : Progressive
Writing library : x264 core 155 r2893 b00bcaf
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=4 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
一定要注意-profile:v high422你设置其他后,这个变为baseline就会出错,记住是在F8参数设置xml里改[冷]
2018年01月24日 14点01分 4
请大佬指点,【Encoding settings 】是在哪里设置的[乖]
2020年09月05日 07点09分
可以加 V 咨询吗[乖]
2020年09月05日 07点09分
level 13
我一般420或者444……
2018年01月27日 10点01分 7
吧务
level 14
ffmpeg -i src.mkv -pix_fmt yuv422p10le -c:v libx264 -profile:v high422 -crf 19 -c:a copy target.mkv
FFmpeg真的是,好用到爆,我TM吹爆[阴险]
2018年10月28日 08点10分 8
自带解码功能,直接转码不需要加滤镜渲染后处理,完全可以放弃avs/vs[咦]
2018年10月28日 08点10分
level 14
@asxzwang
ffmpeg -i 0.mkv -pix_fmt yuv422p10le -acodec copy -vcodec libx264 -profile:v high422 -x264opts colorprim="bt2020":transfer="smpte2084":colormatrix="bt2020nc" 000.mkv
成果的mediainfo:
General
Unique ID : 284521902953488385705707706250335911681 (0xD60CECDEB49B9DEAC0C0CE97A19C7F01)
Complete name : E:\tmp\test\000.mkv
Format : Matroska
Format version : Version 4
File size : 33.6 MiB
Duration : 2 min 25 s
Overall bit rate mode : Variable
Overall bit rate : 1 936 kb/s
Writing application : Lavf58.19.100
Writing library : Lavf58.19.100
ErrorDetectionType : Per level 1Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 4:2:[email protected]
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2 min 25 s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 24.000 FPS
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 10 bits
Scan type : Progressive
Writing library : x264 core 157 r2935 545de2f
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : Japanese
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Statistics Tags Issue : mkvmerge v13.0.0 ('The Juggler') 64bit 2017-12-29 05:42:42 / Lavf58.19.100
FromStats_BitRate : 974729
FromStats_Duration : 00:02:25.417000000
FromStats_FrameCount : 3490
FromStats_StreamSize : 17717784Audio
ID : 2
Format : FLAC
Format/Info : Free Lossless Audio Codec
Codec ID : A_FLAC
Duration : 2 min 25 s
Bit rate mode : Variable
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Compression mode : Lossless
Language : Japanese
Default : Yes
Forced : No
Statistics Tags Issue : mkvmerge v13.0.0 ('The Juggler') 64bit 2017-12-29 05:42:42 / Lavf58.19.100
FromStats_BitRate : 881503
FromStats_Duration : 00:02:25.420000000
FromStats_FrameCount : 1705
FromStats_StreamSize : 16023527
2018年11月26日 14点11分 9
444无效
2018年11月26日 16点11分
@素还真😁 能输出yuv444[阴险]
2018年11月27日 08点11分
@787633258 我错了[不高兴]前后命令都需要改
2018年11月27日 10点11分
level 8
@CD /D "%~dp0"
@echo off&title ffmpeg视频转换
if "%~1"=="" echo,请拖入需要转换的文件到本文件上&pause&exit /b
for %%i in (%*) do (
D:\ffmpeg\bin\ffmpeg.exe -i "%%i" -acodec copy -vcodec libx264 -x264-params qpmax=69:rc-lookahead=60:fast_pskip=1:aq-mode=3:ref=9:b-adapt=2:direct=auto:me=umh:subme=10:merange=32:trellis=2:deblock=-3,-3:colorprim="bt709":transfer="bt709":colormatrix="bt709" "%%~ni.MP4"
)
pause
ffmpeg画质没有hanbrake的好
2018年11月26日 17点11分 11
下载地址:share.weiyun.[汗]com /59Kck5l
2018年11月26日 17点11分
文件大小的差别被你吃掉了?
2018年11月27日 11点11分
@Mr-Z♂ 这个只是随便实验下的结果,做过相同大小的实验结果一样的,参数也是一致。
2018年11月27日 13点11分
level 1
我用格式工厂导出 直接变成444 10bit了
2024年12月29日 11点12分 12
1