Closed piedasing closed 1 month ago
I wonder could it be related to the Output Module settings?
I've never experienced anything like this.
I wonder could it be related to the Output Module settings?
I've never experienced anything like this.
I've tried these configs
avi
{
outputModule: "Lossless"
}
mp4
{
outputModule: "H.264 - Match Render Settings - 15 Mbps"
outputExt: "mp4",
}
Could you also try one other thing, open the project inside AE, and run the script generated by nexrender. It should replicate the substituted assets of the project inside of your AE.
Please review the audio layer if it looks correct and if the composition itself correctly plays back the audio when you play it.
I've checked my AE project can play the audio in preview mode, and render by AME or Render Queue are also working well.
So, I think it's not setting issue in AE, but maybe a property issue from the nexrender script to aerender.exe. (Maybe there are some changes in the latest aerender.exe)
Can you confirm you checked this with an executed script and assets already replaced to the ones you were testing with initially?
If rendering is excuted via script, only text and images will work, except audio.
But if I use the old version of AE 2017 (14.x), the audio can also be replaced correctly. (I wouldn't want to upgrade if I could, but the plan doesn't allow it. 😓)
That’s why I suspected it was caused by changes in the new version of AE.
Here's the log of rendering via script.
Adobe After Effects v24.3 Windows 64 render log for project “AErender.aep”
Rendering started on 2024/4/30 at 上午 12:26:43
2024/4/30 上午 12:26:44: Starting composition “Output 1080p”.
Render Settings: 180p
Quality: Best
Resolution: Quarter
Size: 1920 x 1080 (480 x 270)
Proxy Use: Use No Proxies
Effects: Current Settings
Disk Cache: Read Only
Color Depth: Current Settings
Frame Blending: On for Checked Layers
Field Render: Off
Pulldown: Off
Motion Blur: On for Checked Layers
Solos: Current Settings
Time Span: Work Area
Start: 0:00:00:00
End: 0:02:59:23
Duration: 0:03:00:00
Frame Rate: 24.00 (comp)
Guide Layers: All Off
Skip Existing Files: Off
Output Module: H.264 - Match Render Settings - 15 Mbps
Output To: C:\aerender\temp\wrfhmRdZBRPKTkbyW06aK\result.mp4
Format: H.264
Output Info: VBR, Target 15.00 Mbps
Include: Project Link
Output Audio: On (if comp has audio)
Channels: RGB
Depth: Millions of Colors
Color: Premultiplied
Resize: -
Crop: -
Final Size: 480 x 270
Profile: -
Post-Render Action: None
0:00:00:00 (1): 1 Seconds
0:00:00:01 (2): 0 Seconds
...
...
...
0:02:59:22 (4319): 0 Seconds
0:02:59:23 (4320): 0 Seconds
2024/4/30 上午 12:28:07: Finished composition “Output 1080p”.
Total Time Elapsed: 1 Min, 21 Sec
Log closed on 2024/4/30 at 上午 12:28:08
What happens if you open the project in After Effects GUI, and then run a nexrender-generated script via File > Scripts > Run script file
. If you then run preview inside of AE interface, will the composition still have audio?
Thanks for the test method. It will make audio track disappear... After my continuous testing, I think I found the problem where it is !!! The comp name is duplicate to the audio layer name, so the script replaced fail. But it was okay on old version (AE 14.X)
I will continue to test whether there are other problems, thank you for your help, much appreciated.
Oh, I see. The problem is quite complex. I wonder why version upgrade changed this.
I don’t know much about AE related operations, I’m just an frontend engineer for writing nodejs programs. 😅 And I don't want to upgrade if I can, because there are at least 20 videos in this project, which means I need to check them one by one, which will definitely take a lot of time.
But contrary to expectations, Adobe's plan no longer includes AE 2017 (14.X). If I don't upgrade the AE version, I won't be able to use it.
Version After Effects 2024 (24.x) OS: windows 10 Node.js: v18.16.0
Description I'm using Node.js to automation replacement text, image and audio.
This project has been running for at least 3 years until last week I discovered that the old version of AE 2017 (14.x) is no longer supported, so I now have to upgrade to the AE version (24.x).
Problem I encountered the problem that after replacing the audio, the output video had no sound.
I have used the command line to directly call aerender.exe for output, and the result is no sound, too.
my assets JSON
nextrender-script.jsx
I found that the replacement programs for image and audio are very similar, but image can be replaced correctly, only audio cannot.
I suspect that the new version of aerender.exe has been some adjusted, so lead to the generated nexrender-{workDir}-script.jsx code to not be replaced the audio tracks correctly.
The following Result1 and Result2 are the output video infomation. Result1. use the audio track in .aep (not add audio to replacement assets)![default_audio](https://github.com/inlife/nexrender/assets/22864900/43cffb3e-6714-45b4-83a2-32455995fd63)
Result2. add audio to replacement assets![replace_audio](https://github.com/inlife/nexrender/assets/22864900/5336a255-9412-471f-85f6-23426e18d923)
The Result1 has sound, which means my .aep is fine. But In the Result2, we can see that the description of the audio is empty, so it has no sound, but I provide the audio file is the same as file in AE project.
I need assistance with any aerender.exe replacement for audio, please.