Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-12-18avconv: use new options parser.Anton Khirnov
2012-12-05avconv: deprecate the -vol optionJustin Ruggles
Remove the code for volume scaling in avconv.c and instead auto-insert a volume filter into the beginning of the filter chain.
2012-11-11Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles
Also reorder some other #include when applicable.
2012-11-08avconv: rescale packet duration to muxer time base when flushing encodersJustin Ruggles
Fixes Bug 385
2012-11-02avconv: do not free muxed packet on streamcopy.Anton Khirnov
The packet belongs to lavf, the caller must not free it or access it in any other way. No change in practice, since destruct is set to NULL anyway.
2012-10-29avconv: Drop unused function argument from do_video_stats()Diego Biurrun
2012-10-25avconv: fix bitrate report when writing to /dev/nullJanne Grunau
avio_size() reports the filesize which returns 0 for /dev/null. avio_tell() reports the current position. Also handle errors from avio_tell().
2012-10-24avconv: remove now unneeded calls to avcodec_get_frame_defaults().Anton Khirnov
2012-10-23Include sys/time.h before sys/resource.hMans Rullgard
Some systems require sys/time.h being explicitly included before sys/resource.h. The configure check already does this. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-22avcodec: handle AVERROR_EXPERIMENTALNathan Caldwell
Error out on init if a codec with CODEC_CAP_EXPERIMENTAL is requested and strict_std_compliance is not FF_COMPLIANCE_EXPERIMENTAL. Move the check from avconv to avcodec_open2() and return AVERROR_EXPERIMENTAL accordingly. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-10-12De-doxygenize some top-level filesDiego Biurrun
2012-10-09avconv: remove -same_quantAnton Khirnov
It has not worked for anything other than fringe codecs (asv1/2, mdec, mjpeg[b]) since about 2003 and nobody ever noticed or complained. This sufficiently proves that there are no users of this option who have a clue of what they are doing, so it is completely useless.
2012-10-03avconv/avprobe: Add missing 'void' to exit_program() definitionDiego Biurrun
2012-10-02Use atexit() instead of defining a custom exit_program() interface.Diego Elio Pettenò
2012-10-01avconv: improve sample format negotiation for decoder requestJustin Ruggles
This takes into account planar vs. packed when comparing to find the closest sample format match.
2012-09-24Use avcodec_free_frame() to free AVFrames.Anton Khirnov
2012-09-17avconv: flush filtered frames before reconfiguring filtersJanne Grunau
This prevents lost frames after a resolution change.
2012-08-30avtools: remove the distinction between func_arg and func2_arg.Anton Khirnov
func2_arg is the same as func_arg, except it has one additional parameter. Change all func_arg callbacks to take that parameter (and ignore it).
2012-08-30avconv: make the -passlogfile option per-stream.Anton Khirnov
2012-08-26avconv: prefer user-forced input framerate when choosing output framerateAnton Khirnov
2012-08-18avconv: make -shortest a per-output file option.Anton Khirnov
2012-08-13Use log2(x) instead of log(x) / log(2)Mans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-08avconv: allow no input files.Anton Khirnov
It is now possible to use lavfi sources.
2012-08-08avconv: prevent invalid reads in transcode_init()Anton Khirnov
2012-08-08avconv: rename OutputStream.is_past_recording_time to finished.Anton Khirnov
The new name is shorter and more accurate, since this variable is no longer used only for checking recording time constraint.
2012-08-08avconv: split the code for processing input packets out of transcode()Anton Khirnov
2012-08-08avconv: send EOF to lavfi even if flushing the decoder failsAnton Khirnov
2012-08-08avconv: get rid of pointless temporary variable.Anton Khirnov
2012-08-08avconv: simplify transcode().Anton Khirnov
Operate with a pointer to InputFile instead of its index in input_files.
2012-08-08avconv: cosmeticsAnton Khirnov
Replace for (;foo == 0;) with while (!foo) This is prettier.
2012-08-08avconv: replace no_packet array in transcode() with a var in InputStreamAnton Khirnov
This simplifies splitting code for reading from input out of transcode().
2012-08-08avconv: remove commented out cruft.Anton Khirnov
2012-08-08avconv: maintain sync on lavfi outputs.Anton Khirnov
Before this commit, poll_filters() reads all frames available on each lavfi output. This does not work for lavfi sources that produce an unlimited number of frames, e.g. color and similar. With this commit, poll_filters() reads from output with the lowest timestamp and returns to wait for more input if no frames are available on it.
2012-08-08avconv: split configuring filter configuration to a separate file.Anton Khirnov
2012-08-08avconv: split option parsing into a separate file.Anton Khirnov
2012-08-07Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov
2012-08-05rational: add av_inv_q() returning the inverse of an AVRationalMans Rullgard
This allows simplifying a few expressions. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-29lavf: deprecate r_frame_rate.Anton Khirnov
According to its description, it is supposed to be the LCM of all the frame durations. The usability of such a thing is vanishingly small, especially since we cannot determine it with any amount of reliability. Therefore get rid of it after the next bump. Replace it with the average framerate where it makes sense. FATE results for the wtv and xmv demux tests change. In the wtv case this is caused by the file being corrupted (or possibly badly cut) and containing invalid timestamps. This results in lavf estimating the framerate wrong and making up wrong frame durations. In the xmv case the file contains pts jumps, so again the estimated framerate is far from anything sane and lavf again makes up different frame durations. In some other tests lavf starts making up frame durations from different frame.
2012-07-28avprobe/avconv: fix tentative declaration compile errors on MSVS.Ronald S. Bultje
2012-07-17avconv: print an error message when demuxing fails.Anton Khirnov
Also exit in such a case if -xerror is used. Fixes bug 329.
2012-07-09avconv: propagate fatal errors from lavfi.Anton Khirnov
2012-07-06avconv: use only meaningful timestamps in start time check.Anton Khirnov
2012-07-06avconv: fix the check for -ss as an output option.Anton Khirnov
start time is already substracted from the frame timestamp, so it needs to be checked against 0, not start time.
2012-07-05avconv: fix parsing of -force_key_frames option.Reimar Döffinger
Currently it always exits with an error when more than one position is specified. CC: libav-stable@libav.org
2012-07-05avconv: Set audio filter time base to the sample rateMartin Storsjö
If the output frame size is smaller than the input sample rate, and the input stream time base corresponds exactly to the input frame size (getting input packet timestamps like 0, 1, 2, 3, 4 etc), the output timestamps from the filter will be like 0, 1, 2, 3, 4, 4, 5 ..., leadning to non-monotone timestamps later. A concrete example is input mp3 data having frame sizes of 1152 samples, transcoded to aac with 1024 sample frames. By setting the audio filter time base to the sample rate, we will get sensible timestamps for all output packets, regardless of the ratio between the input and output frame sizes. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-30cmdutils: Pass the actual chosen encoder to filter_codec_optsMartin Storsjö
This allows passing the right options to encoders when there's more than one encoder for a certain codec id. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-26avconv: add an assert to silence an uninitialized variable warning.Anton Khirnov
The warning silenced was: avconv.c: In function ‘opt_output_file’: avconv.c:3380:21: warning: ‘meta_out’ may be used uninitialized in this function [-Wuninitialized] avconv.c:3315:20: note: ‘meta_out’ was declared here
2012-06-26avconv: shut up an uninitialized variable warning.Anton Khirnov
The warning silenced was: avconv.c: In function ‘configure_filtergraph’: avconv.c:603:8: warning: ‘ist’ may be used uninitialized in this function [-Wuninitialized] avconv.c:549:18: note: ‘ist’ was declared here
2012-06-26avconv: don't include vsrc_buffer.h, which doesn't exist anymoreAnton Khirnov
2012-06-26avconv: fix -force_key_framesAnton Khirnov
parse_forced_keyframes() relies in encoder timebase being set, so call it from transcode_init() after it is known.