You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an option to overlay audio or video for only a specific time duration? For example: if we have a video of length 40 seconds and we want to overlay audio from 5 seconds to 25 seconds only, how can it be achieved?
From looking at AudioOverlayFilter's apply method, it uses ByteBuffer but no presentationTime to make any such operation.
Any insight or guidance would be highly valuable to us.
The text was updated successfully, but these errors were encountered:
Hi. Apologies for late response. AudioOverlayFilter receives a Frame in apply method, which has bufferInfo field, which in turn will have a presentationTimeUs. You can use that field to control when audio filter is applied.
Hi @izzytwosheds ,
Is there an option to overlay audio or video for only a specific time duration? For example: if we have a video of length 40 seconds and we want to overlay audio from 5 seconds to 25 seconds only, how can it be achieved?
From looking at AudioOverlayFilter's apply method, it uses ByteBuffer but no presentationTime to make any such operation.
Any insight or guidance would be highly valuable to us.
The text was updated successfully, but these errors were encountered: