ffmpeg: reset top_field_first in opt_input_file().
This allows seting tff for inputs without also setting it for the outputSigned-off-by: Michael Niedermayer <email@example.com>
Ogg demuxer: give meaningful error codes and warnings.
Signed-off-by: Nicolas George <firstname.lastname@example.org>
Merge branch 'master' of git.videolan.org:ffmpeg
update changelog with 9/10 bit H264 and FFV1 changes
Merge remote branch 'qatar/master'
12 files changed, 36 insertions(+), 81 deletions(-)yes thats 36 new lines in 14 commits
Add some forgotten const to function arguments in libavfilter & libavformat.
Signed-off-by: Michael Niedermayer <email@example.com>
Write channel_layout for multichannel aif files.
Fix ff_mov_write_chan() so it can be used by other muxers.
Fix some mov files with little endian audio (tickets 201 - 203).
iff/8svx: redesign 8SVX demuxing and decoding for handling stereo samples correctly
Make the iff demuxer send the whole audio chunk to the decoder as asingle packet, move stereo interleaving from the iff demuxer to thedecoder, and introduce an 8svx_raw decoder which performs...
iff: compact code setting metadata tags
iff: fix bitrate computation for compressed audio stream
iff: distinguish fields for audio and video compression
Create separate fields 8svx_compression (for audio compression), andbitmap_compression (for video compression), and perform minor relatedlogging tweaks.
Improve clarity, also simplify the case when both types of compression...
imgutils: introduce internal image_get_linesize() and use it
Allow to factorize code between av_image_get_linesize() andav_image_fill_linesizes(), and add missing checks.
imgutils: make av_image_get_linesize() return AVERROR for invalid pixel formats
drawtext: specify union type for setting default options
Fix warnings of the type:vf_drawtext.c:NNN: warning: missing braces around initializervf_drawtext.c:NNN: warning: (near initialization for ‘drawtext_options[X].default_val’)
drawtext: reindent after the previous commit
drawtext: fix strftime() text expansion
The feature was dropped after the filter was partially rewritten andrecommitted.
Fix issue #207.
ffmpeg: fix -aspect cli option
Redesign the way -aspect option is handled. This is done by makingffmpeg read the sample aspect ratio set in the corresponding inputstream by default, and overriding it using the value specified by-aspect.
If the output display aspect ratio is specified with -aspect, it is...
Restructure video filter implementation in ffmpeg.c.
This fixes several bugs like multiple outputs and -aspect mixed with -vf
(cherry picked from commit 1762d9ced70ccc46c5d3e5d64e56a48d0fbbd4f7)(cherry picked from commit 5c20c81bfa526b3a269db9c88b0c9007861f0917)...
ffplay: remove audio_write_get_buf_size() forward declaration
Move up the definition of audio_write_get_buf_size(), so that it isdefined before it is used. Simplify.(cherry picked from commit 8776f3d22e401e30d17856e341f6cabbbefa92f7)
lavfi: print key-frame and picture type information in ff_dlog_ref()
Signed-off-by: Stefano Sabatini <firstname.lastname@example.org>(cherry picked from commit f7bdffb09da597c5d6afff5359523370470ad072)
mathops: remove ancient confusing comment
Signed-off-by: Mans Rullgard <email@example.com>
rawdec: Allow overriding top field first.
Iam not sure this is the best way to implement it, but its the simplestand keeps the code seperate from the application. Keeping ffmpeg.csimple and not requireing user apps to duplicate this code.Signed-off-by: Michael Niedermayer <firstname.lastname@example.org>
ffmpeg: initialize input_codec array earlier.
cmdutils: Allocate private decoder context if its not allocated yet.
This fixes and simplifies setting decoder private options.Signed-off-by: Michael Niedermayer <email@example.com>
cws2fws: Improve error message wording.
tools: Check the return value of write().
This fixes several warnings of the type:warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
mpegaudio: move OUT_FMT macro to mpegaudiodec.c
mpegaudio: remove OUT_MIN/MAX macros
These macros are no longer needed after the s32 output was removed.Change the relevant code to use av_clip_int16() instead of usingexplicit limits.
Add missing #includes to mp3_header_(de)compress bsf
dct: fix indentation
dct: bypass table allocation for DCT_II of size 32
The size-32 DCT_II has a special implementation which doesn't usethe normal tables. Skipping allocation of these in this case savessome memory.
pngdec: relax condition for setting monoblack pixel format
Ignore color_type information for setting the monoblack pixel format,only rely on bit_depth.
In particular: fix Test_1bpp_grayscale.png from issue #172.
This may work fine for some broken encoder, and not for others.
h264dsp_mmx: Add #ifdefs around some mmxext functions on x86_64.
This fixes linking errors due to undefined symbols on x86_64 OS X.
Signed-off-by: Diego Biurrun <firstname.lastname@example.org>
Remove unused header mpegaudio3.h.
The header is a part of an MP3 encoder that never saw the light of day.
Support decoding of 1bpp rawvideo in avi (ticket 205).
Support decoding of 2bpp rawvideo in avi (ticket 206).
Bump minor after adding a caf muxer.
configure: another try on fixing osx/mingw SDL
aacdec: Use float instead of int16_t for ltp_state to avoid needless rounding.
av_picture_crop(): Support simple cases with packed pixels too.
This fixes a regression when linked to old ffmpeg.Signed-off-by: Michael Niedermayer <email@example.com>
acelp: Remove unused gray_decode table.
dfa: Remove unused variable.
This fixes the warning:libavcodec/dfa.c:189: warning: unused variable ‘frame_end’
configure: Include AVX availability in summary output.
rawdec: propagate pict_type information to the output frame
showinfo: replace "CRC" by "checksum"
Indeed the Adler-32 checksum, which is computed by showinfo, is notcyclic, so using the term "CRC" is wrong/confusing.
showinfo: fix vertical align nit
showinfo: fix computation of Adler checksum
Previously the code was computing the checksum only for the first lineof each plane.
imgutils: generalize linesize computation for bitstream formats
Make it a subcase of the general algorithm used for the non-bitstreamcase. Simplify, and make av_image_get_linesize() andav_image_fill_linesizes() correctly return the right value when plane...
configure: use same CPPFLAGS in kFreeBSD as Linux
046f081b46c8479820409cf8f530b988221bd15b reorganized the CPPFLAGS to nolonger add -D_POSIX_C_SOURCE unconditionally, but only on systems (e.g.,glibc based ones) that require it. As kFreeBSD uses glibc, it needs to...
Initial caf muxer.
Support decoding of amr_nb and gsm in caf.
Fix decoding of msrle samples with 1bpp.
udp: remove resource.h inclusion, it breaks mingw compilation.
The header seems unneeded, if its needed we will put it back with appropriate #ifSigned-off-by: Michael Niedermayer <firstname.lastname@example.org>
ffmpeg: Allow seting and cycling through debug modes.
Fix FSF address copy paste error in some license headers.
Add an aac sample which uses LTP to fate-aac.
ffmpeg: Help for interactive keys.
UDP: dont use thread_t as truth value.
Unbreak compile on mingw.Signed-off-by: Michael Niedermayer <email@example.com>
swscale: fix compile on mingw32
Compiling "swscale.c" breaks on MINGW32 because of multiple including"libswscale_template.c"
[PATCH] Update pixdesc_be fate refs after adding 9/10bit YUV420P formats.
Also remove code that overwrites the C versions of functions insws_init_swScale_altivec(), so that it uses the C functions of filesif no altivec-optimized version exists.
arm: properly mark external symbol call
Surround memset and ff_vp8_dct_cat_prob by X() in order to fix iOS build
Includes patch by Luca Barbato <firstname.lastname@example.org>.
Signed-off-by: Luca Barbato <email@example.com>
ffmpeg: Interactivity support. Try pressing +-hs.
swscale: 10l forgot git add this change from ronald.
AVFrame: only set parameters from AVCodecContext in decode_video*() when no frame reordering is used.
avcodec_default_get_buffer: init picture parameters.
Fixes multithreading regression introduced in 64c06615d2b99fb9f4ffd6226d0e5787b44a41e2Fixes ticket197Signed-off-by: Michael Niedermayer <firstname.lastname@example.org>
swscale: properly inline bits/endianness in yuv2yuvX16inC().
swscale: fix clipping of 9/10bit YUV420P.
Add av_clip_uintp2() function
Support more QT 1bpp rawvideo files.
Fixes ticket #189.
UDP: udp depends on pthreads now
udp: switch custom fifo to libavutil fifo.
This also allows us to drop the semaphore as our fifo is lock free.Signed-off-by: Michael Niedermayer <email@example.com>
udp: use FFMAX&FFMIN.
udp: add a thread into udp.c for receiving data into a circular buffer, this stops the problem of live decoding/encoding giving errors.
Also added a buf_size which is the number of TS packets that to be allocated for the circular buffer.
tiffenc: set bpp table for monow/monob formats
Also makes the bpp_tab non static const, as it needs to be changed inthis case.
Fix encoding of monow/monob images, fix trac issue #193.
tiffenc: factorize code for monow/monob case in encode_frame() switch
Reduce code duplication, increase robustness.
tiffenc: fix bpp value for monow/monob formats
tiff: fix linesize for mono-white/black formats
Fix decoding of file Test_1bpp.tif, fix trac issue #171.
tiff: print log in case of unknown / unsupported tag
dfa: fix buffer overflow checks to avoid integer overflows.
Signed-off-by: Anton Khirnov <firstname.lastname@example.org>
movenc: always write esds descriptor length using 4 bytes.
ipod shuffle doesn't support anything else.
ffmpeg: use parse_number_and_die() when it makes sense
Prefer parse_number_or_die() over atoi()/atol() parsing for the options:-pass, -top, -vc, and -qscale.
Improve input validation.
Signed-off-by: Stefano Sabatini <email@example.com>Signed-off-by: Anton Khirnov <firstname.lastname@example.org>
ffmpeg: get rid of the 'q' key schizofrenia
SIGINT for quitting should be enough for everybody.
Add checksums specific to BE machines after last swscale update.
Support Digital Voodoo SD 8 Bit in mov (ticket 195).
Support R10g in mov.
Add 5.1 plus stereo-downmix to mov_channel_layout array.
Set channel_layout for S302M.
Map mlp surround channels to FFmpeg rear channels.
This allows more 3rd party applications to correctly readthe resulting wav files.
Support native DTS channel order when requested.
rtpdec_qdm2: Don't try to parse data packet if no configuration is received
The later parsing of payload data depends on the configurationbeing present. If it hasn't been configured properly yet,parsing a data packet may lead to a crash.
Signed-off-by: Martin Storsjö <email@example.com>
pixfmt-Comment: Fix big/little typo
Found-by: kierankSigned-off-by: Michael Niedermayer <firstname.lastname@example.org>
ac3enc: put the counting of stereo rematrixing bits in the same place tomake the code easier to understand.
ac3enc: clean up count_frame_bits() and count_frame_bits_fixed()
mpegvideo: make FF_DEBUG_DCT_COEFF output coeffs via av_log() instead of just via AVFrame.
This allows the values to be used without changing C code and is closer to howthe other DEBUG flags work.