unit test failed on nuxeo-platform-video-core

Hi,

  • This unit test failed on my computer :
    Failed tests: 
    TestVideoImporterAndListeners.testVideoInfo:333 null
    
  • the test : assertTrue(streamInfo.contains("23.98 fps"));
  • my ffmpeg out :
    ffmpeg -i ./target/test-classes/test-data/sample.mpg
    ffmpeg version N-79341-g4c22441 Copyright (c) 2000-2016 the FFmpeg developers
    built with gcc 4.9.2 (Debian 4.9.2-10)
    Stream #0:0: Video: mpeg1video, yuv420p(tv), 320x200 [SAR 1:1 DAR 8:5], 104857 kb/s, 25 fps, 23.98 tbr, 1200k tbn
    
  • if I replace “23.98 fps” by “23.98 tbr”, the test passed.

Thanks for nuxeo !

0 votes

0 answers

1329 views

ANSWER