Reimar Döffinger
c956907eca
Revert needless API change in 05e84c95
.
...
When providing a custom AVIOContex for a AVFMT_NOFILE format
only print a warning instead of erroring out.
This allows the code to work with older MPlayer versions that
just always set pb out of laziness.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Carl Eugen Hoyos
53d5cd2c82
mov: Support Digital Voodoo SD 8 Bit and DTS codec identifiers.
14 years ago
ami_stuff
7ac639654f
mov: Support R10g codec identifier.
14 years ago
Kamil Nowosad
a304a83362
riff/img2: Add JPEG 2000 codec IDs.
14 years ago
ami_stuff
2ea1ca1714
riff: Add DAVC fourcc.
...
This fourcc is used by the "mpegable AVC" codec and files encoded with
this codec decode correctly with our H.264 decoder.
14 years ago
Carl Eugen Hoyos
682a20114e
riff: Add M263, XVIX, MMJP, CDV5 fourccs.
14 years ago
ami_stuff
d352df0931
rawvideo: Support auv2 fourcc.
14 years ago
Justin Ruggles
e6c52cee54
Replace usages of av_get_bits_per_sample_fmt() with av_get_bytes_per_sample().
...
av_get_bits_per_sample_fmt() is deprecated.
14 years ago
Ivan Kalvachev
093768c9a4
Fix bink audio playback outside of FFmpeg.
...
There are 2 known Bink audio codecs. Additionally they have
a different flavor if they are found inside Bink-b "BIKb" file.
In order to guess the correct flavor, the demuxer sets the audio
codec_tag to be the same as the file format tag.
This causes problem because same tag is used for both audio codecs.
The hack works in FFmpeg because audio codecs are identified by their
codec_id, but other players rely on standard behavior.
This fix removes the codec_tag hack and instead uses artificial
extradata format to signal the codec flavor. This would also
allow proper embedding of Bink audio in other containers.
Signed-off-by: Ivan Kalvachev <ikalvachev@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Yusuke Nakamura
ae88e9cf99
mov: Fix empty edit detection.
14 years ago
Michael Niedermayer
4aeb776913
dump_metadata: Fix 0xd in metadata
...
Fixed ticket245
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
a7e4342fc1
avidec: consider non video to contain only keyframes when seeking.
...
Fixes Ticket271
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
ami_stuff
799a87d749
avidec: Ignore unknown stream types
...
Improves ticket131
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Ronald S. Bultje
dbafb0e06f
lavf: prevent crash in av_open_input_file() if ap == NULL.
...
Needed for proper behaviour in our old API compatibility code.
14 years ago
Anton Khirnov
84bd2b4bf5
lavf: add a forgotten NULL check in convert_format_parameters().
14 years ago
Carl Eugen Hoyos
369c68c4e1
Support DTS in mp4/mov.
14 years ago
Anton Khirnov
7c44d716e7
Add minor bumps and APIChanges entries for lavf private options.
14 years ago
Anton Khirnov
25de5958c8
lavf: add avformat_write_header() as a replacement for av_write_header().
...
It supports more convenient setting of AVOptions.
14 years ago
Anton Khirnov
603b8bc2a1
Deprecate av_open_input_* and remove their uses.
...
Deprecate the last remaining member of AVFormatParameters.
14 years ago
Anton Khirnov
05e84c95c7
lavf: add avformat_open_input() as a replacement for av_open_input_*
...
Add support for demuxer private options.
14 years ago
Kirill Zorin
6ec2fd5f77
mmsh: fix 400 bad request
...
There is no need to write two HTTP newlines (\r\n) into "headers",
because http_connect (in http.c) already appends one HTTP newline at
the end of the given headers chunk, which would result in sending
three HTTP newlines after the headers. Most of the time it's okay
(although not RFC-conforming), but many proxy servers and the
occasional strict httpd will puke with a "400 bad request".
14 years ago
Diego Biurrun
1d076f46a0
rtpenc_latm: Consistently use "Libav" in license boilerplate.
14 years ago
Martin Storsjö
d840733937
rtsp: Don't pass string pointer as format string to ff_url_join
...
In this case, the string that was passed couldn't contain
user-defined data and thus there was no risk for injection
bugs, but it's safer this way, if we later change the
content of the options string.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Kirill Zorin
6095388812
mmsh: fixed printf injection bug in mmsh request
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Kirill Zorin
a0bafaabb0
mmsh: fixed printf injection bug in mmsh request
14 years ago
Reimar Döffinger
7f2228dbfe
Make buffer size check consistent and avoid a possible overflow.
14 years ago
Reimar Döffinger
c940c31c88
Fix spelling.
14 years ago
Luca Abeni
e7c7b2d878
Full support for sending H.264 in RTP
...
This implements support for the "MP4" syntax of H.264 bitstreams.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Andrew Wason
4f4d1358ae
Support reading chan atoms with empty channel descriptions.
...
Fixes ticket 263.
14 years ago
Aurelien Jacobs
fdb5e02901
matroskadec: properly decode color space in an endian neutral way
14 years ago
Aurelien Jacobs
5fec3a2539
matroskadec: use a temporary fourcc variable
14 years ago
Aurelien Jacobs
f440f74205
matroskaenc: ensure the written colorspace don't depend on host endianness
14 years ago
Diego Biurrun
35bdaf3d42
utils: Drop pointless '#if 1' preprocessor directive.
14 years ago
Carl Eugen Hoyos
8d0786ec6d
wav: remove an invalid free().
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Michael Niedermayer
a8fd2f4e02
lavf: initialise reference_dts in av_estimate_timings_from_pts.
...
Fixes issue2437.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Peter Ross
a31d4b3a99
img2: add .dpx to the list of supported file extensions.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Aurelien Jacobs
e6ba3d4281
replace remaining usage of deprecated av_metadata_set2() by av_dict_set()
14 years ago
Aurelien Jacobs
7ebaa967a2
matroskaenc: write colourspace element for rawvideo tracks
14 years ago
Aurelien Jacobs
eb8de45c3c
nsv: simplify probe function
14 years ago
Aurelien Jacobs
223694b404
nsv: return error code instead of discarding it in read_header()
14 years ago
Dave Badia
d3cef0a85b
Extract rotation in MOV metadata
14 years ago
Diego Biurrun
919d7a345a
Replace DEBUG_SEEK/DEBUG_SI + av_log combinations by av_dlog.
14 years ago
Kieran Kunhya
f74e5b76b1
adts: Adjust frame size mask to follow the specification.
...
This fixes ADTS detection for at least one sample.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Stefano Sabatini
ace0a5e236
lavf: bump minor after the addition of fps_probe_size to AVFormatContext
14 years ago
Martin Storsjö
d16cccac98
movenc: Add RTP muxer/hinter options
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
f3f82296a4
movenc: Pass the RTP AVFormatContext to the SDP generation
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
e2e29c6247
rtspenc: Add RTP muxer options
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
6cf09bb7ef
rtspenc: Add an AVClass for setting muxer specific options
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
ff0824f72c
rtpenc_chain: Pass the rtpflags options through to the chained muxer
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
635fac9af1
rtpenc: Declare the rtp flags private AVOptions in rtpenc.h
...
This allows other muxers that chain a RTP muxer to declare
the same options easily.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago