VideoExtractTracks
VideoExtractTracks[video]
returns a list of Video and Audio objects, each of which represents one track of video.
VideoExtractTracks[video,"type"]
returns tracks from video of a given "type".
VideoExtractTracks[video,trackspec]
returns tracks specified by trackspec.
Details
- VideoExtractTracks can be used to get direct access to a specific video, audio track or subtitle tracks.
- Possible values for "type" are:
-
"Audio" returned as Audio objects "Video" returned as Video objects "Subtitle" returned as a list of styled text in the form of {int1text1,int2text2,…} "SubtitleText" returned as a list of strings in the form of {int1string1,…} - In VideoExtractTracks[video,trackspec], trackspec can take any specification allowed by Extract.
- Examples of track specifications in trackspec are:
-
{"Audio",n} n audio track {"Audio",Span[…]} a span of audio tracks {{"Video",n},{"Audio",m},...} specific audio and video tracks {All,n} n audio and video tracks
Examples
open allclose allBasic Examples (2)
Scope (3)
Applications (2)
Text
Wolfram Research (2023), VideoExtractTracks, Wolfram Language function, https://reference.wolfram.com/language/ref/VideoExtractTracks.html.
CMS
Wolfram Language. 2023. "VideoExtractTracks." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/VideoExtractTracks.html.
APA
Wolfram Language. (2023). VideoExtractTracks. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VideoExtractTracks.html