PeerTube icon indicating copy to clipboard operation
PeerTube copied to clipboard

Cannot compute FPS because 0 is lower than our minimum value 1

Open Casuallynoted opened this issue 1 year ago • 1 comments

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

  1. Upload a video with a still image and audio
  2. Roughly 70% chance it won't transcode
  3. 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 (journalctl or /var/www/peertube/storage/logs/):

Casuallynoted avatar May 17 '24 20:05 Casuallynoted

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:

image The video on the top vs the one on the bottom

Casuallynoted avatar May 17 '24 20:05 Casuallynoted

Hi,

Can you share a link of the video so I can debug it?

Chocobozzz avatar May 28 '24 06:05 Chocobozzz

Hi,

Can you share a link of the video so I can debug it?

Here's one:

https://peertube.casually.cat/w/qZcCorVZRWNYpzVBTw28fM

Casuallynoted avatar May 28 '24 07:05 Casuallynoted

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:

Chocobozzz avatar May 28 '24 13:05 Chocobozzz

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)

Chocobozzz avatar May 29 '24 07:05 Chocobozzz