Cannot compute FPS because 0 is lower than our minimum value 1
Describe the current behavior
When uploading some videos that are primarily audio, I've noticed I get this error and the video doesn't get transcoded to HLS. Seems to maybe be related to previous issues that were marked as fixed.
Steps to reproduce
- Upload a video with a still image and audio
- Roughly 70% chance it won't transcode
- Will provide this error
Describe the expected behavior
Should convert to HLS
Additional information
-
PeerTube instance:
- URL: https://peertube.casually.cat
- Version: 6.1.0
- NodeJS version: v18.20.2
- Ffmpeg version: 5.1.4-0+deb12u1
-
Browser name, version and platforms on which you could reproduce the bug: Firefox, Chrome
-
Link to browser console log if relevant:
-
Link to server log if relevant (
journalctlor/var/www/peertube/storage/logs/):
Oh! Actually, as an addition to this, it seems to be happening specifically with videos that have black bars on the left and right side. Videos that feature audio only but have a full screen image do not trigger this error. For example:
The video on the top vs the one on the bottom
Hi,
Can you share a link of the video so I can debug it?
Hi,
Can you share a link of the video so I can debug it?
Here's one:
https://peertube.casually.cat/w/qZcCorVZRWNYpzVBTw28fM
Can you also paste peertube error logs? Seems related to storyboard generation bug on my side
EDIT: there's also the Cannot compute FPS because 0 is lower than our minimum value 1 bug :+1:
Should be fixed by https://github.com/Chocobozzz/PeerTube/commit/4ea659d569d596791bc6bf3f15d8ee9eea20b672
(the main reason of your bug is because your video has 0.2 FPS)