summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
...
* avc: Add a function for converting mp4 style extradata to annex bMartin Storsjö2012-03-24
| | | | | | | Make movenc use this function instead of the current custom conversion function. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Document who sets the AVStream.id fieldMartin Storsjö2012-03-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* xwma: Validate channels and bits_per_coded_sample.Alex Converse2012-03-22
| | | | | | | This prevents a SIGFPE later on. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mov: Do not read past the end of the ctts_data table.Alex Converse2012-03-22
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mov: Add missing terminator to mov_ch_layout_map_1ch.Alex Converse2012-03-22
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: Libav-stable@libav.org
* asf: reset side data elements on packet copy.Ronald S. Bultje2012-03-22
| | | | | | | Prevents crash (double free) when free()ing the original packet. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* oggparseogm: fix order of arguments of avpriv_set_pts_info().Michael Niedermayer2012-03-22
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* aiffdec: set block_duration to 1 for PCM codecs that are supported in AIFF-CJustin Ruggles2012-03-22
|
* aiffdec: factor out handling of integer PCM for AIFF-C and plain AIFFJustin Ruggles2012-03-22
|
* aiffdec: use av_get_audio_frame_duration() to set block_duration for AIFF-CJustin Ruggles2012-03-22
|
* aiffdec: do not set bit rate if block duration is unknownJustin Ruggles2012-03-22
| | | | CC: libav-stable@libav.org
* lavf: make av_interleave_packet_per_dts() private.Anton Khirnov2012-03-20
| | | | | There is no reason for it to be public, it's only meant to be used internally.
* lavf: deprecate av_read_packet().Anton Khirnov2012-03-20
| | | | | | The caller can achieve the same effect (i.e. getting raw unparsed/mangled packets) with av_read_frame() and AVFMT_FLAG_NOPARSE | AVFMT_FLAG_NOFILLIN
* oggdec: output correct timestamps for VorbisJustin Ruggles2012-03-20
| | | | | | | | | Takes encoder delay into account by comparing first the coded page duration with the calculated page duration. Handles last packet duration if needed, also by comparing coded duration with calculated duration. Also does better handling of timestamp generation for packets in the first page for streamed ogg files where the start time is not necessarily zero.
* xa: set correct bit rateJustin Ruggles2012-03-20
| | | | Also fixes stream duration calculation.
* xa: do not set bit_rate, block_align, or bits_per_coded_sampleJustin Ruggles2012-03-20
| | | | The values in the header refer to decoded data, not compressed data.
* xa: fix end-of-file handlingJustin Ruggles2012-03-20
| | | | | Do not output an extra packet when out_size is reached. Also return AVERROR_EOF instead of AVERROR(EIO).
* xa: fix timestamp calculationJustin Ruggles2012-03-20
| | | | The packet duration is always 28 samples.
* movenc: Add a min_frag_duration optionMartin Storsjö2012-03-20
| | | | | | | | The other fragmentation options (frag_duration, frag_size and frag_keyframe) are combined with OR, cutting fragments at the first of the conditions being fulfilled. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Set the default delay to 0.1 s for the RTSP/SDP/RTP demuxersMartin Storsjö2012-03-20
| | | | | | | This enables reordering of UDP packets by default, unless the caller explicitly sets -max_delay 0. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Set the default for the max_delay option to -1Martin Storsjö2012-03-20
| | | | | | | | | | Make the muxers/demuxers that use the field handle the default -1 in the same way as 0. This allows distinguishing an intentionally set 0 from the default value where the user hasn't set it. Signed-off-by: Martin Storsjö <martin@martin.st>
* Move AVFormatContext/AVCodecContext option tables to separate files.Anton Khirnov2012-03-20
| | | | This will allow us to automatically generate manpages for them.
* lavf: use AVStream.discard to disable queueing attached pictures.Anton Khirnov2012-03-20
|
* lavf: requeue attached pictures after seeking.Anton Khirnov2012-03-20
| | | | | This allows the caller to get them without special code even after seeking before receiving any data.
* id3v2: set the keyframe flag on attached pictures.Anton Khirnov2012-03-20
|
* ZeroCodec DecoderDerek Buitenhuis2012-03-19
| | | | | | | | An obscure Japanese lossless video codec, originally intended for use with a remote desktop application. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* RealAudio Lossless decoderKostya Shishkov2012-03-19
|
* rtpenc: Use AVFormatContext.packet_size instead of a private optionMartin Storsjö2012-03-19
| | | | | | | | The private option has not been part of any release yet (and it is only of use in quite rare cases), so just remove it instead of keeping it with deprecation warnings. Signed-off-by: Martin Storsjö <martin@martin.st>
* url: Document the expected behaviour of url_readNicolas George2012-03-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Use AVFormatContext.probesize in init_inputMartin Storsjö2012-03-19
| | | | | | | | | | | | | This was forgotten in the transition from av_open_input_file to avformat_open_input, see 603b8bc2a1. This doesn't change anything for the default case where the option isn't set, since PROBE_BUF_MAX is 1048576 (which was used as max probe size earlier) while the default value for the probesize option is 5000000, which for the probe function is clipped to PROBE_BUF_MAX anyway. Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Align some AVInput/OutputFormat declarationsMartin Storsjö2012-03-19
| | | | | | Also add missing trailing commas. Signed-off-by: Martin Storsjö <martin@martin.st>
* oma: Fix out of array read.Michael Niedermayer2012-03-18
| | | | | | | | | | | Input: 01-Untitled-partial.oma ZZUF params: zzuf[s=7157,r=0.001] Fixes Bugzilla #106 Bug-found-by: darkshikari Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: remove some disabled code.Anton Khirnov2012-03-17
|
* lavf: only set average frame rate for video.Anton Khirnov2012-03-17
|
* lavf: remove a pointless check.Anton Khirnov2012-03-17
| | | | Timebase is already checked in avpriv_set_pts_info().
* avcodec: add XBM encoderPaul B Mahol2012-03-17
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* lavf: don't select an attached picture as default stream for seeking.Anton Khirnov2012-03-15
|
* jv demux: set video stream durationPaul B Mahol2012-03-14
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* http: Clear the auth state on redirectsMartin Storsjö2012-03-13
| | | | | | | Currently we only try continuing with the same auth mechanism as the initial request. Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Retry auth if it failed due to being staleMartin Storsjö2012-03-13
| | | | | | | Allow up to 4 retries for normal requests, where both the proxy and the target server might need to authenticate. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Resend new keepalive commands if they used stale authMartin Storsjö2012-03-13
| | | | | | | | | | | | | These commands are sent asynchronously, not waiting for the reply. This reply is parsed later by ff_rtsp_tcp_read_packet or udp_read_packet. If the reply indicates that we used stale authentication and need to use a new nonce, resend a new keepalive command immediately. This is the only request sent asynchronously, so currently there's no other command that needs to be resent in the same way. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Retry authentication if failed due to being staleMartin Storsjö2012-03-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* httpauth: Parse the stale field in digest authMartin Storsjö2012-03-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* iff: make .long_name more descriptivePaul B Mahol2012-03-12
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Fix a typoMartin Storsjö2012-03-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Fix a bunch of common typos.Diego Biurrun2012-03-09
|
* mpegts: Always honor a registration descriptor if present and there is no ↵Alex Converse2012-03-09
| | | | other codec information.
* rtsp: Only set the ttl parameter if the server actually gave a valueMartin Storsjö2012-03-09
| | | | | | | Passing ttl=0 to the rtp/udp url contexts makes packets never leave the host machine. Signed-off-by: Martin Storsjö <martin@martin.st>
* udp: Set ttl for read-write streams, too, not only for write-only onesMartin Storsjö2012-03-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* udp: Only bind to the multicast address if in read-only modeMartin Storsjö2012-03-09
| | | | | | | | | | | | | | | This fixes sending back RTCP RR packets if receiving RTP over multicast. If the multicast stream is sent on demand (set up and signalled via RTSP), the sender might depend on getting RTCP RR packets knowing that there are listeners, otherwise the stream can be closed after a certain timeout. This fixes receiving RTSP streams over multicast on unix, from certain Axis cameras. Signed-off-by: Martin Storsjö <martin@martin.st>