[opensuse-factory] Issues with Blender when working with video using ffmpeg
Recently I wanted to play around with motion tracking in Blender, but ran into some issues with the Blender package provided with Tumbleweed. Repeatedly when trying to load various video files I was met with the following message in the terminal: not an anim: /path/to/video/file.vid I tried various formats and files to no avail. I was however able to edit them in Kdenlive, play in vlc, and manipulate with ffmpeg directly (all three packages from packman). Searching around there are quite a few reports of this problem on various distros. Some with seemingly bogus solutions, but http://blender.stackexchange.com/questions/28839/cannot-load-movie-files-on-... seemed reasonable and I confirmed to work as described (can just use normal downloads: https://www.blender.org/download/, no need to use nightlies). The page that helped me a lot is https://developer.blender.org/T28790 where
it says that is a problem of ffmpeg with the compiling of GCC. You can solve that downloading the precompiled version here https://builder.blender.org/download/ It doesn't work if you compile the version and also the repository one does not work.
From blender bug report, https://developer.blender.org/T28790:
Kelvin, almost the same bug was recently fixed in our build environment. This bug was caused by FFmpeg incompatibility with 64bit and newer gcc (4.6 and probably 4.5). If you're building Blender yourself, make sure you're using FFmpeg compiled with gcc-4.4 (not sure about other distros, but in Debian official and debian-multimedia repos FFmpeg is compiled correct and doesn't crash). You can also try to use build from our automated build bot: http://builder.blender.org/download/
Looking at latest packman build log for ffmpeg, https://pmbs.links2linux.de/build/Essentials/openSUSE_Tumbleweed/x86_64/ffmp..., as expected is using gcc48 for Tumbleweed build. The same is true of Blender in factory and graphics (as expected). If the bug report explanation is to be believed > gcc44 is to blame. I am not familiar with what is causing the incompatibility and it definitely would not make sense to back off gcc version because of this. It also does not make too much sense to ship a version of Blender that is incapable of most/all operations that depend on ffmpeg since it cripples a lot of its functionality. Any thoughts on a resolution to this problem? [As a side note Blender motion tracking works well.] -- Jimmy -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Monday 2015-06-15 18:31, Jimmy Berry wrote:
Recently I wanted to play around with motion tracking in Blender, but ran into some issues with the Blender package provided with Tumbleweed. Repeatedly when trying to load various video files I was met with the following message in the terminal:
not an anim: /path/to/video/file.vid
I tried various formats and files to no avail. I was however able to edit them in Kdenlive, play in vlc, and manipulate with ffmpeg directly (all three packages from packman).
TW ffmpeg does not have too many codecs enabled (even PNG was not), an issue which I inherited from the libav spec :-( , and is already being worked on bit by bit. Which format is your file.vid in, and what encodings does it use? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
To clarify:
I was however able to edit them in Kdenlive, play in vlc, and manipulate with ffmpeg directly (all three packages from packman).
I have ffmpeg from Packman, which from what I understand is the preferred route. As such ffmpeg has the proper decoding available, but Blender seems unable to utilize it. I would assume this does not require Blender to be compiled in Packman to link to Packman ffmpeg? After looking at other packages that utilize ffmpeg I see that any of the ones I am familiar with are indeed compiled in Packman...so perhaps that is a requirement? -- Jimmy On Mon, Jun 15, 2015 at 4:25 PM, Jan Engelhardt <jengelh@inai.de> wrote:
On Monday 2015-06-15 18:31, Jimmy Berry wrote:
Recently I wanted to play around with motion tracking in Blender, but ran into some issues with the Blender package provided with Tumbleweed. Repeatedly when trying to load various video files I was met with the following message in the terminal:
not an anim: /path/to/video/file.vid
I tried various formats and files to no avail. I was however able to edit them in Kdenlive, play in vlc, and manipulate with ffmpeg directly (all three packages from packman).
TW ffmpeg does not have too many codecs enabled (even PNG was not), an issue which I inherited from the libav spec :-( , and is already being worked on bit by bit.
Which format is your file.vid in, and what encodings does it use? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Jimmy Berry <jimmy@boombatower.com> [06-15-15 23:01]:
To clarify:
I was however able to edit them in Kdenlive, play in vlc, and manipulate with ffmpeg directly (all three packages from packman).
I have ffmpeg from Packman, which from what I understand is the preferred route. As such ffmpeg has the proper decoding available, but Blender seems unable to utilize it.
I would assume this does not require Blender to be compiled in Packman to link to Packman ffmpeg?
After looking at other packages that utilize ffmpeg I see that any of the ones I am familiar with are indeed compiled in Packman...so perhaps that is a requirement?
-- Jimmy
On Mon, Jun 15, 2015 at 4:25 PM, Jan Engelhardt <jengelh@inai.de> wrote:
On Monday 2015-06-15 18:31, Jimmy Berry wrote:
Recently I wanted to play around with motion tracking in Blender, but ran into some issues with the Blender package provided with Tumbleweed. Repeatedly when trying to load various video files I was met with the following message in the terminal:
not an anim: /path/to/video/file.vid
I tried various formats and files to no avail. I was however able to edit them in Kdenlive, play in vlc, and manipulate with ffmpeg directly (all three packages from packman).
TW ffmpeg does not have too many codecs enabled (even PNG was not), an issue which I inherited from the libav spec :-( , and is already being worked on bit by bit.
Which format is your file.vid in, and what encodings does it use? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
No, packman doesn't provide builds for blender. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Yes -- Jimmy On Mon, Jun 15, 2015 at 11:05 PM, Patrick Shanahan <ptilopteri@gmail.com> wrote:
* Jimmy Berry <jimmy@boombatower.com> [06-15-15 23:01]:
To clarify:
I was however able to edit them in Kdenlive, play in vlc, and manipulate with ffmpeg directly (all three packages from packman).
I have ffmpeg from Packman, which from what I understand is the preferred route. As such ffmpeg has the proper decoding available, but Blender seems unable to utilize it.
I would assume this does not require Blender to be compiled in Packman to link to Packman ffmpeg?
After looking at other packages that utilize ffmpeg I see that any of the ones I am familiar with are indeed compiled in Packman...so perhaps that is a requirement?
-- Jimmy
On Mon, Jun 15, 2015 at 4:25 PM, Jan Engelhardt <jengelh@inai.de> wrote:
On Monday 2015-06-15 18:31, Jimmy Berry wrote:
Recently I wanted to play around with motion tracking in Blender, but ran into some issues with the Blender package provided with Tumbleweed. Repeatedly when trying to load various video files I was met with the following message in the terminal:
not an anim: /path/to/video/file.vid
I tried various formats and files to no avail. I was however able to edit them in Kdenlive, play in vlc, and manipulate with ffmpeg directly (all three packages from packman).
TW ffmpeg does not have too many codecs enabled (even PNG was not), an issue which I inherited from the libav spec :-( , and is already being worked on bit by bit.
Which format is your file.vid in, and what encodings does it use? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
No, packman doesn't provide builds for blender.
That I am aware, but my question was does Packman need to in order for Blender to properly work with ffmpeg from Packman.
-- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Jan Engelhardt
-
Jimmy Berry
-
Patrick Shanahan