| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
It's used in lavf.
|
|
|
|
| |
They are used in lavf.
|
|
|
|
| |
It's used in lavf.
|
|
|
|
| |
It's used in lavf.
|
|
|
|
| |
It's used in lavf.
|
|
|
|
| |
It's used in lavf.
|
|
|
|
| |
It's used in lavf.
|
|
|
|
| |
Specifically, ff_dv_frame_profile and ff_dv_codec_profile.
|
|
|
|
|
| |
Specifically, ff_flac_parse_streaminfo, ff_flac_is_extradata_valid and
ff_flac_parse_block_header
|
|
|
|
|
| |
Specifically, ff_mpeg4audio_sample_rates, ff_mpeg4audio_get_config and
ff_copy_pce_data
|
|
|
|
|
| |
Specifically, ff_mpa_freq_tab, ff_mpa_bitrate_tab, ff_mpa_decode_header,
ff_mpegaudio_decode_header.
|
|
|
|
| |
It's used in lavf.
|
|
|
|
| |
Overhead as reported by rbelf-size goes from 40147 to 20877.
|
|
|
|
| |
They are used in libavdevice.
|
|
|
|
| |
It's used in libavdevice.
|
|
|
|
|
| |
Having it there forces decoding of a frame in order to get frame_size, but it
is not really needed for proper demuxing or decoding.
|
|
|
|
|
| |
The first timestamp should be negative due to delay.
Also, do not set AVCodecContext.frame_size unnecessarily.
|
|
|
|
| |
Using AVCodecContext.frame_size is not reliable.
|
| |
|
|
|
|
|
|
|
|
| |
Manual replacements are done in this commit.
In many cases, the id is some constant made up number (e.g. 0 for video
and 1 for audio), which is then not used in the demuxer for anything.
Those ids are removed.
|
|
|
|
|
| |
Trivial replacements with sed are done in this commit:
sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
|
|
|
|
| |
It takes a codec parameter, thus enabling codec-specific defaults.
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
|
|
|
|
| |
This allows setting the filter_src option for these demuxers, too,
which wasn't possible at all before (where the option only was set
via URL parameters for RTSP).
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
| |
This helps sharing these options with the sdp and rtp demuxers.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
|
| |
avconv doesn't map video streams to a muxer without specifying a
manual stream mapping if the default video codec is CODEC_ID_NONE.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was broken in 3b3ea34655db02d9cd9ea1a4122e920a7fdec602
"Remove all uses of deprecated AVOptions API", where any
presence of a payload_type AVOption caused its value to
be returned, even if it wasn't set (and thus had the default
-1 value).
This caused the RTP muxer to be broken.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
| |
Read it as a flag from the flags field instead.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Eventually, the old way of passing options by adding
stuff to the URL can be dropped.
This avoids having to tamper with the user-specified URL to
pass options on the transport mode. This also works better
with redirects, since the options don't need to be parsed out
from the URL.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
|
| |
Use defines for shortening common parts, omit the .dbl named
initializer (since it's the first element in the union).
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
|
|
| |
This eases adding options that are common for both. The
AV_OPT_FLAG_EN/DECODING_PARAM still indicates whether they belong
to the muxer or demuxer.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
| |
|
|
|
|
| |
Deprecate AVFormatContext.mux_rate.
|
|
|
|
| |
It's too unreliable to be useful. avio_size() should be called instead.
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The cbSize field should be included in all cases, even with PCM where
its value is ignored.
Fixes encoding PCM audio in Matroska for some players which insist on
a full WAVEFORMATEX structure for A_MS/ACM audio.
Since fate uses wav files for the audio test a larger number of tests
has changed checksums or shifted positions due to the 2 byte longer
wave header.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
|
| |
|
| |
|
|
|
|
|
|
| |
The demuxer does not read the seektable, a parser is not possible without a
full decode, and no shorten decoder can handle random seeking because it needs
side info from the seektable.
|
|
|
|
| |
This will prevent seeking by bytes for formats that cannot handle this.
|
| |
|
|
|
|
|
| |
This prevents flushing the packet buffer when the input format does not
support seeking.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This will allow the caller to enumerate child contexts in a generic way
and since the API is recursive, it also allows for deeper nesting (e.g.
AVFormatContext->AVIOContext->URLContext)
This will also allow the new setting/reading API to transparently apply
to children contexts.
|
|
|
|
|
|
|
|
| |
No application rely on this count being correct as far as
I know, but if we write a nonzero count value, it might just
as well be the right one.
Signed-off-by: Martin Storsjö <martin@martin.st>
|