[Sequencer] FFMPEG & Blender
Moderators: jesterKing, stiv
This is a super addition to Blender.
@ TheNut:
Do you think it will be possible to add Avisynth scripts as plugins/transitions for Blender the way you have used lua scripts?
If this would be possible Blender would become the true NLE GUI Avisynth never had and Blender would get instant access to super advanced video processing, transitions(I have 190 avisynth transitions for my DVD slideshow GUI) and effects (like FreeFrame).
@ TheNut:
Do you think it will be possible to add Avisynth scripts as plugins/transitions for Blender the way you have used lua scripts?
If this would be possible Blender would become the true NLE GUI Avisynth never had and Blender would get instant access to super advanced video processing, transitions(I have 190 avisynth transitions for my DVD slideshow GUI) and effects (like FreeFrame).
Thanks! I'm very excited about it.Tin2tin wrote:This is a super addition to Blender.
Long-term, it would be cool for Blender to add support for Libavfilter, an FFMPEG library in development which is intended to provide a cross-platform framework for filters such as these.Tin2tin wrote:Do you think it will be possible to add Avisynth scripts as plugins/transitions for Blender...
Sorry guys, I don't frequent this board that much. Busy bee ;\
Spamagnet,
That's a cool plug-in. It would greatly simplify importing dozens of videos. One project in particular I had over 50 HDV splits. Creating duplicate avisynths scripts was tedious. I'll have to look more into this. What be great is specifying a template aviscript to use, and then use some kind of key like $VIDEO and $AUDIO, where the python script will find and then replace with the known information gathered. Then just feed that into Blender.
Tin2tin,
Blender plugins are standalone, so one does not have direct access to any Blender code, other than a couple basic functions. However, it might be possible if the plugin directly compiled in AVISynth support. I've never used AVISynth's API, but as long as you can feed it a single frame and get a black-box output, it might be possible to do what you want. But I have a better proposal.
It's high on my hit list to add some level of text/title animations + effects + transitions to Blender. Presently it can be done using scenes and composite nodes, but it's unnecessarily long and complex, especially when you compare it to editors like Vegas, Premiere, VideoStudio, etc... I'm thinking about another plugin, tool, or possibly built-in Blender interface (ideally the best way to do it) that will handle this. The whole thing would be based off XML, so effects and transitions would be really small and portable. Very much like how Microsoft's Movie Maker works. Combined with an interface to give a preview, it would make for a killer addition to Blender.
Spamagnet,
That's a cool plug-in. It would greatly simplify importing dozens of videos. One project in particular I had over 50 HDV splits. Creating duplicate avisynths scripts was tedious. I'll have to look more into this. What be great is specifying a template aviscript to use, and then use some kind of key like $VIDEO and $AUDIO, where the python script will find and then replace with the known information gathered. Then just feed that into Blender.
Tin2tin,
Blender plugins are standalone, so one does not have direct access to any Blender code, other than a couple basic functions. However, it might be possible if the plugin directly compiled in AVISynth support. I've never used AVISynth's API, but as long as you can feed it a single frame and get a black-box output, it might be possible to do what you want. But I have a better proposal.
It's high on my hit list to add some level of text/title animations + effects + transitions to Blender. Presently it can be done using scenes and composite nodes, but it's unnecessarily long and complex, especially when you compare it to editors like Vegas, Premiere, VideoStudio, etc... I'm thinking about another plugin, tool, or possibly built-in Blender interface (ideally the best way to do it) that will handle this. The whole thing would be based off XML, so effects and transitions would be really small and portable. Very much like how Microsoft's Movie Maker works. Combined with an interface to give a preview, it would make for a killer addition to Blender.
That's essentially what it does, except it uses an XSL transform. The Python code gathers the list of clips into a "master" XML document (clips.xml) and then runs it through the transform to generate the .AVS scripts.TheNut wrote:What be great is specifying a template aviscript to use, and then use some kind of key like $VIDEO and $AUDIO, where the python script will find and then replace with the known information gathered. Then just feed that into Blender.
I am partway through implementing HDV support. If you have a sample clip I could work with, that would help.
BTW, thanks again for uploading that Blender/AviSynth build -- it work extremely well. Could you perhaps make your project files available so I can attempt to do the same type of build?
I released another version of BlenderAVC which supports HDV.
"Could you perhaps make your project files available so I can attempt to do the same type of build? "
Sure, you can download it here: http://www.nutty.ca/blog/files/source/b ... vs2008.zip
Make sure to delete your FFMPEG folder in libs/windows/ffmpeg before you extract. The zip will overwrite all your msvs_70 projects. And just a recap, I use Visual Studio 2008 Express, so all the 7.0 projects have been converted to 9.0. All optimization settings have been turned on as well. If you have access to the Intel compiler, you can generate a build almost 2-3x faster.
Compile procedure:
1) Build: blender\extern\make\msvc_7_0\extern.sln
2) Build: blender\intern\make\msvc_7_0\intern.sln
3) Build: blender\projectfiles_vc7\blender\blender.sln
Sure, you can download it here: http://www.nutty.ca/blog/files/source/b ... vs2008.zip
Make sure to delete your FFMPEG folder in libs/windows/ffmpeg before you extract. The zip will overwrite all your msvs_70 projects. And just a recap, I use Visual Studio 2008 Express, so all the 7.0 projects have been converted to 9.0. All optimization settings have been turned on as well. If you have access to the Intel compiler, you can generate a build almost 2-3x faster.
Compile procedure:
1) Build: blender\extern\make\msvc_7_0\extern.sln
2) Build: blender\intern\make\msvc_7_0\intern.sln
3) Build: blender\projectfiles_vc7\blender\blender.sln
I would just like to mention that there is a blog on using Blender from an external app as 3D transition and effects render:
http://gvfx.blogspot.com/
There are some transitions, effects(.blend) for download as well. I don't know how that will work with the sequencer though.
Just a thought: When working with an avs clip a nice addition could be to open(from Blender), edit and save the avs script in AvsP and then return to Blender.
http://gvfx.blogspot.com/
There are some transitions, effects(.blend) for download as well. I don't know how that will work with the sequencer though.
Just a thought: When working with an avs clip a nice addition could be to open(from Blender), edit and save the avs script in AvsP and then return to Blender.
-
- Site Admin
- Posts: 207
- Joined: Fri Oct 18, 2002 12:48 pm
- Location: Finland
Funky. I've added the blog to Planet Blender ( http://www.planetblender.org )Tin2tin wrote:I would just like to mention that there is a blog on using Blender from an external app as 3D transition and effects render:
http://gvfx.blogspot.com/
There are some transitions, effects(.blend) for download as well. I don't know how that will work with the sequencer though.
/Nathan
-
- Posts: 0
- Joined: Wed Sep 14, 2011 9:08 am