You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
- I tried to use 61, 62, 80 and so on and that does not work. The amount of frames affectiva returns is way too less. The fps is around 60 (dividing the number of frames over the timestamps of Affectiva) but the amount of frames does not correspond to the video and also the timestamp Affectiva returns only goes until around 130s (for a 19min video). In terms of video duration I only get the correct result when I use 60 (but then the fps is only 30).machinery– machinery2019-06-17 08:50:43 +00:00Commented Jun 17, 2019 at 8:50
- Normally you get that kind of problems when the video has a variable frame rate but as you made sure the video has a constant one I'm not sure what's going on.Mr K.– Mr K.2019-06-18 06:24:01 +00:00Commented Jun 18, 2019 at 6:24
- I have edited my post. I think I found the problem. Do you know a solution?machinery– machinery2019-06-18 23:07:08 +00:00Commented Jun 18, 2019 at 23:07
- I just saw the edit. It doesn't throw any exception? Btw, mp4 is just a container format but I have personally processed hundreds of mp4 videos using Affectiva and I only had problems with the ones encoded using variable frame rates.Mr K.– Mr K.2019-06-19 07:44:26 +00:00Commented Jun 19, 2019 at 7:44
- I'm encoding it with libx264 using ffmpeg. Should I perhaps use another one? It does not throw any exception, it just terminates. I also wrapped everything in the main method in a try-catch block but there was no exception.machinery– machinery2019-06-19 10:53:53 +00:00Commented Jun 19, 2019 at 10:53
| Show 4 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. python-3.x), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you