[FFmpeg-devel] Issues with ljpeg

Mathieu Malaterre mathieu.malaterre
Sat Aug 16 11:42:02 CEST 2008


On Sat, Aug 16, 2008 at 11:05 AM, Mathieu Malaterre
<mathieu.malaterre at gmail.com> wrote:
>> look at the int8_t casts and &0x1FF

Changing int8_t to int16_t solve my issue ! Thanks.

>> i think these are wrong, patch welcome and dont forget
>> 1. the regression tests, they might need to be updated

So I did 'make test' and in the end I get:

diff -u -w "/home/mathieu/Projects/ffmpeg"/tests/ffmpeg.regression.ref
  tests/data/vsynth.regression
--- /home/mathieu/Projects/ffmpeg/tests/ffmpeg.regression.ref	2008-08-15
18:55:35.000000000 +0200
+++ tests/data/vsynth.regression	2008-08-16 11:33:26.000000000 +0200
@@ -106,8 +106,8 @@
 1567580 ./tests/data/a-mjpeg.avi
 18c3a76f984e717dd886d21fa04355f6 *./tests/data/mjpeg.vsynth.out.yuv
 stddev:    7.93 PSNR: 30.13 bytes:  7603200/  7603200
-5a662e3833d900b56cca79ba5ed5ec06 *./tests/data/a-ljpeg.avi
-6264498 ./tests/data/a-ljpeg.avi
+7c79e97bbe4b2eac12a4bef0568eeb93 *./tests/data/a-ljpeg.avi
+6312866 ./tests/data/a-ljpeg.avi
 799d3db687f6cdd7a837ec156efc171f *./tests/data/ljpeg.vsynth.out.yuv
 stddev:    0.00 PSNR:999.99 bytes:  7603200/  7603200
 dca9d700da7857217408c310c501b9bc *./tests/data/a-jpegls.avi
make: *** [codectest] Error 1

I can view the movie using mplayer: MPlayer dev-SVN-r26940 (debian testing).

What am I supposed to do from there ?

>> 2. check samples.mplayerhq.hu that the change does not break any ljpegs from
>>   there

I do not understand your last statement. There is no ljpeg decoder in
ffmpeg, how could there be ljpeg files on the samples ftp ?

Thanks,
-- 
Mathieu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ljpeg.patch
Type: text/x-patch
Size: 1851 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080816/14ede8b5/attachment.bin>



More information about the ffmpeg-devel mailing list