clamsproject / app-swt-detection

CLAMS app for detecting scenes with text from video input
Apache License 2.0
1 stars 0 forks source link

Warnings written to console when running SWT #67

Open marcverhagen opened 9 months ago

marcverhagen commented 9 months ago

Bug Description

When running the tool locally on Gunicorn I see the following errors (the first one is repeated twelve times):

[h264 @ 0x7fbed6f99a40] reference picture missing during reorder
[h264 @ 0x7fbed6f99a40] reference picture missing during reorder
[h264 @ 0x7fbed6f99a40] Missing reference picture, default is 65580
[h264 @ 0x7fbed6f99a40] Missing reference picture, default is 65580
[h264 @ 0x7fbed6fa3800] Missing reference picture, default is 65580
[h264 @ 0x7fbed6fad5c0] mmco: unref short failure
[h264 @ 0x7fbed6fad5c0] mmco: unref short failure
[h264 @ 0x7fbed6f99a40] Missing reference picture, default is 65576
[h264 @ 0x7fbed6f99a40] Missing reference picture, default is 65576
[h264 @ 0x7fbed6fa3800] reference picture missing during reorder
[h264 @ 0x7fbed6fa3800] Missing reference picture, default is 65578
[h264 @ 0x7fbed6f99a40] reference picture missing during reorder
[h264 @ 0x7fbed6f99a40] reference picture missing during reorder
[h264 @ 0x7fbed6f99a40] Missing reference picture, default is 65576
[h264 @ 0x7fbed6f99a40] Missing reference picture, default is 65576
[h264 @ 0x7fbed6fa3800] reference picture missing during reorder
[h264 @ 0x7fbed6fa3800] Missing reference picture, default is 65578
[h264 @ 0x7fbed6f99a40] reference picture missing during reorder
[h264 @ 0x7fbed6f99a40] reference picture missing during reorder
[h264 @ 0x7fbed6f99a40] Missing reference picture, default is 65576
[h264 @ 0x7fbed6f99a40] Missing reference picture, default is 65576
[h264 @ 0x7fbed6fa3800] reference picture missing during reorder
[h264 @ 0x7fbed6fa3800] Missing reference picture, default is 65578

This happens after about a third of the video is processed. I was using the default settings so sampled frames were always at some multiple of 1000 milliseconds.

The output looks fine and has no warnings.

Reproduction steps

$ python app.py
$ clams source video:/LOCAL_PATH_TO/cpb-aacip-75-72b8h82x.mp4 > ex-aapb-75.mmif
$ curl "localhost:5000?pretty=True&minTimeframeScore=0.5" -d @ex-aapb-75.mmif > ex-aapb-75.json

I ran the app on two other full videos without any issues.

Expected behavior

No response

Screenshots

No response

Additional context

No response