Hi list,
This is the test version 0.0.1 of my h.264 nalu fill data removal tool.
The tool deletes NALU fill data from h.264 streams embedded into TS files, like VDR recordings. The overall file structure isn't modified, only complete TS packets of NALU fill data are removed. On HD TV channels that use fixed video bandwidth, this can save 40-60% file size without loosing any data.
Version 0.0.1 is a standalone tool to process single files, and is mainly for compatibility tests and verification. Please use it on recordings, then check whether these recordings seem un-modified, and if you have, use stream verification tools like ts-doctor for verification.
Later versions will also integrate into VDR as a patch, and will filter out these fillers while recording.
For backgrounds, and for the Nalustripper tool of MartenR, see http://www.vdr-portal.de/board/thread.php?threadid=98948
For vdrportal topic, see: http://www.vdr-portal.de/board/thread.php?threadid=102634
Source code available here:
http://www.udo-richter.de/vdr/naludump.html (de) http://www.udo-richter.de/vdr/naludump.en.html (en)
For code readers: Most files are stripped-down versions of VDR code. New code is in naludump.c (basic file processing) and remux.c (class cNaluDumper and some helper functions).
Cheers,
Udo
Hi Udo,
On 01.01.2011 22:29, Udo Richter wrote:
Later versions will also integrate into VDR as a patch, and will filter out these fillers while recording.
Is there any progress on this topic? For me that’s the most useful use case and I’d like to beta-test any VDR patch on this topic.
– Matthias
Am 21.01.2011 12:40, schrieb Matthias Wächter:
On 01.01.2011 22:29, Udo Richter wrote:
Later versions will also integrate into VDR as a patch, and will filter out these fillers while recording.
Is there any progress on this topic? For me that’s the most useful use case and I’d like to beta-test any VDR patch on this topic.
I had some issues integrating it properly into the recording function of VDR, and then ran out of time. But I think I'll find some time this weekend.
Cheers,
Udo
On Sat, Jan 1, 2011 at 1:29 PM, Udo Richter udo_richter@gmx.de wrote:
Hi list,
This is the test version 0.0.1 of my h.264 nalu fill data removal tool.
The tool deletes NALU fill data from h.264 streams embedded into TS files, like VDR recordings. The overall file structure isn't modified, only complete TS packets of NALU fill data are removed. On HD TV channels that use fixed video bandwidth, this can save 40-60% file size without loosing any data.
I tried this on 3 different HD h264 recordings from 3 different channels. In all cases no packets were dropped. However, I don't believe my provider wastes bandwidth with fill data so that would explain it.
Best regards, Derek
Am 01.01.2011 22:29, schrieb Udo Richter:
Later versions will also integrate into VDR as a patch, and will filter out these fillers while recording.
I've released an quick & early naludump patch for vdr-1.7.16, you can get it at VDR portal: http://www.vdr-portal.de/board/thread.php?postid=979062#post979062
To activate the patch, you have to add 'NALUDUMP' to the recording name.
An more polished official patch and the corresponding command line tool will follow next weekend.
Oh, and @Rolf: The patch hijacks the stream right before the disk write, always processes the whole buffer, and just needs an 188 byte temp buffer for TS packet fragments. This in-buffer rewrite was really annoying complicated!
Cheers,
Udo