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.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th April 2023, 13:21   #801  |  Link
MartinEesmaa
Registered User
 
Join Date: Jun 2022
Location: Anywhere
Posts: 10
Hi, Gravitator!

It seems vvencapp reported an error message of your sample file:
Quote:
Parameter Check Error: Detected non-standard Frame Rate 13978/583 (23.98 Hz). Default TicksPerSecond (27000000) can not be used. possible TicksPerSecond: 8149174
You need to add --tickspersec -1 or possible number of console said example 8149174 on vvencapp console command to encode probably VVC video.

I encoded your sample file on my FFmpeg VVCEasy command, but three duplicated frames:
Quote:
ffmpeg_vvceasy -i space_6s.mkv -c:v libvvenc -preset faster -b:v 0 -qp 30 y4m.266
frame= 149 fps= 16 q=0.0 Lsize= 902kB time=00:00:05.96 bitrate=1238.5kbits/s dup=3 drop=0 speed=0.631x
video:902kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
- Martin Eesmaa

Last edited by MartinEesmaa; 10th April 2023 at 01:04.
MartinEesmaa is offline   Reply With Quote
Old 9th April 2023, 13:36   #802  |  Link
Gravitator
Registered User
 
Join Date: May 2014
Posts: 292
It doesn't help.
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB.
Gravitator is offline   Reply With Quote
Old 9th April 2023, 13:39   #803  |  Link
MartinEesmaa
Registered User
 
Join Date: Jun 2022
Location: Anywhere
Posts: 10
Why it doesn't help?

I know why ticks per second could be quite moderate difficult, but I hope Multicoreware x266 encoder doesn't need ticks per second necessary, so we should wait a little bit to get x266 encoder in H2 2023.

Here is the transcoded from your matroska sample file to Y4M report:
Quote:
YUV4MPEG2 W1920 H1080 F13978:583 Ip A1:1 C420mpeg2 XYSCSS=420MPEG2
Try change from F13978:583 to F24000:1001 without using tickspersecond command.

- Martin Eesmaa

Last edited by MartinEesmaa; 9th April 2023 at 13:51.
MartinEesmaa is offline   Reply With Quote
Old 9th April 2023, 13:49   #804  |  Link
Gravitator
Registered User
 
Join Date: May 2014
Posts: 292
The output of the parameter validation error continues.
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB.
Gravitator is offline   Reply With Quote
Old 9th April 2023, 13:52   #805  |  Link
Gravitator
Registered User
 
Join Date: May 2014
Posts: 292
This problem has a connection with the output of yuv4mpegpipe (rawvideo goes without an error).
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB.
Gravitator is offline   Reply With Quote
Old 9th April 2023, 13:59   #806  |  Link
MartinEesmaa
Registered User
 
Join Date: Jun 2022
Location: Anywhere
Posts: 10
Oh ok, I see the rawvideo does not have problems, but Y4M does only some errors for some reasons of frame rate per second.
I looked issue for reference: https://github.com/fraunhoferhhi/vvenc/issues/252.
This could be bug for Fraunhofer HHI VVC encoder.

Maybe I encoded your sample file to libx264 with matroska container without duplicates frames, but encoding to raw bitstream reports duplicate frames. So I think VVC matroska is not finished yet.

I think Fraunhofer HHI VVC encoder is experimental I'd say, but I recommend we wait for Multicoreware x266 encoder or just make issue/discussion to vvenc github repository.

- Martin Eesmaa

Last edited by MartinEesmaa; 9th April 2023 at 14:06.
MartinEesmaa is offline   Reply With Quote
Old 9th April 2023, 14:29   #807  |  Link
Gravitator
Registered User
 
Join Date: May 2014
Posts: 292
They are already treating > https://github.com/fraunhoferhhi/vvenc/pull/255
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB.
Gravitator is offline   Reply With Quote
Old 9th April 2023, 15:30   #808  |  Link
Gravitator
Registered User
 
Join Date: May 2014
Posts: 292
Replace --tickspersecond -1 with --tickspersec -1 > It's going fine now
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB.
Gravitator is offline   Reply With Quote
Old 10th April 2023, 01:03   #809  |  Link
MartinEesmaa
Registered User
 
Join Date: Jun 2022
Location: Anywhere
Posts: 10
Sorry, my bad. It's tickspersec, not tickspersecond. I hope the tickspersec -1 is gonna encode probably.

- Martin Eesmaa

Last edited by MartinEesmaa; 10th April 2023 at 01:07.
MartinEesmaa is offline   Reply With Quote
Old 16th April 2023, 21:56   #810  |  Link
Yups
Registered User
 
Join Date: Sep 2011
Posts: 362
chipsandcheese compared HEVC, AV1, VVC....interesting read.

Codecs for the 4K Era: HEVC, AV1, VVC and Beyond
Yups is offline   Reply With Quote
Old 17th April 2023, 08:38   #811  |  Link
birdie
Artem S. Tashkinov
 
birdie's Avatar
 
Join Date: Dec 2006
Posts: 344
Quote:
Originally Posted by Yups View Post
chipsandcheese compared HEVC, AV1, VVC....interesting read.

Codecs for the 4K Era: HEVC, AV1, VVC and Beyond
From the research: "VVenC is still in heavy development and doesn’t currently support CRF. Therefore, we use the next best option – two-pass variable bitrate (VBR) – for VVC"

What? What version did they use? From 2 years ago?

From https://github.com/fraunhoferhhi/vvenc/wiki/Usage

Code:
--qp,-q 	32 	Quantization parameter (0..63)
which is basically CRF.
birdie is offline   Reply With Quote
Old 17th April 2023, 09:19   #812  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
QP and CRF is not the same. CRF will modify the QP to compensate for frame complexity, providing similar "perceived" quality for all frames, while keeping bitrate in check.
Constant QP is the simplest compression mode you can think of, really, as you don't do any rate-control at all.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 17th April 2023 at 09:21.
nevcairiel is online now   Reply With Quote
Old 17th April 2023, 16:47   #813  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,125
Quote:
Originally Posted by birdie View Post

What? What version did they use? From 2 years ago?
it says they used v1.7.0 which was released 5 months ago.
hajj_3 is offline   Reply With Quote
Old 22nd May 2023, 11:21   #814  |  Link
birdie
Artem S. Tashkinov
 
birdie's Avatar
 
Join Date: Dec 2006
Posts: 344
A native VVC decoder has been submitted to FFmpeg: https://www.mail-archive.com/ffmpeg-...eg.org/#147681

There's a number of objections, so it's not yet a done deal.
birdie is offline   Reply With Quote
Old 31st May 2023, 02:41   #815  |  Link
Dann0245
Registered User
 
Join Date: Apr 2020
Posts: 23
Is VVC film grain synthesis real?

https://github.com/fraunhoferhhi/vvenc/issues/278
Dann0245 is offline   Reply With Quote
Old 31st May 2023, 12:55   #816  |  Link
quietvoid
Registered User
 
Join Date: Jan 2019
Location: Canada
Posts: 574
Film grain synthesis in VVC would probably be based on the H.274 Film grain characteristics SEI.
Given HEVC supports it, I assume VVC will as well.
__________________
LG C2 OLED | GitHub Projects
quietvoid is offline   Reply With Quote
Old 1st June 2023, 23:32   #817  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
Quote:
Originally Posted by quietvoid View Post
Film grain synthesis in VVC would probably be based on the H.274 Film grain characteristics SEI.
Given HEVC supports it, I assume VVC will as well.
The AV1 FGS implementation seems richer (although still with its own issues). And it's entirely post processing. I've heard interest in letting VVC be able to access that mode as well via SEI.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 29th June 2023, 23:39   #818  |  Link
ShortKatz
Registered User
 
Join Date: Aug 2018
Location: Germany
Posts: 119
Quote:
Originally Posted by birdie View Post
A native VVC decoder has been submitted to FFmpeg: https://www.mail-archive.com/ffmpeg-...eg.org/#147681

There's a number of objections, so it's not yet a done deal.
Seems some parts have been checked in to the main code now. But I have no idea which parts and which VVC functions FFmpeg now has.
ShortKatz is offline   Reply With Quote
Old 4th July 2023, 10:29   #819  |  Link
birdie
Artem S. Tashkinov
 
birdie's Avatar
 
Join Date: Dec 2006
Posts: 344
Quote:
Originally Posted by ShortKatz View Post
Seems some parts have been checked in to the main code now. But I have no idea which parts and which VVC functions FFmpeg now has.
Native VVC support is a go! I guess we'll have preliminary support very soon, in less than a month.
birdie is offline   Reply With Quote
Old 5th July 2023, 19:59   #820  |  Link
ShortKatz
Registered User
 
Join Date: Aug 2018
Location: Germany
Posts: 119
Quote:
Originally Posted by birdie View Post
Native VVC support is a go! I guess we'll have preliminary support very soon, in less than a month.
That would be wonderful. At the moment the decoder/encoder is still missing. You can mux a VVC stream from e.g. a MP4 container into a MKV container. But converting the VVC stream into any other format fails. Same for converting any video stream into VVC.
ShortKatz is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:29.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.