Tomas Härdin
c416b5cdf1
mxf: Add DNxHD UL
...
Note that the old DNxHD UL is actually JPEG 2000 according to RP224.
Leaving it as-is for now.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Philip de Nier
a9099e0402
mxf: Add uncompressed 422 8-bit rawvideo UL
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Michael Niedermayer
20fa3fb93d
avformat/movenc: assert that get_cluster_duration() value is valid
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
1b872de8f4
avformat/movenc: check that the input timestamps are within the range that can be stored in mov
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
0c803eba2f
avformat/mov: make invalid sampledelta error more verbose
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Nicolas George
916a79227e
lavf/mux: check av_dup_packet() return value.
...
Signed-off-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Leandro Dorileo
8370a6fa59
libavformat/mpegts: expose raw packet size
...
We cannot easily determine if an mpeg TS's packet size is DVHS, FEC
or so on, for that we need to expose the internal raw_packet_size
field.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Michael Niedermayer
2969fb4393
avformat/utils: av_guess_frame_rate() favor avg_frame_rate if r_frame_rate has a comparably unlikely value
...
Fixes Ticket3399
Fixes Ticket2958
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
3f461566b7
avformat/movenc: simplify code, decrease difference to libav
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Martin Storsjö
1e142d5b48
movenc: Add a fallback fragmentation method for plain mp4 as well
...
Previously the default fragmentation method was only enabled
if writing an ISM file.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Michael Niedermayer
c57fc97e95
avformat/bink: Check return value of av_add_index_entry()
...
Fixes null pointer dereference
Fixes: cdbf15cbd0a27cee958dd0b8800e452e-signal_sigsegv_737991_2083_cov_317652874_LBSTART.BIK
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Diego Biurrun
2f2b2efd31
doxygen: Replace @parblock syntax with manual linebreaks
...
@parblock is only supported in very recent Doxygen versions.
11 years ago
Diego Biurrun
4d7ab5cfeb
doxygen: Add a number of missing function parameter descriptions
11 years ago
Alexander Strasser
db3c9701f4
lavf/avio: Introduce avio_find_protocol_name
...
Make it possible to find out what protocol will be chosen
for a given URL.
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
11 years ago
Diego Biurrun
b339182eba
Move all example programs to doc/examples
...
Also drop support for building examples in library directories.
11 years ago
Lukasz Marek
81c3f81d6f
lavd: add list devices API
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
11 years ago
Michael Niedermayer
05e9e3342f
avformat/mov: fix avg_frame_rate calculation
...
Fixes integer overflow
Fixes Ticket3390
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Hendrik Leppkes
45581ed15d
oggdec/vorbis: fix stream duration condition
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
480af3a35c
avformat/utils: skip the MPEG-2 style dts/pts code for HEVC
...
This extends the exception from H264 to H264 + HEVC
Fixes Ticket3385
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
mrlika
e2707a7cf7
avformat/mpegts: DVB subtitles multiple languages support
...
Copy multiple languages data from PMT to extradata. New 5 bytes
per language extradata format.
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
842b6c14bc
avformat/mpegtsenc: Check data array size in mpegts_write_pmt()
...
Prevents out of array writes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
mrlika
af786236cc
mpegts muxer: DVB subtitles multiple languages support
...
* restore multiple languages data from extradata to PMT table
* setting correctly hearing empaired subtitling type
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Janne Grunau
8a2250344b
jv: detect partial packets in the demuxer
...
Fixes fate-jv under valgrind which reports a different CRC for the last
frame from a partial read.
11 years ago
Michael Niedermayer
c320485633
avformat/asfdec: pass on error code from avio_seek()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
d32926db7f
avformat/riff: return error code from ff_get_guid()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Janne Grunau
f5d92d9cab
asfdec: fix seeking with fragmented packets
...
After seeking fragments with an offset > 0 must be skipped to correctly
assemble packets.
Bug-Id: 43
11 years ago
Andrew Kelley
0c08256596
asfdec: short-circuit seeking to the start of stream
...
Bug-id: 43
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
11 years ago
Janne Grunau
0ebb523f07
asfdec: check ff_get_guid() return values during seeking
...
Hitting EOF during seeking is quite likely. Fixes use of uninitialized
data during fate-seek-lavf-asf.
11 years ago
Michael Niedermayer
a0911b0597
avformat/mov: fix keyframe flags for sample from chromium Issue 340865
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Nicolas George
edc7e67669
lavf/lavd: version bump and APIchanges for uncoded frames.
11 years ago
Nicolas George
dcda5ef1ea
lavf: add uncodedframecrc test muxer.
11 years ago
Nicolas George
1b05ac220e
lavf: add write_uncoded_frame() API.
11 years ago
Matt Oliver
1ff42685fe
avformat/libssh: Fix libssh defaulting to shared linkage.
...
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Reviewed-by: Lukasz M <lukasz.m.luki@gmail.com>
See: [FFmpeg-devel] Fix libssh static linkage on Windows
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Zhang Rui
4958628ba6
avformat/concatdec: pass the interrupt callback on
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Anton Khirnov
394fb56c29
lavf: always unref the packet passed to av_interleaved_write_frame() on error
11 years ago
Marton Balint
6421111b52
lavf: allow av_find_best_stream to return AV_DISPOSITION_*_IMPAIRED wanted_streams
...
Previously these type of streams were not returned even if wanted stream was
set to a stream of such. Now they are only skipped if they are not wanted
streams.
Fixes ffplay -sst <stream number> out.ts where stream number is a *_IMPAIRED stream.
Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Anton Khirnov
18c896be3d
lavf: extend / improve the AVFormatContext doxy
11 years ago
Anton Khirnov
54f7e79d47
lavf: add some basic documentation of the muxing process
11 years ago
Anton Khirnov
4c75059950
lavf: rewrite the av_write_frame() doxy
...
Remove some vague / incorrect statements and make the text more specific
and less confusing.
11 years ago
Anton Khirnov
ad7f2b69a5
lavf: rewrite the av_interleaved_write_frame() doxy
...
Remove some vague / incorrect statements and make the text more specific
and less confusing.
11 years ago
Anton Khirnov
38893dc028
pcmdec: replace a reachable assert with an error check
...
Libavformat should not make any assumptions about values returned from
other libraries. This assert is easily reachable by using a non-raw
codec id.
11 years ago
Janne Grunau
b37effdc52
mxfdec: free descriptor extradata in .read_close()
...
Fixes memleak in fate-mxf-demux.
11 years ago
Andrew Kelley
b0c2c097e4
lavf: default .ogg audio to libvorbis if we can
...
Since 2007, the Xiph.org Foundation recommends that .ogg only be used
for Ogg Vorbis audio files.
Source: http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
However we only do it if we have libvorbis available because the
built in vorbis encoder is not as good.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years ago
Derek Buitenhuis
ef5d32b9c5
Add raw HEVC muxer
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Derek Buitenhuis
722554788b
Add raw HEVC muxer
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Kostya Shishkov
cde7df25ef
Mirillis FIC video decoder
...
Does not contain cursor rendering yet.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Ben Boeckel
5a633ec2dd
vorbis: extract metadata from the middle of a stream
...
If a special comment packet shows up in the middle of the stream, we
should extract it out into the vorbis stream metadata dictionary.
Also, if there is metadata in the packet on the way in, it might linger
since we only add data to the dictionary causing stale metadata to be
inserted into the stream. Instead, clear it to remove any doubt about
what is new and old.
Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Ben Boeckel
0dc66553ad
vorbis: append data from tags together
...
Currently, if there are multiple 'performer' tags, the last one is the
only one which appears. Instead, join them with a semicolon.
Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Ben Boeckel
7eb84f2c3b
ogg: allow streams to update metadata
...
Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Vignesh Venkatasubramanian
129e24f78e
lavf/oggparseopus: Setting seek_preroll in AVCodecContext
...
Setting seek_preroll value in AVCodecContext for Opus streams
embedded in ogg container.
Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago