summaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
* lavf/segment: set EXT-X-VERSION to 3 rather than to 4Stefano Sabatini2012-09-021-1/+1
| | | | | | | | There is nothing we use of the latest version, downgrade version number to increase decoding support. Based on this comment by vel2000: http://ffmpeg.org/trac/ffmpeg/ticket/1642#comment:17
* flvdec: fix creation of lots of phantom data streamsMichael Niedermayer2012-09-021-2/+3
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* psxstr: more correct array type.Michael Niedermayer2012-09-011-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fix flv new stream handling after head already parsedRoman Arutyunyan2012-09-011-4/+6
| | | | | | | | | | | This fixes stream lookup in flv demuxer. When used with librtmp protocol streams are sometimes added after head arrived. If the first stream added in flv header reader is Audio stream then it is messed with Video stream added later in the code patched. The result is I have 2 Audio streams (first of them is said to have a video codec like h264) instead of Audio/Video pair. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavf: add missing new line to some error messages 2Piotr Bandurski2012-09-012-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavf: add missing new line to some error messagesPiotr Bandurski2012-09-019-9/+9
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-011-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: crypto: Remove a stray double space Rename missed cases of FF_OPT_TYPE_* to AV_OPT_TYPE_* Conflicts: libavfilter/vf_delogo.c libavfilter/vf_lut.c libavfilter/vsrc_testsrc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * crypto: Remove a stray double spaceMartin Storsjö2012-08-311-1/+1
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | matroskadec, matroskadec, srtenc: Read/Write duration for subtitles.Philip Langdale2012-08-313-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After much discussion and back-and-forth, we reached the conclusion that matroska uses convergence_duration for subtitle duration because a 32bit value isn't large enough to store the duration if sub-micro-second timebases are used. Matroska may not be the only one that supports these timebases, but it's certainly the only one that ffmpeg attempts to support in this way. The long term solution that we seemed to reach was that if we encounter a matroska file with a sub-micro-second timebase, we should internally scale it up to at least micro-second, and then duration can be used normally. This suggests that on the encode side, we should not allow generation of files with sub-micro-second timebases, but that's a separate issue. That being a non-trivial change, and the subtitle interoperability breakage being very real, I'm re-submitting this small change for consideration. In this diff, we make sure that duration is populated by the matroska demuxer, and that convergence_duration is respected in matroskaenc and srtenc, but that duration is used otherwise. This ends up being a strict improvement - pipelines that use convergence duration are unchanged, and ones that are currently broken due to the duration mismatch will start working - except for the ones with the extreme timebases, but those were already broken. Signed-off-by: Philip Langdale <philipl@overt.org>
* | flic: use AV_LOG_ERROR for error messagePiotr Bandurski2012-08-311-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | filmstripdec: add new line to error messagePiotr Bandurski2012-08-311-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | wtvdec: set correct codec ID for CC streams.Reimar Döffinger2012-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Closed caption data is definitely not teletext. Since it contains a EIA-608 compatibility stream, the EIA_608 codec ID is at least not completely wrong. Fixes subtitle playback in MPlayer with the sample in trac ticket #1482. To fix the ticket itself I expect FFmpeg will need a closed-caption to SRT decoder first. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | flvdec: remove duplicate returnMichael Niedermayer2012-08-311-4/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | bintext: remove stray ;Michael Niedermayer2012-08-311-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-311-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: MSS1 and MSS2: set final pixel format after common stuff has been initialised MSS2 decoder configure: handle --disable-asm before check_deps x86: Split inline and external assembly #ifdefs configure: x86: Separate inline from standalone assembler capabilities pktdumper: Use a custom define instead of PATH_MAX for buffers pktdumper: Use av_strlcpy instead of strncpy pktdumper: Use sizeof(variable) instead of the direct buffer length Conflicts: Changelog configure libavcodec/allcodecs.c libavcodec/avcodec.h libavcodec/codec_desc.c libavcodec/dct-test.c libavcodec/imgconvert.c libavcodec/mss12.c libavcodec/version.h libavfilter/x86/gradfun.c libswscale/x86/yuv2rgb.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * MSS2 decoderAlberto Delmás2012-08-311-0/+1
| | | | | | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
| * build: allow non-standard variations of linker -l/-L flagsMans Rullgard2012-08-291-1/+1
| | | | | | | | | | | | | | | | | | This enables replacing the -l and -L flags used to specify the just-built libraries when linking the tools and shared libs with non-standard syntaxes. System library flags are already handled by the filtering mechanism in configure. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | find_stream_info: update last_dts more oftenMichael Niedermayer2012-08-301-1/+1
| | | | | | | | | | | | | | This improves dts validity checks and consequently fps detection of files with invalid dts Fixes Ticket1681 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mp3enc: fix const correctnessMichael Niedermayer2012-08-301-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | flvenc: kill a uninitialized variable warning.Michael Niedermayer2012-08-301-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ac3dec: fix uninitialized var warningMichael Niedermayer2012-08-301-1/+1
| | | | | | | | | | | | This commit should be purely cosmetic Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mov: fix av_log int typeMichael Niedermayer2012-08-301-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'd488c3bcbaf7ddda42597e014deb661a7e9e2112'Michael Niedermayer2012-08-292-2/+13
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd488c3bcbaf7ddda42597e014deb661a7e9e2112': configure: support Bitrig OS yuv2rgb: handle line widths that are not a multiple of 4. graph2dot: Use the fallback getopt implementation if needed tools: Include io.h for open/read/write/close if unistd.h doesn't exist testprogs: Remove unused includes qt-faststart: Use other seek/tell functions on MSVC than on mingw ismindex: Include direct.h for _mkdir on windows sdp: Use static const char arrays instead of pointers to strings x86: avcodec: Drop silly "_mmx" suffixes from filenames x86: avcodec: Drop silly "_sse" suffixes from filenames sdp: Include profile-level-id for H264 utvideoenc: use ff_huff_gen_len_table huffman: add ff_huff_gen_len_table cllc: simplify/fix swapped data buffer allocation. rtpdec_h264: Don't set the pixel format h264: Check that the codec isn't null before accessing it audio_frame_queue: Define af_queue_log_state before using it Conflicts: libavcodec/audio_frame_queue.c libavcodec/h264.c libavcodec/huffman.h libavcodec/huffyuv.c libavcodec/utvideoenc.c libavcodec/x86/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * sdp: Use static const char arrays instead of pointers to stringsMartin Storsjö2012-08-281-2/+2
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * sdp: Include profile-level-id for H264Martin Storsjö2012-08-281-0/+12
| | | | | | | | | | | | | | This is required for playback with the Stagefright RTSP framework on Android. Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtpdec_h264: Don't set the pixel formatSamuel Pitoiset2012-08-281-1/+0
| | | | | | | | | | | | | | There is no need for this depacketizer to set the pixel format, the decoder can do that just fine. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Add 'timeout' option to UDP protocolAndrey Utkin2012-08-291-0/+2
| | | | | | | | | | | | This patch accepts 'timeout' option for input mode only. As far as i know, UDP output cannot introduce delays. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add 'rw_timeout' into URLContextAndrey Utkin2012-08-292-2/+11
| | | | | | | | | | | | | | | | If set non-zero, limits duration of retry_transfer_wrapper() loop, thus affects ffurl_read*(), ffurl_write() Measured in microseconds. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rtpenc_xiph: switch to av_assertMichael Niedermayer2012-08-281-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | aiffdec: support QDM2Michael Niedermayer2012-08-281-0/+3
| | | | | | | | | | | | Fixes ticket204 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | movenc: support for itunes tempo tagKari Lentz2012-08-271-0/+19
| | | | | | | | | | | | Implements support for tmpo atom for mp4 files, typically used to store BPM. -metadata "tmpo=127" as a command line option will record 127 as the BPM in the meta data. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | aiffdec: try #2 to fix bpsMichael Niedermayer2012-08-271-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-271-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: vf_hqdn3d: Don't declare the loop variable within the for loop huffyuv: update to current coding style huffman: update to current coding style rtsp: Free the rtpdec context properly build: fft: x86: Drop unused YASM-OBJS-FFT- variable Conflicts: libavcodec/huffman.c libavcodec/huffyuv.c libavcodec/x86/Makefile libavfilter/vf_hqdn3d.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtsp: Free the rtpdec context properlyMartin Storsjö2012-08-271-1/+1
| | | | | | | | | | | | | | | | | | The condition for calling the rtpdec cleanup was broken in df8cf076c86. This fixes a memory leak. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Use correct format identifier for uint64_t.Carl Eugen Hoyos2012-08-271-1/+1
| |
* | mpc: fix seeking to the endMichael Niedermayer2012-08-271-1/+1
| | | | | | | | | | | | Fixes Ticket1689 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpc: clip seeking timestamp in valid rangeMichael Niedermayer2012-08-271-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | aiffdec: fix bits per sampleMichael Niedermayer2012-08-271-1/+1
| | | | | | | | | | | | Fixes Ticket1660 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | nutenc: Support writing an indexMichael Niedermayer2012-08-261-2/+54
| | | | | | | | | | | | | | The seek test improves in accuracy Fixes Ticket877 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | nutenc: keep track of max_ptsMichael Niedermayer2012-08-262-0/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | nutenc: keep track if keyframe PTSMichael Niedermayer2012-08-262-1/+20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | nutdec: Flip the direction for seeking with an index in the failure case.Michael Niedermayer2012-08-261-0/+2
| | | | | | | | | | | | This is closer to how seeking works without an index Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | nutdec: improve information in error messageMichael Niedermayer2012-08-261-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | nutenc: keep track of the written syncpoint countMichael Niedermayer2012-08-262-0/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ac3_probe: fix probing of non standard AC3Michael Niedermayer2012-08-261-4/+22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf: fix avio statistics for packets directly read without the buffer.Michael Niedermayer2012-08-251-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | matroska: Mark S_TEXT/UTF-8 as Subrip encoded subtitles.Philip Langdale2012-08-252-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While not explicitly stated in the specs, the original author has stated that S_TEXT/UTF-8 is expected to be text using Subrip markup, but without Subrip in-band timing. So, now that we have a decoder that conforms to this expectation, let's use it. Note that this change will impact tools that use libavformat. If they expect srt subtitles to have CODEC_ID_TEXT, they must be adjusted to expect CODEC_ID_SUBRIP. The actual content is, obviously, unchanged. Signed-off-by: Philip Langdale <philipl@overt.org>
* | riff: fix remuxing of atrac3 in wavPiotr Bandurski2012-08-251-1/+5
| | | | | | | | | | | | The original codec expects 0 as bps or refuses to play the remuxed file. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rtpdec_xiph: switch to av_assert()Michael Niedermayer2012-08-241-3/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf/utils: Try to unwrap pts/dts so as to minimize wrapsMichael Niedermayer2012-08-241-1/+4
| | | | | | | | | | Based on code by: Andrey Utkin <andrey.krieger.utkin@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
OpenPOWER on IntegriCloud