Does Handbrake eliminate filler Bytes (NALUs)?
Re: Does Handbrake eliminate filler Bytes (NALUs)?
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
Re: Does Handbrake eliminate filler Bytes (NALUs)?
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.
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.
Re: Does Handbrake eliminate filler Bytes (NALUs)?
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.
But running a test encode, and providing the logs generated, would help with this currently-theoretical discussion.
Re: Does Handbrake eliminate filler Bytes (NALUs)?
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.
Re: Does Handbrake eliminate filler Bytes (NALUs)?
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.