Anton Khirnov
780ff97fef
log: make colored output more colorful.
...
Green for verbose, cyan for debug.
13 years ago
Martin Storsjö
6099543ad4
rtsp: Check for dynamic payload handlers if no static payload mapping was found
...
Some systems abuse the static payload types 35 or 36 (which
according to IANA are unassigned) for H264.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
154486f9ad
opt: Add av_opt_set_bin()
...
Introduce a new function to set binary data through AVOption,
avoiding having to convert the binary data to a string inbetween.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
a1a6cdc26e
avconv: Display the error returned by avformat_write_header
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
68c813081b
rtpenc_chain: Return an error code instead of just a plain pointer
...
Also check the return value in sapenc.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
93cef6f923
rtpenc_chain: Free the URLContext on failure
...
If an URLContext is passed in, its ownership is given to this
function, and is either owned by the returned AVFormatContext
on a successful return, or freed on failure.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
2dcb21a95d
rtpenc: Expose the ssrc as an avoption
...
This allows the caller to set it, and allows the caller to query
what it was set to.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Christian Schmidt
b1d22dc52f
avprobe: display the codec profile in show_stream()
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Luca Barbato
70026be8e5
avprobe: fix function prototype
...
Make opt_output_format return the correct value.
13 years ago
Martin Storsjö
39e29aa019
cosmetics: Fix indentation
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Luca Barbato
f4dd6465e9
avprobe: changelog entry
13 years ago
Luca Barbato
6a6c2a94c5
avprobe: update documentation
...
Update the documentation according to the latest changes
13 years ago
Luca Barbato
0d242a7713
avprobe: provide JSON output
...
JSON usage is quite widespread.
13 years ago
Luca Barbato
3a8c95f730
avprobe: output proper INI format
...
Make the output valid INI serialization.
13 years ago
Luca Barbato
beb33fca69
avprobe: improve formatting
...
Do not use decimals if not needed.
13 years ago
Luca Barbato
c6eeb9b7b6
rtmp: fix url parsing
...
The application component can have a subcomponent to specify the
application instance even if it doesn't have a ":" in the playpath.
13 years ago
Luca Barbato
b0970a69d1
fate: document TARGET_EXEC and its usage
...
TARGET_EXEC allows running FATE on simulators, remote targets and
memory checkers. Also document a known issue with Wine and mixed
Unix/Windows line ending.
13 years ago
Alex Converse
ed7bdd8647
movenc: Don't write the 'wave' atom or its child 'enda' for lpcm audio.
...
It's left over from stsd v0. QuickTime 7 no longer writes 'wave' or 'enda'
when 'lpcm' is the audio tag.
13 years ago
Kostya Shishkov
d073f122ea
imc: some cosmetics
13 years ago
Samuel Pitoiset
177bcc9593
rtmp: Pass the proper return code in rtmp_handshake
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
bba287fdac
rtmp: Check return codes of net IO operations
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
a4d3f3580b
rtmp: Return a proper error code instead of -1
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
08e93f5b46
rtmp: Check malloc calls
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
f645f1d6ea
rtmp: Check ff_rtmp_packet_create calls
...
Check malloc calls used by ff_rtmp_packet_create, unify error
handling and pass on error codes.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Justin Ruggles
c7448c182a
lavfi: add audio mix filter
13 years ago
Martin Storsjö
1e8561e369
flvdec: Make sure sample_rate is set to the updated value
...
The sample_rate variable is used for checks for audio format
changes at the end of the function.
This fixes cases where the sample rate was set from the codec
id by flv_set_audio_codec (as for nellymoser 8 kHz/16 kHz),
so the value set to last_sample_rate wasn't equal to sample_rate
at this point. This caused the demuxer otherwise reports a spurious
change to 5512 Hz and back to the correct one.
Updating channels in the same way is only done for consistency.
Currently, flv_set_audio_codec doesn't update that value.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
90290a5150
tqi: Pass errors from the MB decoder
...
This silences some valgrind warnings.
CC: libav-stable@libav.org
Fixes second half of http://ffmpeg.org/trac/ffmpeg/ticket/794
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit f85334f58e
)
13 years ago
Dave Yeo
3f9d6e4239
os_support: Define SHUT_RD, SHUT_WR and SHUT_RDWR on OS/2
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
e5773d8bc3
http: Add support for reading http POST reply headers
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
ba354a8cc0
http: Add http_shutdown() for ending writing of posts
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
4a9ca93556
tcp: Allow signalling end of reading/writing
...
tcp_shutdown() isn't needed at the moment, but is added for
consistency to explain how the function is supposed to be used.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
32d545e0a4
avio: Add a function for signalling end of reading/writing
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
0ce4a627c9
lavfi: fix comment, audio is supported now.
13 years ago
Anton Khirnov
ce353a881f
lavfi: fix incorrect comment.
...
poll_frame()/request_frame() are used for audio too.
13 years ago
Anton Khirnov
c04c533f62
lavfi: remove avfilter_null_* from public API on next bump.
...
Those functions are only useful inside filters. It is better to not
support user filters until the API is more stable.
13 years ago
Anton Khirnov
43c7a01e98
lavfi: remove avfilter_default_* from public API on next bump.
...
Those functions are only useful inside filters. It is better to not
support user filters until the API is more stable.
13 years ago
Mina Nagy Zaki
88c3b87bd8
lavfi: deprecate default config_props() callback and refactor avfilter_config_links()
...
Link properties have to be checked after config_props() is called to
make sure everything is sane, so the default config_props() for output
links was redundant.
Remove now empty defaults.c
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
ccefa89f39
avfiltergraph: smarter sample format selection.
13 years ago
Anton Khirnov
0629f6128e
avconv: rename transcode_audio/video to decode_audio/video.
...
Those functions do only decoding now, encoding is run from
poll_filters().
13 years ago
Anton Khirnov
f297dd3812
asyncts: reset delta to 0 when it's not used.
...
Fixes an invalid write.
13 years ago
Justin Ruggles
713548cbad
x86: lavc: use %if HAVE_AVX guards around AVX functions in yasm code.
...
This is needed for older versions of yasm/nasm that do not support AVX.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
cc7fac9970
dwt: return errors from ff_slice_buffer_init()
13 years ago
Jordi Ortiz
c89e428ed8
dwt: check malloc calls
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
3ea5429489
ppc: Drop unused header regs.h
13 years ago
Justin Ruggles
e0d8427dce
af_resample: remove an extra space in the log output
13 years ago
Kieran Kunhya
5ff01259a8
Convert vector_fmul range of functions to YASM and add AVX versions
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Justin Ruggles
afeb3590fc
lavfi: add an audio split filter
...
Based on current version of the asplit filter in FFmpeg written by
Stefano Sabatini and others.
13 years ago
Justin Ruggles
cc30080b3f
lavfi: rename vf_split.c to split.c
...
This is in preparation for adding an audio split filter.
13 years ago
Jordi Ortiz
13a867a63e
dwt: K&R prettyprinting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
db9e00f469
Remove libnut wrapper
...
libnut is unmaintained and known to be buggy; native NUT code exists.
13 years ago