FS#33802 - [x264] add executable with --bit-depth=10 (for encode videos with Hi10p profiles)

Attached to Project: Arch Linux
Opened by Gustavo Alvarez (sl1pkn07) - Sunday, 10 February 2013, 15:43 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Wednesday, 04 June 2014, 19:42 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

since moths ago, x264 is possible make videos with Hi10p profiles (bitdepth 10bits), but need build with --bit-depth=10 flag, this is incompatible with default depth 8

its possible add executable (without static/shared libs) with --bit-depth=10 active?

This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Wednesday, 04 June 2014, 19:42 GMT
Reason for closing:  Implemented
Additional comments about closing:  x264 1:142.20140311-2
Comment by John (graysky) - Sunday, 10 February 2013, 16:14 GMT
Shouldn't that be something for upstream to do?
Comment by Gustavo Alvarez (sl1pkn07) - Sunday, 10 February 2013, 16:41 GMT
is in upstream since months (sorry the typo en summary :S)

./configure -> make x264 only with 8bitdeph compatible

./configure --bit-depth=10 -> make x264 only with 10bitdepth compatible (High 10bits profiles)

no exist executable with "mix mode" (with both bitdepths)

configure without flag (8bits by default) -> http://paste.ubuntu.com/1633583
configure with flag (--depth=10) -> http://paste.ubuntu.com/1633587
Comment by Ionut Biru (wonder) - Saturday, 16 February 2013, 22:42 GMT
is this going to break 8 bit encoding?
Comment by Gustavo Alvarez (sl1pkn07) - Sunday, 17 February 2013, 07:44 GMT
if make 2 separate executable CLI no, break nothing

to preserve compatibility with ffmpeg (or other programs), i recomended keep build libx264.so when build x264 in 8bits mode, because if make this library with 10bits, need build another instace of ffmpeg/programs (one ffmpeg for 8bits, and another ffmpeg for 10bits). because like i say, not possible build libs/CLI with mixed mode (both 8 and 10 bits in same lib/cli)

example of pkgbuild

http://paste.ubuntu.com/1669727

this make x264 CLI and libx264.so library on 8bits. and make other instance of x264 with only CLI in 10bits mode

please test

greetings
Comment by Ionut Biru (wonder) - Sunday, 17 February 2013, 08:59 GMT
please attach the builds. The paste link only has $pkgdir
Comment by Gustavo Alvarez (sl1pkn07) - Sunday, 17 February 2013, 09:13 GMT
ow :S

fixed post
Comment by Ionut Biru (wonder) - Sunday, 17 February 2013, 11:26 GMT
do you know by any chance how other distros do this?
Comment by Gustavo Alvarez (sl1pkn07) - Sunday, 17 February 2013, 12:32 GMT
i don'k know, i belive other distro don't have idea of this feature

only see this in "fansubbing world", like some builds from different patchsets implementation, like:

http://x264.nl/ -> unofficial windows builds (untouch code)
http://x264.fushizen.eu/ -> Jeeb's Patchset
http://komisar.gin.by/ -> Komisar's Patchsets
https://astrataro.wordpress.com/ -> tMod's patchsets

for example

in all, only distribute the CLI.

in ffmpeg/libav the only method to make videos in x264-10bits is rebuild ffmpeg/libav with x264 with --bit-depth=10, other programs handle directly through CLI


Comment by DrZaius (DrZaius) - Friday, 15 March 2013, 02:22 GMT

Loading...