[FFmpeg-devel] [PATCH 1/2] fate: add v308 encoding/decoding test

Paul B Mahol onemda at gmail.com
Sun Jan 29 14:33:36 CET 2012


On 1/29/12, Reimar Doeffinger <Reimar.Doeffinger at gmx.de> wrote:
> On Sun, Jan 29, 2012 at 12:00:40PM +0000, Paul B Mahol wrote:
>>
>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>> ---
>>  tests/codec-regression.sh |    5 +++++
>>  tests/ref/vsynth1/v308    |    4 ++++
>>  tests/ref/vsynth2/v308    |    4 ++++
>>  3 files changed, 13 insertions(+), 0 deletions(-)
>>  create mode 100644 tests/ref/vsynth1/v308
>>  create mode 100644 tests/ref/vsynth2/v308
>>
>> diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
>> index a81cb6e..7efdb3e 100755
>> --- a/tests/codec-regression.sh
>> +++ b/tests/codec-regression.sh
>> @@ -329,6 +329,11 @@ do_video_encoding v210.avi "-an -c:v v210"
>>  do_video_decoding "" "-pix_fmt yuv420p"
>>  fi
>>
>> +if [ -n "$do_v308" ] ; then
>> +do_video_encoding v308.avi "-an -c:v v308"
>> +do_video_decoding
>> +fi
>> +
>>  if [ -n "$do_yuv" ] ; then
>>  do_video_encoding yuv.avi "-an -vcodec rawvideo -pix_fmt yuv420p"
>>  do_video_decoding "" "-pix_fmt yuv420p"
>> diff --git a/tests/ref/vsynth1/v308 b/tests/ref/vsynth1/v308
>> new file mode 100644
>> index 0000000..8f7c0e2
>> --- /dev/null
>> +++ b/tests/ref/vsynth1/v308
>> @@ -0,0 +1,4 @@
>> +8d5f2065ce6547acc51041a679b7d6c4 *./tests/data/vsynth1/v308.avi
>> + 15213260 ./tests/data/vsynth1/v308.avi
>> +feecc092df0c4cbdbb7bf366e2212d23 *./tests/data/v308.vsynth1.out.yuv
>> +stddev:   63.74 PSNR: 12.04 MAXDIFF:  237 bytes: 15206400/  7603200
>
> Like some of the previous tests, this one isn't working.
> The decoded output is larger than the reference file it is compared
> against.

Fixed in another batch.


More information about the ffmpeg-devel mailing list