1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00
FFmpeg/libavformat
Nicolas George 5d35b279e2 ALSA demuxer: use av_gettime and a timefilter.
The PTS for captured audio was measured using snd_pcm_htimestamp.

snd_pcm_htimestamp hangs when the input is a dsnoop plugin.

Furthermore, at some point, snd_pcm_htimestamp started returning monotonic
timestamps rather than wall clock timestamps, in most but not all
situations.
Monotonic timestamps are fine, but ffmpeg uses wall clock timestamps
everywhere else, and we have no API to inform the user which kind of
timestamps it is.

A separate snd_pcm_htimestamp is only slightly less accurate than
snd_pcm_htimestamp: the standard deviation for the difference between two
consecutive timestamps is (on my hardware):
- ~13 µs with snd_pcm_htimestamp;
- ~35 µs with av_gettime;
-  ~5 µs with av_gettime and a timefilter.
2011-07-02 10:43:38 +02:00
..
4xm.c
a64.c
aacdec.c Merge remote-tracking branch 'qatar/master' 2011-06-11 03:51:36 +02:00
ac3dec.c
adts.h
adtsenc.c
aea.c
aiff.h
aiffdec.c replace remaining usage of deprecated av_metadata_set2() by av_dict_set() 2011-06-13 19:02:50 +02:00
aiffenc.c
allformats.c
amr.c
anm.c
apc.c
ape.c
apetag.c
apetag.h
applehttp.c Merge remote-tracking branch 'qatar/master' 2011-06-18 05:10:38 +02:00
applehttpproto.c
asf.c
asf.h
asfcrypt.c Merge remote-tracking branch 'qatar/master' 2011-06-24 03:07:04 +02:00
asfcrypt.h
asfdec.c
asfenc.c
assdec.c
assenc.c
au.c
audiointerleave.c
audiointerleave.h
avc.c
avc.h
avformat.h lavf: add an API to get output timestamps. 2011-07-01 09:49:27 +02:00
avi.c
avi.h
avidec.c Merge remote-tracking branch 'qatar/master' 2011-07-02 03:24:32 +02:00
avienc.c
avio_internal.h
avio.c
avio.h Merge remote-tracking branch 'qatar/master' 2011-06-24 03:07:04 +02:00
aviobuf.c
avisynth.c
avlanguage.c
avlanguage.h
avs.c
bethsoftvid.c
bfi.c
bink.c Fix bink audio playback outside of FFmpeg. 2011-06-20 23:28:55 +02:00
c93.c
caf.c
caf.h
cafdec.c
cafenc.c
cavsvideodec.c
cdg.c
concat.c
crcenc.c
crypto.c
cutils.c
daud.c
dfa.c
diracdec.c
dnxhddec.c
dsicin.c
dtsdec.c
dv.c
dv.h
dvenc.c
dxa.c
eacdata.c
electronicarts.c
ffm.h
ffmdec.c Merge remote-tracking branch 'qatar/master' 2011-06-11 03:51:36 +02:00
ffmenc.c
ffmeta.h
ffmetadec.c
ffmetaenc.c
file.c
filmstripdec.c
filmstripenc.c
flacdec.c
flacenc_header.c
flacenc.c
flacenc.h
flic.c
flv.h
flvdec.c
flvenc.c
framecrcenc.c
gif.c
gopher.c
gxf.c Merge remote-tracking branch 'qatar/master' 2011-06-24 03:07:04 +02:00
gxf.h
gxfenc.c
h261dec.c
h263dec.c
h264dec.c
http.c
http.h
httpauth.c
httpauth.h
id3v1.c
id3v1.h
id3v2.c
id3v2.h
idcin.c
idroqdec.c
idroqenc.c
iff.c
img2.c riff/img2: Add JPEG 2000 codec IDs. 2011-06-21 21:38:59 +02:00
ingenientdec.c
internal.h Merge remote-tracking branch 'qatar/master' 2011-06-24 03:07:04 +02:00
ipmovie.c
isom.c Merge remote-tracking branch 'qatar/master' 2011-06-22 05:16:40 +02:00
isom.h
iss.c
iv8.c
ivfdec.c
ivfenc.c
jvdec.c
libavformat.v
libnut.c
librtmp.c
lmlm4.c
lxfdec.c
m4vdec.c
Makefile ALSA demuxer: use av_gettime and a timefilter. 2011-07-02 10:43:38 +02:00
matroska.c
matroska.h
matroskadec.c Merge remote-tracking branch 'qatar/master' 2011-07-02 03:24:32 +02:00
matroskaenc.c Merge remote-tracking branch 'qatar/master' 2011-06-21 03:38:25 +02:00
md5enc.c
md5proto.c
metadata.c
metadata.h
microdvddec.c
microdvdenc.c
mm.c
mmf.c
mms.c
mms.h
mmsh.c mmsh: fix 400 bad request 2011-06-16 20:15:53 +02:00
mmst.c
mov.c Merge remote-tracking branch 'qatar/master' 2011-06-21 03:38:25 +02:00
movenc.c Merge remote-tracking branch 'qatar/master' 2011-06-11 03:51:36 +02:00
movenc.h Merge remote-tracking branch 'qatar/master' 2011-06-11 03:51:36 +02:00
movenchint.c
mp3dec.c
mp3enc.c
mpc8.c
mpc.c
mpeg.c Merge remote-tracking branch 'qatar/master' 2011-06-11 03:51:36 +02:00
mpeg.h
mpegenc.c Merge remote-tracking branch 'qatar/master' 2011-06-11 03:51:36 +02:00
mpegts.c Merge remote-tracking branch 'qatar/master' 2011-06-24 03:07:04 +02:00
mpegts.h
mpegtsenc.c
mpegvideodec.c
mpjpeg.c
msnwc_tcp.c
mtv.c
mvi.c
mxf.c
mxf.h
mxfdec.c
mxfenc.c
mxg.c
ncdec.c
network.h
nsvdec.c nsvdec: Propagate error values instead of returning 0 in nsv_read_header(). 2011-06-23 13:47:16 +02:00
nullenc.c
nut.c
nut.h
nutdec.c
nutenc.c
nuv.c Merge remote-tracking branch 'qatar/master' 2011-06-24 03:07:04 +02:00
oggdec.c Merge remote-tracking branch 'qatar/master' 2011-06-30 04:32:24 +02:00
oggdec.h
oggenc.c
oggparsecelt.c
oggparsedirac.c
oggparseflac.c
oggparseogm.c
oggparseskeleton.c
oggparsespeex.c
oggparsetheora.c
oggparsevorbis.c
oma.c
options.c Merge remote-tracking branch 'qatar/master' 2011-06-18 05:10:38 +02:00
os_support.c
os_support.h
pcm.c
pcm.h
pcmdec.c
pcmenc.c
pmpdec.c
psxstr.c
pva.c
qcp.c
qtpalette.h
r3d.c
rawdec.c
rawdec.h
rawenc.c
rawenc.h
rawvideodec.c
rdt.c Merge remote-tracking branch 'qatar/master' 2011-06-18 05:10:38 +02:00
rdt.h
riff.c Support fourcc Y8 (ticket 308). 2011-06-27 10:03:21 +02:00
riff.h
rl2.c
rm.c
rm.h
rmdec.c
rmenc.c
rpl.c
rso.c
rso.h
rsodec.c
rsoenc.c
rtmp.h
rtmppkt.c
rtmppkt.h
rtmpproto.c
rtp.c
rtp.h
rtpdec_amr.c
rtpdec_asf.c Merge remote-tracking branch 'qatar/master' 2011-06-18 05:10:38 +02:00
rtpdec_formats.h
rtpdec_h263.c
rtpdec_h264.c
rtpdec_latm.c
rtpdec_mpeg4.c
rtpdec_qcelp.c
rtpdec_qdm2.c
rtpdec_qt.c
rtpdec_svq3.c
rtpdec_vp8.c
rtpdec_xiph.c
rtpdec.c
rtpdec.h
rtpenc_aac.c
rtpenc_amr.c
rtpenc_chain.c Merge remote-tracking branch 'qatar/master' 2011-06-18 05:10:38 +02:00
rtpenc_chain.h
rtpenc_h263.c
rtpenc_h264.c Make buffer size check consistent and avoid a possible overflow. 2011-06-15 20:21:33 +02:00
rtpenc_latm.c Merge commit '9446d75941d639f19cfa9ae007eb4c5ca041f200' 2011-06-17 05:49:58 +02:00
rtpenc_mpv.c
rtpenc_vp8.c
rtpenc_xiph.c
rtpenc.c Merge remote-tracking branch 'qatar/master' 2011-06-11 03:51:36 +02:00
rtpenc.h Merge remote-tracking branch 'qatar/master' 2011-06-11 03:51:36 +02:00
rtpproto.c Merge remote-tracking branch 'qatar/master' 2011-06-24 03:07:04 +02:00
rtsp.c Merge commit '9446d75941d639f19cfa9ae007eb4c5ca041f200' 2011-06-17 05:49:58 +02:00
rtsp.h Merge remote-tracking branch 'qatar/master' 2011-06-11 03:51:36 +02:00
rtspcodes.h
rtspdec.c
rtspenc.c Merge remote-tracking branch 'qatar/master' 2011-06-11 03:51:36 +02:00
sapdec.c Merge remote-tracking branch 'qatar/master' 2011-06-18 05:10:38 +02:00
sapenc.c
sauce.c
sauce.h
sdp.c Merge remote-tracking branch 'qatar/master' 2011-06-11 03:51:36 +02:00
seek.c
seek.h
segafilm.c
sierravmd.c
siff.c
smacker.c
sol.c
sox.h
soxdec.c
soxenc.c
spdif.c
spdif.h
spdifdec.c
spdifenc.c
srtdec.c
swf.h
swfdec.c
swfenc.c
tcp.c
thp.c
tiertexseq.c
timefilter.c
timefilter.h
tmv.c
tta.c
tty.c
txd.c
udp.c Merge remote-tracking branch 'qatar/master' 2011-07-01 05:35:26 +02:00
url.h
utils.c lavf: add an API to get output timestamps. 2011-07-01 09:49:27 +02:00
vc1test.c
vc1testenc.c
version.h lavf: bump minor and add APIchanges entry for av_get_output_timestamp 2011-07-01 11:11:48 +02:00
voc.c
voc.h
vocdec.c
vocenc.c
vorbiscomment.c
vorbiscomment.h
vqf.c
wav.c wav: remove an invalid free(). 2011-06-13 20:47:06 +02:00
wc3movie.c
westwood.c
wtv.c
wtv.h
wtvdec.c replace remaining usage of deprecated av_metadata_set2() by av_dict_set() 2011-06-13 19:02:50 +02:00
wv.c Merge remote-tracking branch 'qatar/master' 2011-06-29 05:23:12 +02:00
xa.c
xwma.c
yop.c
yuv4mpeg.c