Skip to main content

subtitle_frame_from

Function subtitle_frame_from 

Source
pub fn subtitle_frame_from(
    subtitle: &Subtitle,
    time_base: Timebase,
) -> Result<SubtitleFrame<SubtitleFrameExtra, FfmpegBuffer>, ConvertError>
Expand description

Safe wrapper around av_subtitle_to_subtitle_frame taking a borrowed ffmpeg::Subtitle.