On 2012-11-07 12:35:18 +0100, Luca Barbato wrote: > On 11/06/2012 10:05 PM, Viacheslav Dukalskiy wrote: > > > > I am now developing a system, that performs a lot of Libav transcoding. I > > would like to have some kind of automated test, that checks if audio or > > video file has been properly transcoded from one format into another. I > > don't need advanced test, just basic one, checking that video or audio is > > playable. Do you have any ideas how this could be done? > > > > for audio fate has a fuzzy comparator so you could just decode the two > and compare for a high enough level of fuzziness.
Are you sure that it is useful to compare lossy encoded audio with the original? There are PSNR tests for audio too though. One problem for audio is encoder delay though. There will be most likely an offset between the original and the decoded raw data which makes comapring them harder. I guess the most important test is if the duration of the encoded file is as expected. Janne _______________________________________________ libav-api mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-api
