Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mexican summer time change causing wrongly clipped videos #391

Closed
aza547 opened this issue Apr 30, 2023 · 6 comments
Closed

Mexican summer time change causing wrongly clipped videos #391

aza547 opened this issue Apr 30, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@aza547
Copy link
Owner

aza547 commented Apr 30, 2023

Hey, i shared a couple of comments with Aza on the compwow reddit about the app behaving weirdly on raid recordings, the recordings don't start at the pull of the boss and get cutoff before the wipe happens, heres the logs

all the recordings i have are from mythic rasza pulls, and i've noticed that all recordings start right as the boss resets from the previous wipe, and then cutoff before the raid actually wipes

i've also noticed that all the recordings have the right lenghts, as in the video is exactly as long as the fight was according to the log uploaded to warcraftlogs, but it starts at the previous wipe and then ends when that lenght is reached before the fight actually ends

That could be it, ive been having issues with discord showing 1 hour later than my pc clock since the last daylight savings, it might be cause my country used to change times for daylight savings but stopped doing it this year

@aza547 aza547 added the bug Something isn't working label Apr 30, 2023
@aza547
Copy link
Owner Author

aza547 commented Apr 30, 2023

@aza547
Copy link
Owner Author

aza547 commented Apr 30, 2023

The logs show clipping around the hour mark always, suspect getting away with that in M+ by just including an extra bit at the start of the video but still wrong behaviour.

Wondered if it was something at the nodeJS level...

@aza547
Copy link
Owner Author

aza547 commented Apr 30, 2023

As far as I can tell NodeJS has been updated with the new timezone data, but it still looks like its getting it wrong.

[2023-04-25 13:54:19.256] [info] [Recorder] Start OBS called
[2023-04-25 13:54:19.303] [info] [Recorder] Got signal: { type: 'recording', signal: 'start', code: 0, error: '' }

[2023-04-25 14:01:54.007] [info] [VideoProcessQueue] Queuing video for processing {
bufferFile: 'H:\Recordings\M+ Runs\.temp\2023-04-25 12-54-19.mp4',

Notice how at 13:54 NodeJS time we start recording. But that produces a video that's timestamped by OBS at 12:54. So it appears OBS knows about the real timezone but NodeJS doesn't.

Wow also appears to know about the real timezone:

[2023-04-25 13:54:51.282] [debug] [RetailLogHandler] Handling CHALLENGE_MODE_START line: {
original: '4/25 12:54:27.571 CHALLENGE_MODE_START,"The Nokhud Offensive",2516,400,20,[9,7,3,132]',

Again notice how NodeJS time is 13:54 but the WoW combat log time is 12:54.

@aza547
Copy link
Owner Author

aza547 commented Apr 30, 2023

Hoping to get more logs from the user, I added a explicit time zone log in a recent version. It would be good to know what NodeJS thinks its in. It sounds like some areas of Mexico still use daylight saving and some do not. Possibly confusion over this could be the cause?

@aza547
Copy link
Owner Author

aza547 commented Apr 30, 2023

electron/electron#37972 this maybe? Wasn't expecting it to be dependent on electron but we're using 18.X.X still. I'll try bump that and see what breaks...

@aza547
Copy link
Owner Author

aza547 commented Apr 30, 2023

Everything seemed to just work... neat. Lots of other issues on electrons github page regarding timezone data propagation, so seems likely this is fixed.

@aza547 aza547 closed this as completed in 6da391f Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant