ffmpeg.git
8 years agoAdd CODEC_CAP_NEG_LINESIZES.
Stefano Sabatini [Sat, 4 Dec 2010 19:06:45 +0000 (19:06 +0000)]
Add CODEC_CAP_NEG_LINESIZES.

Originally committed as revision 25886 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agocosmetic: indentation
Aurelien Jacobs [Sat, 4 Dec 2010 14:47:13 +0000 (14:47 +0000)]
cosmetic: indentation

Originally committed as revision 25885 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoadd subtitle codec autodetection
Aurelien Jacobs [Sat, 4 Dec 2010 14:46:13 +0000 (14:46 +0000)]
add subtitle codec autodetection

Originally committed as revision 25884 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoAdd forgotten deprecation to avcodec_pix_fmt_string().
Stefano Sabatini [Sat, 4 Dec 2010 14:14:12 +0000 (14:14 +0000)]
Add forgotten deprecation to avcodec_pix_fmt_string().

Originally committed as revision 25883 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoCosmetics: add empty line which was previously removed.
Stefano Sabatini [Sat, 4 Dec 2010 13:13:46 +0000 (13:13 +0000)]
Cosmetics: add empty line which was previously removed.

Improve readability.

Originally committed as revision 25882 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years ago10l, add ff_pw_1 to dsputil_mmx for yadif sse2
Baptiste Coudurier [Sat, 4 Dec 2010 13:06:06 +0000 (13:06 +0000)]
10l, add ff_pw_1 to dsputil_mmx for yadif sse2

Originally committed as revision 25881 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoPort libmpcodecs hqdn3d filter.
Baptiste Coudurier [Sat, 4 Dec 2010 13:03:42 +0000 (13:03 +0000)]
Port libmpcodecs hqdn3d filter.

Patch by Baptiste with some fixes by me.

Originally committed as revision 25880 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoDeprecate avcodec_pix_fmt_string() in favor of
Stefano Sabatini [Sat, 4 Dec 2010 12:56:21 +0000 (12:56 +0000)]
Deprecate avcodec_pix_fmt_string() in favor of
av_get_pix_fmt_string(), added to libavutil/pixdesc.h.

Originally committed as revision 25879 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoImplement av_image_alloc() and use it in
Stefano Sabatini [Sat, 4 Dec 2010 12:56:16 +0000 (12:56 +0000)]
Implement av_image_alloc() and use it in
avfilter_default_get_video_buffer().

Originally committed as revision 25878 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoDeclare sse2 and ssse2 function in yadif header
Baptiste Coudurier [Sat, 4 Dec 2010 05:50:28 +0000 (05:50 +0000)]
Declare sse2 and ssse2 function in yadif header

Originally committed as revision 25877 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoTry to improve reordered_opaque doxy.
Michael Niedermayer [Sat, 4 Dec 2010 05:44:29 +0000 (05:44 +0000)]
Try to improve reordered_opaque doxy.

Originally committed as revision 25876 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoDetect incorrect padding with wrong stuffing codes used by NEC N-02B.
Michael Niedermayer [Sat, 4 Dec 2010 05:44:18 +0000 (05:44 +0000)]
Detect incorrect padding with wrong stuffing codes used by NEC N-02B.
I dont know if this is the best way to handle it. But it fixes http://kuwatan.jp/temp/n-02b.3gp

Fixes issue 2373.

Originally committed as revision 25875 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoyadif sse2/ssse3 optimizations
Baptiste Coudurier [Sat, 4 Dec 2010 05:23:44 +0000 (05:23 +0000)]
yadif sse2/ssse3 optimizations

Originally committed as revision 25874 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoCount non-header data towards intra block bit count in MJPEG encoder
Bobby Bingham [Sat, 4 Dec 2010 05:21:03 +0000 (05:21 +0000)]
Count non-header data towards intra block bit count in MJPEG encoder

Originally committed as revision 25873 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoChange the argument of memory allocation functions from unsigned int to size_t
Michael Niedermayer [Sat, 4 Dec 2010 04:00:21 +0000 (04:00 +0000)]
Change the argument of memory allocation functions from unsigned int to size_t
with the next major bump in libavcodec.

Originally committed as revision 25872 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoChange the argument of memory allocation functions from unsigned int to size_t
Michael Niedermayer [Sat, 4 Dec 2010 04:00:12 +0000 (04:00 +0000)]
Change the argument of memory allocation functions from unsigned int to size_t
with the next major bump in libavutil.

Originally committed as revision 25871 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoset default subtitle_codec for ass muxer
Aurelien Jacobs [Sat, 4 Dec 2010 00:47:12 +0000 (00:47 +0000)]
set default subtitle_codec for ass muxer

Originally committed as revision 25870 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agocosmetic: alignment
Aurelien Jacobs [Sat, 4 Dec 2010 00:44:42 +0000 (00:44 +0000)]
cosmetic: alignment

Originally committed as revision 25869 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agouse designated initializer in ASS (de)muxer
Aurelien Jacobs [Sat, 4 Dec 2010 00:37:53 +0000 (00:37 +0000)]
use designated initializer in ASS (de)muxer

Originally committed as revision 25868 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoadd myself as maintainer for ASS and SRT
Aurelien Jacobs [Sat, 4 Dec 2010 00:23:08 +0000 (00:23 +0000)]
add myself as maintainer for ASS and SRT

Originally committed as revision 25867 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agog722: Add a trellis encoder
Martin Storsjö [Fri, 3 Dec 2010 21:18:45 +0000 (21:18 +0000)]
g722: Add a trellis encoder

The structure is largely based on the trellis encoder in adpcm.c.

Originally committed as revision 25866 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoAdd myself as maintainer for g722.c
Martin Storsjö [Fri, 3 Dec 2010 21:17:23 +0000 (21:17 +0000)]
Add myself as maintainer for g722.c

Originally committed as revision 25865 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agompegtsenc: Improve PCR generation and output
Tomas Härdin [Fri, 3 Dec 2010 13:26:42 +0000 (13:26 +0000)]
mpegtsenc: Improve PCR generation and output
This fixes PCR drift due to accumulating TS_PACKET_SIZE*8*90000LL/ts->mux_rate each packet, due to rounding errors when mux_rate does not evenly divide 135360000.
This patch also increases the PCR precision to 27 MHz from 90 kHz and takes the location of the PCR data into account (+11 bytes according to the spec).

Originally committed as revision 25864 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoskip top-level objects to search for the simple index in ASF files
Stefan Gehrer [Fri, 3 Dec 2010 07:49:07 +0000 (07:49 +0000)]
skip top-level objects to search for the simple index in ASF files

Originally committed as revision 25863 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoAdd avfilter_graph_create_filter().
Stefano Sabatini [Thu, 2 Dec 2010 20:12:27 +0000 (20:12 +0000)]
Add avfilter_graph_create_filter().

Originally committed as revision 25862 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoAdd missing overflow checks in av_image_fill_pointers() and
Stefano Sabatini [Thu, 2 Dec 2010 19:49:55 +0000 (19:49 +0000)]
Add missing overflow checks in av_image_fill_pointers() and
av_image_fill_linesizes().

Originally committed as revision 25861 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agompc: read id3v1 tags.
Anton Khirnov [Thu, 2 Dec 2010 09:56:15 +0000 (09:56 +0000)]
mpc: read id3v1 tags.

Originally committed as revision 25860 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoUse SECTION .text for yasm code.
avcoder [Wed, 1 Dec 2010 13:12:39 +0000 (13:12 +0000)]
Use SECTION .text for yasm code.

Patch by avcoder, ffmpeg gmail

Originally committed as revision 25859 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoadpcm: Skip samples whose ssd calculation has wrapped around
Martin Storsjö [Wed, 1 Dec 2010 08:57:45 +0000 (08:57 +0000)]
adpcm: Skip samples whose ssd calculation has wrapped around

Wraparound in ssd is mainly avoided by subtracting the ssd of the
best node from all the others once it has grown large enough.

If using very large trellis sizes (e.g. -trellis 15), the frontier
is so large that the difference between the best and the worst is
large enough to cause wraparound, even if the ssd of the best one
is subtracted regularly.

When using -trellis 10 on a 30 second sample, this causes only a slight
slowdown, from 61 to 64 seconds.

Originally committed as revision 25858 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoAdd missing dependencies for frei0r_src in configure.
Stefano Sabatini [Tue, 30 Nov 2010 21:41:26 +0000 (21:41 +0000)]
Add missing dependencies for frei0r_src in configure.

Originally committed as revision 25857 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoExtend the frei0r filter syntax.
Stefano Sabatini [Tue, 30 Nov 2010 20:14:41 +0000 (20:14 +0000)]
Extend the frei0r filter syntax.

Make it accept the frei0r=filtername=params as alternative to
frei0r=filtername:params.

Originally committed as revision 25856 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoImplement frei0r source.
Stefano Sabatini [Tue, 30 Nov 2010 20:14:36 +0000 (20:14 +0000)]
Implement frei0r source.

Originally committed as revision 25855 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoRemove @anchor{} commands from the POD output.
Stefano Sabatini [Tue, 30 Nov 2010 20:14:29 +0000 (20:14 +0000)]
Remove @anchor{} commands from the POD output.

This allows to use the @xref{} command for the HTML output.

Originally committed as revision 25854 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoAdd FourCC yuvs for rawvideo (PIX_FMT_YUYV422).
Andrew Wason [Mon, 29 Nov 2010 23:15:51 +0000 (23:15 +0000)]
Add FourCC yuvs for rawvideo (PIX_FMT_YUYV422).

Patch by Andrew Wason, rectalogic rectalogic com

Originally committed as revision 25853 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoEnsure that data_offset is set correctly when there are partial
Aaron Colwell [Mon, 29 Nov 2010 19:02:28 +0000 (19:02 +0000)]
Ensure that data_offset is set correctly when there are partial
data packets before the first complete one.
Patch by Aaron Colwell [acolwell chromium org].

Originally committed as revision 25846 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoPartially revert "Simplify code by using av_metadata_set2()."
Anton Khirnov [Mon, 29 Nov 2010 16:38:12 +0000 (16:38 +0000)]
Partially revert "Simplify code by using av_metadata_set2()."

This reverts snprintf->av_d2str part of r20840.
With it, track number is exported as a float, which is not
desirable.

Originally committed as revision 25845 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agortpdec: Remove useless NULL initializations when using designated initializers
Martin Storsjö [Mon, 29 Nov 2010 16:04:45 +0000 (16:04 +0000)]
rtpdec: Remove useless NULL initializations when using designated initializers

Originally committed as revision 25844 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agortpdec: Change the qdm2, qt and svq3 depacketizers to use designated initializers
Martin Storsjö [Mon, 29 Nov 2010 16:04:04 +0000 (16:04 +0000)]
rtpdec: Change the qdm2, qt and svq3 depacketizers to use designated initializers

Originally committed as revision 25843 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoFix h264-conformance-frext-frext_mmco4_sony_b conformance test.
Carl Eugen Hoyos [Mon, 29 Nov 2010 10:35:57 +0000 (10:35 +0000)]
Fix h264-conformance-frext-frext_mmco4_sony_b conformance test.

This includes a revert of r25840

Originally committed as revision 25842 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoIn ts demuxer, if pes packet size is < ts packet, honor pes packet and skip padded...
Baptiste Coudurier [Mon, 29 Nov 2010 03:43:56 +0000 (03:43 +0000)]
In ts demuxer, if pes packet size is < ts packet, honor pes packet and skip padded data.
Fixes issue #2392.

Originally committed as revision 25841 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoUpdate fate h264 test due to r25824, this file has 2 frames delay
Baptiste Coudurier [Sun, 28 Nov 2010 23:09:30 +0000 (23:09 +0000)]
Update fate h264 test due to r25824, this file has 2 frames delay

Originally committed as revision 25840 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agortsp: Do a forgotten reindenting
Martin Storsjö [Sun, 28 Nov 2010 21:17:39 +0000 (21:17 +0000)]
rtsp: Do a forgotten reindenting

Originally committed as revision 25839 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoIn libavfilter, use consistently "Copyright (c)" in the license
Stefano Sabatini [Sun, 28 Nov 2010 10:22:58 +0000 (10:22 +0000)]
In libavfilter, use consistently "Copyright (c)" in the license
headers.

Originally committed as revision 25838 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoAdd G.722 to RIFF codec list
Peter Ross [Sun, 28 Nov 2010 03:01:00 +0000 (03:01 +0000)]
Add G.722 to RIFF codec list

Originally committed as revision 25837 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoIncrease avformat micro version, forgotten in r25834.
Carl Eugen Hoyos [Sat, 27 Nov 2010 20:29:54 +0000 (20:29 +0000)]
Increase avformat micro version, forgotten in r25834.

Originally committed as revision 25836 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoAdd copyright notices for the E-AC3 and TrueHD parts of the muxer.
Carl Eugen Hoyos [Sat, 27 Nov 2010 18:10:20 +0000 (18:10 +0000)]
Add copyright notices for the E-AC3 and TrueHD parts of the muxer.

Originally committed as revision 25835 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoIEC 61937 encapsulation of TrueHD for HDMI passthrough.
Anssi Hannula [Sat, 27 Nov 2010 18:08:01 +0000 (18:08 +0000)]
IEC 61937 encapsulation of TrueHD for HDMI passthrough.
This works at least for some people testing it.

Patch by Anssi Hannula, anssi d hannula a iki fi

Originally committed as revision 25834 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoDV: use data_offset to fix seeking in badly cut files where the first
Reimar Döffinger [Sat, 27 Nov 2010 14:40:12 +0000 (14:40 +0000)]
DV: use data_offset to fix seeking in badly cut files where the first
complete frame does not start at position 0.

Originally committed as revision 25833 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoensure the ASS string in AVSubtitleRect is 0 terminated
Aurelien Jacobs [Sat, 27 Nov 2010 01:07:06 +0000 (01:07 +0000)]
ensure the ASS string in AVSubtitleRect is 0 terminated

Originally committed as revision 25832 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoMobotix .mxg demuxer
Anatoly Nenashev [Fri, 26 Nov 2010 10:11:16 +0000 (10:11 +0000)]
Mobotix .mxg demuxer

Patch by Anatoly Nenashev, anatoly d nenashev a ovsoft d ru

Originally committed as revision 25831 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoFix date in last APIchanges entry.
Stefano Sabatini [Fri, 26 Nov 2010 00:40:01 +0000 (00:40 +0000)]
Fix date in last APIchanges entry.

Originally committed as revision 25830 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoFix crash in uninit.
Stefano Sabatini [Thu, 25 Nov 2010 23:51:37 +0000 (23:51 +0000)]
Fix crash in uninit.

Originally committed as revision 25829 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoFix timestamp scaling in the overlay filter.
Stefano Sabatini [Thu, 25 Nov 2010 21:22:55 +0000 (21:22 +0000)]
Fix timestamp scaling in the overlay filter.

Compute the outpicref PTS in start_frame(), since it is required for
comparing that value with the value of the overpicref.

Originally committed as revision 25828 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoImplement avfilter_get_video_buffer_ref_from_arrays().
Stefano Sabatini [Thu, 25 Nov 2010 20:50:28 +0000 (20:50 +0000)]
Implement avfilter_get_video_buffer_ref_from_arrays().

Originally committed as revision 25827 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoMake avfilter_default_free_buffer() an internal shared symbol, so that
Stefano Sabatini [Thu, 25 Nov 2010 20:50:23 +0000 (20:50 +0000)]
Make avfilter_default_free_buffer() an internal shared symbol, so that
it can be referenced outside defaults.c.

Originally committed as revision 25826 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoIn mov demuxer, if multiple h264 stsd are present, do not concatenate streams, fix...
Baptiste Coudurier [Thu, 25 Nov 2010 05:03:29 +0000 (05:03 +0000)]
In mov demuxer, if multiple h264 stsd are present, do not concatenate streams, fix #2069

Originally committed as revision 25825 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoIn av_find_stream_info, decode more h264 to get correct delay, issue #2020
Baptiste Coudurier [Thu, 25 Nov 2010 02:19:03 +0000 (02:19 +0000)]
In av_find_stream_info, decode more h264 to get correct delay, issue #2020

Originally committed as revision 25824 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoIn TS demuxer, create the AVStream during pmt parsing if the pes stream does not
Stephen D'Angelo [Thu, 25 Nov 2010 00:55:02 +0000 (00:55 +0000)]
In TS demuxer, create the AVStream during pmt parsing if the pes stream does not
yet have it, this can happen if the pes stream contain data but no pes header
has been encoutered yet.
Patch by Stephen D'Angelo, SDAngelo at evertz dot com.

Originally committed as revision 25823 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoIn TS demuxer, keep the pmt filter open to parse all pmt sections,
Baptiste Coudurier [Thu, 25 Nov 2010 00:29:44 +0000 (00:29 +0000)]
In TS demuxer, keep the pmt filter open to parse all pmt sections,
based on patch by Stephen D'Angelo, SDAngelo at evertz dot com.

Originally committed as revision 25822 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoavidec: read some of the Nikon specific tags produced by Nikon cameras
Aurelien Jacobs [Wed, 24 Nov 2010 20:53:27 +0000 (20:53 +0000)]
avidec: read some of the Nikon specific tags produced by Nikon cameras

Originally committed as revision 25821 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years ago0.123l: remove unused arguments in av_log(), fix warning.
Stefano Sabatini [Wed, 24 Nov 2010 18:07:39 +0000 (18:07 +0000)]
0.123l: remove unused arguments in av_log(), fix warning.

Originally committed as revision 25820 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoIn aspect filter, fix display for input resolution
Baptiste Coudurier [Wed, 24 Nov 2010 02:38:55 +0000 (02:38 +0000)]
In aspect filter, fix display for input resolution

Originally committed as revision 25819 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoIn crop filter, reference picref after updating w/h, fix issue #2377
Baptiste Coudurier [Wed, 24 Nov 2010 01:32:49 +0000 (01:32 +0000)]
In crop filter, reference picref after updating w/h, fix issue #2377

Originally committed as revision 25818 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoAdd informative log message in the crop filter.
Stefano Sabatini [Tue, 23 Nov 2010 21:08:22 +0000 (21:08 +0000)]
Add informative log message in the crop filter.

Originally committed as revision 25817 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoFix memleak: free palette data on close.
Reimar Döffinger [Tue, 23 Nov 2010 20:42:03 +0000 (20:42 +0000)]
Fix memleak: free palette data on close.

Originally committed as revision 25816 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoavidec: support non-standard creation_time format
Aurelien Jacobs [Tue, 23 Nov 2010 12:04:50 +0000 (12:04 +0000)]
avidec: support non-standard creation_time format

Originally committed as revision 25815 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoavidec: trivial simplification regarding av_metadata_set
Aurelien Jacobs [Tue, 23 Nov 2010 12:03:23 +0000 (12:03 +0000)]
avidec: trivial simplification regarding av_metadata_set

Originally committed as revision 25814 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agomatroskaenc: don't duplicate title information
Anton Khirnov [Tue, 23 Nov 2010 08:24:41 +0000 (08:24 +0000)]
matroskaenc: don't duplicate title information

Title is already written into special fields designated for it --
per-segment Title, per-chapter ChapString and per-stream Name (yay for
consistent naming). Therefore, don't duplicate it in Tags.

Originally committed as revision 25813 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoid3v2: add TDEN<->creation_time tag mapping
Anton Khirnov [Tue, 23 Nov 2010 07:54:47 +0000 (07:54 +0000)]
id3v2: add TDEN<->creation_time tag mapping

Originally committed as revision 25812 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agolavf: document the new creation_time tag
Anton Khirnov [Tue, 23 Nov 2010 07:54:44 +0000 (07:54 +0000)]
lavf: document the new creation_time tag

Originally committed as revision 25811 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years ago100l, fix missing decrement on split PGS packets.
Reimar Döffinger [Tue, 23 Nov 2010 07:01:49 +0000 (07:01 +0000)]
100l, fix missing decrement on split PGS packets.

Originally committed as revision 25810 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoIn h264 decoder, fix decoding when nal end sequence is present
Baptiste Coudurier [Tue, 23 Nov 2010 01:16:37 +0000 (01:16 +0000)]
In h264 decoder, fix decoding when nal end sequence is present

Originally committed as revision 25809 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoRemove some warnings
Baptiste Coudurier [Tue, 23 Nov 2010 01:10:21 +0000 (01:10 +0000)]
Remove some warnings

Originally committed as revision 25808 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years ago10l, fix memleak, forgot to free mp4_dec_config_descr
Baptiste Coudurier [Tue, 23 Nov 2010 01:04:49 +0000 (01:04 +0000)]
10l, fix memleak, forgot to free mp4_dec_config_descr

Originally committed as revision 25807 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoIn ts demuxer, support aac flexmux using extradata in iods, issue #2346
Baptiste Coudurier [Tue, 23 Nov 2010 00:51:12 +0000 (00:51 +0000)]
In ts demuxer, support aac flexmux using extradata in iods, issue #2346

Originally committed as revision 25806 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoUnset variable fps for mov and mp4 muxer, they support it
Baptiste Coudurier [Tue, 23 Nov 2010 00:41:28 +0000 (00:41 +0000)]
Unset variable fps for mov and mp4 muxer, they support it
but timestamps must start at 0 currently, and this causes sync
problem.

Originally committed as revision 25805 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoS/PDIF demuxer
Anssi Hannula [Mon, 22 Nov 2010 22:09:26 +0000 (22:09 +0000)]
S/PDIF demuxer

Patch by Anssi Hannula, anssi d hannula a iki d fi

Originally committed as revision 25804 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoReindent.
Stefano Sabatini [Mon, 22 Nov 2010 22:03:32 +0000 (22:03 +0000)]
Reindent.

Originally committed as revision 25803 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoImplement robust parsing in aspect filters.
Stefano Sabatini [Mon, 22 Nov 2010 22:03:30 +0000 (22:03 +0000)]
Implement robust parsing in aspect filters.

Originally committed as revision 25802 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoAdd informative log messages to the set aspect filters.
Stefano Sabatini [Mon, 22 Nov 2010 22:03:27 +0000 (22:03 +0000)]
Add informative log messages to the set aspect filters.

Originally committed as revision 25801 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoGive more explicit/less confusing names to the filters dealing with
Stefano Sabatini [Mon, 22 Nov 2010 22:03:24 +0000 (22:03 +0000)]
Give more explicit/less confusing names to the filters dealing with
aspect ratio.

Originally committed as revision 25800 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoAdd missing check on the existence of avcodec_opts[AVMEDIA_TYPE_X],
Stefano Sabatini [Mon, 22 Nov 2010 22:03:21 +0000 (22:03 +0000)]
Add missing check on the existence of avcodec_opts[AVMEDIA_TYPE_X],
fix crash in ffprobe.

Originally committed as revision 25799 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoIn yadif filter, copy video props to output picture.
Baptiste Coudurier [Mon, 22 Nov 2010 20:42:08 +0000 (20:42 +0000)]
In yadif filter, copy video props to output picture.
Fix issue #2269.
Interpolate pts for the second frame when using field output mode.

Originally committed as revision 25798 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoFail RLE decoding if insufficient data for a complete bitmap was decoded.
Reimar Döffinger [Mon, 22 Nov 2010 20:39:18 +0000 (20:39 +0000)]
Fail RLE decoding if insufficient data for a complete bitmap was decoded.

Originally committed as revision 25797 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoSupport PGS subtitles with RLE data split over mutiple packets.
Mark Goodman [Mon, 22 Nov 2010 20:35:07 +0000 (20:35 +0000)]
Support PGS subtitles with RLE data split over mutiple packets.
Patch by Mark Goodman [mark goodman gmail com] with some modifications by me.

Originally committed as revision 25796 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoffmpeg.c: document default metadata mappings
Anton Khirnov [Mon, 22 Nov 2010 07:32:27 +0000 (07:32 +0000)]
ffmpeg.c: document default metadata mappings

Originally committed as revision 25795 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoffmpeg.c: copy global metadata by default
Anton Khirnov [Mon, 22 Nov 2010 07:32:23 +0000 (07:32 +0000)]
ffmpeg.c: copy global metadata by default

Originally committed as revision 25794 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agofix pointer truncation to int in avpicture_layout()
Ramiro Polla [Mon, 22 Nov 2010 03:46:31 +0000 (03:46 +0000)]
fix pointer truncation to int in avpicture_layout()

Originally committed as revision 25793 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoRe-implement avpicture_layout() using pixdesc and imgutils API.
Stefano Sabatini [Sun, 21 Nov 2010 21:25:06 +0000 (21:25 +0000)]
Re-implement avpicture_layout() using pixdesc and imgutils API.

The new implementation is more compact, more correct and doesn't hurt
the eyes.

Originally committed as revision 25792 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoReplace "depth" with "nb_bits" in the header of avcodec_pix_fmt_string().
Stefano Sabatini [Sun, 21 Nov 2010 21:25:02 +0000 (21:25 +0000)]
Replace "depth" with "nb_bits" in the header of avcodec_pix_fmt_string().

Originally committed as revision 25791 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoMusepack SV8 supports "mono" files (though it still codes them as stereo),
Kostya Shishkov [Sun, 21 Nov 2010 20:42:06 +0000 (20:42 +0000)]
Musepack SV8 supports "mono" files (though it still codes them as stereo),
so extend decoder to output only one channel for it.

This fixes issue 2368.

Originally committed as revision 25790 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoUse the new libavcore audio channel API.
Stefano Sabatini [Sun, 21 Nov 2010 20:06:22 +0000 (20:06 +0000)]
Use the new libavcore audio channel API.

This also allows to remove a linking dependency of libavfilter on
libavcodec.

Originally committed as revision 25789 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoRemove declaration of function:
Stefano Sabatini [Sun, 21 Nov 2010 20:06:16 +0000 (20:06 +0000)]
Remove declaration of function:
const char *avcodec_get_channel_name(int channel_id)

which was never implemented.

Originally committed as revision 25788 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoMove audio channel API from libavcodec to libavcore.
Stefano Sabatini [Sun, 21 Nov 2010 19:28:52 +0000 (19:28 +0000)]
Move audio channel API from libavcodec to libavcore.

Originally committed as revision 25787 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agomovdec: export creation_date as metadata
Aurelien Jacobs [Sun, 21 Nov 2010 19:02:52 +0000 (19:02 +0000)]
movdec: export creation_date as metadata

Originally committed as revision 25786 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoavidec: export creation_date as metadata
Aurelien Jacobs [Sun, 21 Nov 2010 19:00:07 +0000 (19:00 +0000)]
avidec: export creation_date as metadata

Originally committed as revision 25785 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoPort overlay filter from the libavfilter repo (with many fixes),
Stefano Sabatini [Sun, 21 Nov 2010 18:39:34 +0000 (18:39 +0000)]
Port overlay filter from the libavfilter repo (with many fixes),
adopting Baptiste variant which is simpler and faster.

Originally committed as revision 25784 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoDocument added functions.
Reimar Döffinger [Sun, 21 Nov 2010 11:38:08 +0000 (11:38 +0000)]
Document added functions.

Originally committed as revision 25783 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoImprove documentation wording.
Reimar Döffinger [Sun, 21 Nov 2010 11:33:26 +0000 (11:33 +0000)]
Improve documentation wording.

Originally committed as revision 25782 to svn://svn.ffmpeg.org/ffmpeg/trunk

8 years agoFix indentation.
Reimar Döffinger [Sun, 21 Nov 2010 11:07:04 +0000 (11:07 +0000)]
Fix indentation.

Originally committed as revision 25781 to svn://svn.ffmpeg.org/ffmpeg/trunk