evazion
cb35bad237
media assets: fix incorrect frame counts for certain .webm files.
Fix calculating incorrect frame counts for certain .webm files. An
example is https://danbooru.donmai.us/media_assets/5968481.
Caused by ffmpeg printing multiple `frame= NNN` lines, and us taking the
first one instead of the last one:
frame= 1 fps=0.0 q=-0.0 size=N/A time=00:00:00.08 bitrate=N/A speed=2.07x
[null @ 0x56046ff4e440] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 321 >= 321
[null @ 0x56046ff4e440] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 321 >= 321
frame= 395 fps=0.0 q=-0.0 size=N/A time=00:00:06.66 bitrate=N/A speed=12.3x
frame= 791 fps=759 q=-0.0 size=N/A time=00:00:13.26 bitrate=N/A speed=12.7x
frame= 1193 fps=772 q=-0.0 size=N/A time=00:00:19.94 bitrate=N/A speed=12.9x
frame= 1374 fps=780 q=-0.0 Lsize=N/A time=00:00:22.86 bitrate=N/A speed= 13x
video:719kB audio:4288kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
2022-11-03 22:01:51 -05:00
..
2022-10-31 02:39:45 -05:00
2022-11-02 20:47:22 -05:00
2022-10-21 20:52:31 +02:00
2022-10-30 03:27:18 -05:00
2022-10-26 22:49:55 -05:00
2022-11-03 22:01:51 -05:00
2022-10-11 15:45:47 -05:00
2022-11-02 20:48:15 -05:00
2022-11-01 01:47:18 -05:00
2022-10-21 20:52:31 +02:00
2022-10-30 03:27:18 -05:00