With upcoming changes to data protection and privacy laws in Europe coming into effect soon, we thought this would be a good time to remind everyone that we do have a privacy policy.
This applies to all users and visitors world-wide.

We have made a few changes to the language to make it clearer in relation to this new regulation but fundamentally, the terms and your rights are unchanged.

If you have any questions about this, please feel free to ask in the General Forum

Does Handbrake eliminate filler Bytes (NALUs)?

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
Filmriss
Regular User
Posts: 111
Joined: Sun Jun 21, 2015 8:21 pm

Does Handbrake eliminate filler Bytes (NALUs)?

Post by Filmriss » Sat Aug 12, 2017 9:12 pm

Does it?

User avatar
Rodeo
HandBrake Team
Posts: 11868
Joined: Tue Mar 03, 2009 8:55 pm

Re: Does Handbrake eliminate filler Bytes (NALUs)?

Post by Rodeo » Sat Aug 12, 2017 9:39 pm

You'll have to be more specific about what you mean by "filler bytes", that can mean several things. Also a context about why you care/need to know would help :)

Filmriss
Regular User
Posts: 111
Joined: Sun Jun 21, 2015 8:21 pm

Re: Does Handbrake eliminate filler Bytes (NALUs)?

Post by Filmriss » Sat Aug 12, 2017 9:50 pm

OK :)

In Germany the public TV broadcasters send VBR streams in a CBR set, so they need to fill it with filler bytes. My PVR can record them. I would like to save them to my PC (e.g. for educational purpose) and I wondered, if I should eliminate the filler bytes beforehand in a remux tool or if Handbrake does this anyway.

Woodstock
Veteran User
Posts: 2562
Joined: Tue Aug 27, 2013 6:39 am

Re: Does Handbrake eliminate filler Bytes (NALUs)?

Post by Woodstock » Sat Aug 12, 2017 10:57 pm

If what you're referring to is the redundant, out-of-sequence frames that are sent as part of an over-the-air broadcast, those can be problematic, and you may need to repair the data stream before it gets to handbrake.

But running a test encode, and providing the logs generated, would help with this currently-theoretical discussion.

WhatZit
Posts: 77
Joined: Sat Feb 13, 2016 2:45 am

Re: Does Handbrake eliminate filler Bytes (NALUs)?

Post by WhatZit » Sun Aug 13, 2017 6:14 am

Woodstock wrote:
Sat Aug 12, 2017 10:57 pm
If what you're referring to is the redundant, out-of-sequence frames that are sent as part of an over-the-air broadcast, those can be problematic, and you may need to repair the data stream before it gets to handbrake.
No, he's referring to the all-too-common NAL Unit Type 12/0x0C (Filler Data, Non-VCL), defined by the header byte immediately following the Start Code.

Therefore, I believe what he was actually asking about was whether type 12 payload data in the source is discarded by HandBrake.

User avatar
Rodeo
HandBrake Team
Posts: 11868
Joined: Tue Mar 03, 2009 8:55 pm

Re: Does Handbrake eliminate filler Bytes (NALUs)?

Post by Rodeo » Sun Aug 13, 2017 11:37 am

Yes, HandBrake decodes the bitstream to uncompressed video in RAM, at which point the input bitstream characteristics are no longer applicable. The video decoder is capable of discarding these NAL units just fine. And our video encoders don't insert such units in the output bitstream unless specifically requested.

Post Reply