Add support for AMR-WB encoding via libvo-amrwbenc
The wrapper code is based on the libamr wrapper removed in SVN rev 19365.
Signed-off-by: Martin Storsjö <firstname.lastname@example.org>
Add an AAC encoder by using the libvo-aacenc library
g722: Return 8 bits per sample for g722 in av_get_bits_per_sample
This fixes a failing assert in ff_raw_read_header (infate-g722dec-1), where bits_per_coded_sample is set using thisfunction and is required to have a positive value.
avio: add more documentation for AVIOContext.
Parse sprite data for WMVP and WVP2, and decode sprites for the latter
Signed-off-by: Anton Khirnov <email@example.com>
Replace outdated info on the FAQ
FAQ could use some work. This updates a few little details.
Signed-off-by: Michael Niedermayer <firstname.lastname@example.org>Signed-off-by: Anton Khirnov <email@example.com>
I think the documentation of sameq is causing confusion and misuse ofthis option.
pad: fix example explanation
"row" and "column" term positions in the explanation were inverted.
Signed-off-by: Stefano Sabatini <firstname.lastname@example.org>Signed-off-by: Anton Khirnov <email@example.com>
gradfun: add notice from the MPlayer manual
Add notice telling that the filter is designed for playback only.
eval: add support for trunc, ceil, and floor functions
documentation: add setdar and setsar description to filters.texi
avio: document some members of AVIOContext.
avio: document avio_close().
avio: cosmetics, vertically align comments.
avio: cosmetics, group the reading functions.
avio: cosmetics, merge all the FF_API_OLD_AVIO blocks.
avio: cosmetics, move AVIOContext to start of the file.
avio: update file header.
os: fix OpenBSD/PowerPC compilation
When attempting to re-enable the AltiVec support it was noticedthat we need to undefine _POSIX_C_SOURCE to appease the headersfor ff_get_cpu_flags_ppc() to be able to compile.
Signed-off-by: Luca Barbato <firstname.lastname@example.org>
pixfmt: add PIX_FMT_BGR48LE and PIX_FMT_BGR48BE
PIX_FMT_BGR48LE is used by PhantomCINE demuxer.
oggdec: fix demuxing chained audio streams
Chained ogg served by icecast and mpd should demuxproperly now.
daud: Don't write packets that are too large to have their size expressed in the bytestream.
pthread: validate_thread_parameters() ignored slice-threading being intentionally off
The thread_type API allows you to request only FF_THREAD_FRAME (instead ofFRAME | SLICE), but it was being ignored.We don't implement both of them at the same time, so there isn't an effect...
Use consistent condition for whether to run slice-threading execute function.
Signed-off-by: Ronald S. Bultje <email@example.com>
avformat.h: fix a misplaced #endif
vaapi: cope with VA-API 0.32, i.e. fix VC-1 decoding on Sandy Bridge.
(cherry picked from commit a18e7b4fb77d3799cf21110b5e6dda4691a295b3)
Signed-off-by: Reinhard Tartler <firstname.lastname@example.org>
vaapi: filter out DELAYED_PIC_REF flag to determine field.
This fixes ticket #23.
(cherry picked from commit 621f4c98df4ee9fd604a614f31e09eef9dd7d3ca)
lavf: bump minor and add an APIChanges entry for avformat cleanup
lavf: get rid of ffm-specific stuff in avformat.h
avio: deprecate av_protocol_next().
avio: add a function for iterating though protocol names.
lavf: rename a parameter of av_sdp_create from buff->buf
This is more consistent with the rest of the API.
lavf: rename avf_sdp_create to av_sdp_create.
The new name is more consistent with the rest of the API.
lavf: make av_guess_image2_codec internal
It doesn't look very useful as a public function.
avio: make URLProtocol internal.
avio: make URLContext internal.
lavf: mark av_pkt_dump(_log) for remove on $next+1 bump.
lavf: use designated initializers for all protocols
This is more readable and makes it easier to reorder URLProtocolmembers.
applehttp: don't use deprecated url_ functions.
avio: move two ff_udp_* functions from avio_internal to url.h
asfdec: remove a forgotten declaration of nonexistent function
avio: deprecate the typedef for URLInterruptCB
There's no particular reason to pollute the namespace with a typedef forit.
proto: include os_support.h in network.h
Fix compilation on systems without poll()
matroskaenc: don't write an empty Cues element.
lavc: add a FF_API_REQUEST_CHANNELS deprecation macro
And hide request_channels AVOption under it.
avio: move extern url_interrupt_cb declaration from avio.h to url.h
avio: make av_register_protocol2 internal.
avio: avio_ prefix for url_set_interrupt_cb.
avio: AVIO_ prefixes for URL_ open flags.
proto: introduce listen option in tcp
This way is possible to have simple micro-server act like
ffmpeg -i file.nut -vcodec copy -acodec copy -f nut tcp://foo:1234?listen
doc: clarify configure features
This way people will not get surprises regarding the current configurebehaviour and contributors will have a guideline on what is expected.
proto: factor ff_network_wait_fd and use it on udp
Support the URL_FLAG_NONBLOCK semantic and uniform the protocol.The quick retry loop is already part of retry_transfer_wrapper.
The polling routine is common to the network protocols:udp, tcp and, once merged, sctp.
Fix parser: mark av_parser_parse() for removal on next major bump
Fix the breakage introduced with 9073ca6c6ebb9e3e9b60d968b7aa16cc8b6d558d
swscale: postpone sws_getContext removal until next major bump.
The replacement isn't ready yet.
fate: add AAC LATM test
mmst: get rid of deprecated AVERRORs
lxfdec: use AVERROR instead of deprecated AVERROR_NOMEM.
Reemove remaining uses of deprecated AVERROR_NOTSUPP.
lavf: if id3v2 tag is present and all else fails, guess by file extension
psymodel: extend API to include PE and bit allocation.
Signed-off-by: Janne Grunau <email@example.com>
avio: always compile dyn_buf functions
Fixes build with --disable-muxers --disable-network.
Thanks to Hendrik Leppkes for noticing.
Remove unnecessary parameter from ff_thread_init() and fix behavior
thread_count passed to ff_thread_init() is only used to set AVCodecContext.thread_count, and can be removed. Instead move it to the legacy implementationof avcodec_thread_init().
This also fixes the problem that calling avcodec_thread_init() with pthreads...
Revert "aac_latm_dec: use aac context and aac m4ac"
This reverts commit 36864ac3540445c513484017aa9927e942fac24a since itbreaks LATM decoding in ffplay.
configure: tell user if libva is enabled like the rest of external libs.
Add silence support for AV_SAMPLE_FMT_U8.
avio: make URL_PROTOCOL_FLAG_NESTED_SCHEME internal
avio: deprecate av_url_read_seek
It's not used anywhere internally.
Salvage its documentation for ffio_read_seek.
avio: deprecate av_url_read_pause
Salvage its documentation for ffio_read_pause.
ac3enc: NEON optimised extract_exponents
Signed-off-by: Mans Rullgard <firstname.lastname@example.org>
ac3enc: move extract_exponents inner loop to ac3dsp
avio: deprecate url_get_filename().
URLContext.filename should be used directly.
avio: deprecate url_max_packet_size().
URLContext.max_packet_size should be used directly.
avio: make url_get_file_handle() internal.
avio: make url_filesize() internal.
avio: make url_close() internal.
avio: make url_seek() internal.
avio: cosmetics, move AVSEEK_SIZE/FORCE declarations together
avio: make url_write() internal.
avio: make url_read_complete() internal.
avio: make url_read() internal.
avio: make url_open() internal.
avio: make url_connect internal.
avio: make url_alloc internal.
applehttp: Merge two for loops
The previous commit didn't do this straight away, to keep thediff slightly simpler.
applehttp: Restructure the demuxer to use a custom AVIOContext
This avoids issues where EOF at the end of the segment is giventhe variant demuxer. Now the demuxers only see one single datastream (as when using the applehttp protocol handler).
applehttp: Move finished and target_duration to the variant struct
This is a preparation for a restructuring of the demuxer, tominimize the later diff.
aacenc: reduce the number of loop index variables
avio: deprecate url_open_protocol
The unbuffered API will be made private and it's not used anywhereinternally.
avio: deprecate url_poll and URLPollEntry
They're unimplemented and nobody cared to do anything with that for10 years.
ac3enc: select bandwidth based on bit rate, sample rate, and number offull-bandwidth channels.
This reduces high-frequency artifacts and improves the quality of the lowerfrequency audio at low bit rates.
flvdec: fix segfault in amf_parse_object() due to NULL key
fixes Issue 2674
fate: fix partial run when no samples path is specified
This restores the behaviour of running only the builtinregression tests when no path to external samples is given.aa3805a inadvertently broke this by always setting SAMPLESto something. Using := makes the ifdef test work as expected...
ARM: NEON fixed-point forward MDCT
ARM: NEON fixed-point FFT
lavf: bump minor version and add an APIChanges entry for avio changes
avio: simplify url_open_dyn_buf_internal by using avio_alloc_context()
avio: make url_fdopen internal.
The unbuffered URLContext API will be made private, so there's no pointin this function being public.
avio: make url_open_dyn_packet_buf internal.
It doesn't look fit to be a part of the public API.
Adding a temporary hack to ffserver to be able to use it, should becleaned up when somebody is up for it.
avio: avio_ prefix for url_close_dyn_buf