Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
20th December 2016, 11:19 | #961 | Link | |
Registered User
Join Date: Apr 2016
Posts: 61
|
Quote:
|
|
20th December 2016, 12:59 | #963 | Link | |
Registered User
Join Date: Apr 2016
Posts: 61
|
Quote:
Thanks a lot. |
|
20th December 2016, 15:29 | #964 | Link |
Registered User
Join Date: Jul 2015
Posts: 708
|
@Clare
For pass one is 600kb difference in 100 frames 4K. For pass two isn't difference between the file size(~100kb). This is puzzling, but it is worth knowing. So, I understand that the tests should only do to pass two, because otherwise there is no sense. The correct command is: Code:
ffmpeg.exe -loglevel trace -y -i iphone6s_4k.yuv -c:v libvpx-vp9 -b:v 0 -passlogfile vp9.log -crf 20 -quality good -threads 4 -cpu-used 2 -tile-columns 4 -arnr-maxframes 7 -arnr-type 3 -arnr-strength 5 -pass 1 -an out1a.ivf ffmpeg.exe -loglevel trace -y -i iphone6s_4k.yuv -c:v libvpx-vp9 -b:v 0 -passlogfile vp9.log -crf 20 -quality good -threads 4 -cpu-used 2 -tile-columns 4 -arnr-maxframes 7 -arnr-type 3 -arnr-strength 5 -pass 2 -an out1b.ivf vpxenc.exe -v --ivf --good --passes=2 --pass=1 --fpf=vp9.pass --threads=4 --target-bitrate=256 --cpu-used=2 --tile-columns=4 --end-usage=q --cq-level=20 --arnr-maxframes=7 --arnr-type=3 --arnr-strength=5 -o NUL iphone6s_4k.yuv vpxenc.exe -v --ivf --good --passes=2 --pass=2 --fpf=vp9.pass --threads=4 --target-bitrate=256 --cpu-used=2 --tile-columns=4 --end-usage=q --cq-level=20 --arnr-maxframes=7 --arnr-type=3 --arnr-strength=5 -o out2.ivf iphone6s_4k.yuv Last edited by Jamaika; 20th December 2016 at 15:32. |
20th December 2016, 15:37 | #965 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
vpxenc has automated two-pass. You only run it once. If you run it twice you are basically doing 4 passes with the first 2 being wasted into NUL. Try running it only once and check if that is the case. It was for me the last time I tested. (Granted, long time ago and I don't remember the commands I used from the top of my head.)
|
20th December 2016, 15:49 | #966 | Link |
Registered User
Join Date: Jul 2015
Posts: 708
|
OK. I accepted the news, but this command ffmpeg gave different results. Different (~300kb)
Code:
ffmpeg.exe -loglevel trace -y -i iphone6s_4k.yuv -c:v libvpx-vp9 -b:v 0 -crf 20 -quality good -threads 4 -cpu-used 2 -tile-columns 4 -arnr-maxframes 7 -arnr-type 3 -arnr-strength 5 -pass 2 -an out1a.ivf |
21st December 2016, 02:23 | #968 | Link | |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Quote:
|
|
9th January 2017, 06:00 | #969 | Link | |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
According to https://en.wikipedia.org/wiki/VP9:
Quote:
-> Does anyone here have a clue how to create VP9 with HLG ? Cu Selur |
|
9th January 2017, 07:58 | #970 | Link | |
Registered User
Join Date: Jul 2015
Posts: 708
|
Quote:
I am writing as an amateur because he didn't compile VP9. For me, reading google is an option only android 7.0. And I think this is April Fool's Day. Then it was written that this isn't an option codec VP9 only container matroska. Not this topic. Option container matroska can be found in the directory libwebm / mkvmuxer / mkvmuxerutil.cc PHP Code:
https://chromium-review.googlesource.com/#/c/400084/ PS The codec has damaged the function fps. Last edited by Jamaika; 9th January 2017 at 15:55. |
|
9th January 2017, 10:05 | #971 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
VP9 itself doesn't signal any of the HDR metadata, neither in HDR10 (ie. PQ) mode or HLG mode, it needs to be signaled through the container (ie. webm/matroska).
So basically, just encode the content mastered in HLG, and then instruct the container to convey the HLG transfer information during muxing. Luckily HLG doesn't need any fancy metadata, other then signaling that the content is in fact HLG.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 9th January 2017 at 10:12. |
10th January 2017, 05:59 | #972 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
So we will have to wait till muxers like mkvtoolnix, mp4box, ffmpeg,.. support signaling the content as HLG and there isn't anything needed for the encoders to support.
Thanks for the explanations. Cu Selur |
10th January 2017, 16:17 | #975 | Link | |
Registered User
Join Date: Jul 2015
Posts: 708
|
Quote:
Code:
./src/mkvmerge \ -o output.mkv\ --colour-matrix 0:9 \ --colour-range 0:1 \ --colour-transfer-characteristics 0:16 \ --colour-primaries 0:9 \ --max-content-light 0:1000 \ --max-frame-light 0:300 \ --max-luminance 0:1000 \ --min-luminance 0:0.01 \ --chromaticity-coordinates 0:0.68,0.32,0.265,0.690,0.15,0.06 \ --white-colour-coordinates 0:0.3127,0.3290 \ input.mov --chroma-subsample 0:1,0 ??? --colour-range 0:2 ??? https://www.youtube.com/watch?v=tO01J-M3g0U |
|
10th January 2017, 16:21 | #976 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
10 bit VP9 is there. Doesn't have to be tagged as 10 bit on the container level to be 10 bit.
https://forum.doom9.org/showpost.php...&postcount=543 Meaning of Matroska values are in the specs: https://www.matroska.org/technical/s...ex.html#Colour |
10th January 2017, 16:29 | #977 | Link | |
Registered User
Join Date: Jul 2015
Posts: 708
|
Quote:
"Free YouTube download" doesn't see the color matrix or HDR. For me fake. Stream #0:1(eng): Video: vp9 (Profile 0), yuv420p(tv, bt709/unknown/unknown), 3840x2160, SAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr, 1k tbn, 1k tbc (default) |
|
10th January 2017, 16:32 | #978 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Read the post I linked. youtube-dl can download the 10 bit (profile 2) streams.
|
10th January 2017, 18:16 | #980 | Link | |
Registered User
Join Date: Jul 2015
Posts: 708
|
Quote:
youtube-dl.exe -o "The World in HDR.webm" -v -f "(mp4)bestvideo/best[height=2160]+bestaudio/best[height=2160]" https://www.youtube.com/watch?v=tO01J-M3g0U And even displays ffmpeg the message. Stream #0:0(eng): Video: vp9 (Profile 2), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160, SAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr, 1k tbn, 1k tbc (default) Side data: Mastering Display Metadata, has_primaries:1 has_luminance:1 r(0.6800,0.3200) g(0.2649,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.001000, max_luminance=1000.000000 ..., but where came it from? It's only change for file 10/12bit apart from the colour range and matix. Last edited by Jamaika; 10th January 2017 at 18:33. |
|
Tags |
google, ngov, vp8, vp9, vpx, webm |
|
|