10-bit x264 build

Website, builds, or other suggestions.
spacediver
Posts: 8
Joined: Mon Nov 02, 2015 5:02 am

Re: 10-bit x264 build

Post by spacediver » Tue Nov 10, 2015 2:51 am

sorry to bug you here again. I submitted the ticket, only to have it marked as invalid, as the moderator believed it to be a limited vs. full range issue (studio swing vs full swing).

https://trac.ffmpeg.org/ticket/4986

That person made a recommendation to try dst_range 1 to preserve the full range, but that didn't work.

I then tried asking on the ffmpeg mailing list, and got a response from someone who said that it is indeed an swscale bug, and that I should "compile with z.img and use zscale."

As best as I can tell, this means I should somehow compile the library here:

https://github.com/sekrit-twc/zimg

But I've no idea how to go about this - I've never compiled anything before. Is this zimg library still part of ffmpeg? It's a really simple task that I want to achieve, and I'm willing to learn what I need to accomplish it, but I'm not getting much help from anyone. I could really use a bit of guidance.

User avatar
Zeranoe
Site Admin
Posts: 703
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: 10-bit x264 build

Post by Zeranoe » Tue Nov 10, 2015 5:45 am

I added support for zimg (z.lib) and the first build supporting it will be out tonight.

Please test with it, and update the ML with any findings.

Edit: 20151109-git-480bad7 is the first build to support zimg (z.lib).

spacediver
Posts: 8
Joined: Mon Nov 02, 2015 5:02 am

Re: 10-bit x264 build

Post by spacediver » Tue Nov 10, 2015 5:48 am

thanks, will do!

spacediver
Posts: 8
Joined: Mon Nov 02, 2015 5:02 am

Re: 10-bit x264 build

Post by spacediver » Wed Nov 11, 2015 5:29 am

With this latest (8bit) build (20151109-git-480bad7)

Code: Select all

ffmpeg -i 1.png -vf zscale=r='full' 1.mp4
gives me the following error, when the png is an 8 bit file:

Code: Select all

[Parsed_zscale_0 @ 00788720] code 3074: no path between colorspaces
and the resulting mp4 file is unplayable.

However, when I use a 10 bit png, there is no error, but the resulting video does not maintain 10 bits (the pixel format is YUV444p).

Shall I forward this info to the mailing list?

User avatar
Zeranoe
Site Admin
Posts: 703
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: 10-bit x264 build

Post by Zeranoe » Wed Nov 11, 2015 5:48 am

spacediver wrote:Shall I forward this info to the mailing list?
Yes, please do.

spacediver
Posts: 8
Joined: Mon Nov 02, 2015 5:02 am

Re: 10-bit x264 build

Post by spacediver » Wed Nov 11, 2015 3:21 pm

done. I didn't get a copy of the email I sent, but I think it went through, because it's listed here:

https://www.mail-archive.com/ffmpeg-use ... 06618.html

User avatar
Zeranoe
Site Admin
Posts: 703
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: 10-bit x264 build

Post by Zeranoe » Tue Feb 06, 2018 1:08 pm

10-bit x264 has been added to the builds: viewtopic.php?f=2&t=5475

sneaker
Posts: 5
Joined: Mon Mar 23, 2015 9:33 am

Re: 10-bit x264 build

Post by sneaker » Wed Feb 07, 2018 6:13 pm

Great to hear, thx! Working just fine.

Topaazy
Posts: 2
Joined: Mon Feb 12, 2018 10:20 am
Contact:

Re: 10-bit x264 build

Post by Topaazy » Mon Feb 12, 2018 11:19 am

Thanks as well! Very good explanation!
Does kind of the same apply to 12-bit transcodes?
Calculating effort aside is it better to encode a x264 8-bit high-bitrate source to x265 10-bit or 12-bit; purely on grounds of subjective quality :)

edmirv
Posts: 1
Joined: Mon Feb 19, 2018 12:07 pm

Re: 10-bit x264 build

Post by edmirv » Mon Feb 19, 2018 12:10 pm

Any reason 10-bit support has been removed in last build 3.4.1?

Post Reply
'