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
Luca Barbato
006c253346
doc: Fit the graph in 80 cols
...
Some man pagers do not reflow the text/graphs on resize
and the graphs did not fit the traditional 80cols due
the pod2man excessive indent.
2014-04-03 11:49:30 +02:00
Luca Barbato
85698be461
cmdutils: Mark exit_program as av_noreturn
2014-03-28 00:40:43 +01:00
Luca Barbato and Janne Grunau
f51d0f39c0
h264: Split h264 slice decoding from nal decoding
2014-03-23 22:41:12 +01:00
Luca Barbato and Janne Grunau
ede2b451cc
build: Sort h264 objects
2014-03-23 22:41:11 +01:00
Luca Barbato and Janne Grunau
fb7127b2c8
build: h264 parser depends on full h264 decoder
2014-03-23 22:41:11 +01:00
Luca Barbato
0f0d1d056e
configure: Always use -DOPJ_STATIC when checking for openjpeg
...
Unbreaks windows systems not providing pkgconf files.
Reported-By: Rafaël Carré <funman@videolan.org >
2014-03-23 01:14:31 +01:00
Luca Barbato
af9481d701
mxf: Lowercase UL strings
...
The specification uses lower case most of the time.
2014-03-19 12:04:15 +01:00
Luca Barbato
6920fb2b33
mxf: Verbose debug logging
...
Print the UL in code format and in the short format used by the
specification.
2014-03-19 12:04:06 +01:00
Luca Barbato
842ea36c74
mxf: Override faulty PreviousPartition entries
...
Some files set the PreviousPartition field to point to its own offset.
If we are parsing forward the Previous partition is immediately known
and its value could be used, otherwise we can safely point to the
header.
Reported-By: Jean Baptiste Kempf <jb@videolan.org >
2014-03-19 11:56:33 +01:00
Luca Barbato
92ebb33215
mxf: Add additional H264 PictureEssenceCoding
...
Unbreak some MXF Proxy files.
2014-03-19 11:51:08 +01:00
Luca Barbato and Vittorio Giovara
afdf94689c
aac: K&R formatting cosmetics
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2014-03-14 01:24:31 +01:00
Luca Barbato
81498ceb5b
avconv: Match stream id
...
Quite useful to select by pid in MPEG-TS.
2014-03-13 11:59:34 +01:00
Luca Barbato and Vittorio Giovara
aa80742539
configure: Support older version of openjpeg1
...
It should work best for debian stable and people not installing the .pc
file.
2014-03-12 14:06:21 +01:00
Luca Barbato
8075c3d8bb
http: Add support reading ICY metadata
...
Export the metadata as a icy_metadata_packet avoption.
Based on the work of wm4 and Alessandro Ghedini.
Bug-Id: https://bugs.debian.org/739936
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2014-03-11 22:08:57 +01:00
Luca Barbato
4ff99ab3d7
http: Refactor process_line
2014-03-11 22:08:56 +01:00
Luca Barbato
7a2fddb448
http: K&R formatting cosmetics
2014-03-11 22:08:56 +01:00