[FFmpeg-devel] [PATCH] mjpegenc: enable optimal huffman coding by default
atomnuker at gmail.com
Tue Apr 4 13:00:23 EEST 2017
On 4 April 2017 at 02:54, Michael Niedermayer <michael at niedermayer.cc>
> On Mon, Apr 03, 2017 at 10:31:27PM +0100, Rostislav Pehlivanov wrote:
> > As it gives excellent encoding gains at an insignificant speed increase
> > and passes fate without problems, it should now be safe to enable by
> > default.
> Still breaks slice threading
> Assertion n <= 31 && value < (1U << n) failed at libavcodec/put_bits.h:157
> Assertion (header_bits & 7) == 0 failed at libavcodec/mjpegenc_common.c:
> occur with
> ./ffmpeg -y -i ~/fatesamples/fate/fate-suite/lena.pnm -vf scale -strict
> -1 -threads 2 -thread_type slice test.jpg
> also ive seen it not trigger an assert on repeating the command
> Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> You can kill me, but you cannot change the truth.
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
Sent a patch meant to be applied before this patch to disable it with AMV
and slice threads, should fix this issue.
More information about the ffmpeg-devel