ffmpeg.git
10 years agoMake XAN decoder return meaningful error codes.
Stefano Sabatini [Mon, 18 Oct 2010 13:19:53 +0000 (13:19 +0000)]
Make XAN decoder return meaningful error codes.

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

10 years agometadata: make av_metadata_set2 case insensitive by default
Aurelien Jacobs [Mon, 18 Oct 2010 12:45:15 +0000 (12:45 +0000)]
metadata: make av_metadata_set2 case insensitive by default

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

10 years agoAvoid negative SCR in mpeg ps muxer.
Michael Niedermayer [Sat, 16 Oct 2010 21:31:31 +0000 (21:31 +0000)]
Avoid negative SCR in mpeg ps muxer.
Fixes a scr issue reported with dvdauthor ([FFmpeg-user] FFMPEG encoded MPEG-2 video causes error in DVDAuthor)

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

10 years agoMove shared functions out of CONFIG_FFV1_ENCODER ifdef
Michael Niedermayer [Sat, 16 Oct 2010 21:31:16 +0000 (21:31 +0000)]
Move shared functions out of CONFIG_FFV1_ENCODER ifdef

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

10 years agoCosmetics: use a more compact notation, improve readability and reduce
Stefano Sabatini [Sat, 16 Oct 2010 20:57:55 +0000 (20:57 +0000)]
Cosmetics: use a more compact notation, improve readability and reduce
line count.

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

10 years agoReset metadata after opt_output_file(), fix the previous commit.
Stefano Sabatini [Sat, 16 Oct 2010 16:16:01 +0000 (16:16 +0000)]
Reset metadata after opt_output_file(), fix the previous commit.

Spotted by elenril on irc.

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

10 years agoUse an AVMetadata struct for storing metadata, simplify.
Stefano Sabatini [Sat, 16 Oct 2010 15:25:02 +0000 (15:25 +0000)]
Use an AVMetadata struct for storing metadata, simplify.

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

10 years agoMake ffprobe print stream language only once, also remove usage of the
Anton Khirnov [Sat, 16 Oct 2010 14:33:05 +0000 (14:33 +0000)]
Make ffprobe print stream language only once, also remove usage of the
deprecated field AVStream.language.

Patch by Anton Khirnov %name%@%surname% dot net.

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

10 years agoRemove docs for the not anymore existing option -convert_tags.
Stefano Sabatini [Sat, 16 Oct 2010 13:55:29 +0000 (13:55 +0000)]
Remove docs for the not anymore existing option -convert_tags.

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

10 years agoadd ff_ prefix to metadata_conv()
Anton Khirnov [Sat, 16 Oct 2010 13:20:41 +0000 (13:20 +0000)]
add ff_ prefix to metadata_conv()
patch by Anton Khirnov  anton _at_ khirnov _dot_ net

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

10 years agolavf: simplify setting the encoder ident tag.
Anton Khirnov [Sat, 16 Oct 2010 13:07:20 +0000 (13:07 +0000)]
lavf: simplify setting the encoder ident tag.
patch by Anton Khirnov  anton _at_ khirnov _dot_ net

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

10 years agoffmpeg.c/ffprobe.c: remove all uses of av_metadata_conv()
Anton Khirnov [Sat, 16 Oct 2010 13:04:27 +0000 (13:04 +0000)]
ffmpeg.c/ffprobe.c: remove all uses of av_metadata_conv()
patch by Anton Khirnov  anton _at_ khirnov _dot_ net

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

10 years agoAdd avfilter_graph_config().
Stefano Sabatini [Sat, 16 Oct 2010 10:20:53 +0000 (10:20 +0000)]
Add avfilter_graph_config().

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

10 years agoPlace the bitstream_filters variable in the AVOutputStream, thus
Nicolas George [Sat, 16 Oct 2010 10:06:13 +0000 (10:06 +0000)]
Place the bitstream_filters variable in the AVOutputStream, thus
greatly simplifying its handling and reducing code duplication.

Patch by Nicolas George -bsf nicolas*george|normalesup+org.

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

10 years agoMove the allocation of the AVOutputStream structure earlier in the
Nicolas George [Sat, 16 Oct 2010 10:06:10 +0000 (10:06 +0000)]
Move the allocation of the AVOutputStream structure earlier in the
code flow, in the new_video_stream() / new_audio_stream() /
new_subtitle_stream() functions.

Patch by Nicolas George <$name.$surname@normalesup.org>.

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

10 years agoFix building, include the header instead of the source file
Martin Storsjö [Sat, 16 Oct 2010 08:50:50 +0000 (08:50 +0000)]
Fix building, include the header instead of the source file

Builds only seemed to have been broken in some configurations, though.

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

10 years agoIn mov muxer, write artist metadata tag
Baptiste Coudurier [Fri, 15 Oct 2010 23:23:47 +0000 (23:23 +0000)]
In mov muxer, write artist metadata tag

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

10 years agoIn mov muxer, use correct metadata tag for encoder, and use the generic metadata...
Baptiste Coudurier [Fri, 15 Oct 2010 23:16:11 +0000 (23:16 +0000)]
In mov muxer, use correct metadata tag for encoder, and use the generic metadata api name

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

10 years agortpdec: Return AVERROR(EAGAIN) for mpegts parsing errors
Martin Storsjö [Fri, 15 Oct 2010 21:32:21 +0000 (21:32 +0000)]
rtpdec: Return AVERROR(EAGAIN) for mpegts parsing errors

This indicates that there was no error that needs to be reported to the
caller, so we can move on to parse the next packet immediately, if
available. The only error code that ff_mpegts_parse_packet can return
indicates that there was no packet to return from the provided data, for
which it returns -1.

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

10 years agoffserver: use a local MAX_STREAMS limit
Aurelien Jacobs [Fri, 15 Oct 2010 19:09:54 +0000 (19:09 +0000)]
ffserver: use a local MAX_STREAMS limit

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

10 years agoffserver: fix prepare_sdp_description() to dynamically allocate streams
Aurelien Jacobs [Fri, 15 Oct 2010 19:09:05 +0000 (19:09 +0000)]
ffserver: fix prepare_sdp_description() to dynamically allocate streams

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

10 years agoExport metadata in the generic format. Deprecate old conversion API.
Anton Khirnov [Fri, 15 Oct 2010 19:04:25 +0000 (19:04 +0000)]
Export metadata in the generic format. Deprecate old conversion API.
patch by Anton Khirnov  anton _at_ khirnov _dot_ net

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

10 years agocosmetic: alignment
Aurelien Jacobs [Fri, 15 Oct 2010 18:30:43 +0000 (18:30 +0000)]
cosmetic: alignment

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

10 years agoadd FF_API_SYMVER define to disable symver compatibility functions
Aurelien Jacobs [Fri, 15 Oct 2010 18:25:01 +0000 (18:25 +0000)]
add FF_API_SYMVER define to disable symver compatibility functions

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

10 years agoprobetest: replace usage of deprecated first_iformat by av_iformat_next()
Aurelien Jacobs [Fri, 15 Oct 2010 14:44:18 +0000 (14:44 +0000)]
probetest: replace usage of deprecated first_iformat by av_iformat_next()

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

10 years agoadd FF_API_FIRST_FORMAT define to drop deprecated first_?format from public api
Aurelien Jacobs [Fri, 15 Oct 2010 14:25:36 +0000 (14:25 +0000)]
add FF_API_FIRST_FORMAT define to drop deprecated first_?format from public api

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

10 years agoadd FF_API_PARAMETERS_CODEC_ID define to disable the deprecated codec_id
Aurelien Jacobs [Fri, 15 Oct 2010 14:19:01 +0000 (14:19 +0000)]
add FF_API_PARAMETERS_CODEC_ID define to disable the deprecated codec_id
fields in AVFormatParameters

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

10 years agoadd FF_API_LAVF_UNUSED define to disable the unused struct fields
Aurelien Jacobs [Fri, 15 Oct 2010 14:12:25 +0000 (14:12 +0000)]
add FF_API_LAVF_UNUSED define to disable the unused struct fields

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

10 years agoadd FF_API_READ_SEEK define to drop usage of AVInputFormat.read_seek
Aurelien Jacobs [Fri, 15 Oct 2010 13:39:15 +0000 (13:39 +0000)]
add FF_API_READ_SEEK define to drop usage of AVInputFormat.read_seek
and delay this transition to v54 as it is currently not functional

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

10 years agoadd FF_API_PARSE_FRAME_PARAM define to disable the deprecated
Aurelien Jacobs [Fri, 15 Oct 2010 13:33:23 +0000 (13:33 +0000)]
add FF_API_PARSE_FRAME_PARAM define to disable the deprecated
parse_image_size() and parse_frame_rate() public functions

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

10 years agoproperly check for FF_API_URL_CLASS instead of LIBAVFORMAT_VERSION_MAJOR
Aurelien Jacobs [Fri, 15 Oct 2010 13:09:35 +0000 (13:09 +0000)]
properly check for FF_API_URL_CLASS instead of LIBAVFORMAT_VERSION_MAJOR

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

10 years agoadd FF_API_ALLOC_FORMAT_CONTEXT define to disable the deprecated
Aurelien Jacobs [Fri, 15 Oct 2010 12:59:45 +0000 (12:59 +0000)]
add FF_API_ALLOC_FORMAT_CONTEXT define to disable the deprecated
av_alloc_format_context() public function

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

10 years agoadd FF_API_URL_SPLIT define to disable the deprecated ff_url_split() function
Aurelien Jacobs [Fri, 15 Oct 2010 12:54:12 +0000 (12:54 +0000)]
add FF_API_URL_SPLIT define to disable the deprecated ff_url_split() function

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

10 years agoadd FF_API_UDP_GET_FILE define to disable the deprecated udp_get_file_handle()
Aurelien Jacobs [Fri, 15 Oct 2010 12:49:48 +0000 (12:49 +0000)]
add FF_API_UDP_GET_FILE define to disable the deprecated udp_get_file_handle()
public function

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

10 years agoadd FF_API_GUESS_FORMAT define to disable the deprecated guess_format()
Aurelien Jacobs [Fri, 15 Oct 2010 12:45:14 +0000 (12:45 +0000)]
add FF_API_GUESS_FORMAT define to disable the deprecated guess_format()
and guess_stream_format() public functions

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

10 years agoDeprecate old API.
Anton Khirnov [Fri, 15 Oct 2010 09:41:20 +0000 (09:41 +0000)]
Deprecate old API.

Patch by Anton Khirnov, anton khirnov net

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

10 years agoStore slice position and size per keyframe in ffv1.2
Michael Niedermayer [Fri, 15 Oct 2010 02:05:06 +0000 (02:05 +0000)]
Store slice position and size per keyframe in ffv1.2

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

10 years agoFix indention of ffv1.c after previous commits.
Michael Niedermayer [Thu, 14 Oct 2010 22:10:50 +0000 (22:10 +0000)]
Fix indention of ffv1.c after previous commits.

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

10 years agoStore quant table index per plane and slice.
Michael Niedermayer [Thu, 14 Oct 2010 22:03:41 +0000 (22:03 +0000)]
Store quant table index per plane and slice.

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

10 years agoAssert that the context doesnt overflow in ffv1.
Michael Niedermayer [Thu, 14 Oct 2010 22:03:38 +0000 (22:03 +0000)]
Assert that the context doesnt overflow in ffv1.

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

10 years agoRectangular slice support for ffv1.2
Michael Niedermayer [Thu, 14 Oct 2010 22:03:32 +0000 (22:03 +0000)]
Rectangular slice support for ffv1.2

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

10 years agovorbiscomment: change ff_vorbiscomment_write to take an AVMetadata**
Anton Khirnov [Thu, 14 Oct 2010 19:08:31 +0000 (19:08 +0000)]
vorbiscomment: change ff_vorbiscomment_write to take an AVMetadata**
patch by Anton Khirnov  anton _at_ khirnov _dot_ net

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

10 years agoFix crash when using iblock option (when a warning is logged).
James Zern [Thu, 14 Oct 2010 07:47:49 +0000 (07:47 +0000)]
Fix crash when using iblock option (when a warning is logged).

Patch by James Zern, jzern google

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

10 years agoMake the validity checks fail only if the corresponding luma or chroma
Stefano Sabatini [Wed, 13 Oct 2010 13:14:52 +0000 (13:14 +0000)]
Make the validity checks fail only if the corresponding luma or chroma
values are not zero.
Prevent aborting with the default values.

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

10 years agoAdd support for PIX_FMT_RGBA in the targa encoder.
Stefano Sabatini [Wed, 13 Oct 2010 13:11:45 +0000 (13:11 +0000)]
Add support for PIX_FMT_RGBA in the targa encoder.

Patch sponsored by Animoto.

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

10 years agosapdec: Include sys/time.h for struct timeval
Martin Storsjö [Wed, 13 Oct 2010 11:09:06 +0000 (11:09 +0000)]
sapdec: Include sys/time.h for struct timeval

This hopefully fixes compile errors on OS/2

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

10 years agoUse named constants defined in targa.h.
Stefano Sabatini [Wed, 13 Oct 2010 10:39:47 +0000 (10:39 +0000)]
Use named constants defined in targa.h.

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

10 years agoCreate a targa.h file to contain common definitions for targa encoder
Stefano Sabatini [Wed, 13 Oct 2010 10:39:45 +0000 (10:39 +0000)]
Create a targa.h file to contain common definitions for targa encoder
and decoder.

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

10 years agoAdd a SAP demuxer
Martin Storsjö [Wed, 13 Oct 2010 09:06:59 +0000 (09:06 +0000)]
Add a SAP demuxer

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

10 years agortpdec: Don't use the no reordering codepath if there already is a queue
Martin Storsjö [Wed, 13 Oct 2010 08:47:34 +0000 (08:47 +0000)]
rtpdec: Don't use the no reordering codepath if there already is a queue

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

10 years agortpdec: Handle wrapping seq numbers in has_next_packet properly
Martin Storsjö [Wed, 13 Oct 2010 08:15:39 +0000 (08:15 +0000)]
rtpdec: Handle wrapping seq numbers in has_next_packet properly

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

10 years agortpdec: Parse the next packet in the sequence if it is available, if the previous...
Martin Storsjö [Wed, 13 Oct 2010 08:14:30 +0000 (08:14 +0000)]
rtpdec: Parse the next packet in the sequence if it is available, if the previous packet didn't return any data

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

10 years agortpdec: Return AVERROR(EAGAIN) if out of data for mpegts, pass returned error codes...
Martin Storsjö [Wed, 13 Oct 2010 08:13:53 +0000 (08:13 +0000)]
rtpdec: Return AVERROR(EAGAIN) if out of data for mpegts, pass returned error codes through

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

10 years agortpdec: Don't call the depacketizer to return more data unless it actually said it...
Martin Storsjö [Wed, 13 Oct 2010 08:13:07 +0000 (08:13 +0000)]
rtpdec: Don't call the depacketizer to return more data unless it actually said it has more data

It may have returned a negative number for an error (e.g. AVERROR(EAGAIN),
if more data is required for it to be able to return a complete packet).

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

10 years agortpdec: Split out storing of the depacketization return value to a separate function
Martin Storsjö [Wed, 13 Oct 2010 08:12:23 +0000 (08:12 +0000)]
rtpdec: Split out storing of the depacketization return value to a separate function

This makes the code less fragile and easier to understand.

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

10 years agoMake avfilter_config_links() use the timebase of the first input link
Stefano Sabatini [Tue, 12 Oct 2010 22:32:31 +0000 (22:32 +0000)]
Make avfilter_config_links() use the timebase of the first input link
of a filter for setting the output timebase, if there is such a link,
rather than always use AV_TIME_BASE_Q.

This fixes configuration for all the filters which do not use the
default config_props for the output link, and do not set explicitely
the timebase.

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

10 years agoMake the targa encoder return sane error values rather than -1.
Stefano Sabatini [Tue, 12 Oct 2010 18:44:28 +0000 (18:44 +0000)]
Make the targa encoder return sane error values rather than -1.

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

10 years agoTarga encoder: log error message in case the pixel format in input is
Stefano Sabatini [Tue, 12 Oct 2010 18:44:25 +0000 (18:44 +0000)]
Targa encoder: log error message in case the pixel format in input is
not supported.

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

10 years agoFactorize definition of the output_filter defined in both ffplay.c and
Stefano Sabatini [Tue, 12 Oct 2010 18:40:26 +0000 (18:40 +0000)]
Factorize definition of the output_filter defined in both ffplay.c and
ffmpeg.c.
Replace it with a more generic definition which can be shared.

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

10 years agoCosmetics: remove pointless empty line.
Stefano Sabatini [Tue, 12 Oct 2010 18:40:23 +0000 (18:40 +0000)]
Cosmetics: remove pointless empty line.

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

10 years agoExtend buffer source to accept the time base for the output PTS.
Stefano Sabatini [Tue, 12 Oct 2010 18:40:20 +0000 (18:40 +0000)]
Extend buffer source to accept the time base for the output PTS.

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

10 years agoFix timebase handling at the begin and at the end of the ffplay video
Stefano Sabatini [Tue, 12 Oct 2010 18:40:16 +0000 (18:40 +0000)]
Fix timebase handling at the begin and at the end of the ffplay video
filterchain.

Set timebase in the ffplay input, and make get_filtered_video_frame()
rescale the output frames PTSes according to their timebase.

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

10 years agoRemove unused symbol.
Stefano Sabatini [Tue, 12 Oct 2010 13:56:12 +0000 (13:56 +0000)]
Remove unused symbol.

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

10 years agoDo not pass an unused variable when initing filt_out. Less confusing.
Stefano Sabatini [Tue, 12 Oct 2010 13:47:29 +0000 (13:47 +0000)]
Do not pass an unused variable when initing filt_out. Less confusing.

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

10 years agoImplement cropdetect filter.
Stefano Sabatini [Tue, 12 Oct 2010 09:22:32 +0000 (09:22 +0000)]
Implement cropdetect filter.

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

10 years agoExtend the nullsrc source, make it accept a parameter for specifying
Stefano Sabatini [Mon, 11 Oct 2010 23:27:33 +0000 (23:27 +0000)]
Extend the nullsrc source, make it accept a parameter for specifying
the timebase. Useful for debugging timebase configuration issues.

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

10 years agoImplement settb filter.
Stefano Sabatini [Mon, 11 Oct 2010 14:00:40 +0000 (14:00 +0000)]
Implement settb filter.

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

10 years agoAdd forgotten minor bump and changelog entry for the SAP muxer
Martin Storsjö [Mon, 11 Oct 2010 11:50:33 +0000 (11:50 +0000)]
Add forgotten minor bump and changelog entry for the SAP muxer

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

10 years agoAdd APIchanges entry after r25441.
Stefano Sabatini [Sun, 10 Oct 2010 22:30:21 +0000 (22:30 +0000)]
Add APIchanges entry after r25441.

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

10 years agoMake graph2dot print information related to the link timebase.
Stefano Sabatini [Sun, 10 Oct 2010 22:26:17 +0000 (22:26 +0000)]
Make graph2dot print information related to the link timebase.

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

10 years agoAdd a time_base field to AVFilterLink.
Stefano Sabatini [Sun, 10 Oct 2010 22:26:14 +0000 (22:26 +0000)]
Add a time_base field to AVFilterLink.

This is required for allowing a filter to use a time base different
from AV_TIME_BASE_Q, as it was previously assumed.

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

10 years agooggenc: Don't use char* to point to a string constant.
Alex Converse [Sun, 10 Oct 2010 21:15:21 +0000 (21:15 +0000)]
oggenc: Don't use char* to point to a string constant.

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

10 years agoAllow storing multiple quant tables in extradata that can then be selected per keyfra...
Michael Niedermayer [Sun, 10 Oct 2010 21:04:45 +0000 (21:04 +0000)]
Allow storing multiple quant tables in extradata that can then be selected per keyframe in ffv1.

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

10 years agoStore global things in extradata for ffv1 ver=2.
Michael Niedermayer [Sun, 10 Oct 2010 21:04:41 +0000 (21:04 +0000)]
Store global things in extradata for ffv1 ver=2.
ver=2 is not set yet so this does not affect output.

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

10 years agoMake sure version is not decreased for 16bit per sample colorspaces in ffv1.
Michael Niedermayer [Sun, 10 Oct 2010 21:04:38 +0000 (21:04 +0000)]
Make sure version is not decreased for 16bit per sample colorspaces in ffv1.

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

10 years agoFactorize quant table read and write code in ffv1.c
Michael Niedermayer [Sun, 10 Oct 2010 21:04:34 +0000 (21:04 +0000)]
Factorize quant table read and write code in ffv1.c

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

10 years agoClarify whitespace nitpicks in patcheck.
Michael Niedermayer [Sun, 10 Oct 2010 19:35:17 +0000 (19:35 +0000)]
Clarify whitespace nitpicks in patcheck.

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

10 years agoRename out -> outlink, link -> inlink in various defaults.c functions,
Stefano Sabatini [Sun, 10 Oct 2010 18:54:45 +0000 (18:54 +0000)]
Rename out -> outlink, link -> inlink in various defaults.c functions,
improve readability / consistency.

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

10 years agoMake avfilter_config_links() propagate the error code coming from the
Stefano Sabatini [Sun, 10 Oct 2010 18:54:39 +0000 (18:54 +0000)]
Make avfilter_config_links() propagate the error code coming from the
callee functions.

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

10 years agoUpdate rv30 FATE reference after last commit
Alexander Strange [Sun, 10 Oct 2010 02:20:02 +0000 (02:20 +0000)]
Update rv30 FATE reference after last commit

The rm demuxer has timestamp bugs, so this test is sensitive to changes in
timestamp correction. The previous commit did not make output any better or worse
on this test, just different.

See https://roundup.ffmpeg.org/issue2288 for details.

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

10 years agoffmpeg: Use guess_correct_pts() to set decoded picture timestamps
Alexander Strange [Sun, 10 Oct 2010 02:17:26 +0000 (02:17 +0000)]
ffmpeg: Use guess_correct_pts() to set decoded picture timestamps

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

10 years agocafdec: Handle ALAC extradata.
Peter Ross [Sun, 10 Oct 2010 00:50:37 +0000 (00:50 +0000)]
cafdec: Handle ALAC extradata.

This fixes roundup issue 2284.

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

10 years agoAdd myself as the caf* maintainer
Peter Ross [Sun, 10 Oct 2010 00:39:42 +0000 (00:39 +0000)]
Add myself as the caf* maintainer

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

10 years agoTool to analyze multimedia files and create directories and symlinks for the
Michael Niedermayer [Sat, 9 Oct 2010 19:52:06 +0000 (19:52 +0000)]
Tool to analyze multimedia files and create directories and symlinks for the
container type and codecs in each file that point back to the file.

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

10 years agoDocument the SAP muxer
Martin Storsjö [Sat, 9 Oct 2010 18:50:02 +0000 (18:50 +0000)]
Document the SAP muxer

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

10 years agoFix ffplay to keep calling av_read_frame even if EOF has been reached.
Michael Chinen [Sat, 9 Oct 2010 17:50:17 +0000 (17:50 +0000)]
Fix ffplay to keep calling av_read_frame even if EOF has been reached.

Patch by Michael Chinen, mchinen gmail

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

10 years agolibavformat: Always build id3v1.o and id3v2.o
Martin Storsjö [Sat, 9 Oct 2010 14:58:46 +0000 (14:58 +0000)]
libavformat: Always build id3v1.o and id3v2.o

Functions from these files are referenced from utils.c now. This fixes
building with --disable-everything.

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

10 years agosapenc: Use the normal URL port as RTP port
Martin Storsjö [Sat, 9 Oct 2010 14:39:31 +0000 (14:39 +0000)]
sapenc: Use the normal URL port as RTP port

This makes the URL handling consistent - the URL hostname is used as
destination for the RTP packets, so the URL port should also belong to that.
Now the options announce_addr= and announce_port specify where the
announcements are sent.

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

10 years agosapenc: Declare a dependency on rtp_protocol, too
Martin Storsjö [Sat, 9 Oct 2010 09:29:29 +0000 (09:29 +0000)]
sapenc: Declare a dependency on rtp_protocol, too

The SAP muxer uses network functions directly, uses the rtp protocol and the
udp protocol. The network functions and the udp protocol are both transitively
enabled via the rtp protocol, so that's the only dependency that needs to
be stated.

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

10 years agosapenc: Include os_support.h, to provide a fallback definition for socklen_t
Martin Storsjö [Sat, 9 Oct 2010 09:16:40 +0000 (09:16 +0000)]
sapenc: Include os_support.h, to provide a fallback definition for socklen_t

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

10 years agos/program/programs, as FFmpeg consists of many programs.
Stefano Sabatini [Fri, 8 Oct 2010 23:45:06 +0000 (23:45 +0000)]
s/program/programs, as FFmpeg consists of many programs.

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

10 years agoInstall libavutil/opt.h, its API is public.
Stefano Sabatini [Fri, 8 Oct 2010 23:42:25 +0000 (23:42 +0000)]
Install libavutil/opt.h, its API is public.

Fix issue #2265.

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

10 years agoAdd validity checks for the unsharp filter.
Stefano Sabatini [Fri, 8 Oct 2010 23:36:35 +0000 (23:36 +0000)]
Add validity checks for the unsharp filter.

Prevent crash.

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

10 years agomove av_find_stream_info() info struct to AVStream to avoid messy (re)allocation
Aurelien Jacobs [Fri, 8 Oct 2010 22:01:19 +0000 (22:01 +0000)]
move av_find_stream_info() info struct to AVStream to avoid messy (re)allocation

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

10 years agoCheck for more 'indent -kr' whitespace details.
Michael Niedermayer [Fri, 8 Oct 2010 19:11:36 +0000 (19:11 +0000)]
Check for more 'indent -kr' whitespace details.

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

10 years agoFix compilation on FreeBSD, use AF_UNSPEC instead of PF_UNSPEC
Martin Storsjö [Fri, 8 Oct 2010 18:07:40 +0000 (18:07 +0000)]
Fix compilation on FreeBSD, use AF_UNSPEC instead of PF_UNSPEC

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

10 years agosapenc: Mark the muxer as depending on network functions
Martin Storsjö [Fri, 8 Oct 2010 17:48:13 +0000 (17:48 +0000)]
sapenc: Mark the muxer as depending on network functions

Hide all code mentioning IPv6 behind HAVE_STRUCT_SOCKADDR_IN6.

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

10 years agoAdd a space between the else and { in mpegenc.c in the line i added.
Michael Niedermayer [Fri, 8 Oct 2010 15:41:41 +0000 (15:41 +0000)]
Add a space between the else and { in mpegenc.c in the line i added.

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

10 years agoAdd a SAP (Session Announcement Protocol, RFC 2974) muxer
Martin Storsjö [Fri, 8 Oct 2010 12:05:04 +0000 (12:05 +0000)]
Add a SAP (Session Announcement Protocol, RFC 2974) muxer

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

10 years agosdp: Only specify the TTL for IPv4 addresses
Martin Storsjö [Fri, 8 Oct 2010 11:58:47 +0000 (11:58 +0000)]
sdp: Only specify the TTL for IPv4 addresses

According to RFC 4566, a TTL value must not be present for IPv6 multicast.

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