Luca Barbato
ebef9f5a56
time: Use clock_gettime if the monotonic clock is available
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2014-09-03 02:38:03 +02:00
Luca Barbato
65e78a2e4b
x11grab: Refactor pixel format parsing
2014-09-03 02:38:03 +02:00
Luca Barbato
bb3ead7e54
x11grab: Fallback to normal XImage if SHM is not supported
2014-09-03 02:38:03 +02:00
Luca Barbato
c19a49e565
ppc: Support little endian intreadwrite
2014-09-03 02:38:03 +02:00
Luca Barbato
7968059e5c
mpegts: Allow custom max resync size
2014-09-03 02:38:03 +02:00
Luca Barbato
94f084324e
texi2pod: Make it output a single encoding string
...
Intermixing =encoding utf-8 in the file can confuse some pod2man
implementations.
2014-09-03 02:14:17 +02:00
Luca Barbato
4912b634b5
x265: Use the encoder defaults
...
Reset the settings as it is done for x264.
2014-09-03 02:14:17 +02:00
Luca Barbato and Diego Biurrun
58396e806c
x11grab: Use a typedef for the context, as most other code does
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2014-08-28 15:49:05 +02:00
Luca Barbato and Diego Biurrun
7bb505a33c
x11grab: Drop a spurious space in the extension reporting message
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2014-08-28 15:46:56 +02:00
Luca Barbato and Diego Biurrun
20e82b41fc
x11grab: Small near-cosmetic refactorings
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2014-08-28 15:20:12 +02:00
Luca Barbato and Diego Biurrun
f07a4290a0
x11grab: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2014-08-28 14:58:48 +02:00
Luca Barbato
404731bd20
pulse: Set the wallclock option as default
2014-08-27 12:36:59 +02:00
Luca Barbato
ff771f79b5
vc1: Initialize start_code_found to 0
...
Leftover of a4d3c20035 .
2014-08-27 12:36:41 +02:00
Luca Barbato
4e9e6fa99f
mpeg: Write H264 streams at offset 2
...
It hints that the content is H264 according to HD-DVD.
2014-08-26 03:43:13 +02:00
Luca Barbato
a4d3c20035
vc1: Fix the skip condition
...
As written in the comment above, skip must be added only if a
start code is found.
2014-08-26 03:43:13 +02:00
Luca Barbato
424b929b5c
pulse: Add a wallclock option to be compatible with other other captures
...
alsa and x11grab use av_gettime() to report timestamps.
Bug-Id: 647
2014-08-24 14:04:49 +02:00
Luca Barbato
f9f34cb998
ogg: Use separate classes for the aliases
...
Unbreak 051aadeed1
2014-08-23 02:42:18 +02:00
Luca Barbato
051aadeed1
ogg: Provide aliases for Speex, Opus and audio-only ogg
...
Since they are aliases for ogg enabling any of them enables ogg as well.
2014-08-22 13:23:50 +02:00
Luca Barbato
369380e1c4
mxf: Support AAC
...
Update mxf_set_audio_pts to use the container-provided information.
The UL is marked as "to be changed in the future", but the current
samples in the wild do use it.
2014-08-17 16:11:16 +02:00
Luca Barbato
747cd9560c
mxf: Add the UL for the MPEG2VideoDescriptor
2014-08-17 16:11:02 +02:00
Luca Barbato
304089aca7
mxf: Add UID print helpers
...
And use it to print non-parsed ULs.
2014-08-17 16:11:02 +02:00
Luca Barbato
11db644a8e
lavr: Update the planar check in ff_audio_convert
...
Leftover from fbc0b86599 .
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2014-08-17 16:11:02 +02:00
Luca Barbato
96ce6d6f11
doc: Add more information in the README
...
And convert it to Markdown.
2014-08-16 00:49:22 +02:00
Luca Barbato and Diego Biurrun
e8049af132
mpegts: Do not try to write a PMT larger than SECTION_SIZE
...
Prevent out of array writes.
Similar to what Michael Niedermayer did to address the same issue.
Bug-Id: CVE-2014-2263
CC: libav-stable@libav.org
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2014-08-13 12:43:26 -07:00
Luca Barbato and Michael Niedermayer
c4ac48c5a1
swresample: document the need to configure the context using AVOptions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-11 00:35:56 +02:00
Luca Barbato
fb1ddcdc8f
avresample: Introduce AVFrame-based API
2014-08-10 14:26:37 +02:00
Luca Barbato
8c6f430291
mpeg: Suppress a compiler warning on callback type
2014-08-09 21:39:36 +02:00
Luca Barbato and Diego Biurrun
e4c9e59a45
mpeg: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2014-08-08 05:22:09 -07:00
Luca Barbato
89616408e3
mpegts: Define the section length with a constant
...
The specification says the value is expressed in 10 bits including
the 4-byte CRC.
2014-08-04 22:22:54 +02:00
Luca Barbato and Vittorio Giovara
d2962e9f89
pixdesc: Support pixelformat aliases
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2014-08-04 12:55:07 +01:00
Luca Barbato
6a463e7fb4
http: Refactor http_open_cnx
...
Split return value handling from the actual opening.
Incidentally fixes the https -> http redirect issue reported by
Compn on behalf of rcombs.
CC: libav-stable@libav.org
2014-08-03 23:13:27 +02:00
Luca Barbato
f0e9594819
af_channelmap: Set the frame channel layout
...
Otherwise the frame would show the first layout matching the
channel count.
2014-08-02 00:58:21 +02:00
Luca Barbato
87efaa97ce
af_join: Set the output frame format
2014-08-02 00:58:21 +02:00
Luca Barbato
fa14804c83
flv: Index the audio stream
...
And leverage the video index if the video is just disabled as wm4
did in an initial patch.
2014-08-01 15:04:51 +02:00
Luca Barbato and Vittorio Giovara
b2e059a1ff
pixdesc: K&R formatting cosmetics
...
Also change some comments to multiline.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2014-08-01 13:07:53 +01:00
Luca Barbato
fa38573cd9
matroska: Register mime types
2014-07-29 17:47:32 +02:00
Luca Barbato
02cf0c9e42
aac: Register the mime type
...
Speed up probing ADTS live streams that are not frame-aligned such
as http://mp3.streampower.be/radio1.aac .
2014-07-29 17:47:32 +02:00
Luca Barbato
3a19405d57
avformat: Use the mime type information in input probe
...
It should provide a quicker guess for elementary streams provided
by http.
2014-07-29 17:47:26 +02:00
Luca Barbato
69e7336b8e
avstring: Expose the simple name match function
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2014-07-29 17:46:29 +02:00
Luca Barbato
e253a9e2b3
avformat: Move av_probe_input* to format.c
2014-07-29 15:18:51 +02:00
Luca Barbato
e4a462e3ea
configure: Use require_pkg_config for Speex
...
Distributors and integrators nowadays have less problems by leveraging
pkg-config files than having to set custom CFLAGS and LDFLAGS.
2014-07-28 22:17:42 +02:00
Luca Barbato
7bdd2ff682
http: Use a constant for the supported header size
2014-07-22 16:38:26 +02:00
Luca Barbato
389380c279
http: Do move the class instantiation in the conditional block
...
Remove a warning if https support is disabled.
2014-07-21 22:18:35 +02:00
Luca Barbato
28df1d2411
http: Provide an option to override the HTTP method
...
Certain servers accept only PUT as valid method.
2014-07-21 22:18:35 +02:00
Luca Barbato
bb0babd705
build: Support executable only ldflags
...
The options is useful to build position-independent executables on
hardened systems (e.g. Android L and Gentoo Hardened).
2014-07-21 22:18:35 +02:00
Luca Barbato
b396bbad10
configure: Do not add extralibs to avresample .pc file
...
The library does not have external dependencies.
2014-07-21 22:18:35 +02:00
Luca Barbato and Diego Biurrun
2db953f846
h264: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2014-07-17 03:05:24 -07:00
Luca Barbato
df2aa22203
mov: Clarify tkhd flag settings
2014-07-11 11:07:35 +02:00
Luca Barbato
f90729699d
mov: Do not group tracks if more than one is enabled per type
...
The specification requires at most 1 track enabled per alternate group.
2014-07-11 11:07:06 +02:00
Luca Barbato
52a1c32c0a
nut: Use nut->version in the version range check
...
It was wrongly left unchanged when the version field had been
introduced. (c94e2e85cb )
2014-07-08 19:04:09 +02:00
Luca Barbato and Vittorio Giovara
df949b645b
hevc: Use the local context variable when needed
2014-07-02 23:30:49 -04:00
Luca Barbato
48e6432407
matroska: Factor out mkv_write_stereo_mode
2014-07-01 16:43:20 +02:00
Luca Barbato
b75a1f9892
matroska: Factor out write_track from mkv_write_tracks
2014-07-01 16:43:01 +02:00
Luca Barbato
f1f6156b3f
matroska: K&R formatting cosmetics
2014-07-01 16:42:32 +02:00
Luca Barbato
ccda51b14c
lzo: Handle integer overflow
...
get_len can overflow for specially crafted payload.
Reported-By: Don A. Baley <donb@securitymouse.com >
CC: libav-stable@libav.org
2014-06-23 10:20:57 +02:00
Luca Barbato
0ef256d515
libx264: Correctly manage constant rate factor params
...
By default they are set to -1.
2014-06-22 21:01:07 +02:00
Luca Barbato
869fc416f7
hevc: Mark num_bins_in_se as unused
...
Only its size is actually used. Silence a clang warning.
2014-06-18 22:03:40 +02:00
Luca Barbato
c9c1e00f95
rtsp: Factor out fmtp parsing
2014-06-18 22:03:40 +02:00
Luca Barbato
49a242687c
doc: Document segment_list_type
2014-06-18 22:03:40 +02:00
Luca Barbato
83aa4fc3fe
configure: Directly support Android as target OS
2014-06-16 10:52:29 +02:00
Luca Barbato
2f4170312f
libx264: Support bitrate reconfiguration
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2014-06-11 22:51:00 +02:00
Luca Barbato
f121dbd9f7
mpegts: Provide an option to override the pcr period
...
Certain hardware demuxer have specific restrictions for PCR periodicity.
2014-06-10 22:05:44 +02:00
Luca Barbato
3f7e94eccd
mpegts: Move the option section to the bottom
...
Makes it consistent with the rest of the formats and ease usage
of macros constants for the defaults.
2014-06-10 22:05:44 +02:00
Luca Barbato
a736ae1e96
doc: Document mpegts muxrate
2014-06-10 22:05:44 +02:00
Luca Barbato
39ec5e1cf8
avconv: Report the codec and the encoder separately
...
Bug-Id: 694
2014-06-04 13:04:40 +02:00
Luca Barbato
ad0fe2f401
af_resample: Use avresample_get_out_samples
2014-05-28 22:50:55 +02:00
Luca Barbato
b2d4565422
avresample: Add avresample_get_out_samples
...
Utility function to get the upper bound on the number of samples the
resampler would output.
2014-05-28 22:04:56 +02:00
Luca Barbato
c94e2e85cb
nut: Support experimental NUT 4 features
...
Add the low overhead pipe mode and the extended broadcast mode.
Export the options as 'syncponts' since it impacts only that.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2014-05-28 22:04:56 +02:00
Luca Barbato
6d212599aa
avformat: Provide a standard compliance flag
...
Provide f_strict for avconv usage.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2014-05-28 22:04:56 +02:00
Luca Barbato
ebc29519d1
hwaccel: Support specific frame allocators
...
It would reduce the boilerplate code users have to write.
2014-05-11 14:59:07 +02:00
Luca Barbato
dcbfb7805a
probe: Support AAC_LATM in set_codec_from_probe_data
2014-05-03 18:51:37 +02:00
Luca Barbato
f66d0c57b1
latm: Add a probe function
2014-05-03 18:51:17 +02:00
Luca Barbato
de69aedf99
mathematics: K&R formatting cosmetics
2014-05-03 18:31:18 +02:00
Luca Barbato
3a177a9cca
swscale: Fix an undefined behaviour
...
Prevent a division by zero down the codepath.
Sample-Id: 00001721-google
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2014-05-03 18:25:17 +02:00
Luca Barbato
925c37874b
vp9: Read the frame size as unsigned
...
Sample-Id: 00001723-google
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2014-05-03 18:25:17 +02:00
Luca Barbato
a90d92ce2a
aac: K&R formatting cosmetics
2014-05-01 13:00:57 +02:00
Luca Barbato
c6b42e8549
flv: K&R formatting cosmetics
2014-05-01 13:00:57 +02:00
Luca Barbato
7d027b9d6d
librtmp: Map native options to librtmp ones when possible
...
Makes the two protocols nearly seamless.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2014-04-30 18:56:43 +02:00
Luca Barbato
7266e24f17
hls: Sync the file number with the start sequence
2014-04-30 17:52:49 +02:00
Luca Barbato
a16431034d
hls: Factor the sequence computation
2014-04-30 17:52:33 +02:00
Luca Barbato
c7603b3c24
hls: Print start_number as first sequence value
...
The option now behaves as expected.
2014-04-30 17:52:17 +02:00
Luca Barbato
87a3ea3192
segment: Report the current media sequence
...
Useful for debugging mostly.
2014-04-30 17:52:03 +02:00
Luca Barbato
344f7b5a7e
hls: Report the current media sequence
...
Useful for debugging mostly.
2014-04-30 17:51:50 +02:00
Luca Barbato
5a70a783f0
hls: Add an option to prepend a baseurl to the playlist entries
...
Useful to generate playlists with absolute paths.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2014-04-29 12:14:11 +02:00
Luca Barbato
152b797cd6
flv: Do not mangle dts values for negative cts
...
Some applications really mean to send negative pts.
2014-04-23 21:20:17 +02:00
Luca Barbato
5d983fdbca
flv: Warn only once
...
No point in sending the message multiple time.
2014-04-23 21:19:27 +02:00
Luca Barbato
374fdc8c07
flv: Improve log messages
...
Messages should start with a capital letter and possibly end with a "."
if they are statements.
2014-04-23 21:04:20 +02:00
Luca Barbato
f1b239ec8b
drawtext: Add fontconfig support
...
Introduce the `font` option and make it optional to pass a fontfile.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2014-04-17 00:41:30 +02:00
Luca Barbato
a7448064c5
mp2: Do not force a samplerate
...
The default should be not to resample.
2014-04-11 00:09:34 +02:00
Luca Barbato and Vittorio Giovara
e6e8be542b
doc: Completely document the x264 options
...
And fix an option mismatch.
2014-04-08 23:24:42 +02:00
Luca Barbato and Vittorio Giovara
0d671ade99
doc: Use a 3 columns multitable
...
Make the html output much nicer.
2014-04-08 23:24:42 +02:00
Luca Barbato and Vittorio Giovara
be59675add
doc: Change the multitable rendering in texi2pod
...
Makes it working better for our documentation purposes.
2014-04-08 23:24:42 +02:00
Luca Barbato and Janne Grunau
e10fd08aa7
h264: Refactor decode_nal_units
2014-04-06 23:33:17 +02:00
Luca Barbato and Vittorio Giovara
ad8f736b74
mxf: Remove typo
...
Reported-By: Vittorio Giovara <vittorio.giovara@gmail.com >
2014-04-03 23:45:05 +02:00
Luca Barbato and Vittorio Giovara
9464b69da6
log: Unbreak windows support
...
Add the missing define.
2014-04-03 23:43:47 +02:00
Luca Barbato and Michael Niedermayer
061e340c05
log: Factorize check_color_terminal() out
2014-04-03 20:04:34 +02:00
Luca Barbato and Vittorio Giovara
4ede1862dc
log: Do not assume the TERM variable is always set
2014-04-03 18:43:25 +02:00
Luca Barbato and Vittorio Giovara
42ba1c51d9
log: Document AV_LOG_C usage
...
And move outside the wrong doxygen group.
2014-04-03 18:43:24 +02:00
Luca Barbato and Vittorio Giovara
28b9ac4e48
log: Remove undefined behaviour
2014-04-03 18:43:24 +02:00
Luca Barbato
7763118cae
log: Support for 256color terminals
...
And provide extended coloring capabilities for debugging.
The default colors do not change in 256 more to keep
supporting people using Black on White, White on Black and
Solarized terminals.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2014-04-03 15:54:49 +02:00