MrBrax / LiveStreamDVR

An automatic livestream recorder
MIT License
349 stars 25 forks source link

Problem with null framerate #480

Closed JoaoZanetti closed 1 year ago

JoaoZanetti commented 1 year ago

For some reason, some streams have a null framerate, and this null framerate is translated as NaN when trying to render the chat, making TwitchDownloader throw 'Option 'framerate' is defined with a bad format.'.

Screenshot 2023-11-20 091208 Screenshot 2023-11-20 091228 image

MrBrax commented 1 year ago

could you try and find the mediainfo cache file in /cache/mediainfo/*.json and check what the various frame rate fields are set to?

there are quite a few missing fields here, but it's also not remuxed, it might be the error here

MrBrax commented 1 year ago

it might just be that mpegts doesn't have that info available actually. you'd have to re-enable remuxing for it all to work properly

JoaoZanetti commented 1 year ago

Activating the remux option in config fixes the problem. Thanks!