NatronGitHub / Natron

Open-source video compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry.
http://NatronGitHub.github.io
GNU General Public License v2.0
4.62k stars 336 forks source link

Doesn't read .MTS from my camera #186

Open devernay opened 6 years ago

devernay commented 6 years ago

From @kepkin on January 4, 2017 23:27

I can't read files from my camera in .MTS format (while all other applications read it flawlessly). You can download a small example: https://drive.google.com/file/d/0B5fHyf95881BOF9kdHNTYW9fMk0/view?usp=sharing

Expected behavior: I can see my source video in viewer and apply other nodes.

Actual behavior: Viewer is black, and I see a red bar with error in top of viewer window. Read1 error: FFmpeg Reader detected decoding stall, possible file corruption Here is output in terminal:

[h264 @ 0x7f84ac6612a0] reference picture missing during reorder
[h264 @ 0x7f84ac6612a0] Missing reference picture, default is 2147483647

Steps to Reproduce

  1. Add read node (here is example video 8mb )
  2. Connect viewer
  3. Try to play video

Versions

Copied from original issue: MrKepzie/Natron#1541

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/57511060-doesn-t-read-mts-from-my-camera?utm_campaign=plugin&utm_content=tracker%2F83915136&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F83915136&utm_medium=issues&utm_source=github).
devernay commented 6 years ago

The ffmpeg reader has several issues and will be completely rewritten. In the mean time, you can transcode your videos on the command-line using ffmpeg (a ffmpeg binary is provided with Natron if you don't have one) to a format/codec which is more suitable (mov container is OK, and prores and dnxhd are much better for post-production work) see https://trac.ffmpeg.org/wiki/Encode/VFX

devernay commented 3 years ago

still an issue in 2.4.0

rodlie commented 3 years ago

Confirmed still an issue.

MTS seems to be a bit quirky, as MTS files from my camera has always worked in Natron, but MTS from other people/cameras did not (I did however modify the firmware on my camera to fix/improve bitrate etc).