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 |
5th April 2018, 20:46 | #41 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
|
Out of interest... What is 4.2.0 'type 2' all about? I've noticed it cropping up in a few of my sample files...
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
5th April 2018, 20:59 | #43 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
Quote:
Type 0 is the "normal" type for 4:2:0 which we've been using for years, also known as the MPEG2-type (MPEG1 was different) - for every 4 Luma samples, the Chroma sample sits in between the two Luma samples on the left Like this, Luma being X, Chroma o Code:
X X o X X (Chroma location in red) Code:
X X X X
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 5th April 2018 at 21:05. |
|
5th April 2018, 21:02 | #44 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
|
Thanks.
Does 'type 2' offer any benefit over regular 4.2.0?
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
5th April 2018, 21:25 | #45 | Link |
ffx264/ffhevc author
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
|
I'm not sure but nev explained it above much better than my extremely short post. What i meant as yuv420p10 is that you'll only come it across on 10 bits files. I've never seen a Type 2 on 8 bits ones, like never
|
5th April 2018, 21:27 | #46 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
I don't know why they decided to change it. Maybe because its simpler? But basically, unless you are downsampling your own chroma, you just have to use the value that matches your content.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
5th April 2018, 21:42 | #48 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
|
Sorry Nev, I missed your post in between posting my reply to froggy.
There's a guy over on the AVforum who's having a problem playing certain "Nvidia Encoded HEVC files" on his LG Oled B6. I asked him to upload a MediaInfo file report and the only odd thing I could see was the 'type 2' tag. I looked through my HEVC samples and found a few a 'type 2' tag files that play fine on my humble LG 65UH770V. Anyway, I've asked him to provide some samples. Many thanks for the replies everyone
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
6th April 2018, 20:49 | #49 | Link | |
Registered User
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
|
Quote:
Edit: Would 50% downscaling be faster and better quality? After all we already have all the exact chroma samples we need without any shifts or interpolation. This would be pretty common, displaying UHD on FHD displays.
__________________
madVR options explained Last edited by Asmodian; 6th April 2018 at 20:54. |
|
7th April 2018, 11:00 | #50 | Link | |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
|
Quote:
Code:
MKV, 1 video track, 1 audio track, 0:00:29, 48i /1.001 1: h265/HEVC, 3840x2176 48i /1.001 (30:17), 10 bits 2: AC3, 5.1 channels, 640kbps, 48kHz [v01] Extracting video track number 1... [a02] Extracting audio track number 2... [v01] This doesn't seem to be a valid h265/HEVC stream (3). <ERROR> Aborted at file position 44040192. <ERROR> And just to make matters even stranger... When I re-muxed his samples into the .m2ts container using TSmuxer GUI v2.6.12, they actually played on my LG 65UH770V
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
Last edited by SeeMoreDigital; 7th April 2018 at 11:04. |
|
7th April 2018, 17:16 | #51 | Link | |
Registered User
Join Date: Jul 2012
Posts: 1,213
|
Quote:
Could be cmd line or source filter issue |
|
7th May 2018, 02:01 | #52 | Link |
Registered User
Join Date: Sep 2017
Posts: 5
|
Can someone explain why --uhd-bd option is forcing --no-open-gop option? The problem is Scenarist UHD can't mux seamless connected clips with closed-gop encoded streams. Sure I can turn off --uhd-bd option and manually set parameters that makes compliant UHD BD stream, but with open GOP. That way Scenarist can mux seamless, I'm just aware of compatibility with hardware players.
Last edited by Qarmaa; 7th May 2018 at 02:16. |
7th May 2018, 08:21 | #53 | Link |
Registered User
Join Date: Sep 2017
Posts: 5
|
In addition to previous post. I'm getting following error when trying to mux stream encoded with --uhd-bd (closed GOP):
Code:
Error : [MUX] Can not write MUX file(s) : Could not create MUX XML File(Video data in TS2 does not start with a closed GOP.[PlayList: PlayList#1, PlayItem : Clip#2, Clip: Clip#2]) |
7th May 2018, 09:14 | #54 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,904
|
@Qarmaa... I think it's to increase compatibility with some players that might have difficulties with a GOP that is too long. In broadcast, a closed GOP is required, not sure about UHD BDs.
|
9th May 2018, 05:00 | #58 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,904
|
@TEB and @excellentswordfight... I guess our playout playback ports are just particularly picky and demand it, then. For instance, the oldish ones we used for XDCAM50 1080i and the very old ones we used for DV25 576i required closed GOP. They were actually able to play open GOP files, but it wasn't recommended by specs and they said that it should have been avoided, in fact we tried with open GOP files and they took like a lot to seek, they were almost unseekable and this created issues coming back from a commercial break to resume playback at a specific timecode. They are probably one of the cheapest, yet crappiest playout ports. I wouldn't be surprised if other ports used by other companies (like yours) were able to play Open GOP files flawlessly.
Last edited by FranceBB; 9th May 2018 at 05:27. |
9th May 2018, 14:47 | #59 | Link | |
Lost my old account :(
Join Date: Jul 2017
Posts: 325
|
Quote:
|
|
17th May 2018, 17:27 | #60 | Link |
Registered User
Join Date: Apr 2018
Posts: 22
|
I see that Google has an official documentation page for VP9 HDR encoding with ffmpeg
https://developers.google.com/media/vp9/hdr-encoding/ I took most of the settings from here and changed libvpx-vp9 to libx265 and my Vizio TV detects and plays HDR10 (shows HDR10 info). Code:
ffmpeg -i strobe_scientist_18Mbps.webm -b:v 18000000 -pass 1 \ -pix_fmt yuv420p10le \ -color_primaries 9 -color_trc 16 -colorspace 9 -color_range 1 \ -maxrate 26800000 -minrate 8040000 -profile:v 2 -vcodec libvpx-vp9 /dev/null && \ ffmpeg -i strobe_scientist_18Mbps.webm -b:v 18000000 -pass 2 \ -pix_fmt yuv420p10le \ -color_primaries 9 -color_trc 16 -colorspace 9 -color_range 1 \ -maxrate 26800000 -minrate 8040000 -profile:v 2 -vcodec libvpx-vp9 \ strobe_scientist_18Mbps.webm
|
|
|