This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

HDR10 to SDR
#1
Hybrid rev 2018.08.05.1:   Ubuntu 16.04 64bit

The problem certainly concerns filter HDR10 to SDR on linux because on windows it works correctly.
Error message:
-> 05_29_17_4610_06_video crashed: ERROR: /home/leqaviva/Desktop/temp hybrida/05_29_17_4610_06.264 is too small! (byteSize: 0byte)
Aborting '05_29_17_4610_06_video' due to: ERROR: /home/leqaviva/Desktop/temp hybrida/05_29_17_4610_06.264 is too small! (byteSize: 0byte)
Job 05_29_17_4610 finished!

HybridDebugOutput: https://www110.zippyshare.com/v/WBeplPXY/file.html




Please, read the 'Infos needed to fix&reproduce bugs,..'-sticky before you post about a problem.
Reply
#2
Since you use the Vapoursynth filter, does the Vapoursynth preview work properly or does it show an error?
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
(27.09.2018, 16:18)Selur Wrote: Since you use the Vapoursynth filter, does the Vapoursynth preview work properly or does it show an error?

Vapoursynth does not display an error.

Awarpsharp works correctly on linux.
Reply
#4
Okay, I would have suspected that the Vapoursynth Preview in Hybrid would throw an error assuming some filter was missing or not working.

Since that isn't the case, does calling:
"/usr/bin/vspipe" "/home/leqaviva/Desktop/temp hybrida/encodingTempSynthSkript_06_28_54_4110.vpy" - --y4m | "/home/leqaviva/.hybrid-bin/x264" --crf 17.00 --profile high --level 4.1 --ref 5 --keyint 250 --min-keyint 0 --scenecut 40 --bframes 9 --b-bias 0 --b-pyramid normal --direct auto --b-adapt 2 --cplxblur 20.0 --qcomp 0.6 --qblur 0.5 --mbtree --rc-lookahead 60 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --qpmin 0 --qpmax 69 --qpstep 4 --partitions all --8x8dct --me umh --merange 48 --mvrange -1 --subme 10 --cabac --trellis 2 --psy-rd 1.05:0.15 --weightp 2 --aq-mode 3 --aq-strength 0.9 --vbv-maxrate 62500 --vbv-bufsize 78125 --nr 0 --deadzone-inter 21 --deadzone-intra 11 --cqm flat --threads auto --sar 1:1 --deblock -3:-3 --non-deterministic --range tv --colormatrix bt2020nc --demuxer y4m  --fps 24000/1001 --output-csp i420 --output-depth 8 --output "/home/leqaviva/Desktop/temp hybrida/06_28_54_4110_06.264" -
throw any errors other than 'Ignored: y4m [error]: bad sequence header magic' which should only happen if something is wrong with the script, but the script:
# Imports
import os
import sys
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = '/usr/share/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Import scripts
import tmap
# Loading /home/leqaviva/Desktop/Filmy BD/King.Kong.2005.PL.2160.UHD.BLURAY.HEVC.REMUX.DTS.5.1-H3Q.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="/home/leqaviva/Desktop/Filmy BD/King.Kong.2005.PL.2160.UHD.BLURAY.HEVC.REMUX.DTS.5.1-H3Q.mkv", format="YUV420P10", cache=0)
# making sure input color matrix is set as 2020ncl
clip = core.resize.Point(clip, matrix_in_s="2020ncl",range_s="limited")
# making sure frame rate is set to 24000/1001
clip = core.std.AssumeFPS(clip, fpsnum=24000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# Color Adjustment
clip = tmap.hablehdr10tosdr(clip=clip, source_peak=1200, desat=50, tFormat=vs.YUV422P8, tMatrix="709", tRange="limited", color_loc="center", lin="True", show_satmask="False", show_clipped="False")
# Color Adjustment
clip = core.std.Levels(clip=clip, min_in=0, max_in=255, min_out=0, max_out=255)
# cropping the video to 3840x1632
clip = core.std.CropRel(clip=clip, left=0, right=0, top=264, bottom=264)
# sharpening using AWarpSharp2
clip = core.warp.AWarpSharp2(clip=clip, blur=2)
# resizing clip to 1920x816
clip = core.fmtc.resample(clip=clip, kernel="spline16", w=1920, h=816, interlaced=False, interlacedd=False)
# adjusting output color from: YUV422P16 to YUV420P8 for x264Model (i420)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, range_s="limited")
# Output
clip.set_output()
looks to me and should be the same when called with Hybrid.

Something else that is strange is that youe version reports 2018.08.02.1, but the last public release was '2018.08.05.1',...
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#5
(27.09.2018, 17:19)Selur Wrote: Okay, I would have suspected that the Vapoursynth Preview in Hybrid would throw an error assuming some filter was missing or not working.

Since that isn't the case, does calling:
"/usr/bin/vspipe" "/home/leqaviva/Desktop/temp hybrida/encodingTempSynthSkript_06_28_54_4110.vpy" - --y4m | "/home/leqaviva/.hybrid-bin/x264" --crf 17.00 --profile high --level 4.1 --ref 5 --keyint 250 --min-keyint 0 --scenecut 40 --bframes 9 --b-bias 0 --b-pyramid normal --direct auto --b-adapt 2 --cplxblur 20.0 --qcomp 0.6 --qblur 0.5 --mbtree --rc-lookahead 60 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --qpmin 0 --qpmax 69 --qpstep 4 --partitions all --8x8dct --me umh --merange 48 --mvrange -1 --subme 10 --cabac --trellis 2 --psy-rd 1.05:0.15 --weightp 2 --aq-mode 3 --aq-strength 0.9 --vbv-maxrate 62500 --vbv-bufsize 78125 --nr 0 --deadzone-inter 21 --deadzone-intra 11 --cqm flat --threads auto --sar 1:1 --deblock -3:-3 --non-deterministic --range tv --colormatrix bt2020nc --demuxer y4m  --fps 24000/1001 --output-csp i420 --output-depth 8 --output "/home/leqaviva/Desktop/temp hybrida/06_28_54_4110_06.264" -
throw any errors other than 'Ignored: y4m [error]: bad sequence header magic' which should only happen if something is wrong with the script, but the script:
# Imports
import os
import sys
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = '/usr/share/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Import scripts
import tmap
# Loading /home/leqaviva/Desktop/Filmy BD/King.Kong.2005.PL.2160.UHD.BLURAY.HEVC.REMUX.DTS.5.1-H3Q.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="/home/leqaviva/Desktop/Filmy BD/King.Kong.2005.PL.2160.UHD.BLURAY.HEVC.REMUX.DTS.5.1-H3Q.mkv", format="YUV420P10", cache=0)
# making sure input color matrix is set as 2020ncl
clip = core.resize.Point(clip, matrix_in_s="2020ncl",range_s="limited")
# making sure frame rate is set to 24000/1001
clip = core.std.AssumeFPS(clip, fpsnum=24000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# Color Adjustment
clip = tmap.hablehdr10tosdr(clip=clip, source_peak=1200, desat=50, tFormat=vs.YUV422P8, tMatrix="709", tRange="limited", color_loc="center", lin="True", show_satmask="False", show_clipped="False")
# Color Adjustment
clip = core.std.Levels(clip=clip, min_in=0, max_in=255, min_out=0, max_out=255)
# cropping the video to 3840x1632
clip = core.std.CropRel(clip=clip, left=0, right=0, top=264, bottom=264)
# sharpening using AWarpSharp2
clip = core.warp.AWarpSharp2(clip=clip, blur=2)
# resizing clip to 1920x816
clip = core.fmtc.resample(clip=clip, kernel="spline16", w=1920, h=816, interlaced=False, interlacedd=False)
# adjusting output color from: YUV422P16 to YUV420P8 for x264Model (i420)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, range_s="limited")
# Output
clip.set_output()
looks to me and should be the same when called with Hybrid.

Something else that is strange is that youe version reports 2018.08.02.1, but the last public release was '2018.08.05.1',...
https://launchpad.net/~djcj/+archive/ubuntu/hybrid
Reply
#6
Might be a typo on my part when building the release,.. Smile
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#7
Perhaps the bug is generally  "color" in Vapoursynth when it comes to Linux?

Filter Tone map also does not work.
Reply
#8
Does ToneMap work if you:
a. set Filtering->Support to 'No XSynth'
and
b. use Filtering->Filtering->ToneMap
? If that works it's a Vapoursynth related problem.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#9
(28.09.2018, 05:24)Selur Wrote: Does ToneMap work if you:
a. set Filtering->Support to 'No XSynth'
and
b. use Filtering->Filtering->ToneMap
? If that works it's a Vapoursynth related problem.

Cu Selur

I can not use it in 'No XSynth'
http://s2.ifotos.pl/img/Snap4jpg_qeaqxph.jpg

I tried to use another filter in 'No XSynth' - 'ColorMatrix' and again is CRASHED
HybridDebugOutput: https://www7.zippyshare.com/v/Zn3h8JRp/file.html
Reply
#10
What happens if you call:
"/usr/bin/ffmpeg" -y -loglevel fatal -threads 8 -i "/home/leqaviva/Desktop/Filmy BD/King.Kong.2005.PL.2160.UHD.BLURAY.HEVC.REMUX.DTS.5.1-H3Q.mkv" -map 0:0 -an -sn -vf colormatrix=bt2020:bt709,crop=3840:1632:0:264,scale=1280:544,scale=out_range=tv -pix_fmt yuv420p -vsync 0  -sws_flags spline -f rawvideo -
| "/home/leqaviva/.hybrid-bin/x264" --preset slower --crf 17.00 --profile high --level 4.1 --ref 12 --bframes 9 --merange 32 --mvrange 512 --subme 11 --psy-rd 1.05:0.15 --aq-mode 3 --aq-strength 0.9 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 1:1 --deblock -3:-3 --non-deterministic --range tv --colormatrix bt709 --demuxer raw --input-res 1280x544 --input-csp i420 --input-depth 8 --fps 24000/1001 --output-depth 8 --output "/home/leqaviva/Desktop/temp hybrida/07_01_18_6310_05.264" -
and:
"/usr/bin/ffmpeg" -y -threads 8 -i "/home/leqaviva/Desktop/Filmy BD/King.Kong.2005.PL.2160.UHD.BLURAY.HEVC.REMUX.DTS.5.1-H3Q.mkv" -map 0:0 -an -sn -vf colormatrix=bt2020:bt709,crop=3840:1632:0:264,scale=1280:544,scale=out_range=tv -pix_fmt yuv420p -vsync 0  -sws_flags spline -f rawvideo /dev/null
inside a terminal?

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)