Re: Voids in Matroska
"Sebastian G. <bastik> via Matroska-devel" <[email protected]> Sun, 14 Feb 2016 19:45:39 +0100
| Newsgroups | gmane.comp.multimedia.matroska.devel |
|---|---|
| Message-ID | <[email protected]> |
14.02.2016, 17:36 Steve Lhomme: > 2016-02-14 17:35 GMT+01:00 Steve Lhomme <[email protected]>: >> 2016-02-14 10:44 GMT+01:00 Sebastian G. <bastik> via Matroska-devel >> <[email protected]>: >>> Hello, >>> >>> Is there a recommendation how muxers should use Voids in Matroska? >>> >>> mkvalidator complains about void data, that mkvmerge intentionally >>> places [1]. >> >> Another case of warning misunderstanding. It doesn't mean the file is >> invalid, like an error. It just means the file could be optimized >> further. Indeed, that is a misunderstanding of what a warning is supposed to evoke. E.g here it is only meaningful if I want to save a tiny bit of space. >> >>> Having a validator complain about Voids would make me change my muxer >>> (if I would and could ever write one) so it wouldn't get the warning >>> anymore. However there seems to be a valid reason, from my >>> understanding, that there could be Voids. >>> >>> They are in the specification, but I don't see a recommendation on how >>> to use them. >>> >>> If they are indeed valuable and do not violate the specs, could >>> mkvalidator not just print it as INFO line and/or warn only if a certain >>> threshold of void data is found within a file? >> >> Yes, maybe warning sounds too severe when in fact it's not. > > I see it more like a compiler warning. Your compiler often report > warnings on things you know are fine. That doesn't mean your code is > wrong, it does the compilation just fine. It just tells you there > things you may have to look at, just in case. I see that mkvmerge follows that logic. It has warnings and errors. Warnings can be harmless. >> mkvalidator returns an error when the file is invalid and 0 (IIRC) if >> the file is valid. When your file only has warnings, it's actually >> valid and doesn't return an error. >> >>> Regards, >>> Sebastian >>> >>> [1] https://github.com/mbunkus/mkvtoolnix/wiki/mkvalidator-WRN0D0-void-data >>> Regards, Sebastian _______________________________________________ Matroska-devel mailing list [email protected] http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-devel Read Matroska-Devel on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.devel