On Thu, Jan 22, 2015 at 12:05:24AM -0500, Marcus Johnson wrote:
> What functions are used to estimate the duration and bit rate of a file?
> I'd like to add support for these features for the DTS format, and would
> rather not dig around the source looking for it.

you can set AVStream.duration and AVCodecContext.bit_rate from the
dts demuxer if these are known
otherwise the duration is estimated in avformat_find_stream_info()
and the functions called by it if there is sufficient information
available

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to