summaryrefslogtreecommitdiff
path: root/avconv.c
Commit message (Collapse)AuthorAge
* avutil: add av_parse_cpu_flags() functionMans Rullgard2012-04-25
| | | | | | | This moves the cpu flag parsing code from avconv to avutil so it can be accessed elsewhere. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avconv: use libavresampleJustin Ruggles2012-04-24
|
* avconv: fix a segfault on -c copy with -filter_complex.Anton Khirnov2012-04-24
|
* avconv: fix off by one check in complex_filterLuca Barbato2012-04-22
| | | | nb_input_files is already an invalid index.
* ARM: allow runtime masking of CPU featuresMans Rullgard2012-04-22
| | | | | | | This allows masking CPU features with the -cpuflags avconv option which is useful for testing different optimisations without rebuilding. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove lowres video decodingMans Rullgard2012-04-21
| | | | | | | This feature is complex, of questionable utility, and slows down normal decoding. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avconv: fix a segfault when default encoder for a format doesn't exist.Anton Khirnov2012-04-21
| | | | Fail earlier and with a more descriptive error message.
* avconv: check for an incompatible changing channel layoutJustin Ruggles2012-04-18
| | | | | | The decoder can change the layout and channel count during decoding, but currently we only validate that the two are compatible when opening the codec. This checks for incompatibilities after each decoded frame.
* avconv: only set the "channels" option when it exists for the specified ↵Justin Ruggles2012-04-16
| | | | | | | input format This allows the user to specify an input channel layout without avconv aborting because the "channels" option was not found.
* avconv: flush decoders immediately after an EOF.Anton Khirnov2012-04-15
| | | | Prevents extensive buffering when overlaying a single picture.
* avconv: send EOF to vsrc_buffer.Anton Khirnov2012-04-15
|
* avconv: reindent.Anton Khirnov2012-04-15
|
* avconv: add support for complex filtergraphs.Anton Khirnov2012-04-15
|
* avconv: make filtergraphs global.Anton Khirnov2012-04-15
| | | | | This is the first step towards supporting complex filtergraphs with more than one input and/or output.
* avconv: move filtered_frame from InputStream to OutputStream.Anton Khirnov2012-04-15
| | | | It more properly belongs to output, not input.
* avconv: don't set output width/height directly from input value.Anton Khirnov2012-04-15
| | | | | Always take it from lavfi. This way we don't need a clearly defined corresponding input stream.
* avconv: move resample_{width,height,pix_fmt} to InputStream.Anton Khirnov2012-04-15
| | | | | This is a more proper place for them, since they store parameters of the input, not output, stream.
* avconv: remove a useless variable from OutputStream.Anton Khirnov2012-04-15
|
* avconv: get output pixel format from lavfi.Anton Khirnov2012-04-15
| | | | | | | This way we don't require a clearly defined corresponding input stream. The result for the xwd test changes because rgb24 is now chosen instead of bgra.
* avconv: change {input,output}_{streams,files} into arrays of pointers.Anton Khirnov2012-04-15
| | | | | | Right now, they are arrays of structs, reallocated when new streams/files are added. This makes storing pointers to those structs harder than necessary.
* avconv: don't pass input/output streams to some functions.Anton Khirnov2012-04-15
| | | | They are globals, no point in pretending they are not.
* avfiltergraph: make the AVFilterInOut alloc/free API publicStefano Sabatini2012-04-14
| | | | | | | This is required for letting applications to create and destroy AVFilterInOut structs in a convenient way. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: use default channel layouts when they are unknownJustin Ruggles2012-04-10
| | | | | | | | | If either input or output layout is known and the channel counts match, use the known layout for both. Otherwise choose the default layout based on av_get_default_channel_layout(). Changed some FATE references due to some WAVE files now having a non-zero channel mask.
* avconv: parse channel layout stringJustin Ruggles2012-04-10
| | | | | This allows the user to use channel layout names instead of having to use the channel mask values.
* avconv: allow '-async -1' to disable timestamp sync for audio encodingJustin Ruggles2012-04-09
| | | | | | This will allow a workaround for cases where input timestamps are invalid or when decoder delay of 1 packet or more confuses avconv into using the wrong timestamps as a sync reference.
* avconv: use default alignment for audio bufferJustin Ruggles2012-04-09
|
* avconv: remove OutputStream.picref.Anton Khirnov2012-04-09
| | | | | It's only used inside transcode_video() and there's no point in preserving it between subsequent calls. So use a local variable instead.
* avconv: only set SAR once on the decoded frame.Anton Khirnov2012-04-09
| | | | No point in repeating the assignment for each output stream.
* avconv: remove an unused function parameter.Anton Khirnov2012-04-06
|
* avconv: remove now pointless variables.Anton Khirnov2012-04-06
|
* avconv: drop support for building without libavfilter.Anton Khirnov2012-04-06
| | | | | | | Since the mandatory memcpy in vsrc_buffer has been eliminated, there shouldn't be any significant reason to build without lavfi anymore. This will make upcoming support for complex filtergraphs easier to do.
* lavc/avconv: support changing frame sizes in codecs with frame mt.Ronald S. Bultje2012-03-24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: fix the resampling safety factors for output audio buffer allocationJustin Ruggles2012-03-23
| | | | This matches the output size required for audio_resample()
* avconv: move audio output buffer allocation to a separate functionJustin Ruggles2012-03-23
| | | | Allows for removing a goto and makes the code easier to follow.
* avconv: make the async buffer global and free it in exit_program()Justin Ruggles2012-03-23
|
* avconv: free packet in write_frame() when discarding due to frame number limitJustin Ruggles2012-03-20
| | | | Fixes a memleak when using the -frames option with audio.
* avconv: pass input stream timestamps to audio encodersJustin Ruggles2012-03-20
| | | | | 5 FATE test references updated due to using demuxer-generated timestamps that are either not sample-accurate or are slightly off in the input file.
* avconv: remove pointless checks.Anton Khirnov2012-03-15
| | | | | OutputStream.picref is guaranteed to be non-NULL if get_filtered_video_frame() succeeds.
* avconv: check for get_filtered_frame() failure.Anton Khirnov2012-03-15
|
* avconv: remove a pointless check.Anton Khirnov2012-03-15
| | | | | output_video_filter is always guaranteed to be set and is in fact dereferenced right above the check.
* avconv: reindentAnton Khirnov2012-03-13
| | | | CC: libav-stable@libav.org
* avconv: link '-passlogfile' option to libx264 'stats' AVOption.Anton Khirnov2012-03-13
| | | | | | Fixes bug 204. CC: libav-stable@libav.org
* avconv: add -cpuflags option for setting supported cpuflags.Anton Khirnov2012-03-06
| | | | Useful for testing.
* avconv: fix counting encoded video size.Anton Khirnov2012-03-06
| | | | | avcodec_encode_video2() return value is 0 on success, encoded frame size is stored in the packet.
* avconv: set discard on input streams automatically.Anton Khirnov2012-02-26
|
* avconv: saner output video timebase.Anton Khirnov2012-02-26
| | | | | | | | | | r_frame_rate should in theory have something to do with input framerate, but in practice it is often made up from thin air by lavf. So unless we are targeting a constant output framerate, it's better to just use input stream timebase. Brings back dropped frames in nuv and cscd tests introduced in cd1ad18a6539bd7fc2dc4c1740fbcbd498c0c0a2
* avconv: refactor vsync code.Anton Khirnov2012-02-26
| | | | No functional changes, just make it more readable.
* bethsoftvid: pass palette in side data instead of in a separate packet.Justin Ruggles2012-02-16
| | | | | | Update FATE reference to account for now non-existent palette packet. This also fixes the FATE test if frame data is not initialized in get_buffer(), so update comment in avconv accordingly.
* avconv: Don't split out inline sequence headers when stream copying VC1Martin Storsjö2012-02-14
| | | | | | | | This is required when stream copying VC1 in ismv - there's one global header in the moov atom, but keyframes have a separate sequence header prepended. Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: set AVFormatContext.duration from '-t'Andrey Utkin2012-02-12
| | | | | | | | Set output files duration to recording_time option, if given. Rationale: to save duration into metadata for file that is written to non-seekable output, for formats like FLV (with metadata at beginning). Signed-off-by: Anton Khirnov <anton@khirnov.net>