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 8th February 2019, 11:41   #1  |  Link
kabelbrand
Compression mode: Lousy
 
kabelbrand's Avatar
 
Join Date: Mar 2009
Location: Hamburg, Germany
Posts: 73
x265 chunk encoding usage

I'm trying to figure out the proper usage of the --chunk-start and --chunk-end options introduced in version 2.9

I guess it works as described but what is the use case here? I thought this is intended for parallel processing but it seems ALL the frames before --chunk-start are fully encoded and then discarded.

So instead of reducing the turnaround time this is no faster than a single complete encode and the total amout of processing time is MUCH higher.

Any comments? Thanks.

Last edited by kabelbrand; 8th February 2019 at 12:00.
kabelbrand is offline   Reply With Quote
Old 8th February 2019, 15:47   #2  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 2,922
Quote:
Originally Posted by kabelbrand View Post
I'm trying to figure out the proper usage of the --chunk-start and --chunk-end options introduced in version 2.9

I guess it works as described but what is the use case here? I thought this is intended for parallel processing but it seems ALL the frames before --chunk-start are fully encoded and then discarded.

So instead of reducing the turnaround time this is no faster than a single complete encode and the total amout of processing time is MUCH higher.
It's used to allow rate control to have some state information about the frames before and after the segment being encoded. One would only encode a little bit before and after, not the entire file.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 8th February 2019, 16:17   #3  |  Link
kabelbrand
Compression mode: Lousy
 
kabelbrand's Avatar
 
Join Date: Mar 2009
Location: Hamburg, Germany
Posts: 73
Thanks Ben. Should this be used in conjunction with --seek and --frames then?

So if I wanted to encode frames 1000-2000 (24fps, 1s VBV Buffer, 1s RC Lookahead) I'd roughly use:
Code:
--seek 976 --chunk-start 24 --chunk-end 1024 --frames 1048
?
kabelbrand is offline   Reply With Quote
Old 8th February 2019, 20:28   #4  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 2,922
I'm not sure about the syntax, but I think that's the general idea.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Reply

Tags
chunk, x265

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 13:27.


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