ffmpeg - Mathematically lossless encoding and decoding of RGB24 image sequence -


i trying encode rgb24 image sequence mathematically (not merely visually) lossless video. huffyuv suggested on many online forums tried following.

ffmpeg -i frames\%06d.png  -vcodec huffyuv test.avi 

the resulting video decoded frames again using ffmpeg

ffmpeg -i test.avi outframes\%06d.png 

however, input , output frames not bit-by-bit identical promised huffyuv here. idea how can accomplish this? eventual goal read video file using opencv willing cross bridge later once obtain losslessly encoded video file.

this question mentions attempt obtain lossless h264 avi , summary of responses seems indicate h264 cannot accomplish lossless encoding.

once again, emphasize, i interested in bit-by-bit identical encoding, not visually similar. large file sizes acceptable large compression/decompression time.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -