1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
FFmpeg/libavformat
Marton Balint a7bb12a307 mpegts: add fix_teletext_pts mpegts demuxer option
Changes since v1 of the patch:
- enable option by default
- add documentation
- move up PTS override code after PES header parsing, to ensure we use the
  last PCR before the first packet of the teletext PES packet.

The option overrides teletext packet PTS and DTS values with the timestamps
calculated from the PCR of the first program which the teletext stream is part
of and is not discarded.

Using the same teletext PID for multiple programs is possible, therefore we
need some kind of heuristics to know which program PCR we should synchronize
to. Using the first non-discarded PCR pid among the programs of the teletext
stream seemed like a good choice.

The patch does not do PCR interpolation to estimate the PCR of the teltetext
packet, it just uses the last PCR of the program, which may cause a slight
error (0.1 sec) in the teletext packet pts-es.

Based on a patch by Reimar Döffinger.
http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2012-September/131610.html

Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-06 02:47:38 +02:00
..
4xm.c
a64.c
aacdec.c
ac3dec.c
act.c
adp.c
adtsenc.c
adxdec.c
aea.c
afc.c
aiff.h
aiffdec.c
aiffenc.c
allformats.c lavf: add support for libgme 2013-07-02 18:52:45 +02:00
amr.c
anm.c
apc.c
ape.c
apetag.c
apetag.h
aqtitledec.c
asf.c
asf.h asfdec: Skip to keyframe after seeking 2013-07-30 15:29:12 +02:00
asfcrypt.c
asfcrypt.h
asfdec.c Merge commit '7950e519bb094897f957b9a9531cc60ba46cbc91' 2013-08-03 10:08:30 +02:00
asfenc.c
assdec.c
assenc.c
ast.c
ast.h
astdec.c
astenc.c
au.c
audiointerleave.c
audiointerleave.h
avc.c
avc.h
avformat.h documented that av_codec_close is required to call 2013-07-24 12:49:01 +02:00
avi.h
avidec.c Merge commit '7950e519bb094897f957b9a9531cc60ba46cbc91' 2013-08-03 10:08:30 +02:00
avienc.c
avio_internal.h avformat/aviobuf: Add ffio_ensure_seekback() 2013-07-04 19:13:38 +02:00
avio.c retry_transfer_wrapper(): check for interrupt before operation 2013-07-12 21:27:27 +02:00
avio.h
aviobuf.c avio: Don't set the seekable flag if no seek function is provided 2013-07-26 21:46:18 +03:00
avisynth.c avisynth: Fix a "AVISynth" vs. "AviSynth" struct name typo 2013-07-29 20:09:59 +02:00
avlanguage.c
avlanguage.h
avr.c
avs.c
bethsoftvid.c
bfi.c bfi: check return value of av_malloc() 2013-07-01 21:37:16 +00:00
bink.c
bintext.c
bit.c
bluray.c
bmv.c
boadec.c
brstm.c
c93.c
cache.c
caf.c
caf.h
cafdec.c
cafenc.c
cavsvideodec.c
cdg.c
cdxl.c
concat.c
concatdec.c
crcenc.c
crypto.c
cutils.c
data_uri.c
daud.c
dfa.c
diracdec.c
dnxhddec.c
dsicin.c
dtsdec.c avformat/dtsdec: Improve probe, reject things looking like analoge signals 2013-07-26 11:19:43 +02:00
dtshddec.c
dv.c
dv.h
dvenc.c
dxa.c
eacdata.c
electronicarts.c
epafdec.c
ffm.h
ffmdec.c
ffmenc.c
ffmeta.h
ffmetadec.c
ffmetaenc.c
file.c file: Add 'blocksize' option 2013-07-31 21:16:54 +02:00
filmstripdec.c
filmstripenc.c
flacdec_picture.c lavf/flacdec: Share the function to parse cover art blocks 2013-07-09 19:19:42 +02:00
flacdec.c lavf/flacdec: Share the function to parse cover art blocks 2013-07-09 19:19:42 +02:00
flacdec.h lavf/flacdec: Share the function to parse cover art blocks 2013-07-09 19:19:42 +02:00
flacenc_header.c
flacenc.c
flacenc.h
flic.c
flv.h
flvdec.c flvdec: silence unused warning 2013-08-02 13:05:16 +02:00
flvenc.c
format.c
framecrcenc.c
framehash.c
frmdec.c
ftp.c ftp: warning about pure-ftp server used as and output 2013-07-17 14:42:20 +02:00
g722.c
g723_1.c
g729dec.c
gif.c avformat/gif: Do not write GIF89a header if loop is set to -1. 2013-07-10 01:18:59 +02:00
gifdec.c
gopher.c
gsmdec.c
gxf.c
gxf.h
gxfenc.c avformat/gxfenc: replace deprecated PIX_FMT constants 2013-07-30 12:29:20 +02:00
h261dec.c avformat/h261dec: use init_get_bits8() 2013-07-04 13:40:08 +02:00
h263dec.c
h264dec.c
hls.c Merge remote-tracking branch 'qatar/master' 2013-07-31 11:01:30 +02:00
hlsenc.c
hlsproto.c Merge commit 'a2b7eeeb06471979ee39fd3075a04633222678a6' 2013-07-30 10:19:20 +02:00
http.c Merge commit '0f51c398beac87682b2249662b97e30512f7868c' 2013-07-29 12:00:17 +02:00
http.h
httpauth.c
httpauth.h
icodec.c
icoenc.c
id3v1.c
id3v1.h
id3v2.c
id3v2.h
id3v2enc.c
idcin.c idcin: check return value of av_malloc() 2013-07-01 22:04:48 +00:00
idroqdec.c
idroqenc.c
iff.c
ilbc.c
img2.c
img2dec.c
img2enc.c img2enc: add option to use strftime() for filename 2013-07-19 01:45:37 +02:00
ingenientdec.c
internal.h avformat/utils: factor ff_find_last_ts() out of ff_gen_search() 2013-07-06 22:27:35 +02:00
ipmovie.c
ircam.c
ircam.h
ircamdec.c
ircamenc.c
isom.c
isom.h avformat/mov: read stream bitrates from isml manifest 2013-07-08 17:36:45 +02:00
iss.c
iv8.c
ivfdec.c
ivfenc.c
jacosubdec.c
jacosubenc.c
jvdec.c
latmenc.c avformat/latmenc: use init_get_bits8() 2013-08-05 10:12:46 +02:00
libavformat.v
libgme.c lavf: add support for libgme 2013-07-02 18:52:45 +02:00
libmodplug.c
libnut.c
libquvi.c
librtmp.c
lmlm4.c
loasdec.c
log2_tab.c
lvfdec.c
lxfdec.c
m4vdec.c
Makefile lavf: add missing build dependency for tta demuxer 2013-07-12 19:51:48 +00:00
matroska.c
matroska.h matroskaenc: implement CueRelativePosition 2013-07-24 14:08:52 +02:00
matroskadec.c avformat/matroskadec: make sipr_bit_rate static const 2013-08-04 21:18:49 +02:00
matroskaenc.c avformat/matroskaenc: make 2 tables static that are not used outside matroskaenc 2013-08-02 21:14:59 +02:00
md5enc.c
md5proto.c
metadata.c
metadata.h
mgsts.c
microdvddec.c
microdvdenc.c
mkvtimestamp_v2.c
mm.c
mmf.c
mms.c
mms.h
mmsh.c mmsh: reimplement seeking 2013-07-07 18:50:03 +02:00
mmst.c
mov_chan.c
mov_chan.h
mov.c Merge commit '31931520df35a6f9606fe8293c8a39e2d1fabedf' 2013-07-16 00:12:24 +02:00
movenc.c movenc: make uuids static const 2013-08-02 21:14:59 +02:00
movenc.h
movenchint.c Merge remote-tracking branch 'qatar/master' 2013-07-09 10:07:23 +02:00
mp3dec.c mp3dec: make const tables static const 2013-08-05 02:52:41 +02:00
mp3enc.c
mpc8.c
mpc.c
mpeg.c
mpeg.h
mpegenc.c
mpegts.c mpegts: add fix_teletext_pts mpegts demuxer option 2013-08-06 02:47:38 +02:00
mpegts.h
mpegtsenc.c mpegtsenc: add option tables_version 2013-08-03 12:44:53 +02:00
mpegvideodec.c
mpjpeg.c
mpl2dec.c
mpsubdec.c
msnwc_tcp.c
mtv.c
mux.c Merge commit '7950e519bb094897f957b9a9531cc60ba46cbc91' 2013-08-03 10:08:30 +02:00
mvdec.c
mvi.c
mxf.c
mxf.h
mxfdec.c
mxfenc.c Merge remote-tracking branch 'qatar/master' 2013-08-05 09:57:28 +02:00
mxg.c Merge commit '7950e519bb094897f957b9a9531cc60ba46cbc91' 2013-08-03 10:08:30 +02:00
ncdec.c
network.c ff_network_wait_fd_timeout(): check for interrupt before operation 2013-07-12 21:27:27 +02:00
network.h ff_network_wait_fd_timeout(): check for interrupt before operation 2013-07-12 21:27:27 +02:00
nistspheredec.c
noproxy-test.c
nsvdec.c
nullenc.c
nut.c
nut.h
nutdec.c nutdec: use ff_find_last_ts() 2013-07-06 22:27:35 +02:00
nutenc.c Merge commit '6ff15cd569e1345bc3612fb69ad3003b104fe50d' 2013-07-28 13:23:54 +02:00
nuv.c
oggdec.c Merge remote-tracking branch 'qatar/master' 2013-07-02 11:50:30 +02:00
oggdec.h
oggenc.c oggenc: Write stream metadata if available 2013-07-28 21:10:51 +02:00
oggparsecelt.c
oggparsedirac.c
oggparseflac.c
oggparseogm.c
oggparseopus.c
oggparseskeleton.c oggparseskeleton: avoid header parsing failure 2013-07-06 23:53:19 +02:00
oggparsespeex.c
oggparsetheora.c
oggparsevorbis.c oggparsevorbis: Support official chapter extension 2013-07-14 22:15:55 +02:00
oma.c
oma.h
omadec.c Merge commit '2219e27b5b17d146e4ab71a3ed86dfc013fb7a93' 2013-07-29 13:01:20 +02:00
omaenc.c
options_table.h Merge commit 'b5a138652ff8a5b987d3e1191e67fd9f6575527e' 2013-08-03 09:16:36 +02:00
options.c Merge commit 'b5a138652ff8a5b987d3e1191e67fd9f6575527e' 2013-08-03 09:16:36 +02:00
os_support.c
os_support.h
paf.c
pcm.c
pcm.h
pcmdec.c
pcmenc.c
pjsdec.c
pmpdec.c
psxstr.c Merge commit '7950e519bb094897f957b9a9531cc60ba46cbc91' 2013-08-03 10:08:30 +02:00
pva.c
pvfdec.c
qcp.c
qtpalette.h
r3d.c
rawdec.c
rawdec.h
rawenc.c
rawenc.h
rawvideodec.c
rdt.c rdt: make const tables static const 2013-08-05 02:53:16 +02:00
rdt.h
realtextdec.c
redspark.c
riff.c lavf/riff: Add ITRK tag 2013-07-18 10:55:23 +02:00
riff.h
rl2.c
rm.c
rm.h
rmdec.c Merge commit '7950e519bb094897f957b9a9531cc60ba46cbc91' 2013-08-03 10:08:30 +02:00
rmenc.c
rmsipr.c
rmsipr.h
rpl.c
rsd.c
rso.c
rso.h
rsodec.c
rsoenc.c
rtmp.h
rtmpcrypt.c
rtmpcrypt.h
rtmpdh.c
rtmpdh.h
rtmphttp.c
rtmppkt.c
rtmppkt.h
rtmpproto.c Merge commit '0d6fa3977b016f1b72b0b24b8834ff9222498548' 2013-08-03 09:01:48 +02:00
rtp.c rtp: Make ff_rtp_codec_id() case insensitive 2013-08-05 21:53:52 +02:00
rtp.h Merge commit '2e814d0329aded98c811d0502839618f08642685' 2013-08-01 11:42:30 +02:00
rtpdec_amr.c
rtpdec_asf.c
rtpdec_formats.h
rtpdec_g726.c
rtpdec_h263_rfc2190.c
rtpdec_h263.c
rtpdec_h264.c
rtpdec_ilbc.c
rtpdec_jpeg.c
rtpdec_latm.c
rtpdec_mpeg4.c
rtpdec_mpeg12.c
rtpdec_mpegts.c
rtpdec_qcelp.c
rtpdec_qdm2.c
rtpdec_qt.c
rtpdec_svq3.c
rtpdec_vp8.c
rtpdec_xiph.c
rtpdec.c
rtpdec.h Merge commit 'b7e6da988bfd5def40ccf3476eb8ce2f98a969a5' 2013-08-01 12:03:24 +02:00
rtpenc_aac.c
rtpenc_amr.c
rtpenc_chain.c
rtpenc_chain.h
rtpenc_h263_rfc2190.c
rtpenc_h263.c
rtpenc_h264.c
rtpenc_jpeg.c
rtpenc_latm.c
rtpenc_mpv.c
rtpenc_vp8.c
rtpenc_xiph.c
rtpenc.c Merge commit '2e814d0329aded98c811d0502839618f08642685' 2013-08-01 11:42:30 +02:00
rtpenc.h Merge commit '1297f7b87f8a84930a23eca705765c7c353dfcd5' 2013-07-27 08:58:26 +02:00
rtpproto.c Merge commit 'ee37d5811caa8f4ad125a37fe6ce3f9e66cd72f2' 2013-08-01 13:51:44 +02:00
rtpproto.h Merge commit 'b7e6da988bfd5def40ccf3476eb8ce2f98a969a5' 2013-08-01 12:03:24 +02:00
rtsp.c Merge commit 'fd8f91e3f44a2bdbefaaebead388133c5fdd3423' 2013-08-02 10:39:46 +02:00
rtsp.h Merge commit '1f57d60129b0e297cd197c6031c4439b30a6b503' 2013-07-30 11:57:43 +02:00
rtspcodes.h
rtspdec.c Merge commit 'b7e6da988bfd5def40ccf3476eb8ce2f98a969a5' 2013-08-01 12:03:24 +02:00
rtspenc.c
samidec.c
sapdec.c
sapenc.c
sauce.c
sauce.h
sbgdec.c
sctp.c
sdp.c
seek-test.c
seek.c
seek.h
segafilm.c
segment.c lavf/segment: use AV_OPT_TIME_DURATION for time_delta 2013-07-11 00:36:53 +02:00
sierravmd.c
siff.c
smacker.c
smjpeg.c
smjpeg.h
smjpegdec.c
smjpegenc.c
smoothstreamingenc.c
smush.c
sol.c
sox.h
soxdec.c
soxenc.c
spdif.c
spdif.h
spdifdec.c
spdifenc.c
srtdec.c
srtenc.c
srtp.c
srtp.h
srtpproto.c
subtitles.c
subtitles.h
subviewer1dec.c
subviewerdec.c
swf.c
swf.h
swfdec.c
swfenc.c Merge commit '4a2ef39442bf7f0150db07a1fbfcf8286e4d44a3' 2013-07-26 10:43:12 +02:00
takdec.c avformat/takdec: use init_get_bits8() 2013-08-05 10:14:42 +02:00
tcp.c tcp: Use a default timeout of 5 sec for opening a connection but not for receiving packets 2013-07-06 01:33:19 +02:00
tedcaptionsdec.c
tee.c
thp.c
tiertexseq.c
tls.c
tmv.c
tta.c
tty.c
txd.c
udp.c Merge commit '7d99c92945e4b2d12ed2126365482e1900340da0' 2013-07-30 11:40:05 +02:00
url-test.c
url.c
url.h
urldecode.c
urldecode.h
utils.c Merge commit '7950e519bb094897f957b9a9531cc60ba46cbc91' 2013-08-03 10:08:30 +02:00
vc1test.c
vc1testenc.c
version.h mpegts: add fix_teletext_pts mpegts demuxer option 2013-08-06 02:47:38 +02:00
vivo.c
voc.c
voc.h
vocdec.c
vocenc.c
vorbiscomment.c vorbiscomment: Add DESCRIPTION to ff_vorbiscomment_metadata_conv 2013-07-18 12:03:21 +02:00
vorbiscomment.h
vplayerdec.c
vqf.c
w64.c
w64.h
wavdec.c
wavenc.c
wc3movie.c
webvttdec.c
webvttenc.c lavf/webvttenc: use proper printf format for int64_t values 2013-07-30 20:32:26 +00:00
westwood_aud.c
westwood_vqa.c Merge commit 'f054e309c58894450a5d18cce9799ef58aab9f14' 2013-07-08 05:02:52 +02:00
wtv.c wtv: Drop some casts that now are unnecessary 2013-07-26 23:05:18 +03:00
wtv.h Merge commit '86f042dcabde2a5386dbd95ab0451b274987d253' 2013-07-27 09:19:58 +02:00
wtvdec.c Merge remote-tracking branch 'qatar/master' 2013-07-27 09:43:29 +02:00
wtvenc.c
wv.c
wv.h
wvdec.c
wvenc.c
xa.c
xmv.c
xwma.c
yop.c
yuv4mpeg.c yuv4mpeg: Correctly round chroma up for odd luma sizes 2013-07-07 13:30:22 +03:00