{
  "id": 564309,
  "title": "Dataset Description / 30FPS",
  "url": "/competitions/nexar-collision-prediction/discussion/564309",
  "author_name": "PaulEE",
  "post_date": "2025-02-21T22:37:44.583000",
  "votes": 2,
  "comment_count": 7,
  "views": 0,
  "content": "<p>In dataset description is says that every video is 30fps.</p>\n<p>When using cv2 to read out the properties of each mp4, I get many videos that says it has a different FPS than 30. Is it 30 or should I use the one in video? This is ofcourse crucial to get where in the video the alert/event is. </p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F2262906%2F1d3b190f07a6980d9d412971b79d7a66%2FScreenshot%202025-02-21%20153020.png?generation=1740177617045790&amp;alt=media\" alt=\"\"></p>",
  "messages": [
    {
      "id": 3141185,
      "postDate": "2025-03-05T09:53:54.330Z",
      "content": "<p>Hey! You are right, our videos are <strong>approximately</strong> 30 FPS but there is some variability. Please take the video metadata into consideration. Thank you for bringing this up! </p>",
      "rawMarkdown": "Hey! You are right, our videos are **approximately** 30 FPS but there is some variability. Please take the video metadata into consideration. Thank you for bringing this up! \n",
      "votes": 1
    },
    {
      "id": 3131786,
      "postDate": "2025-02-23T09:49:06.857Z",
      "content": "<p>The data for the competition is also posted on <a href=\"https://huggingface.co/datasets/nexar-ai/nexar_collision_prediction\" target=\"_blank\">https://huggingface.co/datasets/nexar-ai/nexar_collision_prediction</a> , where it is noted that every video is 30 fps.</p>",
      "rawMarkdown": "The data for the competition is also posted on https://huggingface.co/datasets/nexar-ai/nexar_collision_prediction , where it is noted that every video is 30 fps.",
      "votes": 1,
      "replies": [
        {
          "id": 3132261,
          "postDate": "2025-02-24T02:03:01.120Z",
          "content": "<p>But it is not, according to metadata. And it is CRUCIAL to know if the Alert and Event labels (that are in seconds from video start) are correct, so we can get the correct video frame numbers for those. I am using the metadata, but think that some are a bit off when inspecting where my model goes wrong. <a href=\"https://www.kaggle.com/danielcmoura\" target=\"_blank\">@danielcmoura</a> </p>",
          "rawMarkdown": "But it is not, according to metadata. And it is CRUCIAL to know if the Alert and Event labels (that are in seconds from video start) are correct, so we can get the correct video frame numbers for those. I am using the metadata, but think that some are a bit off when inspecting where my model goes wrong. @danielcmoura "
        }
      ]
    },
    {
      "id": 3130677,
      "postDate": "2025-02-21T22:37:44.583Z",
      "content": "<p>In dataset description is says that every video is 30fps.</p>\n<p>When using cv2 to read out the properties of each mp4, I get many videos that says it has a different FPS than 30. Is it 30 or should I use the one in video? This is ofcourse crucial to get where in the video the alert/event is. </p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F2262906%2F1d3b190f07a6980d9d412971b79d7a66%2FScreenshot%202025-02-21%20153020.png?generation=1740177617045790&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "In dataset description is says that every video is 30fps.\n\nWhen using cv2 to read out the properties of each mp4, I get many videos that says it has a different FPS than 30. Is it 30 or should I use the one in video? This is ofcourse crucial to get where in the video the alert/event is. \n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F2262906%2F1d3b190f07a6980d9d412971b79d7a66%2FScreenshot%202025-02-21%20153020.png?generation=1740177617045790&alt=media)",
      "votes": 1
    },
    {
      "id": 3131469,
      "postDate": "2025-02-22T21:02:24.317Z",
      "content": "<p>I used the actual fps read from cv2. But it would be nice to have the host clear this up.</p>",
      "rawMarkdown": "I used the actual fps read from cv2. But it would be nice to have the host clear this up.",
      "votes": 2
    },
    {
      "id": 3130967,
      "postDate": "2025-02-22T10:14:10.330Z",
      "content": "<p>I would take the metadata. They're around 30 fps</p>",
      "rawMarkdown": "I would take the metadata. They're around 30 fps",
      "votes": 2,
      "replies": [
        {
          "id": 3131351,
          "postDate": "2025-02-22T18:14:07.773Z",
          "content": "<p>That's what I did, but I hope which frame / alert/event time are calculated based on the metadata framerate as well!</p>",
          "rawMarkdown": "That's what I did, but I hope which frame / alert/event time are calculated based on the metadata framerate as well!",
          "votes": 1
        }
      ]
    },
    {
      "id": 3131252,
      "postDate": "2025-02-22T16:21:26.810Z",
      "content": "<p>Nice catch! I didn't even bother to check the real FPS.</p>",
      "rawMarkdown": "Nice catch! I didn't even bother to check the real FPS.",
      "votes": 1,
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 3141185,
      "author_name": "Daniel Moura",
      "author_url": "",
      "post_date": "2025-03-05T09:53:54.330000",
      "content": "<p>Hey! You are right, our videos are <strong>approximately</strong> 30 FPS but there is some variability. Please take the video metadata into consideration. Thank you for bringing this up! </p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 3131786,
      "author_name": "Diana1800",
      "author_url": "",
      "post_date": "2025-02-23T09:49:06.857000",
      "content": "<p>The data for the competition is also posted on <a href=\"https://huggingface.co/datasets/nexar-ai/nexar_collision_prediction\" target=\"_blank\">https://huggingface.co/datasets/nexar-ai/nexar_collision_prediction</a> , where it is noted that every video is 30 fps.</p>",
      "votes": 1,
      "replies": [
        {
          "id": 3132261,
          "author_name": "PaulEE",
          "author_url": "",
          "post_date": "2025-02-24T02:03:01.120000",
          "content": "<p>But it is not, according to metadata. And it is CRUCIAL to know if the Alert and Event labels (that are in seconds from video start) are correct, so we can get the correct video frame numbers for those. I am using the metadata, but think that some are a bit off when inspecting where my model goes wrong. <a href=\"https://www.kaggle.com/danielcmoura\" target=\"_blank\">@danielcmoura</a> </p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 3131469,
      "author_name": "SLi",
      "author_url": "",
      "post_date": "2025-02-22T21:02:24.317000",
      "content": "<p>I used the actual fps read from cv2. But it would be nice to have the host clear this up.</p>",
      "votes": 2,
      "replies": []
    },
    {
      "id": 3130967,
      "author_name": "Ángel Jacinto Sánchez Ruiz",
      "author_url": "",
      "post_date": "2025-02-22T10:14:10.330000",
      "content": "<p>I would take the metadata. They're around 30 fps</p>",
      "votes": 2,
      "replies": [
        {
          "id": 3131351,
          "author_name": "PaulEE",
          "author_url": "",
          "post_date": "2025-02-22T18:14:07.773000",
          "content": "<p>That's what I did, but I hope which frame / alert/event time are calculated based on the metadata framerate as well!</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 3131252,
      "author_name": "",
      "author_url": "",
      "post_date": "2025-02-22T16:21:26.810000",
      "content": "<p>Nice catch! I didn't even bother to check the real FPS.</p>",
      "votes": 1,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "3141185": "Hey! You are right, our videos are **approximately** 30 FPS but there is some variability. Please take the video metadata into consideration. Thank you for bringing this up! \n",
    "3131786": "The data for the competition is also posted on https://huggingface.co/datasets/nexar-ai/nexar_collision_prediction , where it is noted that every video is 30 fps.",
    "3130677": "In dataset description is says that every video is 30fps.\n\nWhen using cv2 to read out the properties of each mp4, I get many videos that says it has a different FPS than 30. Is it 30 or should I use the one in video? This is ofcourse crucial to get where in the video the alert/event is. \n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F2262906%2F1d3b190f07a6980d9d412971b79d7a66%2FScreenshot%202025-02-21%20153020.png?generation=1740177617045790&alt=media)",
    "3131469": "I used the actual fps read from cv2. But it would be nice to have the host clear this up.",
    "3130967": "I would take the metadata. They're around 30 fps",
    "3131252": "Nice catch! I didn't even bother to check the real FPS."
  }
}