summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avcodec/dvbsubdec: use av_mallocz_array()Michael Niedermayer2014-04-22
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/cook: use av_malloc_array()Michael Niedermayer2014-04-22
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/dsddec: use av_malloc_array()Michael Niedermayer2014-04-22
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* 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>
* vc1dsp: fix build without inline asmHendrik Leppkes2014-04-22
| | | | | Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com> 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 '1ae8198bca749a0cff205196cc83d35b9962849b'Michael Niedermayer2014-04-22
|\| | | | | | | | | | | | | | | | | | | * commit '1ae8198bca749a0cff205196cc83d35b9962849b': avconv: always reset packet pts after decoding an audio frame Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avconv: always reset packet pts after decoding an audio frameAnton Khirnov2014-04-22
| | | | | | | | | | Currently, if a decoder sets AVFrame.pts, we'd send the same timestamp to it twice, which is wrong.
* | Merge commit 'b19a5e51981be5b69cf550a3bc17fe5300d0dbc9'Michael Niedermayer2014-04-22
|\| | | | | | | | | | | | | * commit 'b19a5e51981be5b69cf550a3bc17fe5300d0dbc9': lavc: improve AVCodecContext.delay doxy Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: improve AVCodecContext.delay doxyAnton Khirnov2014-04-22
| |
* | 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>
* | MAINTAINERS: Add myself as FIC maintainerDerek Buitenhuis2014-04-21
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | avcodec/wma: use av_malloc_array()Michael Niedermayer2014-04-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/pthread: Use av_mallocz_array()Michael Niedermayer2014-04-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/libxavs: Use av_mallocz_array()Michael Niedermayer2014-04-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/cngenc: Use av_malloc_array()Michael Niedermayer2014-04-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/snow: use FF_ALLOC(Z)_ARRAY_OR_GOTOMichael Niedermayer2014-04-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/internal: add FF_ALLOC_ARRAY_OR_GOTO & FF_ALLOCZ_ARRAY_OR_GOTOMichael Niedermayer2014-04-22
| | | | | | | | | | | | These are similar to the existing FF_ALLOCZ_OR_GOTO & FF_ALLOC_OR_GOTO Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '1c7b71a5bdb88ebb69734100405bbb5441b871e8'Michael Niedermayer2014-04-21
|\| | | | | | | | | | | | | | | * commit '1c7b71a5bdb88ebb69734100405bbb5441b871e8': mpegvideo: Use the current_picture pts See: c354576457c8ae0906d6f4f20c80816f3e3bb55d Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpegvideo: Use the current_picture ptsMichael Niedermayer2014-04-21
| | | | | | | | | | | | | | | | | | The picture slot can be recycled by select_input_picture and only current_picture is populated with the valid pts. Unbreak timestamps when in cbr mode. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '6f243b17c537646b894857d43dfdac65f85ab377'Michael Niedermayer2014-04-21
|\| | | | | | | | | | | | | | | * commit '6f243b17c537646b894857d43dfdac65f85ab377': avcodec/fic: Fix return value check See: 230db1426d127a25c03b457fec25900653de2721 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec/fic: Fix return value checkMichael Niedermayer2014-04-21
| | | | | | | | | | | | | | | | Fixes part of Ticket3466 Found-by: Andrey_Karpov / PVS-Studio Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge commit '144f7a561d32ae9bc657a217e2b4c6dd9a0d7df9'Michael Niedermayer2014-04-21
|\| | | | | | | | | | | | | | | * commit '144f7a561d32ae9bc657a217e2b4c6dd9a0d7df9': avcodec/fic: clear slice_data See: 1db8bc56488c888d57f5339812bd6f4117d85c3e Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec/fic: clear slice_dataMichael Niedermayer2014-04-21
| | | | | | | | | | | | | | | | Fixes artifacts Fixes use of freed memory Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge commit 'f34d3173fcfc7f3228095d509a64c4fa4b37b575'Michael Niedermayer2014-04-21
|\| | | | | | | | | | | | | | | * commit 'f34d3173fcfc7f3228095d509a64c4fa4b37b575': avcodec/fic: fix slice checks See: d46ef40129487143f2fa4e0b44b3f5e788c4fcb2 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec/fic: fix slice checksMichael Niedermayer2014-04-21
| | | | | | | | | | | | | | fix integer overflows Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge commit '93e15a323871613fd26f1f1e317029a50b5b24ca'Michael Niedermayer2014-04-21
|\| | | | | | | | | | | | | * commit '93e15a323871613fd26f1f1e317029a50b5b24ca': fic: use correct IDCT Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fic: use correct IDCTKostya Shishkov2014-04-21
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | avfilter/filtfmts: Support dynamically allocated in/outputsMichael Niedermayer2014-04-21
| | | | | | | | | | | | | | Fixes crash Fixes Ticket3468 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>
* | avcodec/x86/vp9lpf: add a comment above a bunch of SWAP.Clément Bœsch2014-04-20
| |
* | avcodec/x86/vp9lpf: merge a few movs with other instructions.Clément Bœsch2014-04-20
| |
* | 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>
* | avcodec/arm/vc1dsp_init_neon: fix code so it compiles and passes fate-vc1Michael Niedermayer2014-04-20
| | | | | | | | | | | | The original patch seems to be missing a 16x16 function though Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vc1dsp: introduce cases for 8x8 and 16x16Christophe Gisquet2014-04-20
| | | | | | | | | | | | | | | | | | | | | | | | This allows further unrolling the DSP implementation where possible. x86 and ARM DSP modified by simply moving the multiple calls from vc1dec to the DSP code. Decoding improvements should only occurs because of the compiler actually able to unroll more. Decoding time: ~8.80s -> 8.64s (ie around 2%) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcdoec/webp: use av_malloc_array()Michael Niedermayer2014-04-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/tiff: use av_malloc(z)_array()Michael Niedermayer2014-04-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/ratecontrol: use av_malloc_array()Michael Niedermayer2014-04-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/huffman: use av_malloc_array()Michael Niedermayer2014-04-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/exif: do not follow 0 offsetsMichael Niedermayer2014-04-20
| | | | | | | | | | | | | | Fixes exif decoding failure of 1295328_300.jpg Reviewed-by; Thilo Borgmann <thilo.borgmann@mail.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/exif/exif_add_metadata: add support for SSHORT & SBYTEMichael Niedermayer2014-04-20
| | | | | | | | | | | | | | | | No working testcase, this omission was just spoted when the parser apparently went out of sync. Reviewed-by; Thilo Borgmann <thilo.borgmann@mail.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'lukaszmluki/master'Michael Niedermayer2014-04-20
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | * lukaszmluki/master: lavd/xv: implement repaint message lavd/xv: add window id param lavd/xv: keep aspect ratio Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | lavd/xv: implement repaint messageLukasz Marek2014-04-19
| | | | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
| * | lavd/xv: add window id paramLukasz Marek2014-04-19
| | | | | | | | | | | | | | | | | | | | | Device is able to use existing window, that can be a part of existing GUI - instead of newly created one. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>