summaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
* lavf/riffenc: Handle AV_PIX_FMT_MONOBLACKMats Peterson2016-02-231-1/+6
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/asfenc: write group_mutual_exclusion_objects for audio on multiple ↵Marton Balint2016-02-213-0/+33
| | | | | | | | | | | | languages Improves streaming compatibility with Windows Media Services. Also tested for compatilbility in Windows Media Player, Windows Media ASF Viewer and VLC. This version of the patch only writes exclusion among audio streams, therefore choosing a subtitle language should be possible independently of audio language. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/mpjpegdec: add AVFMT_NOTIMESTAMPSMichael Niedermayer2016-02-211-1/+2
| | | | | | there are no timestamps being set, thus do not attempt to collect any Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/mpjpeg: probe should not depend on Content-Length MIME header being presentAlex Agranovsky2016-02-211-1/+1
| | | | | Signed-off-by: Alex Agranovsky <alex@sighthound.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/riffenc: Also check codec tag before setting raw_pal_aviMichael Niedermayer2016-02-211-0/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffserver&ffm: Fixed issues preventing ffserver write_index and files_size ↵Oliver Collyer2016-02-211-2/+2
| | | | | | | | | | | | from being set correctly which was breaking ffserver streaming. I discovered that ffserver streaming was broken (it seems like it has been since 20th November) and I opened a ticket for this (https://trac.ffmpeg.org/ticket/5250 <https://trac.ffmpeg.org/ticket/5250>). I spent yesterday learning git bisect (with the kind help of cehoyos) to painstakingly track down the cause. This was made more difficult due to the presence of a segfault in ffserver during the period where the bug was introduced so I first had to identify when and how that was fixed and then retrospectively apply that fix again for each step of the second git bisect to find the actual bug. Anyway, the fruits of my labour are the innocent looking patch below to correct a couple of typos and define a valid range for two variables. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/avienc: Fix assertion failure with 256 palette entriesMichael Niedermayer2016-02-211-1/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/avienc: Add palette after BITMAPINFOHEADERMats Peterson2016-02-212-8/+39
| | | | | | | lavf/riffenc: Write space for palette tests/ref/vsynth: Update 1 bpp files for pal8 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avienc: Remove unused variable 'ret'Reto Kromer2016-02-201-1/+0
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Timothy Gu <timothygu99@gmail.com>
* avformat/icodec: Fix crash probing fuzzed fileMark Harris2016-02-201-1/+1
| | | | | | | | Avoid invalid memory read/crash when frame offset >= 0xfffffff8. Base64-encoded example: AAABADAwMDAwMAAAMAAwMDAw/P///w== (The previous commit verifies that p->buf_size >= 22.) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/icodec: ico probe with unknown dataMark Harris2016-02-201-6/+10
| | | | | | | | | | | | | | Fix cases where unknown data (data beyond p->buf_size) could produce a higher ico probe score than if the unknown data was known and valid. For example: Header: OK, 2 frames Frame 0: Unknown (offset points beyond end of probe buffer) Frame 1: Invalid Previously this example had a score of 25, even though the score would be 1 if the unknown frame was known to be valid or 0 if it was known to be invalid. For this example the score is now 1. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure: Fix webm_dash_manifest demuxer standalone compilation.Carl Eugen Hoyos2016-02-201-4/+0
|
* avformat/dvbtxt: add raw demuxer for dvb teletext probingMarton Balint2016-02-195-2/+55
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/avienc: Store pal8 paletteMichael Niedermayer2016-02-194-4/+29
| | | | | | | This can be made more efficient, but first and the main goal of this change is to store it at all Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/cdxl: add support for raw videos with chunky formatPaul B Mahol2016-02-191-2/+6
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/avienc: Use avi_write_packet_internal() to store raw rgb in a more ↵Michael Niedermayer2016-02-183-2/+16
| | | | | | spec compliant way Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/options_table: mark use_wallclock_as_timestamps as booleanMoritz Barsnick2016-02-181-1/+1
| | | | | | | It is only used in a boolean context. Also clarify its documentation. Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/avienc: Split avi_write_packet_internal() outMichael Niedermayer2016-02-181-8/+17
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat: add ff_reshuffle_raw_rgb()Michael Niedermayer2016-02-182-0/+74
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* hlsenc: add use_localtime_mkdir option to automatically create time-based ↵Johan Ström2016-02-171-7/+43
| | | | | | | | | | | | | directory Use with -use_localtime, and set -hls_segment_filename to a path which contains a subdirectory i.e. /some/path/%Y%m%d/%Y%m%dT%H%M%S-%s.ts This will mkdir the %Y%m%d-part of the path if it does not already exist. In addition, each filename in the playlist output will be prefixed with this subdirectory (if playlist and segment shares the same base path). Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/hls: fix potential integer overflowMichael Niedermayer2016-02-161-1/+1
| | | | | | This is not a regression Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* mov: Fix leftover merge conflict cruftDerek Buitenhuis2016-02-161-5/+1
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* Merge commit '5eb562831b3a9bea8026c413ef1338e06450d005'Derek Buitenhuis2016-02-161-1/+5
|\ | | | | | | | | | | | | | | | | This commit is a no-op. * commit '5eb562831b3a9bea8026c413ef1338e06450d005': mov: Use the correct type for size Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * mov: Use the correct type for sizeLuca Barbato2016-02-141-5/+5
| | | | | | | | | | | | An AVIO offset is int64_t. Bug-Id: 921
* | Merge commit 'e579d8b29cdb9b42c50a0fde277dfb047c1466ad'Derek Buitenhuis2016-02-161-0/+20
|\ \ | |/ | | | | | | | | | | * commit 'e579d8b29cdb9b42c50a0fde277dfb047c1466ad': lavf: Dump the cpb side data information Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * lavf: Dump the cpb side data informationLuca Barbato2016-02-131-0/+20
| |
| * asfdec: make sure packet_size is non-zero before seekingAndreas Cadhalpun2016-02-071-0/+4
| | | | | | | | | | | | | | This fixes infinite loops due to seeking back. Signed-off-by: Alexandra Hájková <alexandra@khirnov.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * asfdec: check for too small size in asf_read_unknownAndreas Cadhalpun2016-02-071-1/+6
| | | | | | | | | | | | | | This fixes infinite loops due to seeking back. Signed-off-by: Alexandra Hájková <alexandra@khirnov.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * asfdec: check avio_skip in asf_read_simple_indexAndreas Cadhalpun2016-02-071-2/+6
| | | | | | | | | | | | | | | | The loop can be very long, even though the file is very short. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Alexandra Hájková <alexandra@khirnov.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * asfdec: break if EOF is reached after asf_read_packet_headerAndreas Cadhalpun2016-02-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | asf_read_payload can unset eof_reached, so check it also before calling that function. This fixes infinite loops. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Alexandra Hájková <alexandra@khirnov.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'e80307140f736f593ee643affa015333d7c5e27f'Derek Buitenhuis2016-02-161-0/+1
|\ \ | |/ | | | | | | | | | | * commit 'e80307140f736f593ee643affa015333d7c5e27f': yuv4mpegenc: Use AV_CEIL_RSHIFT where needed Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * yuv4mpegenc: Use AV_CEIL_RSHIFT where neededVittorio Giovara2016-01-251-2/+2
| |
* | Merge commit '81306fd4bdeb5c17d4db771e4fec684773b5790f'Derek Buitenhuis2016-02-161-79/+48
|\ \ | |/ | | | | | | | | | | * commit '81306fd4bdeb5c17d4db771e4fec684773b5790f': hls: eliminate ffurl_* usage Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * hls: eliminate ffurl_* usageAnton Khirnov2016-01-241-44/+25
| | | | | | | | | | Now all IO should go through the IO callbacks and be interceptable by the caller.
* | avformat/img2enc: remove unused variableMichael Niedermayer2016-02-141-1/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/genh: Mark coef_splitted as av_unusedMichael Niedermayer2016-02-141-1/+1
| | | | | | | | | | | | | | This avoid "libavformat/genh.c:43:14: warning: variable coef_splitted set but not used" Fewer warnings makes it easier to see new and important warnings Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formatsMark Reid2016-02-141-3/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/spdifenc: Support MLP encapsulation.David Monro2016-02-141-0/+1
| | | | | | | | | | | | Fixes bug 821. Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
* | lavf/mpjpeg: do not include CRLF preceding boundary as part of the returned ↵Alex Agranovsky2016-02-141-2/+2
| | | | | | | | | | | | | | frame Signed-off-by: Alex Agranovsky <alex@sighthound.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/mpjpeg: Trim quotes on MIME boundary, if present.Alex Agranovsky2016-02-141-0/+7
| | | | | | | | | | | | | | Fixes 5023 Signed-off-by: Alex Agranovsky <alex@sighthound.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/utils: remove ff_iso8601_to_unix_timeMarton Balint2016-02-142-17/+0
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/matroskaenc: use ff_parse_creation_time_metadataMarton Balint2016-02-141-2/+4
| | | | | | | | | | | | | | Also increase precision to microsecs, and avoid writing creation_time as a simple tag metadata item. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/mxfenc: use ff_parse_creation_time_metadataMarton Balint2016-02-141-4/+1
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/movenc: use ff_parse_creation_time_metadataMarton Balint2016-02-141-7/+1
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/gxfenc: use ff_parse_creation_time_metadataMarton Balint2016-02-141-3/+1
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/ffmenc: use ff_parse_creation_time_metadataMarton Balint2016-02-141-6/+2
| | | | | | | | | | | | FYI this muxer bails out on parse error and not just warn the user. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/dvenc: use ff_parse_creation_time_metadataMarton Balint2016-02-141-3/+1
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/asfenc: use ff_parse_creation_time_metadataMarton Balint2016-02-141-7/+4
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/utils: add ff_parse_creation_time_metadataMarton Balint2016-02-142-0/+28
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/img2enc: disable atomic file creation by defaultMarton Balint2016-02-141-4/+1
| | | | | | | | | | | | | | | | | | Currently it is broken when explicitly using the file protocol, it uses an insecure temporary file name, and in commit b4431c80 disabling the option by default was already considered. Also it is not very consistent to have such an option for one particular muxer. Signed-off-by: Marton Balint <cus@passwd.hu>
OpenPOWER on IntegriCloud