{"action":"closed","issue":{"url":"https://api.github.com/repos/Zulko/moviepy/issues/226","labels_url":"https://api.github.com/repos/Zulko/moviepy/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/Zulko/moviepy/issues/226/comments","events_url":"https://api.github.com/repos/Zulko/moviepy/issues/226/events","html_url":"https://github.com/Zulko/moviepy/issues/226","id":114917242,"number":226,"title":"Failed to read duration of file, Samsung S6 MP4s","user":{"login":"michaelhelmick","id":352270,"avatar_url":"https://avatars.githubusercontent.com/u/352270?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelhelmick","html_url":"https://github.com/michaelhelmick","followers_url":"https://api.github.com/users/michaelhelmick/followers","following_url":"https://api.github.com/users/michaelhelmick/following{/other_user}","gists_url":"https://api.github.com/users/michaelhelmick/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelhelmick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelhelmick/subscriptions","organizations_url":"https://api.github.com/users/michaelhelmick/orgs","repos_url":"https://api.github.com/users/michaelhelmick/repos","events_url":"https://api.github.com/users/michaelhelmick/events{/privacy}","received_events_url":"https://api.github.com/users/michaelhelmick/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-03T21:43:05Z","updated_at":"2015-11-13T21:04:05Z","closed_at":"2015-11-13T21:04:05Z","body":"`moviepy==0.2.2.11`\r\n\r\nI printed out each line of the file:\r\n\r\n```\r\nffmpeg version 2.6.3-tessus Copyright (c) 2000-2015 the FFmpeg developers\r\nbuilt with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)\r\nconfiguration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --as=yasm --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-version3 --disable-ffplay --disable-indev=qtkit --disable-indev=x11grab_xcb\r\nlibavutil      54. 20.100 / 54. 20.100\r\nlibavcodec     56. 26.100 / 56. 26.100\r\nlibavformat    56. 25.101 / 56. 25.101\r\nlibavdevice    56.  4.100 / 56.  4.100\r\nlibavfilter     5. 11.102 /  5. 11.102\r\nlibswscale      3.  1.101 /  3.  1.101\r\nlibswresample   1.  1.100 /  1.  1.100\r\nlibpostproc    53.  3.100 / 53.  3.100\r\nmov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa73b012800] error reading header2015-11-03 16:31:57,489: WARNING/Worker-2] /var/folders/l7/cpczdrrs7znf87rhqj2hd78c0000gn/T/tmpoduvHA: End of file\r\n```\r\n\r\nFile: https://www.dropbox.com/s/o6r4tbc1see7zf8/tixhr-1990104484.mp4?dl=0\r\n\r\nIt looks like there is no \"Duration :\" in the header, so this (https://github.com/Zulko/moviepy/blob/master/moviepy/video/io/ffmpeg_reader.py#L264) fails with `List index out of range`\r\n\r\nEven if I skip that `if` statement and explicitly set `result['duration']` to something random (`float(5.31)`), it fails later down the line here: https://github.com/Zulko/moviepy/blob/master/moviepy/video/io/ffmpeg_reader.py#L273\r\n\r\nAny idea why the headers might be corrupt?\r\n\r\n"}}