Hello Folks
Apologies for the melodramatic thread title, but I have an issue with video encoding in Cortex that I hope you can provide suggestions for. I've been fiddling with this, on and off for months (years?) and despite this effort, I still have a problem.
It goes like this - I have Cortex set to record video on 3 cameras around my house, activated by motion on external PIRs associated with each camera. This bit works fine. Cortex detects motion, and sets off the recordings as expected. The playback of said recordings is the problem. When I play the video back in Cortex, it plays at around 120% of normal speed, and only intermittently. When I play back the video in WMP, I get around 1-2 seconds of playback at the correct speed, then playback stops, freezing on a frame. When Cortex playback fails, it does so in the same manner as in WMP.
Now, something that I just discovered today that I think is a symptom that may get me to the root cause - the duration of the clip, according to windows explorer, is massively over exaggerated, for instance a 10 second clip is tagged at 20mins, and a 1 minute clip at over 2 hours!
This duration error ties in with a number of other behaviours. On WMP, the slider bar at the bottom of the screen is grossly exaggerated in line with the clip's apparent length, I think somehow causing the clip to stop when it realises the bar's out of sync with the real length. Also, in Cortex itself - and I think this may be important - the 'time' indicator in the bottom left of the video window in Cortex always seems to jump forward at a huge pace, whether recording or not - in 10 seconds it could move forward 2 hours.
So in essence I think the duration of a clip is being tagged using incorrect information - making the clip freeze on playback.
I've played with all sorts of codecs, 2 different capture cards, and 2 servers, to no avail, so any suggestions appreciated.
Cheers
John
Apologies for the melodramatic thread title, but I have an issue with video encoding in Cortex that I hope you can provide suggestions for. I've been fiddling with this, on and off for months (years?) and despite this effort, I still have a problem.
It goes like this - I have Cortex set to record video on 3 cameras around my house, activated by motion on external PIRs associated with each camera. This bit works fine. Cortex detects motion, and sets off the recordings as expected. The playback of said recordings is the problem. When I play the video back in Cortex, it plays at around 120% of normal speed, and only intermittently. When I play back the video in WMP, I get around 1-2 seconds of playback at the correct speed, then playback stops, freezing on a frame. When Cortex playback fails, it does so in the same manner as in WMP.
Now, something that I just discovered today that I think is a symptom that may get me to the root cause - the duration of the clip, according to windows explorer, is massively over exaggerated, for instance a 10 second clip is tagged at 20mins, and a 1 minute clip at over 2 hours!
This duration error ties in with a number of other behaviours. On WMP, the slider bar at the bottom of the screen is grossly exaggerated in line with the clip's apparent length, I think somehow causing the clip to stop when it realises the bar's out of sync with the real length. Also, in Cortex itself - and I think this may be important - the 'time' indicator in the bottom left of the video window in Cortex always seems to jump forward at a huge pace, whether recording or not - in 10 seconds it could move forward 2 hours.
So in essence I think the duration of a clip is being tagged using incorrect information - making the clip freeze on playback.
I've played with all sorts of codecs, 2 different capture cards, and 2 servers, to no avail, so any suggestions appreciated.
Cheers
John
Comment