10

I tried to repeat this tutorial, loading my own MP4 file. After clicking "open" in the movie clip editor and picking the file, it didn't seem to load and here's what I got in the terminal:

not an anim: /path/to/file.mp4

At the same time, file says it's ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]. Is there any preprocessing I should do before I import it to Blender? How could I do it with mencoder or ffmpeg?

d33tah
  • 211
  • 2
  • 6
  • I converted the file to OGV and the same thing happened. Also tried .AVI and the PoliceFootage.mov from here: http://www.videocopilot.net/tutorials/stabilize_shaky_footage/ ("project file" on the right) - nothing worked. – d33tah May 15 '15 at 13:30
  • How can I keep tabs on / track this thread? – NeverGiveUp May 15 '15 at 14:09
  • You can mark it as "favorite". – d33tah May 15 '15 at 16:36
  • @NeverGiveIn: (see above) – d33tah May 15 '15 at 17:45
  • 2
    Try downloading official blender, I assume blender is compiled without ffmpeg. – p2or Jun 10 '15 at 14:26
  • What utility did you use to convert to OGV? Can you convert the video file to a sequence of images? – dedwarmo Mar 08 '16 at 17:38
  • @dedwarmo: I guess I used ffmpeg, but I'm not sure. – d33tah Mar 08 '16 at 19:09
  • If you can convert the video file to a sequence of JPEG images Blender may have an easier time loading that. – dedwarmo Mar 08 '16 at 20:23
  • Somehow related: http://blender.stackexchange.com/questions/47166/how-can-i-enable-mp4-h264-as-an-output-option-in-fedora-linux – Samoth Mar 09 '16 at 11:59
  • Try useing a diffrent codec, it seems simple but it migt just work. – SupaKoopaTroopa64 May 06 '16 at 00:45
  • Any updates? Try adding it as a strip in the NLA, first. – Matt May 19 '16 at 21:21
  • 1
    The issue is not on blender, and there is nothing to set up here. Fedora (and other flavors of linux) restricts a lot of codecs by default, and the use of ffmpeg. Try using installing a blender version not from the repositories but downloaded directly from blender.org. –  Aug 19 '16 at 15:19

3 Answers3

1

You need to build a version of ffmpeg with full support for proprietary codec.

Lionel Bino
  • 447
  • 1
  • 4
  • 12
-1

.mp4 is the video and audio container. Many different formats can be used inside the container.

Use VLC to open the file. Tools - Media information (Ctrl + i) - codec to see what the video and audio are encoded as.

You can also use VLC and Convert/Save and re-encode the video and audio in new format that can be opened by blender.

E.g. did this just now starting with mov*.mod files which contained mpeg 1/2 video and ac3 audio. Chose profile Video - H.264 + MP3 (MP4) Converted to .mp4 containing H264 mpeg4 avc video and mpeg audio (with same resolution video 720x576 25frames/s audio changed from 48kHz to 44kHz 32bit audio). Blender opened that format.

Duarte Farrajota Ramos
  • 59,425
  • 39
  • 130
  • 187
gaoithe
  • 99
  • 2
-2

In the movie clip editor, hit SHIFT + A and choose clip. Then, when the file browser opens, choose your mp4.

John Roper
  • 695
  • 11
  • 22
  • 2
    I'm sure he tried that , it's more likely the video has a corrupt header or encoded in a format ffmpeg is not built with. besides your shortcut should be Alt+O , Shift+A works in the Video Sequence editor. I didn't down-vote you btw :p –  Jun 04 '16 at 16:49