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 > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st June 2018, 14:11   #6141  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
Quote:
Originally Posted by Ashok Kumar Mishra View Post
5. VMAF (Video Multi-Method Assessment Fusion)
Added VMAF support for objective quality measurement of a video sequence.

Enable cmake option ENABLE_LIBVMAF to report per frame and aggregate VMAF score. The frame level VMAF score does not include temporal scores.

This is supported only on linux for now.
Because... ???
Midzuki is offline   Reply With Quote
Old 1st June 2018, 14:17   #6142  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,752
I already wondered some time before you ... maybe due to the way how libvmaf is available for and can be installed in the OS; maybe due to the way how the library can be linked.

But since I read that placing VMAF into the encoder may not be the best solution for comparable results with other encoders, I will possibly not include it in my MinGW builds, even if it would ever work at all.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 5th June 2018, 14:46   #6143  |  Link
Barough
Registered User
 
Barough's Avatar
 
Join Date: Feb 2007
Location: Sweden
Posts: 480
x265 v2.8+13-617590cb8b98 (GCC 7.3.0, 32 & 64-bit 8/10/12bit Multilib Windows Binaries)

Code:
https://bitbucket.org/multicoreware/x265/commits/branch/default
Barough is offline   Reply With Quote
Old 11th June 2018, 11:53   #6144  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,752
x265 2.8+19-bcdc610cf5f0

Support scale factor with analysis-reuse-level 1-6; fix build issue when using icc; add support for chunked encoding*; use the data structure of analysis-save/load for multi-pass-opt-analysis/multi-pass-opt-distortion; add vbv-end tolerance check

Code:
   --chunk-start <integer>       First frame of the chunk. Default 0 (disabled)
   --chunk-end <integer>         Last frame of the chunk. Default 0 (disabled)
* this seems to allow the output of parts of a GOP, with bitrate control beyond this GOP where required, possibly to support "smart rendering"
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 11th June 2018, 18:43   #6145  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
@developers: Any insight into chunked encoding and what it is meant to be for would be nice.
@LigH: sounds to me more like something meant for distributed encoding rather than 'smart rendering'.
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 11th June 2018 at 18:46.
Selur is offline   Reply With Quote
Old 11th June 2018, 20:08   #6146  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,752
--chunk-start <integer>

Quote:
First frame of the chunk. Frames preceeding this in display order will be encoded, however, they will be discarded in the bitstream. This feature can be enabled only in closed GOP structures. Default 0 (disabled).
--chunk-end <integer>

Quote:
Last frame of the chunk. Frames following this in display order will be used in taking lookahead decisions, but, they will not be encoded. This feature can be enabled only in closed GOP structures. Default 0 (disabled).
Distributed encoding can possibly be limited to GOP ranges and VBV level control. Okay, frame exact splitting may be a bonus.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 12th June 2018, 23:00   #6147  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
Quote:
Originally Posted by Selur View Post
@developers: Any insight into chunked encoding and what it is meant to be for would be nice.
@LigH: sounds to me more like something meant for distributed encoding rather than 'smart rendering'.
That said, the underlying technology can be used in all sorts of way.

Selective reencoding is another obvious application.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 12th June 2018, 23:13   #6148  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
Quote:
Originally Posted by LigH View Post
Distributed encoding can possibly be limited to GOP ranges and VBV level control. Okay, frame exact splitting may be a bonus.
About the bare minimum useful chunk duration is at least one GOP and practically one (vbv-maxrate+vbv_bufsize)/vbv-maxrate. The second requirement can be loosened if the system will selectively reencode chunks when a sequence of chunks would violate VBV. Short chunks without the ability to reencode means that VERY conservative VBV must be used.

Consider two chunks that are relatively easy to encode except for a big complexity spike at the split point between chunks. Using normal rate control, each chunk would get most of their bits at the split point, since neither chunk knew the other was going to stress the VBV, and so the combination causes a VBV violation.

Cutting vbv-maxrate and vbv-bufsize to half of the "real" maximum values you want can fix the problem, but has obvious quality impact for many use cases.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 13th June 2018, 01:36   #6149  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Is there any way to x265 to let Windows know that it's busy encoding to prevent a Windows update from rebooting the PC during an encode? I thought I read before that there's a way for an application to let the OS know it's "busy" so that it won't reboot while the application is crunching away.

Currently Windows 10 will happily reboot mid x264 or x265 encode even if the CPU is pegged at 100%.
Stereodude is offline   Reply With Quote
Old 13th June 2018, 07:17   #6150  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,752
This may possibly be solved easier in user interfaces; but I will forward this to the mailing list for you to lead the developers' attention here.

P.S.: I wonder if you could use the ShutdownBlockReasonCreate function to postpone it.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 13th June 2018 at 07:25.
LigH is offline   Reply With Quote
Old 14th June 2018, 13:36   #6151  |  Link
Barough
Registered User
 
Barough's Avatar
 
Join Date: Feb 2007
Location: Sweden
Posts: 480
x265 v2.8+21-a8a5ccf5aaf7 (GCC 7.3.0, 32 & 64-bit 8/10/12bit Multilib Windows Binaries)

Code:
https://bitbucket.org/multicoreware/x265/commits/branch/default
Barough is offline   Reply With Quote
Old 14th June 2018, 23:31   #6152  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Quote:
Originally Posted by LigH View Post
This may possibly be solved easier in user interfaces; but I will forward this to the mailing list for you to lead the developers' attention here.

P.S.: I wonder if you could use the ShutdownBlockReasonCreate function to postpone it.
Well, I call it directly from the command line with no GUI.

What's the x265 equivalent to --stitchable with x264 or is nothing needed to piece separate encodes together (that used the same command line)?
Stereodude is offline   Reply With Quote
Old 14th June 2018, 23:35   #6153  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
AFAIK there is no equivalent as x265 doesn't do the kind of "header optimizations" x264 did. So you should be able to stitch x265 encodes done with the same settings without problems.
sneaker_ger is offline   Reply With Quote
Old 15th June 2018, 03:59   #6154  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
I would have assumed that --repeat-headers should be used for this scenario.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 15th June 2018, 10:17   #6155  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Repeating headers can mitigate problems. It's the same with x264 if you encode to raw .264 ES, i.e. the SPS/PPS will be at every keyframe. But SPS/PPS can still be different for every encode without --stitchable even with identical settings. But not with x265. Well, at least that was what I concluded when I tested it a long time ago...
sneaker_ger is offline   Reply With Quote
Old 21st June 2018, 19:15   #6156  |  Link
Barough
Registered User
 
Barough's Avatar
 
Join Date: Feb 2007
Location: Sweden
Posts: 480
x265 v2.8+23-656b5b442f0b (GCC 7.3.0, 32 & 64-bit 8/10/12bit Multilib Windows Binaries)

Code:
https://bitbucket.org/multicoreware/x265/commits/branch/default
Barough is offline   Reply With Quote
Old 21st June 2018, 19:36   #6157  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Quote:
CEA 608/708 Support Parse the SEI messages from text file and insert it into the userSEI with cli option. .
Okay, so now we can add closed caption subtitle into the bitstream. Anybody got a script or small tool to convert srt to CEA 608/708 ?
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 25th June 2018, 09:05   #6158  |  Link
Ma
Registered User
 
Join Date: Feb 2015
Posts: 326
Quote:
Originally Posted by Stereodude View Post
Currently Windows 10 will happily reboot mid x264 or x265 encode even if the CPU is pegged at 100%.
My solution is to switch off Windows Update (before I want encoding):
https://www.easeus.com/todo-backup-r...ly-update.html (Solution 1. Disable Windows Update Service)

Last edited by Ma; 25th June 2018 at 09:09.
Ma is offline   Reply With Quote
Old 26th June 2018, 09:30   #6159  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,752
New build postponed, a patch renaming the new option is being proposed...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 27th June 2018, 12:24   #6160  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,752
x265 2.8+24-289b8a3730ae

Code:
   --nalu-file <filename>        Text file containing SEI messages in the following format : <POC><space><PREFIX><space><NAL UNIT TYPE>/<SEI TYPE><space><SEI Payload>
was --usersei-file a "moment" ago...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH 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 10:16.


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