Stefano Sabatini
1c9e340d35
lavfi: add avfilter_copy_frame_props()
...
avfilter_copy_frame_props() avoids code duplication and increases
robustness.
2011-12-25 16:18:57 +01:00
Stefano Sabatini
b58dbb5b03
lavc: add a sample_aspect_ratio field to AVFrame
...
The sample aspect ratio is a per-frame property, so it makes sense to
define it in AVFrame rather than in the codec/stream context.
Simplify application-level sample aspect ratio information extraction,
and allow further simplifications.
2011-12-25 16:18:57 +01:00
Michael Niedermayer
c9aa4cfdb1
avplay: clear pkt_temp when pkt is freed.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2011-12-19 12:22:14 -05:00
Mans Rullgard
8400b126ac
avcodec: deprecate AVFrame.age
...
This was intended as an optimisation for skipped blocks in MPEG2
P-frames and never used elsewhere. Removing this "optimisation"
speeds up MPEG2 decoding by 1-2% (ARM Cortex-A9).
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-18 22:14:33 +00:00
Anton Khirnov
cd3716b9aa
Replace all uses of av_close_input_file() with avformat_close_input().
2011-12-12 20:34:38 +01:00
Justin Ruggles
b11ce85664
avplay: don't request a stereo downmix
...
Multi-channel output works just fine for me with SDL 1.2.14.
2011-12-11 14:01:27 -05:00
Justin Ruggles
f199f38573
avplay: use avcodec_decode_audio4()
2011-12-04 18:29:51 -05:00
Justin Ruggles
e2a2c49fcd
avplay: use a separate buffer for playing silence
2011-12-04 18:29:51 -05:00
Martin Storsjö
40972f7c54
avplay: Set the new interrupt callback
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-11-18 11:01:16 +01:00
Justin Ruggles
f9324d5add
avplay: reset rdft when closing stream.
...
this fixes a crash when cycling audio streams if the spectrograph is
displayed.
2011-11-08 10:43:57 -05:00
Martin Storsjö
776f2bb91a
Call avformat_network_init/deinit in the programs
...
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>
2011-11-06 18:31:39 +02:00
Diego Biurrun
20566eb0f0
Replace outdated references to ffmpeg tool with avconv.
2011-11-02 10:42:54 +01:00
Marton Balint
fec5777ed7
avplay: fix fullscreen behaviour with SDL 1.2.14 on Mac OS X
...
The blue channel went missing when toggling fullscreen on Mac OS X.
2011-10-22 00:28:55 +02:00
Luca Barbato
ec5e521298
macosx: use the default surface on newer sdl
...
SDL 1.2.14 works fine with default colorspace on macosx and seems
to have some issues with 24bit surfaces and resize in addition.
2011-10-17 22:27:12 -07:00
Justin Ruggles
c74f1f47b2
avplay: free the active audio packet at exit.
...
fixes a memleak
2011-10-12 17:48:33 -04:00
Justin Ruggles
cb2c4de3a1
avplay: free rdft data used for spectrogram analysis.
...
fixes a memleak
2011-10-12 17:48:33 -04:00
Anton Khirnov
7a6cd9957d
cmdutils/avtools: simplify show_help() by using av_opt_child_class_next()
2011-10-12 16:51:17 +02:00
Anton Khirnov
182cbe433a
avtools: parse loglevel before all the other options.
...
This way it can be applied to cmdutils too -- e.g. showing the banner
and printing startup messages.
2011-09-26 20:33:50 +02:00
Justin Ruggles
59df4b82a5
avplay: flush audio decoder with empty packets at EOF if the decoder has
...
CODEC_CAP_DELAY set.
2011-09-22 14:11:35 -04:00
Anton Khirnov
7cc8d6385a
cmdutils: add support for caller-provided option context.
...
This is the first step to removing the globals plague from avtools.
2011-09-04 13:12:00 +02:00
Anton Khirnov
dad09ff93f
cmdutils: move exit_program() declaration to cmdutils from avconv
...
Allows cmdutils to call each tool's own cleanup function.
2011-09-04 13:12:00 +02:00
Anton Khirnov
20c21f8b75
cmdutils: get rid of dummy contexts for examining AVOptions.
...
Replace it with newly introduced libavutil API.
2011-09-03 20:58:15 +02:00
Kostya
428c59d911
avtools: reinitialise filter chain when input video stream changes dimensions
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-08-15 11:53:40 +02:00
Anton Khirnov
d4863fc1a8
cmdutils: allow precisely specifying a stream for AVOptions.
2011-08-12 18:35:12 +02:00
Anton Khirnov
266463daff
Rename ffplay to avplay.
2011-08-09 19:56:21 +02:00