summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* avformat/h263dec: Fix h263 probeMichael Niedermayer2014-04-23
| | | | | | The code was missing 1 bit in the src format Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'e2834567d73bd1e46478ba67ac133cb8ef5f50fd'Michael Niedermayer2014-04-23
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e2834567d73bd1e46478ba67ac133cb8ef5f50fd': On2 AVC decoder Conflicts: Changelog configure libavcodec/avcodec.h libavcodec/codec_desc.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * On2 AVC decoderKostya Shishkov2014-04-23
| |
* | avformat/rtmppkt: Fix random crashkyh964032014-04-23
| | | | | | | | | | | | Fixes Ticket3564 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/mux: Check for and remove invalid packet durationsMichael Niedermayer2014-04-23
| | | | | | | | | | | | | | Fixes assertion failure Fixes Ticket3575 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/flvdec: also include file position in debug outputMichael Niedermayer2014-04-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add missing ';'.Reimar Döffinger2014-04-22
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Various small spelling fixes.Reimar Döffinger2014-04-22
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | avformat/mpegtsenc: make the pes packet length omission optionalMichael Niedermayer2014-04-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/mpegtsenc: Changed Video PES packet length to 0.Graham Booker2014-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rational for this is another issue that plex has exposed. When it is conducting a transcode of video to HLS for streaming, my father noticed artifacts when played on his GoogleTV (NSZ-GT1). He sent me a test file and I reproduced it on my device of the same model. It is important to note that the artifacts were not present when streaming to VLC or QuickTime Player. I copied the command-line that plex used, and conducted all of the following tests using FFmpeg git. Transcode to HLS: artifacts on playback Transcode to TS: playback is fine Cat HLS segments into a single TS: playback is fine Segment single TS file to segments: artifacts on playback Segment single TS file to segments using Apple's HLS segmenter: playback is fine At this point I carefully examined the differences between Apple's HLS segmenter output and FFmpeg's. Among the considerable differences, I noticed that the video PES packets always had a 0 length. So I continued: Transcode to HLS using FFmpeg with 0 length PES packets: playback is fine. Segment single TS to segments with 0 length PES packets: playback is fine. All failures mentioned are only on the GTV since it is the only player on which I could reproduce artifacts. I only tested the GTV, VLC, and QuickTime Player though, so my test case is limited. I do not know if other players exhibit this issue. Since it was useful last time, I have uploaded the test file as hls_pes_packet_length.m4v along with its associated txt file which contains the transcode command-line that was used. Reviewed-by: Kieran Kunhya <kierank@obe.tv> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'f9157463dbcd2db8fe9504197c0c04d0d7d04f31'Michael Niedermayer2014-04-22
|\| | | | | | | | | | | | | * commit 'f9157463dbcd2db8fe9504197c0c04d0d7d04f31': lavf: do not use the parser duration for video Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: do not use the parser duration for videoAnton Khirnov2014-04-22
| | | | | | | | | | The parser has no way of knowing video duration, and therefore no video parsers set it.
* | Merge commit 'a4ed995cabf220029f1d0e185a6fb45eed7b4091'Michael Niedermayer2014-04-22
|\| | | | | | | | | | | | | * commit 'a4ed995cabf220029f1d0e185a6fb45eed7b4091': txd: do not set the codec timebase. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * txd: do not set the codec timebase.Anton Khirnov2014-04-22
| | | | | | | | | | It is not supposed to be changed from outside of lavc. Set the stream timebase and average framerate instead.
* | avformat/avidec: Speed up keyframe detection codeMichael Niedermayer2014-04-22
| | | | | | | | | | | | Fixes Ticket3531 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat: Fix decoder search in find stream infoMichael Niedermayer2014-04-21
| | | | | | | | | | | | Fixes Ticket3548 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/asfenc: dont allow non interleaved packetsMichael Niedermayer2014-04-21
| | | | | | | | | | | | The muxer does not support this currently Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/pmpdec: remove cur_dts timestamp hackMichael Niedermayer2014-04-21
| | | | | | | | | | | | | | | | It appears the demuxer works fine without it Fixes Ticket3534 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf/pcm: remove redundant checkLukasz Marek2014-04-20
| | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/iff: extend IFF demuxer to decode DSDIFF 64-bit chunksPeter Ross2014-04-20
| | | | | | | | | | Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '55ddd700c67529ff2c6c4e976673f1341bba7a82'Michael Niedermayer2014-04-19
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '55ddd700c67529ff2c6c4e976673f1341bba7a82': Silicon Graphics Movie demuxer Conflicts: Changelog libavformat/mvdec.c libavformat/version.h See: 6fb40779cd3457a819e20d6db91a142c47cad3c2 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Silicon Graphics Movie demuxerPeter Ross2014-04-19
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * Silicon Graphics RLE 8-bit video decoderPeter Ross2014-04-19
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Magic Lantern Video (MLV) demuxerPeter Ross2014-04-19
| | | | | | | | | | Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ff_id3v2_read: add option to limit ID3 magic number searchPeter Ross2014-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Several chunked formats (AIFF, IFF,DSF) store ID3 metadata within an 'ID3 ' chunk tag. If such chunks are stored sequentially, it is possible for the ID3v2 parser to confuse the chunk tag for the ID3 magic number. e.g. [1st chunk tag ('ID3 ') | chunk size] [ID3 magic number | metadata ...] [2nd chunk tag ('ID3 ') | chunk size] [ID3 magic number | metadata ...] Fixes ticket #3530. Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ff_id3v2_free_extra_meta: set the pointer pointing to extra_meta to NULLPeter Ross2014-04-19
| | | | | | | | | | | | | | Fixes ticket #3530. Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/wavdec: enlarge probe_packets for wavcsheng2014-04-19
| | | | | | | | | | | | fix issue https://trac.ffmpeg.org/ticket/3550 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/dsddec: create audio stream before processing id3Peter Ross2014-04-18
| | | | | | | | | | | | | | | | This ensures stream[0] is always the audio stream (an assumption made in dsf_read_packet). Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | DSD Stream File (DSF) demuxerPeter Ross2014-04-18
| | | | | | | | | | Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/replaygain: fix mixed declaration and statementMichael Niedermayer2014-04-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '32d05934abc7427bb90380a4c1ab20a15fd7d821'Michael Niedermayer2014-04-18
|\| | | | | | | | | | | | | | | | | | | * commit '32d05934abc7427bb90380a4c1ab20a15fd7d821': mp3dec: decode more data from Info header Conflicts: libavformat/mp3dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mp3dec: decode more data from Info headerAlessandro Ghedini2014-04-17
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit 'fbd8e042107ec63e0ddf155588c59dcb76007641'Michael Niedermayer2014-04-17
|\| | | | | | | | | | | | | | | | | | | * commit 'fbd8e042107ec63e0ddf155588c59dcb76007641': mp3dec: move XING/Info and VBRI parsing into their own functions Conflicts: libavformat/mp3dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mp3dec: move XING/Info and VBRI parsing into their own functionsAlessandro Ghedini2014-04-17
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit 'ae43c10e36197000de2f3cc99ea35727ce98a796'Michael Niedermayer2014-04-17
|\| | | | | | | | | | | | | * commit 'ae43c10e36197000de2f3cc99ea35727ce98a796': replaygain: allow exporting already decoded replaygain values Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * replaygain: allow exporting already decoded replaygain valuesAlessandro Ghedini2014-04-17
| | | | | | | | | | | | | | | | This adds a function to export raw replaygain values (i.e. in the (u)int32_t form). It first checks whether AV_PKT_DATA_REPLAYGAIN side data is present, in which case it does nothing. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * rtmpproto: Handle RTMP chunk size packets before the connect packetStephan Soller2014-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | In all other cases where ff_rtmp_packet_read is used, the packet returned is passed to rtmp_parse_result more or less immediately. In this single case, the content of the packet was required to be a connect packet. Some clients, e.g. Open Broadcaster Software, send a chunk size packet before the connect packet. If the first packet is a chunk size packet, handle it and read another one, requiring this to be a connect packet instead. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Write sample_aspect_ratio to asf files.Carl Eugen Hoyos2014-04-17
| | | | | | | | Fixes ticket #3528.
* | Only insert the icpf atom in ProRes mkv packets if it isn't already present.Carl Eugen Hoyos2014-04-17
| | | | | | | | | | | | The patch allows to read broken mkv files containing ProRes as written by the Haali muxer. Fixes a part of ticket #3434.
* | Fix compilation with --disable-everything --enable-muxer=avi --disable-network.Anh2014-04-16
| | | | | | | | Fixes ticket #3568.
* | avformat/ico: use avmalloc(z)_array()Michael Niedermayer2014-04-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/mpegenc: try to improve the VBV buffer warningMichael Niedermayer2014-04-16
| | | | | | | | | | | | Maybe fixes Ticket 3494 Part of the message suggested by: rogerdpack Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/mpegts: Remove redundant checkMichael Niedermayer2014-04-16
| | | | | | | | | | | | Fixes part of Ticket3466 Found-by: Andrey_Karpov / PVS-Studio Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/hnm: fix decoding of 256x256 videoMichael Niedermayer2014-04-16
| | | | | | | | | | Fixes Ticket3464 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/flacdec/flac_read_timestamp: free the correct packetMichael Niedermayer2014-04-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/flacdec/flac_read_timestamp: dont modify AVStream stateMichael Niedermayer2014-04-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/xmv: use av_malloc_array()Michael Niedermayer2014-04-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/mpegtsenc: use av_malloc_array()Michael Niedermayer2014-04-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/utils: fix typoMichael Niedermayer2014-04-15
| | | | | | | | | | Found-by: reimar Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat: add av_format_inject_global_side_data(), and disable it by defaultMichael Niedermayer2014-04-15
| | | | | | | | | | | | | | | | | | | | After this commit applications needs to call av_format_inject_global_side_data() or handle AVStream side data by some other means if they want it not to be lost. This fixes a API incompatibility with libav. libav API does not allow the data to be passed through AVPackets Signed-off-by: Michael Niedermayer <michaelni@gmx.at>