ffmpeg.git
7 years agolavfi: make AVFilterPad opaque after two major bumps.
Anton Khirnov [Tue, 12 Jun 2012 18:12:42 +0000 (20:12 +0200)]
lavfi: make AVFilterPad opaque after two major bumps.

It will allow adding new fields to it without ABI breaks.

7 years agolavfi: add avfilter_pad_get_type() and avfilter_pad_get_name().
Anton Khirnov [Tue, 12 Jun 2012 17:57:57 +0000 (19:57 +0200)]
lavfi: add avfilter_pad_get_type() and avfilter_pad_get_name().

This will allow making AVFilterPad opaque for the calling apps, since
those are the only two fields that can be useful to the users.

7 years agolavfi: make avfilter_get_video_buffer() private on next bump.
Anton Khirnov [Wed, 30 May 2012 08:31:48 +0000 (10:31 +0200)]
lavfi: make avfilter_get_video_buffer() private on next bump.

They are only useful inside filters and we don't allow user filters for
now.

7 years agojack: update to new latency range API as the old one has been deprecated
Sean McGovern [Mon, 11 Jun 2012 22:22:31 +0000 (18:22 -0400)]
jack: update to new latency range API as the old one has been deprecated

Fixes Bugzilla #279.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agortmp: Tokenize the AMF connection parameters manually instead of using strtok_r
Martin Storsjö [Wed, 13 Jun 2012 07:51:22 +0000 (10:51 +0300)]
rtmp: Tokenize the AMF connection parameters manually instead of using strtok_r

This fixes builds on platforms without strtok_r (windows).

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoppc: Rename H.264 optimization template file for consistency.
Diego Biurrun [Sun, 3 Jun 2012 15:20:30 +0000 (17:20 +0200)]
ppc: Rename H.264 optimization template file for consistency.

7 years agolavfi: add channelsplit audio filter.
Anton Khirnov [Wed, 30 May 2012 11:59:30 +0000 (13:59 +0200)]
lavfi: add channelsplit audio filter.

7 years agogolomb: check remaining bits during unary decoding in get_ur_golomb_jpegls()
Justin Ruggles [Mon, 11 Jun 2012 14:29:57 +0000 (10:29 -0400)]
golomb: check remaining bits during unary decoding in get_ur_golomb_jpegls()

Fixes infinite loop in FLAC decoding in case of a truncated bitstream due to
the safe bitstream reader returning 0's at the end.

Fixes Bug 310.

CC:libav-stable@libav.org

7 years agosws: fix planar RGB input conversions for 9/10/16 bpp.
Ronald S. Bultje [Sat, 12 May 2012 14:21:32 +0000 (07:21 -0700)]
sws: fix planar RGB input conversions for 9/10/16 bpp.

Fixes bug 282.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agoavfilter: Log an error if avfilter fails to configure a link.
Alex Converse [Fri, 8 Jun 2012 19:02:04 +0000 (12:02 -0700)]
avfilter: Log an error if avfilter fails to configure a link.

7 years agoavconv: support only native pthreads.
Anton Khirnov [Mon, 11 Jun 2012 13:34:12 +0000 (15:34 +0200)]
avconv: support only native pthreads.

Our w32pthreads wrapper has various issues and is only supposed to be
used in libavcodec.

7 years agortmp: Fix a possible access to invalid memory location when the playpath is too short.
Samuel Pitoiset [Mon, 11 Jun 2012 12:21:32 +0000 (14:21 +0200)]
rtmp: Fix a possible access to invalid memory location when the playpath is too short.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agortmp: Do not send extension for flv files
Samuel Pitoiset [Thu, 7 Jun 2012 15:46:34 +0000 (17:46 +0200)]
rtmp: Do not send extension for flv files

This fixes bugzilla bug #304.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agortmp: support connection parameters
Samuel Pitoiset [Fri, 8 Jun 2012 11:16:34 +0000 (13:16 +0200)]
rtmp: support connection parameters

Allow using connection parameters in order to append arbitrary
AMF data like "B:1 S:authMe O:1 NN:code:1.23 NS:flag:ok O:0" to the
Connect message. You can pass these parameters through the -rtmp_conn
option.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agodoc: Add documentation for the newly added rtmp_* options
Samuel Pitoiset [Fri, 8 Jun 2012 11:15:21 +0000 (13:15 +0200)]
doc: Add documentation for the newly added rtmp_* options

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agolibmp3lame: add missing layout terminator
Michael Niedermayer [Thu, 31 May 2012 22:07:36 +0000 (00:07 +0200)]
libmp3lame: add missing layout terminator

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agoavconv: multithreaded demuxing.
Anton Khirnov [Sat, 2 Jun 2012 05:26:41 +0000 (07:26 +0200)]
avconv: multithreaded demuxing.

When there are multiple input files, run demuxing for each input file in
a separate thread, so reading packets does not block.

This is useful for achieving low latency when reading from multiple
(possibly slow) input streams.

7 years agoBump lavu minor and add an APIChanges entry for audioconvert functions.
Anton Khirnov [Mon, 28 May 2012 19:40:44 +0000 (21:40 +0200)]
Bump lavu minor and add an APIChanges entry for audioconvert functions.

7 years agoaudioconvert: add a function for extracting the channel with the given index
Anton Khirnov [Mon, 28 May 2012 10:20:57 +0000 (12:20 +0200)]
audioconvert: add a function for extracting the channel with the given index

7 years agoaudioconvert: add a function for getting the name of a single channel.
Anton Khirnov [Mon, 28 May 2012 06:39:10 +0000 (08:39 +0200)]
audioconvert: add a function for getting the name of a single channel.

7 years agoaudioconvert: add a function for getting channel's index in layout
Anton Khirnov [Mon, 28 May 2012 06:16:40 +0000 (08:16 +0200)]
audioconvert: add a function for getting channel's index in layout

7 years agoaudioconvert: use av_popcount64 in av_get_channel_layout_nb_channels
Anton Khirnov [Sat, 9 Jun 2012 18:14:12 +0000 (20:14 +0200)]
audioconvert: use av_popcount64 in av_get_channel_layout_nb_channels

7 years agovf_libopencv: add missing headers.
Anton Khirnov [Sat, 9 Jun 2012 14:00:16 +0000 (16:00 +0200)]
vf_libopencv: add missing headers.

Fix build after b74a1da4.

7 years agoiac: add missing dependency
Kostya Shishkov [Sat, 9 Jun 2012 17:19:07 +0000 (19:19 +0200)]
iac: add missing dependency

7 years agoh264: allow cropping to AVCodecContext.width/height
Mans Rullgard [Wed, 30 May 2012 03:04:54 +0000 (04:04 +0100)]
h264: allow cropping to AVCodecContext.width/height

Override the frame size from the SPS with AVCodecContext values
if the latter specify a size smaller by less than one macroblock.
This is required for correct cropping of MOV files from Canon cameras.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agomov: set AVCodecContext.width/height for h264
Mans Rullgard [Wed, 30 May 2012 03:06:00 +0000 (04:06 +0100)]
mov: set AVCodecContext.width/height for h264

This is required for correct cropping of files from Canon
cameras.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoiac: generate codec tables as they are supposed to be
Kostya Shishkov [Fri, 8 Jun 2012 17:34:46 +0000 (19:34 +0200)]
iac: generate codec tables as they are supposed to be

Unlike its predecessor, Indeo Audio codec generates tables depending on
sampling rate. Previously decoder used pre-generated tables for 22050 Hz
which obviously doesn't work with other frequencies.

Many thanks to Maxim Poliakovsky for providing all needed information
for this.

7 years agoindeo4: handle frame type 1 properly
Kostya Shishkov [Wed, 6 Jun 2012 18:13:07 +0000 (20:13 +0200)]
indeo4: handle frame type 1 properly

It turns out that this frame type is actually intra and should be used as
a reference for interframes too.

7 years agolavu: change versioning script to include all av* prefixed symbols
Justin Ruggles [Fri, 8 Jun 2012 19:47:59 +0000 (15:47 -0400)]
lavu: change versioning script to include all av* prefixed symbols

Needed to properly export avpriv_* symbols.

7 years agofloat_dsp: ppc: add a separate header for Altivec function prototypes
Justin Ruggles [Fri, 8 Jun 2012 17:58:03 +0000 (13:58 -0400)]
float_dsp: ppc: add a separate header for Altivec function prototypes

Also include config.h so that HAVE_ALTIVEC will be defined.
Fixes compilation on PPC with Altivec enabled.

7 years agoARM: fix float_dsp breakage from d5a7229
Mans Rullgard [Fri, 8 Jun 2012 18:24:51 +0000 (19:24 +0100)]
ARM: fix float_dsp breakage from d5a7229

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoAdd a float DSP framework to libavutil
Justin Ruggles [Mon, 21 May 2012 16:58:41 +0000 (12:58 -0400)]
Add a float DSP framework to libavutil

Move vector_fmul() from DSPContext to AVFloatDSPContext.

7 years agoPPC: Move types_altivec.h and util_altivec.h from libavcodec to libavutil
Justin Ruggles [Mon, 21 May 2012 20:24:42 +0000 (16:24 -0400)]
PPC: Move types_altivec.h and util_altivec.h from libavcodec to libavutil

This will allow for easier implementation of Altivec functions in libraries
other than libavcodec.

7 years agoARM: Move asm.S from libavcodec to libavutil
Justin Ruggles [Mon, 21 May 2012 19:46:23 +0000 (15:46 -0400)]
ARM: Move asm.S from libavcodec to libavutil

This will allow for easier implementation of ARM-optimized functions in
libraries other than libavcodec.

7 years agovc1dsp: mark put/avg_vc1_mspel_mc() always_inline
Mans Rullgard [Thu, 7 Jun 2012 13:20:44 +0000 (14:20 +0100)]
vc1dsp: mark put/avg_vc1_mspel_mc() always_inline

This ensures that these functions are inlined into the per-position
entry points, allowing constant propagation as needed for proper
optimisation.

18% faster VC1 decoding on Cortex-A9.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agompegts: Remove disabled extension matching probe.
Alex Converse [Tue, 5 Jun 2012 18:16:06 +0000 (11:16 -0700)]
mpegts: Remove disabled extension matching probe.

7 years agofate: avoid freopen(NULL) in videogen/rotozoom
Mans Rullgard [Wed, 6 Jun 2012 16:12:29 +0000 (17:12 +0100)]
fate: avoid freopen(NULL) in videogen/rotozoom

A number of systems do not implement freopen() with a NULL filename
correctly.  This changes these programs to output individual images
if opening a named output argument as a file fails, in this case
assuming it is a directory.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agovorbis: Validate that the floor 1 X values contain no duplicates.
Alex Converse [Tue, 5 Jun 2012 01:27:03 +0000 (18:27 -0700)]
vorbis: Validate that the floor 1 X values contain no duplicates.

Duplicate values in this vector are explicitly banned by the Vorbis I spec
and cause divide-by-zero crashes later on.

7 years agoavprobe: Identify codec probe failures rather than calling them unsupported codecs.
Alex Converse [Tue, 5 Jun 2012 00:35:51 +0000 (17:35 -0700)]
avprobe: Identify codec probe failures rather than calling them unsupported codecs.

7 years agoavformat: Probe codecs at score 0 on buffer exhaustion conditions.
Alex Converse [Mon, 4 Jun 2012 23:58:48 +0000 (16:58 -0700)]
avformat: Probe codecs at score 0 on buffer exhaustion conditions.

7 years agoavformat: Factorize codec probing.
Alex Converse [Mon, 4 Jun 2012 23:07:48 +0000 (16:07 -0700)]
avformat: Factorize codec probing.

7 years agoIndeo Audio decoder
Kostya Shishkov [Sat, 2 Jun 2012 19:07:02 +0000 (21:07 +0200)]
Indeo Audio decoder

7 years agoimc: make IMDCT support stereo output
Kostya Shishkov [Sat, 2 Jun 2012 18:35:41 +0000 (20:35 +0200)]
imc: make IMDCT support stereo output

This will be useful for Indeo Audio decoder which is almost the same
but supports stereo.

7 years agoimc: move channel-specific data into separate context
Kostya Shishkov [Sat, 2 Jun 2012 18:30:23 +0000 (20:30 +0200)]
imc: move channel-specific data into separate context

This will be useful for Indeo Audio decoder which is almost the same
but supports stereo.

7 years agolavfi: remove request/poll and drawing functions from public API on next bump
Anton Khirnov [Wed, 30 May 2012 09:20:32 +0000 (11:20 +0200)]
lavfi: remove request/poll and drawing functions from public API on next bump

They are only useful inside filters and we don't allow user filters for
now.

7 years agolavfi: make avfilter_insert_pad and pals private on next bump.
Anton Khirnov [Wed, 30 May 2012 08:31:48 +0000 (10:31 +0200)]
lavfi: make avfilter_insert_pad and pals private on next bump.

They are only useful inside filters and we don't allow user filters for
now.

7 years agolavfi: make formats API private on next bump.
Anton Khirnov [Wed, 30 May 2012 08:12:55 +0000 (10:12 +0200)]
lavfi: make formats API private on next bump.

It is only useful inside filters and we don't allow user filters for
now.

7 years agoavplay: use buffersrc instead of custom input filter.
Anton Khirnov [Wed, 30 May 2012 06:53:08 +0000 (08:53 +0200)]
avplay: use buffersrc instead of custom input filter.

We do not allow user filters, so avtools shouldn't use them either.

It also allows to reuse buffer management code from avconv, thus
reducing duplication.

7 years agoavtools: move buffer management code from avconv to cmdutils.
Anton Khirnov [Wed, 30 May 2012 05:57:59 +0000 (07:57 +0200)]
avtools: move buffer management code from avconv to cmdutils.

It will be used by avplay.

7 years agoavconv: don't use InputStream in the buffer management code.
Anton Khirnov [Wed, 30 May 2012 05:32:43 +0000 (07:32 +0200)]
avconv: don't use InputStream in the buffer management code.

Use just the pointer to the head of the buffer pool.

This will allow sharing the code with avplay.

7 years agoavconv: fix exiting when max frames is reached.
Anton Khirnov [Mon, 4 Jun 2012 18:01:55 +0000 (20:01 +0200)]
avconv: fix exiting when max frames is reached.

frame number should never be strictly larger than max frames, so the
if() was never triggered.

7 years agompc8: fix maximum bands handling
Kostya Shishkov [Mon, 4 Jun 2012 06:01:34 +0000 (08:01 +0200)]
mpc8: fix maximum bands handling

In Musepack SV8 codec property tell the maximum nonzero band, but every
frame codes maximum band as a limit (i.e. strictly less than given value).
Synthesis also expects maximum nonzero band, so there's a need to convert
frame maximum band limit value.

7 years agoaacdec: Turn PS off when switching to stereo and turn it to implicit when switching...
Alex Converse [Tue, 22 May 2012 21:43:28 +0000 (14:43 -0700)]
aacdec: Turn PS off when switching to stereo and turn it to implicit when switching to mono.

7 years agomovenc: Write chan atom for all audio tracks in mov mode movies.
Alex Converse [Thu, 31 May 2012 00:51:12 +0000 (17:51 -0700)]
movenc: Write chan atom for all audio tracks in mov mode movies.

7 years agompegtsenc: use avio_open_dyn_buf(), zero pointers after freeing
Jindřich Makovička [Sun, 3 Jun 2012 04:11:10 +0000 (06:11 +0200)]
mpegtsenc: use avio_open_dyn_buf(), zero pointers after freeing

Per suggestion by Michael Niedermayer.

Signed-off-by: Jindřich Makovička <makovick@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agodoc/avconv: add some details about the transcoding process.
Anton Khirnov [Mon, 4 Jun 2012 09:00:34 +0000 (11:00 +0200)]
doc/avconv: add some details about the transcoding process.

7 years agoavidec: make scale and rate unsigned.
Anton Khirnov [Mon, 4 Jun 2012 09:36:51 +0000 (11:36 +0200)]
avidec: make scale and rate unsigned.

The specs say they are unsigned 32bit integers.

7 years agoavconv: check output stream recording time before each frame returned from filters
Anton Khirnov [Sun, 3 Jun 2012 09:35:38 +0000 (11:35 +0200)]
avconv: check output stream recording time before each frame returned from filters

There may be multiple frames returned, so with just one check we can
write more than requested to the output.

7 years agoavconv: split selecting input file out of transcode().
Anton Khirnov [Fri, 1 Jun 2012 09:00:27 +0000 (11:00 +0200)]
avconv: split selecting input file out of transcode().

7 years agoavconv: split checking for active outputs out of transcode().
Anton Khirnov [Fri, 1 Jun 2012 08:44:11 +0000 (10:44 +0200)]
avconv: split checking for active outputs out of transcode().

7 years agoavfiltergraph: make some functions static.
Anton Khirnov [Wed, 16 May 2012 05:59:52 +0000 (07:59 +0200)]
avfiltergraph: make some functions static.

They are not used outside of avfiltergraph.c

7 years agolibrtmp: return AVERROR_UNKNOWN instead of -1.
Anton Khirnov [Sun, 3 Jun 2012 08:11:43 +0000 (10:11 +0200)]
librtmp: return AVERROR_UNKNOWN instead of -1.

7 years agolibrtmp: don't abuse a variable for two unrelated things.
Anton Khirnov [Sun, 3 Jun 2012 08:09:03 +0000 (10:09 +0200)]
librtmp: don't abuse a variable for two unrelated things.

7 years agolibrtmp: add rtmp_app and rtmp_playpath private options.
Anton Khirnov [Sun, 3 Jun 2012 08:07:54 +0000 (10:07 +0200)]
librtmp: add rtmp_app and rtmp_playpath private options.

This makes it easier to switch between native rtmp and librtmp.

7 years agobmv: add stricter checks for invalid decoded length
Kostya Shishkov [Fri, 1 Jun 2012 18:51:57 +0000 (20:51 +0200)]
bmv: add stricter checks for invalid decoded length

This makes decoder handle random data passed as BMV frame data.

7 years agoavpacket: fix duplicating side data.
Anton Khirnov [Sat, 2 Jun 2012 11:49:13 +0000 (13:49 +0200)]
avpacket: fix duplicating side data.

Use correct side data size instead of just zeroed field.

7 years agoflv: support stream text data as onTextData
Luca Barbato [Wed, 9 May 2012 21:35:58 +0000 (14:35 -0700)]
flv: support stream text data as onTextData

Adobe specifies onTextData as the standard message to use to deliver
text information.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
7 years agompegtsenc: Support LATM packetization for AAC
Jindrich Makovicka [Fri, 1 Jun 2012 08:42:48 +0000 (10:42 +0200)]
mpegtsenc: Support LATM packetization for AAC

This adds the avoption mpegts_flags and converts the existing
resend_headers option into a flag, keeping the old option as
fallback for now.

Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoadtsenc: Don't expose the muxer internals to the rest of lavf
Jindrich Makovicka [Tue, 29 May 2012 12:48:38 +0000 (14:48 +0200)]
adtsenc: Don't expose the muxer internals to the rest of lavf

This isn't required any longer, when the mpegts muxer uses it
as a proper chained muxer.

Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agompegtsenc: use AVFormatContext for AAC packetization
Jindrich Makovicka [Fri, 1 Jun 2012 10:42:20 +0000 (12:42 +0200)]
mpegtsenc: use AVFormatContext for AAC packetization

This removes the dependency on adts.c internals, and simplifies
adding other packetization formats.

Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agompegtsenc: use AVERROR() for return codes
Jindrich Makovicka [Fri, 1 Jun 2012 09:44:56 +0000 (11:44 +0200)]
mpegtsenc: use AVERROR() for return codes

Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agohttp: Add the url_shutdown function for https, too
Martin Storsjö [Fri, 1 Jun 2012 13:36:20 +0000 (16:36 +0300)]
http: Add the url_shutdown function for https, too

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agohttp: Simplify code by removing a local variable
Martin Storsjö [Fri, 1 Jun 2012 13:30:01 +0000 (16:30 +0300)]
http: Simplify code by removing a local variable

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agohttp: Clear the old URLContext pointer when closed
Martin Storsjö [Fri, 1 Jun 2012 13:24:47 +0000 (16:24 +0300)]
http: Clear the old URLContext pointer when closed

This fixes issues with opening http urls that have authentication
or redirects, introduced in commit e999b641.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agotcp: Try enabling SO_REUSEADDR when listening
Martin Storsjö [Wed, 30 May 2012 14:37:51 +0000 (17:37 +0300)]
tcp: Try enabling SO_REUSEADDR when listening

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agotcp: Check the return values from bind and accept
Martin Storsjö [Wed, 30 May 2012 14:35:05 +0000 (17:35 +0300)]
tcp: Check the return values from bind and accept

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoavisynth: Make sure the filename passed to avisynth is in the right code page
Oka Motofumi [Wed, 30 May 2012 17:14:43 +0000 (02:14 +0900)]
avisynth: Make sure the filename passed to avisynth is in the right code page

avisynth is a non-unicode application and cannot accept UTF-8
characters. Therefore, the input filename should be converted to
the correct code page that it expects.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agofate: Fix fate-ac3-fixed-encode for pre-ssse3 x86 machines
Michael Niedermayer [Wed, 30 May 2012 10:54:22 +0000 (12:54 +0200)]
fate: Fix fate-ac3-fixed-encode for pre-ssse3 x86 machines

The default mmxext and sse implementations of apply_window_int16
aren't bitexact.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agohttp: Pass the proper return code of net IO operations
Samuel Pitoiset [Wed, 30 May 2012 09:52:11 +0000 (11:52 +0200)]
http: Pass the proper return code of net IO operations

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agohttp: Add 'post_data', a new option which sets custom HTTP post data
Samuel Pitoiset [Wed, 30 May 2012 09:27:18 +0000 (11:27 +0200)]
http: Add 'post_data', a new option which sets custom HTTP post data

This allows doing http posts with a content-length header sent
in advance, avoiding chunked encoding.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agolavfi: amix: check active input count before calling request_samples
Justin Ruggles [Wed, 30 May 2012 12:48:26 +0000 (08:48 -0400)]
lavfi: amix: check active input count before calling request_samples

fixes use of the amix filter with only 1 input

7 years agovp8: move block coeff arithcoder on stack.
Ronald S. Bultje [Tue, 29 May 2012 17:56:15 +0000 (10:56 -0700)]
vp8: move block coeff arithcoder on stack.

This prevents gcc from assuming that contents of it may have changed
between calls to vp56_range_get_prob(), thus preventing countless (and
unnecessary) movs. Decoding of sintel trailer goes from (avg+SG) 9.796
+/- 0.003 to 9.635 +/- 0.010.

7 years agomp3/ac3 probe: search for PES headers to prevent probing MPEG-PS as MP3.
Ronald S. Bultje [Wed, 2 May 2012 22:45:18 +0000 (15:45 -0700)]
mp3/ac3 probe: search for PES headers to prevent probing MPEG-PS as MP3.

7 years agopcm-mpeg: improve log message wording
Christian Schmidt [Wed, 30 May 2012 11:40:23 +0000 (11:40 +0000)]
pcm-mpeg: improve log message wording

We support every defined value for channel layout, bitrate and sample depth.
All other values are not unsupported, but reserved.
Update comments to say "are used" instead of "are known or exist".

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
7 years agofate: add missing $(TARGET_PATH) to ac3-fixed-encode
Mans Rullgard [Wed, 30 May 2012 04:17:50 +0000 (05:17 +0100)]
fate: add missing $(TARGET_PATH) to ac3-fixed-encode

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: fix md5sum replacement on some systems
Mans Rullgard [Wed, 30 May 2012 02:31:16 +0000 (03:31 +0100)]
fate: fix md5sum replacement on some systems

On systems where the 'md5' command is used, there is a conflict
with the md5() shell function in fate-run.sh.  Using the 'command'
keyword bypasses the shell function for correct behaviour.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoavprobe: correctly set the default formatter
Luca Barbato [Tue, 29 May 2012 20:14:10 +0000 (13:14 -0700)]
avprobe: correctly set the default formatter

7 years agolavr: add x86-optimized function for mixing 2 to 1 s16p with q8 coeffs
Justin Ruggles [Mon, 23 Apr 2012 19:10:35 +0000 (15:10 -0400)]
lavr: add x86-optimized function for mixing 2 to 1 s16p with q8 coeffs

7 years agolavr: add x86-optimized functions for mixing 2 to 1 s16p with float coeffs
Justin Ruggles [Mon, 23 Apr 2012 19:04:09 +0000 (15:04 -0400)]
lavr: add x86-optimized functions for mixing 2 to 1 s16p with float coeffs

7 years agolavr: add C functions for mixing 2 to 1 channels with s16p format
Justin Ruggles [Mon, 23 Apr 2012 18:50:22 +0000 (14:50 -0400)]
lavr: add C functions for mixing 2 to 1 channels with s16p format

7 years agoavprobe: move formatter functions in the context
Luca Barbato [Mon, 28 May 2012 02:35:10 +0000 (19:35 -0700)]
avprobe: move formatter functions in the context

Avoid possible clashes.

7 years agoavconv: extend -r to work on any input stream.
Anton Khirnov [Sat, 26 May 2012 14:52:58 +0000 (16:52 +0200)]
avconv: extend -r to work on any input stream.

This is done by automatically inserting a setpts filter.

7 years agodoc/avconv: expand documentation for the -s option.
Anton Khirnov [Sat, 26 May 2012 11:52:44 +0000 (13:52 +0200)]
doc/avconv: expand documentation for the -s option.

7 years agoavconv: don't print filters inserted by avconv in stream mappings.
Anton Khirnov [Sat, 26 May 2012 11:31:54 +0000 (13:31 +0200)]
avconv: don't print filters inserted by avconv in stream mappings.

7 years agoavconv: merge configuration code for complex and simple filters
Anton Khirnov [Sat, 26 May 2012 10:47:47 +0000 (12:47 +0200)]
avconv: merge configuration code for complex and simple filters

Some tests change because -s now inserts the scaler to the end instead
of beginning of the filtergraph.

7 years agoavconv: split configuring input filters out of configure_complex_filter
Anton Khirnov [Sat, 26 May 2012 09:18:21 +0000 (11:18 +0200)]
avconv: split configuring input filters out of configure_complex_filter

7 years agofate: fix acodec/vsynth tests for make 3.81
Mans Rullgard [Tue, 29 May 2012 08:49:44 +0000 (09:49 +0100)]
fate: fix acodec/vsynth tests for make 3.81

GNU make 3.81 applies pattern rules in declaration order rather than
by stem length as in 3.82.  This moves the more generic patterns above
the more specific ones such that they work with either make version.
Some of the vsynth patterns are also simplified a little.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agopcm_mpeg: fix number of consumed bytes to include the header.
Hendrik Leppkes [Tue, 10 Apr 2012 17:49:14 +0000 (19:49 +0200)]
pcm_mpeg: fix number of consumed bytes to include the header.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
7 years agoavfilter: include required header file avfilter.h in video.h
Janne Grunau [Tue, 29 May 2012 13:36:06 +0000 (15:36 +0200)]
avfilter: include required header file avfilter.h in video.h

7 years agox86: Avoid movs on BUTTERFLYPS when in AVX mode
Vitor Sessak [Fri, 11 May 2012 20:32:08 +0000 (22:32 +0200)]
x86: Avoid movs on BUTTERFLYPS when in AVX mode

Signed-off-by: Janne Grunau <janne-libav@jannau.net>