[FFmpeg-devel] [PATCH 1/6] tests/ffserver.regression.ref: Update ffserver checksums

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Sat Dec 3 00:15:14 EET 2016

On 02.12.2016 04:27, Michael Niedermayer wrote:
> On Fri, Dec 02, 2016 at 12:59:41AM +0100, Andreas Cadhalpun wrote:
>> The test is unfortunately not very reproducible.
>> Right now I'm getting varying values like on one run:
>> -0c9639f09decbc54c9f091dcf1ca0e8f *ff-test_h.avi
>> -e28ba75853caf975e06d92955c9f7f73 *ff-test_l.avi
>> -a767dbdf5d1bded3450279f812f97b37 *ff-test.swf
>> +81c49d1bfcd43bcc43aa6aeed081126f *ff-test_h.avi
>> +2d642fbb77276ed1d12bf235a6a6bd57 *ff-test_l.avi
>> +daeee6c1418c5b2dcddded9b659e9fc2 *ff-test.swf

These files are truncated, probably because ffserver hadn't fully
started yet. Maybe the 'sleep 2' should be increased or a better
way to determine ffserver's readiness can be found?

>> And on the next:
>> -0c9639f09decbc54c9f091dcf1ca0e8f *ff-test_h.avi
>> -e28ba75853caf975e06d92955c9f7f73 *ff-test_l.avi
>> +5e7fc3d0b2f4866866ae4f268dc431ca *ff-test_h.avi
>> +6cc80ab0caec9499d1b82cd01fe7a861 *ff-test_l.avi
>> I've no idea what the underlying problem is.
> it works here almost always i remember just one failure

The bigger problem is that I almost always get the 5e/6c files,
but not once got the checksums you added.

> but you could try to use diff the ffprobe output showing as much as
> ffprobe supports to see what differs.
> binary compare (if they match in size) or ffmpeg -c copy -f framecrc -
> also please upload some different files somewhere

As they're quite small, I've just attached the 5e/6c files to this mail.
Maybe you can figure out where the difference comes from, when you compare
them with the files you get.

> it also could be some timeout issue if you have a slow box and maybe
> run this under valgrind

It's not a particularly slow box, but when run under valgrind, the 2
seconds sleep is definitely not long enough, but with 5 seconds I also
get the 5e/6c files.

Best regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ff-test_h.avi
Type: video/x-msvideo
Size: 56172 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161202/8531b7f5/attachment.avi>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ff-test_l.avi
Type: video/x-msvideo
Size: 30774 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161202/8531b7f5/attachment-0001.avi>

More information about the ffmpeg-devel mailing list