ffmpeg.git
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>
7 years agox86: use new schema for ASM macros
Vitor Sessak [Sun, 27 May 2012 17:43:56 +0000 (17:43 +0000)]
x86: use new schema for ASM macros

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
7 years agofate: convert codec-regression.sh to makefile rules
Mans Rullgard [Fri, 18 May 2012 09:33:28 +0000 (10:33 +0100)]
fate: convert codec-regression.sh to makefile rules

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: allow tests to specify unit size for psnr comparison
Mans Rullgard [Thu, 17 May 2012 18:14:17 +0000 (19:14 +0100)]
fate: allow tests to specify unit size for psnr comparison

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: teach videogen/rotozoom to output a single raw video stream
Mans Rullgard [Thu, 17 May 2012 14:55:14 +0000 (15:55 +0100)]
fate: teach videogen/rotozoom to output a single raw video stream

This makes videogen/rotozoom output a raw video stream on stdout
if no output directory is specified.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agohttp: Add support for reusing the http socket for subsequent requests
Samuel Pitoiset [Mon, 28 May 2012 13:03:54 +0000 (15:03 +0200)]
http: Add support for reusing the http socket for subsequent requests

Introduce ff_http_do_new_request(), a new function which sends a new
HTTP request, reusing the existing connection to the server.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agohttp: Add support for using persistent connections
Samuel Pitoiset [Mon, 28 May 2012 13:03:19 +0000 (15:03 +0200)]
http: Add support for using persistent connections

Add a new AVOption 'multiple_requests', which indicates if we want
to use persistent connections (ie. Connection: keep-alive).

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoAVOptions: fix the value printed in out of range error message.
Anton Khirnov [Mon, 28 May 2012 05:27:15 +0000 (07:27 +0200)]
AVOptions: fix the value printed in out of range error message.

7 years agoavprobe: restore pseudo-INI old style format for compatibility.
Anton Khirnov [Sat, 26 May 2012 06:54:25 +0000 (08:54 +0200)]
avprobe: restore pseudo-INI old style format for compatibility.

7 years agoavprobe: fix formatting.
Anton Khirnov [Sat, 26 May 2012 06:52:19 +0000 (08:52 +0200)]
avprobe: fix formatting.

7 years agolog: make colored output more colorful.
Anton Khirnov [Sat, 26 May 2012 06:24:14 +0000 (08:24 +0200)]
log: make colored output more colorful.

Green for verbose, cyan for debug.

7 years agortsp: Check for dynamic payload handlers if no static payload mapping was found
Martin Storsjö [Thu, 8 Dec 2011 13:19:58 +0000 (15:19 +0200)]
rtsp: Check for dynamic payload handlers if no static payload mapping was found

Some systems abuse the static payload types 35 or 36 (which
according to IANA are unassigned) for H264.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoopt: Add av_opt_set_bin()
Samuel Pitoiset [Fri, 25 May 2012 10:32:39 +0000 (12:32 +0200)]
opt: Add av_opt_set_bin()

Introduce a new function to set binary data through AVOption,
avoiding having to convert the binary data to a string inbetween.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoavconv: Display the error returned by avformat_write_header
Martin Storsjö [Fri, 25 May 2012 21:55:56 +0000 (00:55 +0300)]
avconv: Display the error returned by avformat_write_header

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agortpenc_chain: Return an error code instead of just a plain pointer
Martin Storsjö [Fri, 25 May 2012 19:26:00 +0000 (22:26 +0300)]
rtpenc_chain: Return an error code instead of just a plain pointer

Also check the return value in sapenc.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agortpenc_chain: Free the URLContext on failure
Martin Storsjö [Fri, 25 May 2012 21:40:54 +0000 (00:40 +0300)]
rtpenc_chain: Free the URLContext on failure

If an URLContext is passed in, its ownership is given to this
function, and is either owned by the returned AVFormatContext
on a successful return, or freed on failure.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agortpenc: Expose the ssrc as an avoption
Martin Storsjö [Fri, 25 May 2012 21:18:01 +0000 (00:18 +0300)]
rtpenc: Expose the ssrc as an avoption

This allows the caller to set it, and allows the caller to query
what it was set to.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoavprobe: display the codec profile in show_stream()
Christian Schmidt [Fri, 25 May 2012 22:34:12 +0000 (15:34 -0700)]
avprobe: display the codec profile in show_stream()

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
7 years agoavprobe: fix function prototype
Luca Barbato [Fri, 25 May 2012 22:19:50 +0000 (15:19 -0700)]
avprobe: fix function prototype

Make opt_output_format return the correct value.

7 years agocosmetics: Fix indentation
Martin Storsjö [Fri, 25 May 2012 19:16:06 +0000 (22:16 +0300)]
cosmetics: Fix indentation

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoavprobe: changelog entry
Luca Barbato [Fri, 25 May 2012 19:58:58 +0000 (12:58 -0700)]
avprobe: changelog entry

7 years agoavprobe: update documentation
Luca Barbato [Fri, 25 May 2012 19:57:36 +0000 (12:57 -0700)]
avprobe: update documentation

Update the documentation according to the latest changes

7 years agoavprobe: provide JSON output
Luca Barbato [Thu, 24 May 2012 19:22:29 +0000 (12:22 -0700)]
avprobe: provide JSON output

JSON usage is quite widespread.

7 years agoavprobe: output proper INI format
Luca Barbato [Fri, 18 May 2012 01:02:57 +0000 (18:02 -0700)]
avprobe: output proper INI format

Make the output valid INI serialization.

7 years agoavprobe: improve formatting
Luca Barbato [Fri, 25 May 2012 18:47:06 +0000 (11:47 -0700)]
avprobe: improve formatting

Do not use decimals if not needed.

7 years agortmp: fix url parsing
Luca Barbato [Tue, 15 May 2012 00:24:27 +0000 (17:24 -0700)]
rtmp: fix url parsing

The application component can have a subcomponent to specify the
application instance even if it doesn't have a ":" in the playpath.

7 years agofate: document TARGET_EXEC and its usage
Luca Barbato [Mon, 14 May 2012 22:44:30 +0000 (15:44 -0700)]
fate: document TARGET_EXEC and its usage

TARGET_EXEC allows running FATE on simulators, remote targets and
memory checkers. Also document a known issue with Wine and mixed
Unix/Windows line ending.

7 years agomovenc: Don't write the 'wave' atom or its child 'enda' for lpcm audio.
Alex Converse [Wed, 23 May 2012 18:32:52 +0000 (11:32 -0700)]
movenc: Don't write the 'wave' atom or its child 'enda' for lpcm audio.

It's left over from stsd v0. QuickTime 7 no longer writes 'wave' or 'enda'
when 'lpcm' is the audio tag.

7 years agoimc: some cosmetics
Kostya Shishkov [Tue, 22 May 2012 17:45:00 +0000 (19:45 +0200)]
imc: some cosmetics