summaryrefslogtreecommitdiff
path: root/avconv.c
Commit message (Collapse)AuthorAge
* Drop unnecessary prefix from *sink* variable and struct names.Diego Biurrun2012-01-25
|
* threads: change the default for threads back to 1Janne Grunau2012-01-21
| | | | | | Using threaded decoding by default breaks backward compatibility if AVHWAccel is used or if an appliction sets threadunsafe callbacks. Avconv and avplay still use -threads auto if not specified.
* cosmetics: Rename ffsink to avsink.Diego Biurrun2012-01-19
|
* avconv: fix -frames for video encoders with delay.Anton Khirnov2012-01-17
| | | | | | | Frames must be counted when they are passed to the encoder, not when they come out. Fixes Bug 202.
* avconv: use avcodec_encode_audio2()Justin Ruggles2012-01-15
|
* avconv: use AVFrame.width/height/format instead of corresponding ↵Anton Khirnov2012-01-12
| | | | AVCodecContext fields
* avconv: reinitialize the filtergraph on resolution change.Anton Khirnov2012-01-10
| | | | | This is a hopefully temporary solution until lavfi can properly deal with resolution changes.
* avconv: fix -copyinkf.Anton Khirnov2012-01-10
| | | | | This option only applies to streamcopy, but is currently processed only when encoding.
* avconv: add symbolic names for -vsync parametersAnton Khirnov2012-01-04
|
* avconv: remove the 'codec framerate is different from stream' warningAnton Khirnov2012-01-02
| | | | | Codec timebase is not framerate and the situation when it's different from AVStream.r_frame_rate is quite common, nothing to warn about.
* avconv: make -frames work for all types of streams, not just video.Anton Khirnov2012-01-01
|
* avconv: free bitstream filtersJanne Grunau2012-01-01
|
* avconv: K&R cosmeticsAneesh Dogra2011-12-29
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: avoid memcpy in vsrc_buffer when possible.Anton Khirnov2011-12-25
| | | | | Decoding Sintel.2010.1080p.mkv with 4 threads on an i7 2600K goes from 260s to 244s.
* avconv: implement get_buffer()/release_buffer().Anton Khirnov2011-12-25
| | | | This will allow memcpy-free passing frames to lavfi.
* mov: Don't stick the QuickTime field ordering atom in extradata.Alex Converse2011-12-21
| | | | | | The 'fiel' atoms can be found in H.264 tracks clobbering the extradata. MJPEG supports non field based extradata, and this data should be preserved when copying.
* avconv: support stream specifiers in -metadata and -map_metadataAlexandra Khirnova2011-12-16
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace all uses of av_close_input_file() with avformat_close_input().Anton Khirnov2011-12-12
|
* avconv: update -map option help textJanne Grunau2011-12-12
|
* Fix a bunch of common typos.Diego Biurrun2011-12-11
|
* avconv: drop code for special handling of avserver streams.Anton Khirnov2011-12-10
| | | | | | | | It's broken and doesn't work anyway. This patch means that avconv will ignore encoding options from the ffm file and will instead use whatever is provided on the commandline as for normal output.
* avconv: remove unsubstantiated commentLuca Barbato2011-12-08
| | | | | All the currently supported OS-es manage to use return values properly.
* avconv: only allocate 1 AVFrame per input streamJustin Ruggles2011-12-05
| | | | | This avoids allocating/freeing an AVFrame for each packet decode. It also simplifies error handling in transcode_audio() and transcode_video().
* avconv: fix memleaks due to not freeing the AVFrame for audioJustin Ruggles2011-12-05
|
* avconv: use avcodec_decode_audio4() instead of avcodec_decode_audio3()Justin Ruggles2011-12-04
|
* Do not memcpy raw video frames when using null muxerMans Rullgard2011-12-02
| | | | | | | | | | | Commit 035af99 made avconv always call an encoder when using the null muxer. While useful for 2-pass encodes, it inadvertently caused an extra memcpy of raw frames when decoding only. This hack restores the old behaviour when only decoding while allowing use of the null muxer with encoded streams as well. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avconv: make copy_tb on by default.Anton Khirnov2011-11-30
| | | | | | | I.e. on streamcopy set output codec timebase from input stream timebase (as opposed to input codec timebase). This should be more sane, because since the stream is not decoded, the input codec tb has no relation to the timestamps of the copied packets.
* avconv: compute next_pts from input packet duration when possible.Anton Khirnov2011-11-30
|
* avconv: update InputStream.pts in the streamcopy case.Anton Khirnov2011-11-30
| | | | This was broken in 2a651b719c309c5e2fc663a5a9d6ca36153ab98f.
* avconv: Handle audio sync for non-S16 sample formats.Alex Converse2011-11-28
| | | | Also fix reporting of the number of samples added/dropped.
* avconv: fix segfault at EOF with delayed picturesJanne Grunau2011-11-24
| | | | | | At EOF it makes no sense to modify avpkt.{data,size} in output_packet since no data is consumed. Frame threading with more than 1 threads hits the segfault.
* avconv: remove a now unused parameter from output_packet().Anton Khirnov2011-11-23
|
* avconv: formatting fixes in output_packet()Anton Khirnov2011-11-23
|
* avconv: declare some variables in blocks where they are usedAnton Khirnov2011-11-23
|
* avconv: use the same behavior when decoding audio/video/subsAnton Khirnov2011-11-23
| | | | | | | I.e. if the packet was only partially consumed, pass the rest of it into the decoder again. Also simplify the code so it's the same for video/audio/subs.
* avconv: use vsync 0 for AVFMT_NOTIMESTAMPS formats.Anton Khirnov2011-11-23
| | | | | Prevent avconv from duplicating or dropping frames for formats where it makes even less sense than usual, e.g. image2.
* avconv: Consistently use PIX_FMT_NONE.Alex Converse2011-11-22
| | | | Use PIX_FMT_NONE instead of -1 when dealing with PixelFormat variables.
* 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
|