summaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bunch of common typos.Diego Biurrun2011-12-111-1/+1
|
* Call avformat_network_init/deinit in the programsMartin Storsjö2011-11-061-0/+2
| | | | | | | | | Calling the init function will become mandatory at some later point. By calling it, more heavy network init (such as SSL/TLS library init) can be done once at startup, instead of implicitly when used (which could lead to it being done a number of times). Signed-off-by: Martin Storsjö <martin@martin.st>
* cmdutils: Rename read_file to cmdutils_read_fileMartin Storsjö2011-10-311-1/+1
| | | | | | | This symbol name clashes with a symbol in gnutls, if linking statically to that library. Signed-off-by: Martin Storsjö <martin@martin.st>
* avtools: parse loglevel before all the other options.Anton Khirnov2011-09-261-0/+1
| | | | | This way it can be applied to cmdutils too -- e.g. showing the banner and printing startup messages.
* Revert "ffmpeg: get rid of useless AVInputStream.nb_streams."Anton Khirnov2011-09-211-3/+5
| | | | | | | This reverts commit 2cf8355f98681bdd726b739008acd5483f82f8d7. AVInputStream.nb_streams tracks number of streams found at the beginning, new streams may appear that ffmpeg doesn't know about. Fixes crash in this case.
* cmdutils: add support for caller-provided option context.Anton Khirnov2011-09-041-2/+2
| | | | This is the first step to removing the globals plague from avtools.
* cmdutils: move grow_array() from avconv to cmdutils.Anton Khirnov2011-09-041-20/+0
|
* cmdutils: move exit_program() declaration to cmdutils from avconvAnton Khirnov2011-09-041-73/+73
| | | | Allows cmdutils to call each tool's own cleanup function.
* cmdutils: get rid of dummy contexts for examining AVOptions.Anton Khirnov2011-09-031-3/+7
| | | | Replace it with newly introduced libavutil API.
* doxygen: fix wrong comment syntax, //< vs. ///<Diego Biurrun2011-08-261-3/+3
|
* ffmpeg: remove unsed variable noptsDiego Biurrun2011-08-171-4/+0
|
* mpeg12: remove repeat-field code disabled since May 2002Dustin Brody2011-08-151-2/+0
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cmdutils: allow precisely specifying a stream for AVOptions.Anton Khirnov2011-08-121-2/+2
|
* ffmpeg: add a warning stating that the program is deprecated.Anton Khirnov2011-08-121-0/+4
|
* Rename ffserver to avserver.Anton Khirnov2011-08-091-4/+4
|
* cmdutils: add codec_opts parameter to setup_find_stream_info_opts()Stefano Sabatini2011-07-281-1/+1
| | | | | | Avoid brittle and obfuscating reference to a global. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffmpeg: fix some indentationMans Rullgard2011-07-171-6/+6
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ffmpeg: fix operation with --disable-avfilterMans Rullgard2011-07-171-4/+7
| | | | | | | The width and height must be copied from the input before being used. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ffmpeg: Fix the check for experimental codecsMartin Storsjö2011-07-141-1/+1
| | | | | | The variable 'codec' was used uninitialized here. Signed-off-by: Martin Storsjö <martin@martin.st>
* ffmpeg: print the low bitrate warning after the codec is openend.Anton Khirnov2011-07-141-15/+3
| | | | | | | This doesn't access avcodec_opts, so it works with the new options passing system. Makes opt_bitrate() unneeded, so it's removed.
* ffmpeg: use new avcodec_open2 and avformat_find_stream_info API.Anton Khirnov2011-07-131-25/+22
|
* ffmpeg: check experimental flag after codec is opened.Anton Khirnov2011-07-131-26/+26
| | | | | This doesn't access avcodec_opts, so it will work with the new options passing system.
* ffmpeg: do not set GLOBAL_HEADER flag in the options contextAnton Khirnov2011-07-131-4/+0
| | | | | The removed lines have no effect, since the flag is set on all encoder for the given file and avcodec_opts are reset between files.
* Replace some gotos that lead to single return statements by direct return.Diego Biurrun2011-07-131-6/+4
|
* ffmpeg: get rid of a pointless limit on number of streams.Anton Khirnov2011-07-131-5/+1
|
* ffmpeg: remove an unused define.Anton Khirnov2011-07-131-2/+0
|
* lavf: deprecate AVFormatContext.timestampAnton Khirnov2011-07-121-7/+8
| | | | It's replaced by 'creation_time' metadata tag.
* ffmpeg: merge input_files_ts_scale into InputStream.Anton Khirnov2011-07-121-9/+13
|
* ffmpeg: don't abuse a global for passing sample format from input to outputAnton Khirnov2011-07-121-3/+7
| | | | It's broken with multiple files or audio streams.
* ffmpeg: don't abuse a global for passing channel layout from input to outputAnton Khirnov2011-07-121-3/+1
| | | | It's broken with multiple files or audio streams.
* ffmpeg: factor common code from new_a/v/s/d_stream to new_output_stream()Anton Khirnov2011-07-121-52/+28
|
* ffmpeg: remove unused variables from InputStream.Anton Khirnov2011-07-081-5/+0
|
* ffmpeg: remove pointless if (nb_input_files)Anton Khirnov2011-07-081-17/+14
| | | | | It's required to be non-zero since cc58300e30e7aea6acfecd72a04a3886b285cfd8
* ffmpeg: merge input_files_ts_offset into input_files.Anton Khirnov2011-07-081-9/+10
|
* ffmpeg: merge input_codecs into input_streams.Anton Khirnov2011-07-081-10/+7
| | | | There's no point in keeping them separate.
* ffmpeg: drop AV prefixes from struct names.Anton Khirnov2011-07-081-54/+54
| | | | Those are reserved for the libs.
* ffmpeg: deprecate loop_input and loop_output optionsAnton Khirnov2011-07-081-4/+10
| | | | They were replaced by (de)muxer private options.
* lavf: deprecate AVStream.quality.Anton Khirnov2011-07-061-7/+8
| | | | AVStream is no place for it and it's unused outside of ffmpeg anyway.
* Do not include mathematics.h in avutil.hMans Rullgard2011-07-031-0/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ffmpeg: use av_get_bytes_per_sample() in place of av_get_bits_per_sample_fmt()Stefano Sabatini2011-07-021-1/+1
| | | | | | av_get_bits_per_sample_fmt() was deprecated. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace usages of av_get_bits_per_sample_fmt() with av_get_bytes_per_sample().Justin Ruggles2011-06-201-3/+3
| | | | av_get_bits_per_sample_fmt() is deprecated.
* ffmpeg: deprecate -vc and -tvstdAnton Khirnov2011-06-161-10/+6
| | | | They've been replaced by demuxer private options.
* ffmpeg: use new avformat_open_* API.Anton Khirnov2011-06-161-30/+47
|
* ffmpeg: don't abuse a global for passing frame size from input to outputAnton Khirnov2011-06-161-6/+10
| | | | It's broken with multiple files or video streams.
* ffmpeg: don't abuse a global for passing pixel format from input to outputAnton Khirnov2011-06-161-3/+5
| | | | It's broken with multiple files or video streams.
* ffmpeg: initialise encoders earlier.Anton Khirnov2011-06-161-6/+6
| | | | Fixes choosing supported samplerate and framerate.
* ffmpeg: merge output_codecs array into AVOutputStream members.Anton Khirnov2011-06-161-11/+7
| | | | There's no point in keeping them separate.
* ffmpeg: don't abuse a global for passing framerate from input to outputAnton Khirnov2011-06-151-9/+13
| | | | It's broken with multiple files or video streams.
* ffmpeg: don't abuse a global for passing channels from input to outputAnton Khirnov2011-06-151-6/+9
| | | | It's broken with multiple files or audio streams.
* ffmpeg: don't abuse a global for passing samplerate from input to outputAnton Khirnov2011-06-151-11/+13
| | | | | | | It's broken with multiple files or audio streams. This removes the default samplerate of 44100 for raw input, hence all the FATE changes.
OpenPOWER on IntegriCloud