VideoExtractTracks
VideoExtractTracks[video]
returns a list of video, audio and subtitle tracks 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 "SubtitleRules" returned as a list of styled text in the form of {int1text1,int2text2,…} "SubtitleStringRules" returned as a list of plaintext in the form of {int1string1,int2string2,…} "SubtitleString" returned as a single string of concatenated subtitle texts "Video" returned as Video objects - 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 {{"Audio",n},{"SubtitleString",m},...} specific audio, subtitle or video tracks {All,n} n audio and video tracks
Examples
open allclose allText
Wolfram Research (2024), VideoExtractTracks, Wolfram Language function, https://reference.wolfram.com/language/ref/VideoExtractTracks.html (updated 2024).
CMS
Wolfram Language. 2024. "VideoExtractTracks." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/VideoExtractTracks.html.
APA
Wolfram Language. (2024). VideoExtractTracks. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VideoExtractTracks.html