Skip to main content

audio_packet_from_ffmpeg_in

Function audio_packet_from_ffmpeg_in 

Source
pub fn audio_packet_from_ffmpeg_in(
    packet: &Packet,
    time_base: Timebase,
) -> Result<Option<AudioPacket<AudioPacketExtra, FfmpegBuffer>>, PacketBufferError>
Expand description

audio_packet_from_ffmpeg, with the stream’s timebase stamped onto every timestamp instead of the 1/1 placeholder.