Sven Hesse
8ea6157d83
xmv: Read the video packet data first, then swap its bytes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Sven Hesse
c062aa8deb
xmv: Remove superfluous zeroing of already zero'd data
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Sven Hesse
730333efc4
xmv: Add some doxygen comments
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Sven Hesse
6fb501245d
xmv: Merge XMVAudioTrack into XMVAudioPacket
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Sven Hesse
d50fc62ea2
xmv: Make the various offset variables uint64_t
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
909e0fe243
xmv: fix license header to match patch
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Aurelien Jacobs
dc6c36ce46
matroskadec: use correct compression parameters for current track CodecPrivate
14 years ago
Sven Hesse
c6c6c1aaa6
add XMV demuxer
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Kostya Shishkov
a43b1e74e2
rmdec: parse FPS in RealMedia properly
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Kostya Shishkov
48ce8b8da7
Use parsers for RealVideo 3/4 to determine correct PTS
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Kostya Shishkov
7c1f6df4b5
rmdec: correct DTS calculation in RealMedia container.
...
First, container stores only DTS and not PTS as it was believed.
Second, multiple frames in a packet store timestamp instead of position
after the frame length.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
a3f2f766af
matroskaenc: vertical alignment.
14 years ago
Anton Khirnov
15c14ce6b2
matroskaenc: implement query_codec()
14 years ago
Anton Khirnov
48f9e457ea
lavf: add avformat_query_codec().
...
It allows to check if a given codec can be written into a container.
14 years ago
Luca Barbato
7f5bf4fbaf
flvenc: use int64_t to store offsets
...
Metadata currently is written only at the start of the file in normal
cases, when transcoding from a rtmp source metadata could be
written later and the offset recorded can exceed 32bit.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Diogo Franco
f1f298cd32
Do not write ID3v1 tags by default
...
ID3v1 are legacy tags with several limitations; furthermore
avconv/ffmpeg writes the tags in UTF-8 which probably has near-0
software support.
Add a -write_id3v1 option to be able to turn it on; disabled by default.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Alex Converse
d8b999e2d0
mpegts: log into an AVFormatContext rather than MpegTSContext.
...
MpegTSContext's AVClass member can be NULL.
14 years ago
Anton Khirnov
eb97dbb05a
movenc: change AV_LOG_INFO to AV_LOG_WARNING for some warnings
14 years ago
Anton Khirnov
c14fe6bc99
lavf,lavd: remove all usage of AVFormatParameters from demuxers.
...
AVFormatParameters are converted into corresponding private options in
av_open_input_file/stream() compat wrappers, so accessing them from
demuxers is redundant.
14 years ago
Kostya Shishkov
e9fb763611
Remove redundant and dubious video codec detection by its extradata
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Baptiste Coudurier
1c967827d2
mxf: H.264/MPEG-4 AVC Intra support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Stefano Sabatini
323b930699
fifo: add av_fifo_peek2(), and deprecate av_fifo_peek()
...
The new function provides a more flexible interface for peeking at a
FIFO buffer data.
14 years ago
Reimar Döffinger
eb8b325202
Support streaming .au files.
...
FFmpeg writes data_size as AU_UNKNOWN_SIZE, make demuxer not
fail when data_size is set to this value.
Should fix trac issue #394 .
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Clément Bœsch
75af0e6a16
dv: honor timecode in DV muxer.
...
This is based on the original work by Baptiste Coudurier.
14 years ago
Clément Bœsch
b49fe589ea
mxf: honor timecode drop flag in mxf muxer if set.
14 years ago
Clément Bœsch
b33ca05b46
mxf: add cli option in mxfenc to replace GOP timecode parsing.
...
This is based on the original work by Baptiste Coudurier.
14 years ago
Clément Bœsch
4c3c6e60f9
mxf: move framenum to timecode convert to timecode helpers.
...
This is based on the original work by Baptiste Coudurier.
14 years ago
Thierry Foucu
1892052f8d
mov: Set negative Sample_duration in STTS to 1
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Dustin Brody
2f63440c59
lavf: add support for error_recognition, use it in avidec, and bump minor API version
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Clément Bœsch
9acffed9e0
oggenc: add missing initializer braces to shut up gcc warning.
...
This fixes the warning:
libavformat/oggenc.c:75:7: warning: missing braces around initializer [-Wmissing-braces]
14 years ago
Clément Bœsch
df2039f573
avidec: add missing initializer braces to shut up gcc warning.
...
This fixes the warning:
libavformat/avidec.c:81:5: warning: missing braces around initializer [-Wmissing-braces]
14 years ago
Reimar Döffinger
0399044805
Always pass a AVFormatContext to av_log.
...
This is consistent, allows custom handlers to print more info
(since they probably know about the AVFormatContext class
but not a demuxer-specific one) and also avoids issues due
to the class pointer being NULL for non-raw mpegts.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Thierry Foucu
63377695a6
AVCodecTag: Add MKTAG for Go2Meeting video codec
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Anton Khirnov
4d58e4cb4c
Rename ffserver to avserver.
14 years ago
Luca Barbato
1bf6cb85be
applehttp: fix variant discard logic
...
The v->ctx is always not NULL now, check for streams presence to
mark the read_header state.
Fixes bug #25 , possibly introduced by 603b8bc
14 years ago
Michael Niedermayer
72b0c9f55f
avidec: skip seek pos adjustment for non interleaved files.
...
Fixes Ticket327
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Reimar Döffinger
1816addc4e
Warn when falling back to unreliable UMF fps tag.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Michael Niedermayer
46eaaad8dd
Detect NI-avi at playtime like mplayer.
...
Fixes Ticket333
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
652c772981
avidec: Fix XAN DPCM demuxing.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Zohar Kelrich
73e8e8dbf9
lavf: Add an option to discard corrupted frames
...
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Zohar Kelrich
5081514269
mpegts: Mark wrongly-sized packets as corrupted
...
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Zohar Kelrich
cdb9884a63
mpegts: Move scan test to handle_packets
...
This fixes an issue where packets which start being read
while reading the header stick around after a seek.
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Zohar Kelrich
ce9e31655e
mpegts: Mark corrupted packets
...
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Zohar Kelrich
c64f80b0e8
mpegts: Reset continuity counter on seek
...
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Zohar Kelrich
8b9df201df
mpegts: Fix for continuity counter
...
Make continuity counter respect discontinuity flag
and null packets. Unpack the adaptation_field_control field.
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Zohar Kelrich
be9c00615b
mpegts: Silence "can't seek" warning on unseekable
...
Do not try to seek when we already know we are not allowed to.
Silences warning that always happens when streaming.
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Carl Eugen Hoyos
1c5480651e
Support FourCC DreX as MPEG4 ASP.
14 years ago
Carl Eugen Hoyos
222b333ed5
Cosmetics: Restore alphabetical order.
14 years ago
Carl Eugen Hoyos
9b60b076fb
Support muxing MP1, MP2 and MP3 in caf.
14 years ago
Carl Eugen Hoyos
c6e0332f30
Explicitely fail for unsupported codecs when muxing caf.
14 years ago