summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* swf: Move shared table out of the header fileDiego Biurrun2012-08-09
|
* swf: Move swf_audio_codec_tags table to the only place it is usedDiego Biurrun2012-08-09
|
* rtmp: Add message trackingSamuel Pitoiset2012-08-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Support mpegts in raw udp packetsMartin Storsjö2012-08-09
| | | | | | | This is basically the same way as mpegts packets are parsed in rtpdec.c. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Support receiving plain data over UDP without any RTP encapsulationMartin Storsjö2012-08-09
| | | | | | | EvoStream Media Server can serve data in this format, and VLC/live555 already supports it. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: Remove an unused includeMartin Storsjö2012-08-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Remove an av_abort() that depends on user-supplied dataMartin Storsjö2012-08-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: send check_bw as notificationLuca Barbato2012-08-08
| | | | | | | Set the transactionId to 0 to signal the server a return _result/_error is not expected. Solves the problems experienced with strict rtmp servers.
* id3v2: Support v2.2 PICMohammad Alsaleh2012-08-08
| | | | | | | | | | | | id3 v2.2 uses image format ("JPG","PNG") instead of mimetypes. Currently, the attached picture is skipped because the format string does not match a known picture mimetype. This patch fixes this behaviour. Signed-off-by: Mohammad Alsaleh <msal@tormail.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rtmp: Add a new option 'rtmp_subscribe'Samuel Pitoiset2012-08-07
| | | | | | | This option specifies the name of live stream to subscribe. Defaults to rtmp_playpath. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Add support for subscribing live streamsSamuel Pitoiset2012-08-07
| | | | | | | | When streaming live streams using the Akamai, Edgecast or Limelight CDN, players cannot simply connect to the live stream. Instead, they have to subscribe to it, by sending an FC Subscribe call to the server. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Factorize simultaneous URLProtocol / AVClass declarations with a macroSamuel Pitoiset2012-08-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* mpc8: set packet duration and stream start time instead of tracking framesJustin Ruggles2012-08-06
| | | | Fixes mpc8 timestamps.
* lavf: Declare an AVRational struct without a struct literalMartin Storsjö2012-08-06
| | | | | | | At this place, the normal way of initializing a struct works fine, there's no need for a struct literal. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmppkt: Add missing libavcodec/bytestream.h include.Alex Rønne Petersen2012-08-02
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* rtmp: add functions for reading AMF valuesJordi Ortiz2012-08-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Canopus Lossless decoderDerek Buitenhuis2012-08-01
| | | | | | At the moment it only does BGR24, but I plan to add the rest after. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* dca: Switch dca_sample_rates to avpriv_ prefix; it is used across libsDiego Biurrun2012-08-01
|
* dca: Move tables used outside of dcadec.c to a separate file.Diego Biurrun2012-08-01
|
* apetag: change a forgotten return to return 0Anton Khirnov2012-07-31
|
* mpc8: return more meaningful error codes.Anton Khirnov2012-07-31
|
* mpc: return more meaningful error codes.Anton Khirnov2012-07-31
|
* wv,mpc8: don't return apetag data in packets.Anton Khirnov2012-07-31
|
* rtmp: do not warn about receiving metadata packetsSamuel Pitoiset2012-07-31
| | | | | | They are managed in get_packet() Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Improve descriptiveness of a number of codec and container long namesDiego Biurrun2012-07-30
|
* avformat: Drop pointless "format" from container long namesDiego Biurrun2012-07-30
|
* wv: K&R formatting cosmeticsAnton Khirnov2012-07-30
|
* flvdec: remove spurious use of stream idLuca Barbato2012-07-29
| | | | We match streams by codec id now.
* lavf: deprecate r_frame_rate.Anton Khirnov2012-07-29
| | | | | | | | | | | | | | | | | | | | 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.
* lavf: round estimated average fps to a "standard" fps.Anton Khirnov2012-07-29
|
* lavf: use dts difference instead of AVPacket.duration in find_stream_info()Anton Khirnov2012-07-29
| | | | | | | | | | 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.
* avf: introduce nobuffer optionLuca Barbato2012-07-29
| | | | | | | | | | | | | 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>
* wv: return meaningful error codes.Anton Khirnov2012-07-28
|
* wv: return AVERROR_EOF on EOF, not EIO.Anton Khirnov2012-07-28
|
* mp3dec: forward errors for av_get_packet().Anton Khirnov2012-07-28
| | | | | | | 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.
* mp3dec: remove a pointless local variable.Anton Khirnov2012-07-28
|
* mp3dec: remove commented out cruft.Anton Khirnov2012-07-28
|
* lavf: remove commented out cruft in avformat_find_stream_info()Anton Khirnov2012-07-28
|
* Add missing libavutil/time.h includes.Anton Khirnov2012-07-28
|
* hls: Proceed to the next segment at any error codeMartin Storsjö2012-07-28
| | | | | | | | | | | | | 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>
* tls: Return AVERROR_EOF if the TLS_read/write functions return 0Martin Storsjö2012-07-28
| | | | | | | | | | 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>
* rtmp: Check the buffer length of ping packetsSamuel Pitoiset2012-07-26
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Allow having more unknown data at the end of a chunk size packet ↵Samuel Pitoiset2012-07-26
| | | | | | without failing Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Prevent reading outside of an allocate buffer when receiving server ↵Samuel Pitoiset2012-07-26
| | | | | | bandwidth packets Signed-off-by: Martin Storsjö <martin@martin.st>
* Support urlencoded http authentication credentialsAntti Seppälä2012-07-26
| | | | | | | | | 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>
* rtmp: Return an error when the client bandwidth is incorrectSamuel Pitoiset2012-07-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Return proper error code in handle_server_bwSamuel Pitoiset2012-07-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Return proper error code in handle_client_bwSamuel Pitoiset2012-07-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Return proper error codes in handle_chunk_sizeSamuel Pitoiset2012-07-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>