{
  "id": 122276,
  "title": "Video Frame Processing Libraries in Offline Kaggle Docker Kernel",
  "url": "/competitions/deepfake-detection-challenge/discussion/122276",
  "author_name": "",
  "post_date": "2019-12-19T01:38:06.415747100Z",
  "votes": null,
  "comment_count": 4,
  "views": 0,
  "content": "<p>I was trying to use imageio for video frames processing. I think in kaggle offline docker image imageio is available, however, imageio-ffmpeg is not available in kaggle offline kernel? Could you please add this plugin. This is very crucial for video processing. Or does anyone know any libraries for video frames processing which is available in kaggle offline kernel execution?\nCan we include any libraries in the offline kaggle kernel execution?</p>",
  "messages": [
    {
      "id": "698253",
      "postDate": "12/19/2019 01:38:06",
      "content": "<p>I was trying to use imageio for video frames processing. I think in kaggle offline docker image imageio is available, however, imageio-ffmpeg is not available in kaggle offline kernel? Could you please add this plugin. This is very crucial for video processing. Or does anyone know any libraries for video frames processing which is available in kaggle offline kernel execution?\nCan we include any libraries in the offline kaggle kernel execution?</p>",
      "rawMarkdown": "I was trying to use imageio for video frames processing. I think in kaggle offline docker image imageio is available, however, imageio-ffmpeg is not available in kaggle offline kernel? Could you please add this plugin. This is very crucial for video processing. Or does anyone know any libraries for video frames processing which is available in kaggle offline kernel execution?\nCan we include any libraries in the offline kaggle kernel execution?",
      "votes": null
    },
    {
      "id": "699653",
      "postDate": "12/20/2019 18:01:25",
      "content": "<p>I am no good at github so not sure of the process but requests for additional libraries probably should be made with a pull request or a request in right discussion topic.</p>\n\n<p>Go to the support tab to find this info.</p>\n\n<blockquote>\n  <p>Thank you for the suggestion! We're always interested to hear about packages and modules that would make great additions to our Notebooks environment. You can request new packages by submitting a pull request:</p>\n</blockquote>\n\n<p>Python - <a href=\"https://github.com/Kaggle/docker-python\">https://github.com/Kaggle/docker-python</a>\nR - <a href=\"https://github.com/Kaggle/docker-rstats\">https://github.com/Kaggle/docker-rstats</a></p>\n\n<p>Or, you can post your request on our Product Feedback forum: <a href=\"https://www.kaggle.com/product-feedback\">https://www.kaggle.com/product-feedback</a>&gt; </p>",
      "rawMarkdown": "I am no good at github so not sure of the process but requests for additional libraries probably should be made with a pull request or a request in right discussion topic.\n\nGo to the support tab to find this info.\n\n&gt; Thank you for the suggestion! We're always interested to hear about packages and modules that would make great additions to our Notebooks environment. You can request new packages by submitting a pull request:\n\nPython - https://github.com/Kaggle/docker-python\nR - https://github.com/Kaggle/docker-rstats\n\nOr, you can post your request on our Product Feedback forum: https://www.kaggle.com/product-feedback&gt;",
      "votes": null
    },
    {
      "id": "699754",
      "postDate": "12/20/2019 21:19:30",
      "content": "<p><a href=\"https://www.kaggle.com/minhtam/fake-detect-basic\">This kernel</a> shows how to use imageio-ffmpeg in your notebooks.</p>",
      "rawMarkdown": "[This kernel](https://www.kaggle.com/minhtam/fake-detect-basic) shows how to use imageio-ffmpeg in your notebooks.",
      "votes": null
    },
    {
      "id": "699769",
      "postDate": "12/20/2019 21:54:37",
      "content": "<p>Thanks a lot, I was searching for this 😀 </p>",
      "rawMarkdown": "Thanks a lot, I was searching for this 😀",
      "votes": null
    },
    {
      "id": "746712",
      "postDate": "02/15/2020 12:51:30",
      "content": "<p>Hi,Human Analog. I recently met a problem while using ffmpeg to extract the wav file from mp4. Do I have to write the code like\n <code>command = f\"ffmpeg-git-20200114-amd64-static/ffmpeg -i {file} -ab 192000 -ac 2 -ar 44100 -vn {file[-14:-4]}.{output_format}</code> \". \nI mean I didnt write the whole path like \"../working/ffmpegxxxxxx\", and I got error in the end. Will it be diiferent if I write \"../working/ffmpegxxxxxx\" and change the output path like'../working/xxxx.wav'. My code ran well in public validation set,  but got error in public test set after I submitted. Can you show me the correct way to use ffmpeg?</p>",
      "rawMarkdown": "Hi,Human Analog. I recently met a problem while using ffmpeg to extract the wav file from mp4. Do I have to write the code like\n `command = f\"ffmpeg-git-20200114-amd64-static/ffmpeg -i {file} -ab 192000 -ac 2 -ar 44100 -vn {file[-14:-4]}.{output_format}` \". \nI mean I didnt write the whole path like \"../working/ffmpegxxxxxx\", and I got error in the end. Will it be diiferent if I write \"../working/ffmpegxxxxxx\" and change the output path like'../working/xxxx.wav'. My code ran well in public validation set,  but got error in public test set after I submitted. Can you show me the correct way to use ffmpeg?",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 699653,
      "author_name": "pcjimmmy",
      "author_url": "",
      "post_date": "12/20/2019 18:01:25",
      "content": "<p>I am no good at github so not sure of the process but requests for additional libraries probably should be made with a pull request or a request in right discussion topic.</p>\n\n<p>Go to the support tab to find this info.</p>\n\n<blockquote>\n  <p>Thank you for the suggestion! We're always interested to hear about packages and modules that would make great additions to our Notebooks environment. You can request new packages by submitting a pull request:</p>\n</blockquote>\n\n<p>Python - <a href=\"https://github.com/Kaggle/docker-python\">https://github.com/Kaggle/docker-python</a>\nR - <a href=\"https://github.com/Kaggle/docker-rstats\">https://github.com/Kaggle/docker-rstats</a></p>\n\n<p>Or, you can post your request on our Product Feedback forum: <a href=\"https://www.kaggle.com/product-feedback\">https://www.kaggle.com/product-feedback</a>&gt; </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 699754,
      "author_name": "humananalog",
      "author_url": "",
      "post_date": "12/20/2019 21:19:30",
      "content": "<p><a href=\"https://www.kaggle.com/minhtam/fake-detect-basic\">This kernel</a> shows how to use imageio-ffmpeg in your notebooks.</p>",
      "votes": null,
      "replies": [
        {
          "id": 699769,
          "author_name": "beingmiakashs",
          "author_url": "",
          "post_date": "12/20/2019 21:54:37",
          "content": "<p>Thanks a lot, I was searching for this 😀 </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 746712,
          "author_name": "huangliuyu",
          "author_url": "",
          "post_date": "02/15/2020 12:51:30",
          "content": "<p>Hi,Human Analog. I recently met a problem while using ffmpeg to extract the wav file from mp4. Do I have to write the code like\n <code>command = f\"ffmpeg-git-20200114-amd64-static/ffmpeg -i {file} -ab 192000 -ac 2 -ar 44100 -vn {file[-14:-4]}.{output_format}</code> \". \nI mean I didnt write the whole path like \"../working/ffmpegxxxxxx\", and I got error in the end. Will it be diiferent if I write \"../working/ffmpegxxxxxx\" and change the output path like'../working/xxxx.wav'. My code ran well in public validation set,  but got error in public test set after I submitted. Can you show me the correct way to use ffmpeg?</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "698253": "I was trying to use imageio for video frames processing. I think in kaggle offline docker image imageio is available, however, imageio-ffmpeg is not available in kaggle offline kernel? Could you please add this plugin. This is very crucial for video processing. Or does anyone know any libraries for video frames processing which is available in kaggle offline kernel execution?\nCan we include any libraries in the offline kaggle kernel execution?",
    "699653": "I am no good at github so not sure of the process but requests for additional libraries probably should be made with a pull request or a request in right discussion topic.\n\nGo to the support tab to find this info.\n\n&gt; Thank you for the suggestion! We're always interested to hear about packages and modules that would make great additions to our Notebooks environment. You can request new packages by submitting a pull request:\n\nPython - https://github.com/Kaggle/docker-python\nR - https://github.com/Kaggle/docker-rstats\n\nOr, you can post your request on our Product Feedback forum: https://www.kaggle.com/product-feedback&gt;",
    "699754": "[This kernel](https://www.kaggle.com/minhtam/fake-detect-basic) shows how to use imageio-ffmpeg in your notebooks.",
    "699769": "Thanks a lot, I was searching for this 😀",
    "746712": "Hi,Human Analog. I recently met a problem while using ffmpeg to extract the wav file from mp4. Do I have to write the code like\n `command = f\"ffmpeg-git-20200114-amd64-static/ffmpeg -i {file} -ab 192000 -ac 2 -ar 44100 -vn {file[-14:-4]}.{output_format}` \". \nI mean I didnt write the whole path like \"../working/ffmpegxxxxxx\", and I got error in the end. Will it be diiferent if I write \"../working/ffmpegxxxxxx\" and change the output path like'../working/xxxx.wav'. My code ran well in public validation set,  but got error in public test set after I submitted. Can you show me the correct way to use ffmpeg?"
  },
  "source": "meta"
}