Selur's Little Message Board
[BUG] Crash when using x265 ST2084 encoding at latest version (2017.10.3.1) - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: [BUG] Crash when using x265 ST2084 encoding at latest version (2017.10.3.1) (/thread-116.html)

Pages: 1 2


Crash when using x265 ST2084 encoding at latest version (2017.10.3.1) - pp300 - 04.10.2017

I got crash at the binging of the first pass, error message is "x265 [error]: invalid argument: transfer = smpte-st-2084"


RE: Crash when using x265 ST2084 encoding at latest version (2017.10.3.1) - Selur - 05.10.2017

Okay, that is strange since 'smpte-st-2084' should be supported, see: http://x265.readthedocs.io/en/latest/cli.html?highlight=transfer#cmdoption-transfer.
Argh, they changed the names and don't support the old names anymore,..
-> https://bitbucket.org/multicoreware/x265/commits/fcd9154fa4e28ae9e3c11e16bfae20dbdb89101d
=> will fix and release a new version later today (~15 hrs)

Cu Selur

Ps.: send you a link to a dev version for testing.


RE: Crash when using x265 ST2084 encoding at latest version (2017.10.3.1) - pp300 - 07.10.2017

(05.10.2017, 05:24)Selur Wrote: Okay, that is strange since 'smpte-st-2084' should be supported, see: http://x265.readthedocs.io/en/latest/cli.html?highlight=transfer#cmdoption-transfer.
Argh, they changed the names and don't support the old names anymore,..
-> https://bitbucket.org/multicoreware/x265/commits/fcd9154fa4e28ae9e3c11e16bfae20dbdb89101d
=> will fix and release a new version later today (~15 hrs)

Cu Selur

Ps.: send you a link to a dev version for testing.

Thanks for the update.

But I'm facing another problem: MP4Box muxing chock

I've got error message of: "The given code is not a valid one: , using 'und' as 3-letter code"

Seems like I have to give a language code to my audio, 'cause it's empty at the current command code

starting 06_35_25_3310_09_muxing@09:11:52.763 - T:\InnoLux-4K-HDR-HEVC.mp4

"C:\PROGRA~1\Hybrid\MP4Box.exe" -par 1=1:1 -add "T:\06_35_25_3310_06.265"#video:fps=60 -brand hvc1 -add "T:\iId_1_aid_1_06_35_25_3310_02.aac"#audio:lang= -mpeg4 -itags name="InnoLux-2017-4K-HDR-色彩的溫度":comment="www.HD.Club.tw":tool="Hybrid 2017.10.05.1" -tmp "T:\" -new "T:\06_35_25_3310__09.mp4"


RE: Crash when using x265 ST2084 encoding at latest version (2017.10.3.1) - Selur - 07.10.2017

Quote:But I'm facing another problem: MP4Box muxing chock

I've got error message of: "The given code is not a valid one: , using 'und' as 3-letter code"

Seems like I have to give a language code to my audio, 'cause it's empty at the current command code

starting 06_35_25_3310_09_muxing@09:11:52.763 - T:\InnoLux-4K-HDR-HEVC.mp4

"C:\PROGRA~1\Hybrid\MP4Box.exe" -par 1=1:1 -add "T:\06_35_25_3310_06.265"#video:fps=60 -brand hvc1 -add "T:\iId_1_aid_1_06_35_25_3310_02.aac"#audio:lang= -mpeg4 -itags name="InnoLux-2017-4K-HDR-色彩的溫度":comment="www.HD.Club.tw":tool="Hybrid 2017.10.05.1" -tmp "T:\" -new "T:\06_35_25_3310__09.mp4"
Just arrived in Beijing, will try to look a it later.
To be sure please check if it works if you use:
"C:\PROGRA~1\Hybrid\MP4Box.exe" -par 1=1:1 -add "T:\06_35_25_3310_06.265"#video:fps=60 -brand hvc1 -add "T:\iId_1_aid_1_06_35_25_3310_02.aac"#audio:lang="und" -mpeg4 -itags name="InnoLux-2017-4K-HDR-色彩的溫度":comment="www.HD.Club.tw":tool="Hybrid 2017.10.05.1" -tmp "T:\" -new "T:\06_35_25_3310__09.mp4"
or
"C:\PROGRA~1\Hybrid\MP4Box.exe" -par 1=1:1 -add "T:\06_35_25_3310_06.265"#video:fps=60 -brand hvc1 -add "T:\iId_1_aid_1_06_35_25_3310_02.aac"#audio:lang="und" -mpeg4 -itags name="InnoLux-2017-4K-HDR-test":comment="www.HD.Club.tw":tool="Hybrid 2017.10.05.1" -tmp "T:\" -new "T:\06_35_25_3310__09.mp4"
Does one of those two command lines work (or both?).

Cu Selur


RE: Crash when using x265 ST2084 encoding at latest version (2017.10.3.1) - pp300 - 07.10.2017

(07.10.2017, 09:43)Selur Wrote:
Quote:But I'm facing another problem: MP4Box muxing chock

I've got error message of: "The given code is not a valid one: , using 'und' as 3-letter code"

Seems like I have to give a language code to my audio, 'cause it's empty at the current command code

starting 06_35_25_3310_09_muxing@09:11:52.763 - T:\InnoLux-4K-HDR-HEVC.mp4

"C:\PROGRA~1\Hybrid\MP4Box.exe" -par 1=1:1 -add "T:\06_35_25_3310_06.265"#video:fps=60 -brand hvc1 -add "T:\iId_1_aid_1_06_35_25_3310_02.aac"#audio:lang= -mpeg4 -itags name="InnoLux-2017-4K-HDR-色彩的溫度":comment="www.HD.Club.tw":tool="Hybrid 2017.10.05.1" -tmp "T:\" -new "T:\06_35_25_3310__09.mp4"
Just arrived in Beijing, will try to look a it later.
To be sure please check if it works if you use:
"C:\PROGRA~1\Hybrid\MP4Box.exe" -par 1=1:1 -add "T:\06_35_25_3310_06.265"#video:fps=60 -brand hvc1 -add "T:\iId_1_aid_1_06_35_25_3310_02.aac"#audio:lang="und" -mpeg4 -itags name="InnoLux-2017-4K-HDR-色彩的溫度":comment="www.HD.Club.tw":tool="Hybrid 2017.10.05.1" -tmp "T:\" -new "T:\06_35_25_3310__09.mp4"
or
"C:\PROGRA~1\Hybrid\MP4Box.exe" -par 1=1:1 -add "T:\06_35_25_3310_06.265"#video:fps=60 -brand hvc1 -add "T:\iId_1_aid_1_06_35_25_3310_02.aac"#audio:lang="und" -mpeg4 -itags name="InnoLux-2017-4K-HDR-test":comment="www.HD.Club.tw":tool="Hybrid 2017.10.05.1" -tmp "T:\" -new "T:\06_35_25_3310__09.mp4"
Does one of those two command lines work (or both?).

Cu Selur


I made some adjustment of the -tmp dir part to make the command lines started, but unfortunately booth command lines got "Feature Not Supported".

   


RE: Crash when using x265 ST2084 encoding at latest version (2017.10.3.1) - Selur - 07.10.2017

Strange thing, when I use:
MP4Box -par 1=1:1 -add "C:\Users\Selur\AppData\Local\Temp\test_19_13_35_8510_02.264"#video:fps=23.976:xps_inband:name=:lang="en" -brand avc1 -add "C:\Users\Selur\AppData\Local\Temp\iId_4_aid_0_DELAY_9ms_19_13_35_8510_01.aac"#audio:lang=:delay=9 -mpeg4 -itags tool="Hybrid 2017.10.05.1" -tmp "C:\Users\Selur\AppData\Local\Temp" -new "C:\Users\Selur\Desktop\19_13_35_8510__03.mp4"
, remuxing works fine.

-> need a debug outpu level 9 of the job processing (read sticky)

Cu Selur


RE: Crash when using x265 ST2084 encoding at latest version (2017.10.3.1) - pp300 - 08.10.2017

(07.10.2017, 13:17)Selur Wrote: Strange thing, when I use:
MP4Box -par 1=1:1 -add "C:\Users\Selur\AppData\Local\Temp\test_19_13_35_8510_02.264"#video:fps=23.976:xps_inband:name=:lang="en" -brand avc1 -add "C:\Users\Selur\AppData\Local\Temp\iId_4_aid_0_DELAY_9ms_19_13_35_8510_01.aac"#audio:lang=:delay=9 -mpeg4 -itags tool="Hybrid 2017.10.05.1" -tmp "C:\Users\Selur\AppData\Local\Temp" -new "C:\Users\Selur\Desktop\19_13_35_8510__03.mp4"
, remuxing works fine.

-> need a debug outpu level 9 of the job processing (read sticky)

Cu Selur

Here's the level 9 debug file.


RE: Crash when using x265 ST2084 encoding at latest version (2017.10.3.1) - Selur - 08.10.2017

Okay. I was confused since the thread was about x265 but the muxing call you posted showed .264. But since the debug output shows x265, you indeed stumbled over a known problem.
-> https://github.com/gpac/gpac/issues/705 + https://bitbucket.org/multicoreware/x265/issues/309
Disabling '--repeat-headers ' (x265->Misc->Random Stuff->Repeat headers) should help.

Cu Selur


RE: Crash when using x265 ST2084 encoding at latest version (2017.10.3.1) - pp300 - 09.10.2017

(08.10.2017, 14:27)Selur Wrote: Okay. I was confused since the thread was about x265 but the muxing call you posted showed .264. But since the debug output shows x265, you indeed stumbled over a known problem.
-> https://github.com/gpac/gpac/issues/705 + https://bitbucket.org/multicoreware/x265/issues/309
Disabling '--repeat-headers ' (x265->Misc->Random Stuff->Repeat headers) should help.

Cu Selur

I tried disabled "Repeat Headers", but also got crashed error "Feature Not Supported".


RE: Crash when using x265 ST2084 encoding at latest version (2017.10.3.1) - Selur - 09.10.2017

Try using FFmpeg instead of Mp4Box as Multiplexer. There ist an option for that unser Config->Container->Mp4 iirc.

Cu Selur