summaryrefslogtreecommitdiff
path: root/avconv.c
Commit message (Collapse)AuthorAge
* avconv: cleanup the transcoding loop in output_packet().Anton Khirnov2011-11-21
|
* avconv: split subtitle transcoding out of output_packet().Anton Khirnov2011-11-21
|
* avconv: split video transcoding out of output_packet().Anton Khirnov2011-11-21
|
* avconv: split audio transcoding out of output_packet().Anton Khirnov2011-11-21
|
* avconv: reindent.Anton Khirnov2011-11-21
|
* avconv: move streamcopy-only code out of decoding loop.Anton Khirnov2011-11-21
|
* avconv: remove an always true condition and reindent.Anton Khirnov2011-11-21
|
* avconv: split off streamcopy handling into a separate loop.Anton Khirnov2011-11-21
| | | | | This is easier to understand and is less likely to break horribly when a stream is to be both decoded and copied.
* avconv: cosmetics, reformat transcode_init()Anton Khirnov2011-11-21
| | | | | Fix spacing, vertically align, break some long lines, add some empty lines for readability.
* avconv: rename 'os' variable to 'oc'Anton Khirnov2011-11-21
| | | | Output AVFormatContext is called 'oc' in most other places.
* avconv: Set new interrupt callbacks for all AVFormatContexts, use ↵Martin Storsjö2011-11-18
| | | | | | avio_open2() everywhere Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: remove some codec-specific hacksAnton Khirnov2011-11-10
| | | | | The problem they are supposed to fix is handled in riff.c, so those hacks are pointless.
* avconv: remove some redundant temporary variables.Anton Khirnov2011-11-06
|
* avconv: fix broken indentationAnton Khirnov2011-11-06
|
* avconv: move copy_initial_nonkeyframes to the options context.Anton Khirnov2011-11-06
| | | | Also document it.
* avconv: use file:stream instead of file.stream in log messages.Anton Khirnov2011-11-06
|
* Call avformat_network_init/deinit in the programsMartin Storsjö2011-11-06
| | | | | | | | | 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>
* avconv: add -dump_attachment option.Anton Khirnov2011-11-03
|
* avconv: add -attach option.Anton Khirnov2011-11-03
| | | | It allows attaching arbitrary files, e.g. fonts to Matroska files.
* avconv: make negative mappings disable only streams from the specified fileAnton Khirnov2011-11-03
|
* cmdutils: Rename read_file to cmdutils_read_fileMartin Storsjö2011-10-31
| | | | | | | This symbol name clashes with a symbol in gnutls, if linking statically to that library. Signed-off-by: Martin Storsjö <martin@martin.st>
* g722dec: remove the use of lowres for half-rate decoding.Justin Ruggles2011-10-25
| | | | | | | It is broken because an AVCodecContext can be opened/closed multiple times, and sample_rate is getting divided by 2 each time that happens. This removes the only use of lowres for audio.
* lavf: deprecate AVStream.stream_copyAnton Khirnov2011-10-25
| | | | | It's only used in avconv, so it properly belongs to OutputStream struct there.
* avconc: split choose_codec() to choose_decoder/choose_encoder.Anton Khirnov2011-10-25
| | | | | Prevents -c copy from working for input streams and allows to move stream_copy variable from AVStream to OutputStream.
* mpegenc: add preload private option.Anton Khirnov2011-10-25
| | | | Deprecate AVFormatContext.preload.
* lavf: replace av_new_stream->avformat_new_stream part II.Anton Khirnov2011-10-19
| | | | | | | | Manual replacements are done in this commit. In many cases, the id is some constant made up number (e.g. 0 for video and 1 for audio), which is then not used in the demuxer for anything. Those ids are removed.
* avconv: add presetsAlexandra Khirnova2011-10-17
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cmdutils/avtools: simplify show_help() by using av_opt_child_class_next()Anton Khirnov2011-10-12
|
* Remove all uses of deprecated AVOptions API.Anton Khirnov2011-10-12
|
* avtools: add -v as alias for -loglevelMans Rullgard2011-10-09
| | | | | | This saves a bit of typing. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avconv: always print stats with AV_LOG_INFOAnton Khirnov2011-10-09
| | | | | | It's now possible to disable printing stats during encoding with -nostats, so there's no reason to print them differently depending on whether it's last report or not.
* avconv: add -stats option to enable/disable printing encoding progressAnton Khirnov2011-10-09
|
* avconv: in output_packet() don't set decoded_data_size for video.Anton Khirnov2011-10-09
| | | | It's only used for audio.
* avconv: remove pointless always true conditionAnton Khirnov2011-10-09
|
* avconv: factorize common code in transcode_init()Anton Khirnov2011-10-09
|
* avconv: Reformat s16 volume adjustment.Alex Converse2011-09-28
|
* avconv: Initialize return value for codec copy path.Alex Converse2011-09-27
|
* avconv: Fix volume adjustment for non-s16 sample formatsAlex Converse2011-09-27
|
* avconv: Make samples void*.Alex Converse2011-09-27
| | | | Different sample formats are different sizes.
* avconv: Use the size of the decode sample format when allocating the audio ↵Alex Converse2011-09-27
| | | | samples buffer.
* avconv: use different variables for decoded and filtered frame.Anton Khirnov2011-09-27
| | | | | | | | | | | Makes the code less obfuscated and fixes encoding one video stream to several outputs. Also use avcodec_alloc_frame() instead of allocating AVFrame on stack. Breaks me_threshold in avconv, as motion vectors aren't passed through lavfi. They could be copied manually, but I don't think this misfeature is useful enough to justify ugly hacks.
* avconv: add support for copying attachments.Anton Khirnov2011-09-27
|
* avconv: factorize common code from new_*_stream()Anton Khirnov2011-09-27
|
* avconv: replace all fprintf() by av_log().Anton Khirnov2011-09-26
| | | | Deprecate -v option, now only -loglevel is enough.
* avconv: change av_log verbosity from ERROR to FATAL for fatal errors.Anton Khirnov2011-09-26
|
* avtools: parse loglevel before all the other options.Anton Khirnov2011-09-26
| | | | | This way it can be applied to cmdutils too -- e.g. showing the banner and printing startup messages.
* avconv: use correct output stream index when checking max_framesAnton Khirnov2011-09-25
|
* avconv: remove fake coded_frame on streamcopy hackAnton Khirnov2011-09-25
| | | | | | Back in 2002 when it was added, some muxers used information from coded_frame. It's not true anymore, so this hack is useless and can be removed.
* avconv: actually set InputFile.rate_emuAnton Khirnov2011-09-23
|
* avconv: use correct index when selecting metadata to write to.Anton Khirnov2011-09-11
|