[MPlayer-dev-eng] [PATCH/PROPOSAL] precise timestamps for encoded audio

Nico Sabbi nsabbi at tiscali.it
Mon Apr 25 17:14:34 CEST 2005


As for the subject:

after every aencoder->encode(),  aencoder->get_frame_duration() returns 
the correct duration
of the portion of audio encoded, so mux_a->timer can be increased with 
the returned value
and set precise timestamps to the stream, that the muxer can reuse.

    Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: audiotime.diff
Type: text/x-patch
Size: 7457 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050425/8602c141/attachment.bin>


More information about the MPlayer-dev-eng mailing list