Not working decoder x264vfw

View previous topic View next topic Go down

Not working decoder x264vfw

Post by AlexL on Sat May 13, 2017 5:15 am

When I use the x264vfw decoder when rendering in adobe after effects output file is not working! After you reset the codec settings to default, after effects does fails to do the render! What the hell?

AlexL

Posts : 5
Join date : 2016-02-22

View user profile

Back to top Go down

Re: Not working decoder x264vfw

Post by Admin on Sat May 13, 2017 8:22 pm

What kind of input format are you using and what kind of output? Without details it is difficult to provide any help.

Admin
Admin

Posts : 3440
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Not working decoder x264vfw

Post by AlexL on Sun May 14, 2017 10:52 am

Admin wrote:What kind of input format are you using and what kind of output? Without details it is difficult to provide any help.


After resetting the decoder to default, Adobe After Effects has ceased to perform the render. Recovers only after a complete reinstall of K-Lite Codec Pack. The format of the output AVI...

AlexL

Posts : 5
Join date : 2016-02-22

View user profile

Back to top Go down

Re: Not working decoder x264vfw

Post by Admin on Sun May 14, 2017 12:31 pm

I assume you used the "Load defaults" button inside x264vfw itself?

The K-Lite installer makes two little changes compared to those defaults:
1) "Disable decoder" is enabled
2) "Log level" is set to Error

If you reset settings using the Codec Tweak Tool, then same default settings are used as those that are set by the installer.

Admin
Admin

Posts : 3440
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Not working decoder x264vfw

Post by AlexL on Sun May 14, 2017 3:02 pm

I did a reboot of the codec from the main window tools. Everything is fine. The health After Effects restored, but the output file for video editing still not good: the first few tens of seconds a black screen.


AlexL

Posts : 5
Join date : 2016-02-22

View user profile

Back to top Go down

Re: Not working decoder x264vfw

Post by Admin on Mon May 15, 2017 1:13 pm

VFW is a very old and limited technology. It processes one frame at a time. By default x264 buffers several frames before it starts outputting something. It needs to do this for efficient encoding (multi-threading and things like b-frames). The easiest way to solve your problem is to enable the "Zero Latency" option. This will disable that buffering behavior, at the cost of some speed and a reducting in quality/size ratio.

Another solution is to change the output mode to "File" (preferably .mkv or .h264). Then you can encode without any limitations. But the resulting file is video only. So you would need to remux it together with the audio afterwards.

A third solution would be to not use x264VFW to render, but another format instead, for example a lossless format like ProRes that Adobe supports. Then convert the file to H.264 afterwards with a tool such as Handbrake. The best solution depends on what your intention is with the file.

Admin
Admin

Posts : 3440
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Not working decoder x264vfw

Post by AlexL on Tue May 16, 2017 5:13 pm

Admin wrote:VFW is a very old and limited technology. It processes one frame at a time. By default x264 buffers several frames before it starts outputting something. It needs to do this for efficient encoding (multi-threading and things like b-frames). The easiest way to solve your problem is to enable the "Zero Latency" option. This will disable that buffering behavior, at the cost of some speed and a reducting in quality/size ratio.
It does nothing. The output file still no good.

Admin wrote:
Another solution is to change the output mode to "File" (preferably .mkv or .h264). Then you can encode without any limitations. But the resulting file is video only. So you would need to remux it together with the audio afterwards.
Render in After Effects causes the error.

Admin wrote:A third solution would be to not use x264VFW to render, but another format instead, for example a lossless format like ProRes that Adobe supports. Then convert the file to H.264 afterwards with a tool such as Handbrake. The best solution depends on what your intention is with the file.
Concluded: decoders included in the package K-Lite Pack Mega is useless! Why do they need?! Now I'm doing a render using Adobe Media Encoder.

AlexL

Posts : 5
Join date : 2016-02-22

View user profile

Back to top Go down

Re: Not working decoder x264vfw

Post by Admin on Wed May 17, 2017 12:27 pm

x264VFW works perfectly fine with other applications. If it doesn't work with After Effects, then it could very well be the fault of Adobe. As explained, VFW has its limitations.

Common practice for "professional" tools like After Effects is to render/export to a high quality (lossless) intermediary format, and convert that to the delivery format afterwards. With that workflow you shouldn't encounter any problems.

Admin
Admin

Posts : 3440
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum