MrBrax / LiveStreamDVR

An automatic livestream recorder
MIT License
309 stars 24 forks source link

Problem with null framerate #480

Closed JoaoZanetti closed 7 months ago

JoaoZanetti commented 7 months 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 7 months 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 7 months 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 7 months ago

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