On 11/02/2013 08:39 PM, Luca Barbato wrote:
> Till I do not have at least the test suite you are producing (I gave up
> on having readable documentation), I cannot be sure what we have matches
> the other implementation.

Ah, ok!
Didn't understand that you needed the FATE tests for this.
Sorry...

Well, I've now tried to create the ffv1.mak in a way that works for
testing FFV1 in ffmpeg and libav.
My FATE tests run fine with ffmpeg (git head).
With current "avconv" from libav git head, I ran into the following
issues with FFV1:

1) vsynth1.yuv in ffv1 using pix_fmt gray is encoded incorrectly.
2) vsynth1.yuv in ffv1 using pix_fmt gray16 is encoded incorrectly.
3) pix_fmt gbrp9 and gbrp10 are encoded incorrectly.
4) pix_fmt gbrp14 is not supported.
FFV1 currently cannot do gbrp16, but supports RGB with 14 bits per
component (gbrp14) in ffmpeg.



Commandlines for each issue:
1)
avconv -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p
-threads 8 -idct simple -flags +bitexact -sws_flags
+accurate_rnd+bitexact -threads 8 -thread_type frame+slice -i
tests/data/vsynth1.yuv -threads 1 -idct simple -dct fastint -c ffv1
-level 3 -g 1 -coder 0 -context 0 -slices 24 -slicecrc 0 -pix_fmt gray
-strict experimental -flags +bitexact -sws_flags +accurate_rnd+bitexact
-f avi -y tests/data/fate/ffv1-enc-v3-gray.avi

2)
avconv -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p
-threads 8 -idct simple -flags +bitexact -sws_flags
+accurate_rnd+bitexact -threads 8 -thread_type frame+slice -i
tests/data/vsynth1.yuv -threads 1 -idct simple -dct fastint -c ffv1
-level 3 -g 1 -coder 1 -context 0 -slices 24 -slicecrc 0 -pix_fmt gray16
-strict experimental -flags +bitexact -sws_flags +accurate_rnd+bitexact
-f avi -y tests/data/fate/ffv1-enc-v3-gray16.avi

3)
avconv -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p
-threads 8 -idct simple -flags +bitexact -sws_flags
+accurate_rnd+bitexact -threads 8 -thread_type frame+slice -i
tests/data/vsynth1.yuv -threads 1 -idct simple -dct fastint -c ffv1
-level 3 -g 1 -coder 0 -context 0 -slices 24 -slicecrc 0 -pix_fmt gbrp9
-strict experimental -flags +bitexact -sws_flags +accurate_rnd+bitexact
-f avi -y tests/data/fate/ffv1-enc-v3-gbrp9.avi

4)
avconv -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p
-threads 8 -idct simple -flags +bitexact -sws_flags
+accurate_rnd+bitexact -threads 8 -thread_type frame+slice -i
tests/data/vsynth1.yuv -threads 1 -idct simple -dct fastint -c ffv1
-level 3 -g 1 -coder 0 -context 0 -slices 24 -slicecrc 0 -pix_fmt gbrp14
-strict experimental -flags +bitexact -sws_flags +accurate_rnd+bitexact
-f avi -y tests/data/fate/ffv1-enc-v3-gbrp14.avi



How to proceed?

Regards,
Pb
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to