Luca Barbato
c94e2e85cb
nut: Support experimental NUT 4 features
...
Add the low overhead pipe mode and the extended broadcast mode.
Export the options as 'syncponts' since it impacts only that.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Luca Barbato
6d212599aa
avformat: Provide a standard compliance flag
...
Provide f_strict for avconv usage.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Michael Niedermayer
7dba055bb0
oggenc: Fix the EOS flag
...
This corrects the bug that caused the checksums to change in
9767d7c092
.
It caused the EOS flag to be set incorrectly; the ogg spec does not
allow it to be set in the middle of a logical bitstream.
Signed-off-by: Andrew Kelley <superjoe30@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Anton Khirnov
106b62f4ba
matroskaenc: write the channel mask for FLAC
11 years ago
Anton Khirnov
efcde917af
vorbiscomment: simplify API by using av_dict_count()
11 years ago
Anton Khirnov
23f741f793
matroskadec: parse the channel layout mask for FLAC
...
It is commonly stored in a vorbiscomment block in codec private data.
11 years ago
Anton Khirnov
4efdadc8ec
matroskadec: export just the STREAMINFO block as FLAC extradata
...
It contains all information that is used by the decoder and the other
FLAC-capable demuxers (flacdec, ogg) export only STREAMINFO as well.
11 years ago
Anton Khirnov
6df478bf89
matroskadec: split parsing tracks into a separate function
11 years ago
Anton Khirnov
5fdaf312c5
flac: make avpriv_flac_parse_block_header() inline
...
This avoids all the ABI troubles associated with avpriv_.
Since this function is very small and does not depend on any tables,
making it inline should have no adverse effects.
11 years ago
Anton Khirnov
54ed488b1a
flac muxer: write WAVEFORMATEXTENSIBLE_CHANNEL_MASK tag for multichannel files
11 years ago
Anton Khirnov
d6b9ce99ea
flac demuxer: parse the WAVEFORMATEXTENSIBLE_CHANNEL_MASK tag
...
It is used to store the channel mask for non-standard layouts.
11 years ago
Andrew Kelley
9767d7c092
oggenc: Flush after writing headers
...
Before, header information for ogg format files was sent with the
first encoded packet.
This patch makes it so that it is possible for API users to
differentiate between headers and encoded audio. This is useful, for
example, when creating an audio stream where you want to send one set
of headers for every client that connects and then the encoded stream
of audio.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Andrew Kelley
1d3eb0b573
oggenc: Move ogg_write_pages up above ogg_write_header
...
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Nidhi Makhijani
e0d01dc7d7
smoothstream: check malloc calls
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Nidhi Makhijani
8692e6284f
rdt: check malloc calls
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Janne Grunau
c23c96b638
lavf: add av_stream_get_side_data
11 years ago
Vittorio Giovara
853cc025d6
mov: store display matrix in a stream side data
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Anton Khirnov
a312f71090
lavf: deprecate now unused AVStream.pts
11 years ago
Anton Khirnov
ed7922faac
mux: drop one of the hacks comprising compute_pkt_fields2()
...
All encoders should output proper timestamps now.
11 years ago
Anton Khirnov
0ba5299a80
movenc: use the "encoder" metadata tag to write stsd Compressorname
...
This mirrors the demuxer behaviour and avoids accessing
AVCodecContext.codec, which should not be done in muxers.
11 years ago
Anton Khirnov
d246231e47
wavenc: use codec descriptors to get the codec name
...
Also, return a proper error code.
11 years ago
Anton Khirnov
79f2c426fd
dv: do not set codec timebase
...
It is not supposed to be set from outside of libavcodec.
Set average framerate instead.
11 years ago
Anton Khirnov
7a5f4f6853
lavf: extend avg_frame_rate documentation.
11 years ago
Anton Khirnov
c3311d472a
avienc: sanitize variable naming in write_header()
...
Do not call an AVCodecContext 'stream', that is highly confusing.
Also, add a local variable for the current AVStream in the loop over all
streams.
11 years ago
Anton Khirnov
ab3fdaa713
yop: only set extradata size after it has been successfully allocated
...
Do not leave a non-zero extradata_size set on failure
11 years ago
Anton Khirnov
b513bf6f69
yuv4mpegdec: do not set coded_frame properties
...
coded_frame is not meant to be changed from outside of lavc, and is not
used for decoding.
Set AVCodecContext.field_order instead.
11 years ago
Anton Khirnov
e4dc1000d7
yuv4mpeg: split the demuxer and muxer into separate files
11 years ago
Anton Khirnov
3ef6c5264b
a64: check that extradata exists before reading from it
11 years ago
Anton Khirnov
b136564909
a64: remove unneeded struct qualifier
11 years ago
Anton Khirnov
d256ed78ff
4xm: allocate extradata properly.
...
Pad it with the required amount of zeros, check for malloc failure.
11 years ago
nu774
584f884090
riff: Pass block_align to estimate frame duration
...
Fix incorrect wSamplesPerBlock(=0) written for ADPCM_IMA_WAV
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Martin Storsjö
34e2ce5dde
hlsenc: Set the default codecs to AAC and H264
...
Most HLS implementation only support these codecs.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Hendrik Leppkes
7c377f0e74
avisynth: set duration of audio streams
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Anton Khirnov
c9281a01b7
lavf: drop the zero-sized packets hack
...
There should not be any valid reason anymore for passing completely
empty packets to lavf.
OTOH side data-only packets can be useful.
11 years ago
Anton Khirnov
0c1959b056
lavf: add AVFMT_FLAG_BITEXACT.
...
Use it instead of checking CODEC_FLAG_BITEXACT in the first stream's
codec context.
Using codec options inside lavf is fragile and can easily break when the
muxing codec context is not the encoding context.
11 years ago
Anton Khirnov
a738540366
lavf: properly document the distinction between flags and ctx_flags
11 years ago
Janne Grunau
449511740f
build: handle library dependencies in configure
...
Instead of setting FFLIBS in each library Makefile configure
exports FFLIBS-$library in config.mak.
11 years ago
Martin Storsjö
0bacfa8d37
rtmpproto: Check the buffer sizes when copying app/playpath strings
...
As pointed out by Reimar Döffinger.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Uwe L. Korn
7ce3bd9614
rtmpproto: Support alternative slist parameter in rtmp URLs
...
Support the URL scheme where the playpath is in an RTMP URL is
passed as the slist argument and the app is given infront of the
query part of the URL:
rtmp://host[:port]/[app]?slist=[playpath]
(other arguments in the query part are stripped as they are not used)
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Luca Barbato
dcbfb7805a
probe: Support AAC_LATM in set_codec_from_probe_data
11 years ago
Luca Barbato
f66d0c57b1
latm: Add a probe function
11 years ago
Anton Khirnov
ef9732162c
rmdec: do not export anything to AVCodecContext.codec_name
...
That field will be deprecated and the value that is written there is not
particularly useful.
11 years ago
Anton Khirnov
6072184e70
asfenc: use codec descriptors instead of AVCodecs to write codec info
...
Also, stop using AVCodecContext.codec_name as fallback, since it will be
deprecated.
Changes the result of the lavf-asf test (and its associated seektest),
since 'msmpeg4v3' gets written instead of just 'msmpeg4'.
11 years ago
Anton Khirnov
92e4b643df
oggparseskeleton: do not use AVCodecContext.codec_name
...
That field is undocumented, of dubious use, and will be deprecated.
11 years ago
Anton Khirnov
18f2514c40
mov: export stsd Compressorname in metadata
...
Stop using the undocumented to-be-deprecated AVCodecContext.codec_name
field.
11 years ago
Anton Khirnov
141fdc763c
matroska: add the Opus mapping
11 years ago
Anton Khirnov
a1aa37dd0b
matroskaenc: write CodecDelay
11 years ago
Anton Khirnov
eb3b5501e8
matroskadec: read the CodecDelay element
11 years ago
Luca Barbato
7d027b9d6d
librtmp: Map native options to librtmp ones when possible
...
Makes the two protocols nearly seamless.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Luca Barbato
7266e24f17
hls: Sync the file number with the start sequence
11 years ago