I have created a video on After Effects. The original duration was 1:02 (as long as the video), but the client requested to add one more layer so I added at the end.
At this part the music stops and you just see the text layer.
I previewed it on After Effects and everything was looking perfect.
I opened the 'Adobe Media Encoder' in order to render the composition. The exported file though stops when the music stops! @1:02!
I have tried to figure out if there was a problem with the settings, but I wasn't able to find anything.
Is the problem with the music? or is there something else going on?
I bet you have the Work Area set to the length of the first layer. Make it comp length and life gets better.
The Work Area length was correct, but I think your answer helped me figure out the problem.
I am actually using a template, so the creator has a folder with 'Comp' and 'Final Comp 1920x1080'.
Final Comp includes the 'Comp'. I had update the 'Duration' of 'Comp', but not for the 'Final Comp'. I adjusted it now.
Does this make sense? Was that the problem?
Yup. AE treats nested comps like it's a piece of footage in many ways, including duration.