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-08-02rtmppkt: Add missing libavcodec/bytestream.h include.Alex Rønne Petersen
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-08-02rtmp: add functions for reading AMF valuesJordi Ortiz
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-08-02Canopus Lossless decoderDerek Buitenhuis
At the moment it only does BGR24, but I plan to add the rest after. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-08-01dca: Switch dca_sample_rates to avpriv_ prefix; it is used across libsDiego Biurrun
2012-08-01dca: Move tables used outside of dcadec.c to a separate file.Diego Biurrun
2012-07-31apetag: change a forgotten return to return 0Anton Khirnov
2012-07-31mpc8: return more meaningful error codes.Anton Khirnov
2012-07-31mpc: return more meaningful error codes.Anton Khirnov
2012-07-31wv,mpc8: don't return apetag data in packets.Anton Khirnov
2012-07-31rtmp: do not warn about receiving metadata packetsSamuel Pitoiset
They are managed in get_packet() Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-07-30Improve descriptiveness of a number of codec and container long namesDiego Biurrun
2012-07-30avformat: Drop pointless "format" from container long namesDiego Biurrun
2012-07-30wv: K&R formatting cosmeticsAnton Khirnov
2012-07-29flvdec: remove spurious use of stream idLuca Barbato
We match streams by codec id now.
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-29lavf: round estimated average fps to a "standard" fps.Anton Khirnov
2012-07-29lavf: use dts difference instead of AVPacket.duration in find_stream_info()Anton Khirnov
AVPacket.duration is mostly made up and thus completely useless, this is especially true for video streams. Therefore use dts difference for framerate estimation and the max_analyze_duration check. The asyncts test now needs -analyzeduration, because the default is 5 seconds and the audio stream in the sample appears at ~10 seconds.
2012-07-29avf: introduce nobuffer optionLuca Barbato
Useful in cases where a significant analyzeduration is still needed, while minimizing buffering before output. An example is processing low-latency streams where all media types won't necessarily come in if the analyzeduration is small. Additional changes by Josh Allmann <joshua.allmann@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-07-28wv: return meaningful error codes.Anton Khirnov
2012-07-28wv: return AVERROR_EOF on EOF, not EIO.Anton Khirnov
2012-07-28mp3dec: forward errors for av_get_packet().Anton Khirnov
Don't invent a bogus EIO error. The code now doesn't check for ret == 0, but that check is redundant, av_get_packet() never returns 0.
2012-07-28mp3dec: remove a pointless local variable.Anton Khirnov
2012-07-28mp3dec: remove commented out cruft.Anton Khirnov
2012-07-28lavf: remove commented out cruft in avformat_find_stream_info()Anton Khirnov
2012-07-28Add missing libavutil/time.h includes.Anton Khirnov
2012-07-28hls: Proceed to the next segment at any error codeMartin Storsjö
Previously, we returned any error code except AVERROR_EOF to the caller - only if AVERROR_EOF or 0 was returned, we proceeded to the next segment. With some setups of web servers, using Connection: close in https and GnuTLS, we don't get a clean error code at the end of segments. In those cases, just proceed to the next segment. Tested-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-28tls: Return AVERROR_EOF if the TLS_read/write functions return 0Martin Storsjö
OpenSSL returns 0 when the peer has closed the connection. GnuTLS doesn't return that though, but returns GNUTLS_E_UNEXPECTED_PACKET_LENGTH if the connection simply is closed without a clean close notify packet. Tested-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-26rtmp: Check the buffer length of ping packetsSamuel Pitoiset
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-26rtmp: Allow having more unknown data at the end of a chunk size packet ↵Samuel Pitoiset
without failing Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-26rtmp: Prevent reading outside of an allocate buffer when receiving server ↵Samuel Pitoiset
bandwidth packets Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-26Support urlencoded http authentication credentialsAntti Seppälä
It should be possible to specify usernames in http requests containing urlencoded characters. This patch adds support for decoding the auth strings. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-26rtmp: Return an error when the client bandwidth is incorrectSamuel Pitoiset
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-26rtmp: Return proper error code in handle_server_bwSamuel Pitoiset
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-26rtmp: Return proper error code in handle_client_bwSamuel Pitoiset
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-26rtmp: Return proper error codes in handle_chunk_sizeSamuel Pitoiset
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-25rtmp: Factorize the code by adding handle_invokeSamuel Pitoiset
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-25rtmp: Factorize the code by adding handle_chunk_sizeSamuel Pitoiset
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-25rtmp: Factorize the code by adding handle_pingSamuel Pitoiset
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-25rtmp: Factorize the code by adding handle_client_bwSamuel Pitoiset
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-25rtmp: Factorize the code by adding handle_server_bwSamuel Pitoiset
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-25rtmp: Add a new option 'rtmp_pageurl'Samuel Pitoiset
This option specifies the URL of the web page in which the media was embedded. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-25rtmp: Make the description of the rtmp_tcurl option more genericSamuel Pitoiset
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-25sctp: add port missing error messageJordi Ortiz
Without this patch a user a bit absent-minded may not notice that the connection doesn't work because the port is missing. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-25tcp: add port missing error messageJordi Ortiz
Without this patch a user a bit absent-minded may not notice that the connection doesn't work because the port is missing. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-24rtmp: Add credit/copyright to librtmp authors for parts of the RTMPE codeMartin Storsjö
Our implementation of RTMPE is heavily based on librtmp. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-24rtmp: Move the CONFIG_ condition into the if conditionsSamuel Pitoiset
This makes sure these calls are removed by dead code elimination even if optimization is disabled. This fixes building without crypto libraries without optimization. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-24build: Skip compiling rtmpdh.h if ffrtmpcrypt protocol is not enabledDiego Biurrun
The ffrtmpcrypt protocol depends on external libraries, which are also required to compile the header file.
2012-07-24rtp: Only choose static payload types if the sample rate and channels are rightAdriano Pallavicino
If using a different sample rate or number of channels, use a dynamic payload type instead, where the parameters are passed in the SDP. G722 is a special case where the normal rules don't apply. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-23wav: init st to NULL to avoid a false-positive warning.Clément Bœsch
If st is NULL, it means no 'fmt ' tag is found, but 'data' tag (which needs a previous 'fmt ' tag to be parsed correctly and st initialized) check will make sure st is never dereferenced in that case. Fixes warning: libavformat/wav.c: In function ‘wav_read_header’: libavformat/wav.c:499:44: warning: ‘st’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-07-23RTMPTE protocol supportSamuel Pitoiset
Signed-off-by: Martin Storsjö <martin@martin.st>