Blu-ray + UHD/4K + Streaming

A community for authoring Blu-ray, 4K/UHD and more!

Hi guys,

I'm wondering if anybody has successfully encoded .264 files with ffmpeg. Since it has x264 built-in, it should be capable of outputting Blu-ray compatible video. However, despite (I think) successfully converting all of the input parameters into ffmpeg's command line format, I'm getting compatibility problems on PS4, which leads me to believe that the resulting file isn't QUIIIITE up to spec. 

ffmpeg -I input.mov -c:v libx264 -pass 1 -b:v 30000k -tune film -level 41 -g 24 -r 24000/1001 -pix_fmt yuv420p -preset veryslow -vf setsar=sar=1/1 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -x264opts bluray-compat=1:vbv-bufsize=30000:vbv-maxrate=31000:slices=4:open-gop=1:force-cfr=1 -y -f rawvideo /dev/null

ffmpeg -I input.mov -c:v libx264 -pass 2 -b:v 30000k -tune film -level 41 -g 24 -r 24000/1001 -pix_fmt yuv420p -preset veryslow -vf setsar=sar=1/1 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -x264opts bluray-compat=1:vbv-bufsize=30000:vbv-maxrate=31000:slices=4:open-gop=1:force-cfr=1 -y -f rawvideo output.264

MediaInfo reports the following encoding settings:

cabac=1 / ref=6 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=24

What do you guys think? Has anyone successfully gotten this to work on ffmpeg?

UPDATE: ffmpeg is not qualified for Blu-ray, despite passing all verification tests. Major issues with PS4 playback. Do not use.

Views: 107

Reply to This

Replies to This Discussion

For 29.97i to 23.976p with ffmpeg:

-vf "fieldmatch=order=auto:combmatch=none, decimate"

or

-vf "fieldmatch=order=auto:combmatch=full, yadif=deint=interlaced, decimate"

Reply to Discussion

RSS

Latest Activity

lilian replied to Justin Sevakis's discussion Encoding with ffmpeg
"For 29.97i to 23.976p with ffmpeg: -vf "fieldmatch=order=auto:combmatch=none,…"
Oct 6
lilian replied to Justin Sevakis's discussion Encoding with ffmpeg
"-vf "fieldmatch=order=auto:combmatch=none, decimate" or -vf…"
Oct 6
lilian replied to Justin Sevakis's discussion Encoding with ffmpeg
"Hi all, I'm using ffmpeg with x264 since a long time for BD authoring without any known…"
Oct 6
Henry Weintraub replied to Henry Weintraub's discussion Managed Copy Information error
"Thanks for the input. I may just try re-installing the OS and see if that helps."
Oct 2

© 2018   Created by Denny and Rob.   Powered by

Badges  |  Report an Issue  |  Terms of Service