Workflow integrations: get stream index in multistream files

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Nowadays

  • Posts: 11
  • Joined: Wed Dec 14, 2022 5:20 pm
  • Real Name: Giovanni Zuliani

Workflow integrations: get stream index in multistream files

PostThu Dec 29, 2022 1:47 pm

I'm working with a multi-stream video file, which contains video data (stream #0) and two audio tracks (stream #1 and #2). It looks like this on a timeline:

Screenshot 2022-12-29 at 14.41.12.png
Screenshot 2022-12-29 at 14.41.12.png (301.51 KiB) Viewed 1260 times


Now, say I get the timelineItem in the second audio track via API:

Code: Select all
...
const timelineItem = currentTimeline.GetItemListInTrack('audio', 2)[0]


Is it possible to know which streams it points to (i.e. stream #2) in the original audio file? I can't seem to find anything related in the current API. Thanks in advance

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 16 guests