Hi. I'm looking for tools that can optimize various media files, especially videostreams. By "optimize" I mean "losslessly reduce file size", and not "visually lossless", or tools compressing media files to its own container.
I already have such for PNG, MP3, JPEG. Does anybody know similar tools for MPEG 1\2\4 (and other) video streams? I saw "unpacking bitstream" message on some DivX AVI files in the AVIDemux, but I have no idea neither what it means, nor how to "pack bitstream". Also I saw the "CAVLC to CABAC" thread on doom9, but there is nothing more than just discussion.
P.S. Also something (application, python lib) is welcome for optimization of jpeg images inside pdf (by "inside" I mean in-place optimization, not "extract, optimize, combine back to pdf").