ffmpeg.git
8 years agosegafilm: Fix potential division by 0 on corrupted segafilm streams in the demuxer.
Laurent Aimar [Mon, 12 Sep 2011 19:09:57 +0000 (21:09 +0200)]
segafilm: Fix potential division by 0 on corrupted segafilm streams in the demuxer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agosegafilm: Check for memory allocation failures in segafilm demuxer.
Laurent Aimar [Mon, 12 Sep 2011 18:58:35 +0000 (20:58 +0200)]
segafilm: Check for memory allocation failures in segafilm demuxer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolibx264: fix overwriting preset rc_lookahead
Andrew Wason [Mon, 12 Sep 2011 19:08:45 +0000 (15:08 -0400)]
libx264: fix overwriting preset rc_lookahead

This fixes https://ffmpeg.org/trac/ffmpeg/ticket/448 - at least for
rc_lookahead. A similar problem still exists for the flags2 based
options.

8 years agodvdsubdec: Support palette information for vobsub's stored as text in extradata
Joakim Plate [Sun, 11 Sep 2011 17:02:09 +0000 (19:02 +0200)]
dvdsubdec: Support palette information for vobsub's stored as text in extradata

This is how mkv's store palette information for vobsubs

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 12 Sep 2011 18:49:20 +0000 (20:49 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  adpcm: split ADPCM encoders and decoders into separate files.
  doc/avconv: fix typo.
  rv34: check that subsequent slices have the same type as first one.
  smacker demuxer: handle possible av_realloc() failure.
  lavfi: add split filter from soc.
  lavfi: add showinfo filter
  libxavs: add private options corresponding to deprecated global options

Conflicts:
Changelog
libavcodec/adpcm.c
libavfilter/avfilter.h
libavfilter/vf_showinfo.c
libavfilter/vf_split.c
libavformat/smacker.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodshow: indent
Ramiro Polla [Fri, 9 Sep 2011 03:09:42 +0000 (00:09 -0300)]
dshow: indent

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
8 years agodshow: add option to list devices
Ramiro Polla [Fri, 9 Sep 2011 03:09:23 +0000 (00:09 -0300)]
dshow: add option to list devices

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
8 years agodshow: factorise cycling through devices
Ramiro Polla [Fri, 9 Sep 2011 03:08:43 +0000 (00:08 -0300)]
dshow: factorise cycling through devices

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
8 years agolavfi: consistently use int for sample_rate in AVFilterLink and AVFilterBufferRefAudi...
Stefano Sabatini [Sun, 21 Aug 2011 17:17:24 +0000 (19:17 +0200)]
lavfi: consistently use int for sample_rate in AVFilterLink and AVFilterBufferRefAudioProps

Also consistent with AVCodecContext.sample_rate. Simplify/avoid
pointless type checks and conversions.

Breaks audio API/ABI.

8 years agolavfi: simplify signature for avfilter_get_audio_buffer() and friends
Stefano Sabatini [Tue, 30 Aug 2011 21:22:29 +0000 (23:22 +0200)]
lavfi: simplify signature for avfilter_get_audio_buffer() and friends

The additional parameters were never used and are complicating the
function interface. Also, they were inconsistent with the way the
video API works.

So this assumes that a requested samples buffer will have *always* the
format specified in the requested link.

This breaks audio filtering API and ABI.

8 years agomxfdec: skip to end of structural sets This fixes reading of partition packs. The...
Philip de Nier [Mon, 12 Sep 2011 10:13:44 +0000 (11:13 +0100)]
mxfdec: skip to end of structural sets This fixes reading of partition packs. The code stops reading after the operational pattern and should skip the array of essence container labels that follow

8 years agogitignore: ignore .exp files, as generated by the MS linker on win32
Hendrik Leppkes [Mon, 12 Sep 2011 15:45:25 +0000 (17:45 +0200)]
gitignore: ignore .exp files, as generated by the MS linker on win32

Ignore another filetype, as generated by Microsofts lib.exe when creating the import libraries.

8 years agoadpcm: split ADPCM encoders and decoders into separate files.
Justin Ruggles [Wed, 7 Sep 2011 22:34:09 +0000 (18:34 -0400)]
adpcm: split ADPCM encoders and decoders into separate files.

Move shared tables to a separate file as well.

8 years agodoc/avconv: fix typo.
Anton Khirnov [Mon, 12 Sep 2011 08:40:43 +0000 (10:40 +0200)]
doc/avconv: fix typo.

8 years agorv34: check that subsequent slices have the same type as first one.
Kostya Shishkov [Mon, 12 Sep 2011 09:39:53 +0000 (11:39 +0200)]
rv34: check that subsequent slices have the same type as first one.

This prevents some crashes when corrupted bitstream reports e.g. P-type
slice in I-frame. Official RealVideo decoder demands all slices to be
of the same type too.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agosmacker demuxer: handle possible av_realloc() failure.
Kostya Shishkov [Mon, 12 Sep 2011 07:40:42 +0000 (09:40 +0200)]
smacker demuxer: handle possible av_realloc() failure.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoffmpeg: remove unused data_codec_name.
Clément Bœsch [Mon, 12 Sep 2011 10:05:15 +0000 (12:05 +0200)]
ffmpeg: remove unused data_codec_name.

8 years agoffmpeg: set {audio,video,subtitle}_codec_name const.
Clément Bœsch [Mon, 12 Sep 2011 10:02:41 +0000 (12:02 +0200)]
ffmpeg: set {audio,video,subtitle}_codec_name const.

This fixes "assignment discards ‘const’ qualifier from pointer target
type." warnings.

8 years agoffmpeg: a bit more consistent prototypes.
Clément Bœsch [Mon, 12 Sep 2011 09:44:14 +0000 (11:44 +0200)]
ffmpeg: a bit more consistent prototypes.

8 years agolavfi: add split filter from soc.
Bobby Bingham [Sat, 21 May 2011 14:46:11 +0000 (16:46 +0200)]
lavfi: add split filter from soc.

Some fixes by Stefano.
For detailed authorship see SOC repo

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agolavfi: add showinfo filter
Stefano Sabatini [Sat, 23 Apr 2011 18:55:34 +0000 (20:55 +0200)]
lavfi: add showinfo filter

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agolibxavs: add private options corresponding to deprecated global options
Anton Khirnov [Sun, 11 Sep 2011 06:14:43 +0000 (08:14 +0200)]
libxavs: add private options corresponding to deprecated global options

Code mostly copied from libx264 wrapper.

8 years agoalsa: increase max buffer size
Michael Niedermayer [Mon, 12 Sep 2011 04:16:40 +0000 (06:16 +0200)]
alsa: increase max buffer size
Fixes Ticket373

Thanks to llogan for testing

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoh264: improve MAX_SLICES too small check so it gives less false positives.
Michael Niedermayer [Mon, 12 Sep 2011 04:06:43 +0000 (06:06 +0200)]
h264: improve MAX_SLICES too small check so it gives less false positives.
Fixes Ticket273

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodoc: replace avserver by ffserver as we have not done that rename
Michael Niedermayer [Mon, 12 Sep 2011 02:17:39 +0000 (04:17 +0200)]
doc: replace avserver by ffserver as we have not done that rename

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agormdec: Check return value of more avio_seek calls
Joakim Plate [Mon, 12 Sep 2011 02:08:06 +0000 (04:08 +0200)]
rmdec: Check return value of more avio_seek calls

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavidec: Check return value of more avio_seek calls
Joakim Plate [Mon, 12 Sep 2011 02:07:36 +0000 (04:07 +0200)]
avidec: Check return value of more avio_seek calls

The move of avio_seek in avi_read_seek is to avoiding modifying
state if the seek would fail.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoasf: Check return value of more avio_seek calls
Joakim Plate [Mon, 12 Sep 2011 02:06:55 +0000 (04:06 +0200)]
asf: Check return value of more avio_seek calls
This reduces problems when underlying protocol is not
seekable even if marked as such or if the file has been
cut short.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix writes out of bounds in the ogg demuxer.
Laurent Aimar [Sun, 11 Sep 2011 21:37:44 +0000 (23:37 +0200)]
Fix writes out of bounds in the ogg demuxer.

Between ogg_save() and ogg_restore() calls, the number of streams
could have been reduced.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agompeg12dec: if lavc's mpeg2 decoder was asked to drop a frame, it could still output...
Joakim Plate [Mon, 12 Sep 2011 02:03:40 +0000 (04:03 +0200)]
mpeg12dec: if lavc's mpeg2 decoder was asked to drop a frame, it could still output an old frame, and mess up timestamps

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 11 Sep 2011 21:35:35 +0000 (23:35 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (31 commits)
  audioconvert: add explanatory comments to channel_names array
  audioconvert: K&R whitespace cosmetics
  avconv: use correct index when selecting metadata to write to.
  avconv: fix inverted variable
  doc/avconv: document option types (input/output/per-stream/...)
  doc/avtools-common-opts: write a section about stream specifiers.
  doc/avconv: remove two pointless paragraphs.
  doc/avconv: document that global options should be specified first.
  doc/avconv: remove entries for nonexistent options
  doc/avconv: remove documentation for removed 'timestamp' option
  doc: cosmetics, rename fftools-common-opts to avtools-....
  avconv: move streamid_map to options context.
  avconv: extend -vf syntax
  avconv: move top_field_first to options context.
  avconv: move inter/intra matrix to options context.
  avconv: remove -psnr option.
  avconv: remove me_threshold option.
  avconv: move video_rc_override_string to options context.
  avconv: move frame pixel format to the options context.
  avconv: move frame aspect ratio to the options context.
  ...

Conflicts:
avconv.c
cmdutils_common_opts.h
doc/avconv.texi

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agogitignore: add files to git ignore generated on a win32 build
Joakim Plate [Sun, 11 Sep 2011 19:23:53 +0000 (21:23 +0200)]
gitignore: add files to git ignore generated on a win32 build

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFixed invalid read access on extra data in cinepak decoder.
Laurent Aimar [Sun, 11 Sep 2011 17:17:43 +0000 (19:17 +0200)]
Fixed invalid read access on extra data in cinepak decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFixed segfault on corrupted smacker streams in the demuxer.
Laurent Aimar [Sun, 11 Sep 2011 16:51:52 +0000 (18:51 +0200)]
Fixed segfault on corrupted smacker streams in the demuxer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFixed segfaults on corruped smacker streams in the decoder.
Laurent Aimar [Sun, 11 Sep 2011 16:54:01 +0000 (18:54 +0200)]
Fixed segfaults on corruped smacker streams in the decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFixed segfault on memory allocation failure in ape demuxer.
Laurent Aimar [Sun, 11 Sep 2011 17:17:40 +0000 (19:17 +0200)]
Fixed segfault on memory allocation failure in ape demuxer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agompegts: When playing mpegts over rtp/rtsp/sdp, lavf must still read PAT/SDT to get...
Joakim Plate [Sun, 11 Sep 2011 18:10:22 +0000 (20:10 +0200)]
mpegts: When playing mpegts over rtp/rtsp/sdp, lavf must still read PAT/SDT to get available streams

The code path using for mpegts over rtp doesn't open the demuxer using
mpegts_read_header,
so it never starts listening for PAT/SDT, only uses auto_guess

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoaudioconvert: add explanatory comments to channel_names array
Stefano Sabatini [Sat, 10 Sep 2011 23:07:08 +0000 (01:07 +0200)]
audioconvert: add explanatory comments to channel_names array

Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years agoaudioconvert: K&R whitespace cosmetics
Stefano Sabatini [Sat, 10 Sep 2011 23:06:57 +0000 (01:06 +0200)]
audioconvert: K&R whitespace cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years agoFix for some non interleaved avi files that gets played twice or won't end
Joakim Plate [Sun, 11 Sep 2011 16:21:07 +0000 (18:21 +0200)]
Fix for some non interleaved avi files that gets played twice or won't end
This changes so we assume EOF when we can't find the next
streams index entry for non interleaved file.

http://trac.xbmc.org/ticket/5585

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoAllow reading of growing avi files (ie currently being written)
Joakim Plate [Mon, 28 Jun 2010 05:28:27 +0000 (01:28 -0400)]
Allow reading of growing avi files (ie currently being written)

This uses the RIFF header stored size to figure out the expected AVI file size, instead
of the actual file. To work fully it requires handling failed avio_seek() instead
of assuming they always succeed.

Some fate file has been cut off and contains half a frame at the end which previously
was not output during demuxing. This frame is now output to encoder, thus fate
diff update.

8 years agompeg4videodec: Fix new slice end detection for missing slices.
Michael Niedermayer [Sun, 11 Sep 2011 15:35:42 +0000 (17:35 +0200)]
mpeg4videodec: Fix new slice end detection for missing slices.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavconv: use correct index when selecting metadata to write to.
Anton Khirnov [Mon, 5 Sep 2011 12:12:28 +0000 (14:12 +0200)]
avconv: use correct index when selecting metadata to write to.

8 years agoavconv: fix inverted variable
Anton Khirnov [Mon, 5 Sep 2011 12:11:13 +0000 (14:11 +0200)]
avconv: fix inverted variable

8 years agodoc/avconv: document option types (input/output/per-stream/...)
Anton Khirnov [Sat, 3 Sep 2011 13:02:52 +0000 (15:02 +0200)]
doc/avconv: document option types (input/output/per-stream/...)

Also trim some redundant stream specifiers descriptions.

8 years agodoc/avtools-common-opts: write a section about stream specifiers.
Anton Khirnov [Sat, 3 Sep 2011 12:55:39 +0000 (14:55 +0200)]
doc/avtools-common-opts: write a section about stream specifiers.

8 years agodoc/avconv: remove two pointless paragraphs.
Anton Khirnov [Sat, 3 Sep 2011 11:02:20 +0000 (13:02 +0200)]
doc/avconv: remove two pointless paragraphs.

They are misleading and carry no useful information.

8 years agodoc/avconv: document that global options should be specified first.
Anton Khirnov [Sat, 3 Sep 2011 10:53:53 +0000 (12:53 +0200)]
doc/avconv: document that global options should be specified first.

8 years agodoc/avconv: remove entries for nonexistent options
Anton Khirnov [Sat, 3 Sep 2011 05:08:55 +0000 (07:08 +0200)]
doc/avconv: remove entries for nonexistent options

8 years agodoc/avconv: remove documentation for removed 'timestamp' option
Anton Khirnov [Fri, 2 Sep 2011 20:53:54 +0000 (22:53 +0200)]
doc/avconv: remove documentation for removed 'timestamp' option

8 years agodoc: cosmetics, rename fftools-common-opts to avtools-....
Anton Khirnov [Fri, 2 Sep 2011 20:17:38 +0000 (22:17 +0200)]
doc: cosmetics, rename fftools-common-opts to avtools-....

8 years agoavconv: move streamid_map to options context.
Anton Khirnov [Fri, 2 Sep 2011 20:07:30 +0000 (22:07 +0200)]
avconv: move streamid_map to options context.

8 years agoavconv: extend -vf syntax
Anton Khirnov [Fri, 2 Sep 2011 19:11:00 +0000 (21:11 +0200)]
avconv: extend -vf syntax

Add a per-stream -filter option, make -vf an alias for -filter:v. Move
vfilters to the options context.

8 years agoavconv: move top_field_first to options context.
Anton Khirnov [Fri, 2 Sep 2011 16:03:31 +0000 (18:03 +0200)]
avconv: move top_field_first to options context.

8 years agoavconv: move inter/intra matrix to options context.
Anton Khirnov [Fri, 2 Sep 2011 15:57:56 +0000 (17:57 +0200)]
avconv: move inter/intra matrix to options context.

8 years agoavconv: remove -psnr option.
Anton Khirnov [Fri, 2 Sep 2011 15:31:14 +0000 (17:31 +0200)]
avconv: remove -psnr option.

It's redundant -- -flags +psnr does the same thing.

8 years agoavconv: remove me_threshold option.
Anton Khirnov [Fri, 2 Sep 2011 15:06:30 +0000 (17:06 +0200)]
avconv: remove me_threshold option.

It's only shadowing the AVOption with the same name.

8 years agoavconv: move video_rc_override_string to options context.
Anton Khirnov [Fri, 2 Sep 2011 14:06:18 +0000 (16:06 +0200)]
avconv: move video_rc_override_string to options context.

8 years agoavconv: move frame pixel format to the options context.
Anton Khirnov [Thu, 1 Sep 2011 06:20:50 +0000 (08:20 +0200)]
avconv: move frame pixel format to the options context.

Also remove redundant -pix_fmt list syntax, it's inconsistent and  only
makes the code more complicated. -pix_fmts should be enough for
everyone.

8 years agoavconv: move frame aspect ratio to the options context.
Anton Khirnov [Thu, 1 Sep 2011 06:20:50 +0000 (08:20 +0200)]
avconv: move frame aspect ratio to the options context.

8 years agoavconv: move frame size to the options context.
Anton Khirnov [Thu, 1 Sep 2011 06:20:50 +0000 (08:20 +0200)]
avconv: move frame size to the options context.

8 years agoavconv: move frame_rate to the options context.
Anton Khirnov [Thu, 1 Sep 2011 06:20:50 +0000 (08:20 +0200)]
avconv: move frame_rate to the options context.

8 years agoavconv: move force_fps to the options context.
Anton Khirnov [Thu, 1 Sep 2011 06:20:50 +0000 (08:20 +0200)]
avconv: move force_fps to the options context.

8 years agoavconv: move forced_key_frames to the options context.
Anton Khirnov [Thu, 1 Sep 2011 06:20:50 +0000 (08:20 +0200)]
avconv: move forced_key_frames to the options context.

8 years agoavconv: rewrite -qscale and -aq handling.
Anton Khirnov [Thu, 1 Sep 2011 08:04:35 +0000 (10:04 +0200)]
avconv: rewrite -qscale and -aq handling.

Merge video_qscale (set by -qscale) and audio_qscale (set by -aq) into
one 'qscale' field in the options context. Add a shortcut -q for -qscale
and make -aq an alias for -q:a.

8 years agoavconv: move audio_sample_rate to the options context.
Anton Khirnov [Thu, 1 Sep 2011 06:20:50 +0000 (08:20 +0200)]
avconv: move audio_sample_rate to the options context.

8 years agocmdutils: add support for programs in check_stream_specifier()
Anton Khirnov [Wed, 31 Aug 2011 20:24:06 +0000 (22:24 +0200)]
cmdutils: add support for programs in check_stream_specifier()

Remove now redundant (and broken/undocumented) opt_programid.

8 years agoavconv: move audio_sample_fmt to options context.
Anton Khirnov [Wed, 31 Aug 2011 06:51:15 +0000 (08:51 +0200)]
avconv: move audio_sample_fmt to options context.

Also document it and replace undocumented and inconsistent
'-sample_fmt list' syntax with -sample_fmts.

8 years agompegts: improve error reporting
Georgi Chorbadzhiyski [Thu, 8 Sep 2011 17:38:48 +0000 (20:38 +0300)]
mpegts: improve error reporting

When reporting continuity error show pid, expected and received cc.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years agompegts: on seek, reset the cc for all PIDs
Aviad Rozenhek [Thu, 8 Sep 2011 13:18:48 +0000 (16:18 +0300)]
mpegts: on seek, reset the cc for all PIDs

Prevent false positive continuity counter error logs.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years agoFix VA-API decoding artefacts.
Edgar Hucek [Sun, 11 Sep 2011 10:53:17 +0000 (12:53 +0200)]
Fix VA-API decoding artefacts.

Fixes ticket #457.

8 years agoh264: prevent an out of array read in decode_nal_units()
Michael Niedermayer [Sun, 11 Sep 2011 05:23:00 +0000 (07:23 +0200)]
h264: prevent an out of array read in decode_nal_units()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: dont copy duration when -t is used
Michael Niedermayer [Sun, 11 Sep 2011 03:24:26 +0000 (05:24 +0200)]
ffmpeg: dont copy duration when -t is used
Fixes Ticket445

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoh264dec: Prevent CABAC and CAVLC bitsteram overreading
Michael Niedermayer [Sat, 10 Sep 2011 14:28:53 +0000 (16:28 +0200)]
h264dec: Prevent CABAC and CAVLC bitsteram overreading

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoadd libspeex encoder change
Compn [Sun, 11 Sep 2011 02:42:11 +0000 (22:42 -0400)]
add libspeex encoder change

8 years agolibspeex encoder wraper
Art Clarke [Sun, 11 Sep 2011 01:14:14 +0000 (03:14 +0200)]
libspeex encoder wraper
taken from svn head of xuggle

8 years agobuild: fix install rule with --progs-suffix.
Clément Bœsch [Tue, 6 Sep 2011 13:48:14 +0000 (15:48 +0200)]
build: fix install rule with --progs-suffix.

8 years agoFix compilation with --disable-everything --enable-muxer=dv
Clément Bœsch [Sat, 10 Sep 2011 23:47:57 +0000 (01:47 +0200)]
Fix compilation with --disable-everything --enable-muxer=dv

8 years agoffmpeg: replace messy duplicated tag compatibility functions by more generic solution.
Michael Niedermayer [Sat, 10 Sep 2011 23:15:36 +0000 (01:15 +0200)]
ffmpeg: replace messy duplicated tag compatibility functions by more generic solution.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: add vbsf & absf for compatibility.
Michael Niedermayer [Sat, 10 Sep 2011 23:12:58 +0000 (01:12 +0200)]
ffmpeg: add vbsf & absf for compatibility.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agompegts: update comment to match code
Michael Niedermayer [Sat, 10 Sep 2011 22:55:16 +0000 (00:55 +0200)]
mpegts: update comment to match code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolibavformat/utils: Only require first packet to be known for all audio and video...
Joakim Plate [Sat, 10 Sep 2011 22:33:20 +0000 (00:33 +0200)]
libavformat/utils: Only require first packet to be known for all audio and video streams

It can take a long time before subtitles or data streams show up,
so we shouldn't wait for those before assuming we have all info
for streams.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoRemove reference to the libavfilter soc SVN repo, update libavfilter status description
Stefano Sabatini [Sun, 13 Feb 2011 09:35:00 +0000 (10:35 +0100)]
Remove reference to the libavfilter soc SVN repo, update libavfilter status description

The libavfilter SOC SVN repo is badly outdated, and some filters
supports a syntax different from the current code, so it is better do
not misled users into using it and just drop its reference.

8 years agodvbsubdec: don't hardcode subtitle colors count in dvbsubdec to 16
Joakim Plate [Sat, 10 Sep 2011 21:12:29 +0000 (23:12 +0200)]
dvbsubdec: don't hardcode subtitle colors count in dvbsubdec to 16

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agovp3dec: set key_frame field of AVFrame
Joakim Plate [Sat, 10 Sep 2011 19:50:45 +0000 (21:50 +0200)]
vp3dec: set key_frame field of AVFrame

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agompegts: Some additional HDMV types and reg descriptors for mpegts
Joakim Plate [Sat, 10 Sep 2011 19:30:42 +0000 (21:30 +0200)]
mpegts: Some additional HDMV types and reg descriptors for mpegts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodoc: explain __STDC_CONSTANT_MACROS in C++
Luca Barbato [Sat, 10 Sep 2011 14:23:50 +0000 (10:23 -0400)]
doc: explain __STDC_CONSTANT_MACROS in C++

In order to build C++ programs using libav you need
-D__STDC_CONSTANT_MACROS appened to the CXXFLAGS.

8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 10 Sep 2011 18:52:48 +0000 (20:52 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  Fixed segfault with wavpack decoder on corrupted decorrelation terms sub-blocks.
  avconv: move audio_channels to the options context.
  avconv: move *_disable to options context.
  avconv: remove -[vas]lang options.
  avconv: move codec tags to options context.
  cljr: init_get_bits size in bits instead of bytes
  indeo2: fail if input buffer too small
  indeo2: init_get_bits size in bits instead of bytes
  ffv1: Fixed size given to init_get_bits() in decoder.

Conflicts:
avconv.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix copmilation with --disable-everything --enable-muxer=mxf.
Carl Eugen Hoyos [Sat, 10 Sep 2011 18:37:55 +0000 (20:37 +0200)]
Fix copmilation with --disable-everything --enable-muxer=mxf.

8 years agocabac test: Change input to test, so a wider range of states is tested.
Michael Niedermayer [Sat, 10 Sep 2011 17:22:39 +0000 (19:22 +0200)]
cabac test: Change input to test, so a wider range of states is tested.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agocabac test: match encode and decode side
Michael Niedermayer [Sat, 10 Sep 2011 17:20:28 +0000 (19:20 +0200)]
cabac test: match encode and decode side

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agocabac: fix cabac encoder
Michael Niedermayer [Sat, 10 Sep 2011 17:18:41 +0000 (19:18 +0200)]
cabac: fix cabac encoder
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFixed segfault with wavpack decoder on corrupted decorrelation terms sub-blocks.
Laurent Aimar [Wed, 7 Sep 2011 19:43:03 +0000 (21:43 +0200)]
Fixed segfault with wavpack decoder on corrupted decorrelation terms sub-blocks.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoFixed deference of NULL pointer in motionpixels decoder.
Laurent Aimar [Sat, 10 Sep 2011 11:28:13 +0000 (13:28 +0200)]
Fixed deference of NULL pointer in motionpixels decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavconv: move audio_channels to the options context.
Anton Khirnov [Thu, 1 Sep 2011 06:20:50 +0000 (08:20 +0200)]
avconv: move audio_channels to the options context.

8 years agoavconv: move *_disable to options context.
Anton Khirnov [Wed, 31 Aug 2011 06:51:15 +0000 (08:51 +0200)]
avconv: move *_disable to options context.

8 years agoavconv: remove -[vas]lang options.
Anton Khirnov [Wed, 31 Aug 2011 07:17:08 +0000 (09:17 +0200)]
avconv: remove -[vas]lang options.

They are redundant, the same can be now accomplished with -metadata.

8 years agoavconv: move codec tags to options context.
Anton Khirnov [Wed, 31 Aug 2011 06:51:15 +0000 (08:51 +0200)]
avconv: move codec tags to options context.

Add a new -tag option, make -[vas]tag an alias for -tag:[vas]

8 years agoavisynth: Fix upside down bug
chinshou [Sat, 10 Sep 2011 03:23:17 +0000 (05:23 +0200)]
avisynth: Fix upside down bug

8 years agoavisynth: Remove wrong pts calculation.
chinshou [Sat, 10 Sep 2011 03:21:50 +0000 (05:21 +0200)]
avisynth: Remove wrong pts calculation.
Fixes Ticket428