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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th August 2021, 22:39   #481  |  Link
Funky080900
Registered User
 
Join Date: Aug 2019
Posts: 16
Quote:
ffmpeg.exe -i "AVS Script.avs" -strict -1 -an -f yuv4mpegpipe - | vvencapp.exe -i - --preset medium --format yuv420 --bitrate 25000 --profile auto --level 5.0 --hdr pq --passes 1 --output "VVC.h266"

pause
In VVenC bitrate is specified in bits per second rather than kilobits/second. So 25000 is just 25 kbps which is probably not what you wanted.
Funky080900 is offline   Reply With Quote
Old 14th August 2021, 12:59   #482  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,908
Quote:
Originally Posted by Funky080900 View Post
In VVenC bitrate is specified in bits per second rather than kilobits/second. So 25000 is just 25 kbps which is probably not what you wanted.
Dammit, I figured it out when I saw the final file being as little as 14 MB and I was like: WUT?!
Now I'm gonna try again with 25000000 bits per second which should be 25000 kbits/s so 25 Mbit/s and after that I'll show you some nice SSIM/PSNR stats.

Quote:
Originally Posted by ksec View Post
Ok the last pic is just showing off
Eheheheh you got me xD

Quote:
Originally Posted by benwaggoner View Post
What kind of fps did you get?
It doesn't say in the cmd, but it was definitely much faster than VTM as VVEnc took around 1h to encode 6000 frames in UHD, so with a very basic calculation we have 6000 FPH, 100 FPM and around 2 FPS. Taking into account the 1 Gbit/s network slowdown (the source was a 1.5 Gbit/s 12bit 4:4:4 Apple ProRes), the fact that Avisynth indexers like ffms2 are not particularly optimized for it and the pipe of the pipe (Avisynth -> FFMpeg -> VVEnc) that's surprisingly fast for a reference encoder which is not using all the cores.

Last edited by FranceBB; 14th August 2021 at 13:46.
FranceBB is online now   Reply With Quote
Old 14th August 2021, 13:41   #483  |  Link
Gravitator
Registered User
 
Join Date: May 2014
Posts: 292
Quote:
Originally Posted by funky080900 View Post
in vvenc bitrate is specified in bits per second rather than kilobits/second. So 25000 is just 25 kbps which is probably not what you wanted.
I got caught too!
--bitrate, --kbitrate, --mbitrate
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB.
Gravitator is offline   Reply With Quote
Old 14th August 2021, 16:17   #484  |  Link
MythCreator
Registered User
 
Join Date: Dec 2007
Location: Beijing,China
Posts: 92
Quote:
Originally Posted by FranceBB View Post
Where? Your link leads me to an empty folder.
Are you sure you made it public?






Ah, really? That's good to know.



That's a shame, really, as ffmpeg is used as a decoder by many programs and it's the base of our beloved Avisynth indexers and also MPV which is my de facto player of choice.




That's nice, 3fps for FULL HD is acceptable and I think I can use it to finally have a proper test with my UHD Masterfile.
I'll let you know how it goes as soon as I get my hands on a Windows build (if @MythCreator replies)
It's public now, sorry for the inconvenient...

And as to the extremely slow, I think maybe it's something with my script?
vspipe "test.vpy" - | vvencapp.exe -s 1920x1080 --framerate 23.976 -f 500 --threads 16 --preset slower -q 18 -i - --output "test.vvc"

I dithered bit depth to 10 in vpy, the ET for only 1 frame is around 500.
__________________
Ryzen 7 3700X
GTX1660S

Ryzen 7 5800X
RTX2060S
MythCreator is offline   Reply With Quote
Old 14th August 2021, 16:26   #485  |  Link
Gravitator
Registered User
 
Join Date: May 2014
Posts: 292
Quote:
Originally Posted by MythCreator View Post
It's public now, sorry for the inconvenient...
Share the decoder?
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB.
Gravitator is offline   Reply With Quote
Old 14th August 2021, 16:36   #486  |  Link
MythCreator
Registered User
 
Join Date: Dec 2007
Location: Beijing,China
Posts: 92
Quote:
Originally Posted by Gravitator View Post
Share the decoder?
Done.
__________________
Ryzen 7 3700X
GTX1660S

Ryzen 7 5800X
RTX2060S
MythCreator is offline   Reply With Quote
Old 14th August 2021, 17:59   #487  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,908
Quote:
Originally Posted by MythCreator View Post
as to the extremely slow, I think maybe it's something with my script?
vspipe "test.vpy" - | vvencapp.exe -s 1920x1080 --framerate 23.976 -f 500 --threads 16 --preset slower -q 18 -i - --output "test.vvc"

I dithered bit depth to 10 in vpy, the ET for only 1 frame is around 500.
I don't know, it shouldn't make any difference if your pipe comes from VapourSynth and mine from Avisynth, however with me getting around 2 FPS for UHD, I expected you to get more than 3FPS for FULL HD. Still, 2fps is something I can live with as it's dramatically faster than VTM. About the dithering, I have been dithering down the input as well in Avisynth using the Floyd Steinberg error diffusion. Anyway, next week, when I'm gonna have the server free from whatever my coworkers here at Sky are encoding, I'm gonna re-encode a few masterfiles in H.266, H.265, H.264 and MPEG-2 at the same bitrate, namely 25 Mbit/s and see how they behave.
FranceBB is online now   Reply With Quote
Old 14th August 2021, 18:35   #488  |  Link
Gravitator
Registered User
 
Join Date: May 2014
Posts: 292
Quote:
Originally Posted by MythCreator View Post
Done.
Thanks!
------
Who has a thought about the reason for the violation of the exit from me?
Enc:
Code:
C:\>ffmpeg -i z:/space_6s.mkv -pix_fmt yuv420p -frames 1 -f yuv4mpegpipe - | vvencapp.exe -s 1920x1080 --framerate 23.976 --threads 2 --preset medium -q 30 -i - --output z:\test.vvc
Dec_1:
Code:
C:\>vvdecapp.exe -b z:\test.vvc -o z:\exit.yuv
Dec_2
Code:
C:\>ffmpeg -video_size 1920x1080 -framerate 23976/1001 -pix_fmt yuv420p10le -i z:\exit.yuv z:\output.jpeg


The problem is solved through the second feeding method:
Code:
C:\>ffmpeg -i z:/space_6s.mkv -pix_fmt yuv420p -frames 1 -f rawvideo - | vvencapp.exe -s 1920x1080 --framerate 23.976 --threads 2 --preset medium -q 30 -i - --output z:\test2.vvc
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB.

Last edited by tebasuna51; 28th August 2021 at 08:56.
Gravitator is offline   Reply With Quote
Old 15th August 2021, 04:28   #489  |  Link
MythCreator
Registered User
 
Join Date: Dec 2007
Location: Beijing,China
Posts: 92
Quote:
Originally Posted by FranceBB View Post
I don't know, it shouldn't make any difference if your pipe comes from VapourSynth and mine from Avisynth, however with me getting around 2 FPS for UHD, I expected you to get more than 3FPS for FULL HD. Still, 2fps is something I can live with as it's dramatically faster than VTM. About the dithering, I have been dithering down the input as well in Avisynth using the Floyd Steinberg error diffusion. Anyway, next week, when I'm gonna have the server free from whatever my coworkers here at Sky are encoding, I'm gonna re-encode a few masterfiles in H.266, H.265, H.264 and MPEG-2 at the same bitrate, namely 25 Mbit/s and see how they behave.
I figured it out lol. --preset slower shouldn't be named as slower, placebo is more accurate. --preset fast is 100 times faster than Slower at least.
__________________
Ryzen 7 3700X
GTX1660S

Ryzen 7 5800X
RTX2060S
MythCreator is offline   Reply With Quote
Old 15th August 2021, 10:04   #490  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,908
Quote:
Originally Posted by MythCreator View Post
--preset slower shouldn't be named as slower, placebo is more accurate.
LOL
It's a good thing that I generally stick with --preset medium then ehehehehehe
FranceBB is online now   Reply With Quote
Old 15th August 2021, 13:40   #491  |  Link
Gravitator
Registered User
 
Join Date: May 2014
Posts: 292
Code:
C:\>ffmpeg -i z:/space_6s.mkv -pix_fmt yuv420p -f rawvideo - | vvencapp.exe -s 1920x1080 --framerate 23.976 --rskip 0 --threads 2 --preset medium -q 30 -i - --output z:\VVC_R0.vvc
I get this:
Quote:
command line error: Unknown option `rskip' (value:`0')
How to disable --rskip?
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB.
Gravitator is offline   Reply With Quote
Old 15th August 2021, 15:42   #492  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
Please do not assume that vvencapp supports all the same parameters as x265. You won't find an rskip parameter mentioned in vvencapp --fullhelp
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 15th August 2021, 16:20   #493  |  Link
Gravitator
Registered User
 
Join Date: May 2014
Posts: 292
Quote:
Originally Posted by LigH View Post
Please do not assume that vvencapp supports all the same parameters as x265. You won't find an rskip parameter mentioned in vvencapp --fullhelp
Terribly scarce settings
Let's wait for advanced modification of ...
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB.
Gravitator is offline   Reply With Quote
Old 16th August 2021, 01:03   #494  |  Link
Funky080900
Registered User
 
Join Date: Aug 2019
Posts: 16
There is the “full-featured” version of VVenC which has more settings. Don't know about rskip tho.
Funky080900 is offline   Reply With Quote
Old 16th August 2021, 18:58   #495  |  Link
Gravitator
Registered User
 
Join Date: May 2014
Posts: 292
Quote:
Originally Posted by Funky080900 View Post
There is the “full-featured” version of VVenC which has more settings.
Where is it?
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB.
Gravitator is offline   Reply With Quote
Old 16th August 2021, 19:30   #496  |  Link
Funky080900
Registered User
 
Join Date: Aug 2019
Posts: 16
You should get both vvencapp and vvencFFapp when following the build instructions.
Funky080900 is offline   Reply With Quote
Old 17th August 2021, 09:11   #497  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
They still depend on Visual Studio. Or are Jamaika's patches still sufficient for compilation with GCC (maybe in MABS)?
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 17th August 2021, 16:04   #498  |  Link
Gravitator
Registered User
 
Join Date: May 2014
Posts: 292
A new VVC ecoder at the AV1 level (visually gives 25% better quality than x265).
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB.
Gravitator is offline   Reply With Quote
Old 17th August 2021, 16:15   #499  |  Link
birdie
Artem S. Tashkinov
 
birdie's Avatar
 
Join Date: Dec 2006
Posts: 345
Quote:
Originally Posted by Gravitator View Post
A new VVC ecoder at the AV1 level (visually gives 25% better quality than x265).
Is this a question or a statement? If the latter it's very much debatable because from what I've seen VVC is much much better than AV1 while being a lot less computationally expensive. In terms of compression efficiency only AV2 targets VVC but then again at the expense of being more CPU hungry.

I'm curious MulticoreWare has pretty much ceased x265 development (there have been very few commits for the past half a year), yet x266 is nowhere to be seen. Ha! Their x266 GIT repo does exist but it's for authorized users only.

Last edited by birdie; 17th August 2021 at 16:20.
birdie is offline   Reply With Quote
Old 17th August 2021, 16:40   #500  |  Link
Gravitator
Registered User
 
Join Date: May 2014
Posts: 292
Quote:
Originally Posted by birdie View Post
Is this a question or a statement? If the latter it's very much debatable because from what I've seen VVC is much much better than AV1 while being a lot less computationally expensive. In terms of compression efficiency only AV2 targets VVC but then again at the expense of being more CPU hungry.
This is a statement on my test.
I expect that disabling --rskip should give VVC: medium a victory over x265: placebo.
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB.
Gravitator is offline   Reply With Quote
Reply


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 16:20.


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