aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
* Alias PIX image encoder and decoderVittorio Giovara2014-03-262-1/+2
|
* mp3dec: export replaygain tags from ID3v2Anton Khirnov2014-03-242-1/+8
|
* Add replaygain side data type and code for parsing replaygain tags.Anton Khirnov2014-03-242-0/+185
|
* lavf: add an AVStream field for exporting stream-global side dataAnton Khirnov2014-03-243-2/+30
|
* mpeg: K&R formatting cosmeticsTanja Batchelor2014-03-241-141/+169
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* movenc: Allow override of major brand in ftyp atomJohn Stebbins2014-03-232-1/+6
| | | | Signed-off-by: Tim Walker <tdskywalker@gmail.com>
* mxf: Lowercase UL stringsLuca Barbato2014-03-191-41/+42
| | | | The specification uses lower case most of the time.
* mxf: Verbose debug loggingLuca Barbato2014-03-191-2/+27
| | | | | Print the UL in code format and in the short format used by the specification.
* mxf: Override faulty PreviousPartition entriesLuca Barbato2014-03-191-0/+20
| | | | | | | | | | Some files set the PreviousPartition field to point to its own offset. If we are parsing forward the Previous partition is immediately known and its value could be used, otherwise we can safely point to the header. Reported-By: Jean Baptiste Kempf <jb@videolan.org>
* mxf: Add additional H264 PictureEssenceCodingLuca Barbato2014-03-191-0/+1
| | | | Unbreak some MXF Proxy files.
* mpegts: Forward error codes in various functionsKeiji Costantini2014-03-181-48/+61
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mpegts: K&R formatting cosmeticsKeiji Costantini2014-03-181-329/+391
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* img2: add j2c file extensionJean First2014-03-162-1/+2
| | | | Some applications use the j2c extension for jpeg2000 codestream files.
* raw, nut: Support rgba64 encodingCarl Eugen Hoyos2014-03-161-0/+4
|
* isom: fix C99-style declarationMichael Niedermayer2014-03-161-1/+2
|
* aacdec: Lower the number of frames required to detect ADTSMartin Storsjö2014-03-161-1/+1
| | | | | | | | | | | For live audio streams, requiring 500 frames for a stream to be detected is a bit overkill. This allows live ADTS streams that don't start nicely at a frame boundary to start up more quickly, e.g. http://mp3.streampower.be/radio1.aac. Signed-off-by: Martin Storsjö <martin@martin.st>
* aacdec: Don't count probed ADTS frames if there are false positivesMartin Storsjö2014-03-161-1/+9
| | | | | | | | | If a portion of the probe buffer seem to resemble ADTS frames, but some data at the end is a mismatch, disregard the whole probing attempt. If it actually is ADTS data, there shouldn't be any mismatches within the sequential frame data. Signed-off-by: Martin Storsjö <martin@martin.st>
* isom: convert mp4 dvdsub extradata to vobsub formatwm42014-03-151-0/+57
| | | | | | | | | | | | mp4 files embedding DVD subtitles do not use the same extradata format as the rest of Libav expects. The subtitle decoder in libavcodec in particular does not understand this format. Convert the extradata to the vobsub .idx format. mp4 stores the palette as binary 32 bit ints in YUV. The subtitle resolution is stored separately in the track header, which we access through AVStream. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* aac: K&R formatting cosmeticsLuca Barbato2014-03-141-23/+28
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* http: Properly initialize icy headers stringAlessandro Ghedini2014-03-121-0/+4
| | | | | | | | | | | | | | The icy_metadata_headers string never gets initialized, so, during the first call to av_strlcatf() in parse_icy(), strlen() will be called on a pointer to uninitialized memory. At best this causes some garbage data to be left at the start of the string. By initializing icy_metadata_headers to the empty string, the first call to strlen() will always return 0, so that data is appended from the start of the string. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* http: Declare more parameters as const where possibleMartin Storsjö2014-03-121-2/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Allow setting a Content-Type for POST requestsClément Bœsch2014-03-111-0/+6
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* http: Improve options descriptionsAlessandro Ghedini2014-03-111-2/+2
| | | | | | Add documentation where missing. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* http: Always allow no-op seekAnssi Hannula2014-03-111-0/+3
| | | | | | This also allows checking stream position as per ffurl_seek() doxy. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* http: Add support for selecting a request rangeAnssi Hannula2014-03-111-3/+14
| | | | | | Comment from Reimar Döffinger included as pro memoria. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* http: Support setting custom User-AgentClément Bœsch2014-03-111-2/+6
| | | | | | | Contextually make the default User-Agent use the common "Name/Version" pattern. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* http: Export Content-Type informationMichael Niedermayer2014-03-111-0/+5
| | | | | | Bug-Id: https://bugs.debian.org/740421 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* http: Add support reading ICY metadataLuca Barbato2014-03-111-1/+103
| | | | | | | | | Export the metadata as a icy_metadata_packet avoption. Based on the work of wm4 and Alessandro Ghedini. Bug-Id: https://bugs.debian.org/739936 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* http: Refactor process_lineLuca Barbato2014-03-111-51/+85
|
* http: K&R formatting cosmeticsLuca Barbato2014-03-111-15/+17
|
* http: Drop doxy commentsLuca Barbato2014-03-111-5/+11
|
* http: Return meaningful error codesLuca Barbato2014-03-111-6/+6
|
* avformat: Report the duration analysis reachedLuca Barbato2014-03-111-1/+2
|
* lavf: more correct printf format specifiersDiego Biurrun2014-03-1126-57/+114
|
* lavf: always use av_freeMichael Niedermayer2014-03-101-1/+1
| | | | Signed-off-by: Tim Walker <tdskywalker@gmail.com>
* lavf: simplify ff_hevc_annexb2mp4_bufTim Walker2014-03-102-42/+5
| | | | | | Use ff_hevc_annexb2mp4 instead of duplicating its functionality, and update the documentation to match the new behavior.
* hevc: Use get_se_golomb_longLuca Barbato2014-03-101-5/+5
| | | | | Do not use inline functions that refer to tables present in other libraries.
* mxfdec: Validate parameters to strftimeMartin Storsjö2014-03-101-0/+9
| | | | | | | | | | | | The MSVCRT version of strftime calls the invalid parameter handler if the struct values in struct tm are invalid. In case no invalid parameter handler is set for the process, the process is aborted. This fixes fate failures on MSVC builds since 570af382. Based on a patch by Hendrik Leppkes. Signed-off-by: Martin Storsjö <martin@martin.st>
* matroskaenc: enable Annex B to MP4 conversion for HEVC tracks.Tim Walker2014-03-091-0/+4
|
* matroskaenc: write private data in hvcC format for HEVC.Tim Walker2014-03-092-1/+4
|
* movenc: allow muxing HEVC in MODE_MP4.Tim Walker2014-03-092-0/+2
|
* movenc: enable Annex B to MP4 conversion for HEVC tracks.Tim Walker2014-03-093-0/+158
|
* movenc: write hvcC tag for HEVC.Tim Walker2014-03-094-1/+1140
|
* movenc: use 'hev1' tag for HEVC in MODE_MOV.Tim Walker2014-03-091-1/+1
| | | | | | | | | | | | | | 'hvc1' requires that parameter set NAL units be present only in the samples entry, but not in the samples themselves, requiring that additional parameter sets, if present, be filtered out of the samples and placed in new, additional sample entries if they override or otherwise conflict with the parameter sets present in the first sample entry. We do not have any way of doing this at present, so the files we produce can only comply with the restrictions set for the 'hev1' sample entry name in ISO/IEC 14496-15.
* riff: add VP9 fourccJames Zern2014-03-091-0/+1
|
* riff: IPJ2 decodes with JPEG2000 decoderBen Littler2014-03-091-0/+1
| | | | Samples can be made from mencoder and jp2avi.dll codec.
* movdec: handle 0x7fff langcode as macintosh per the specsBaptiste Coudurier2014-03-092-2/+2
| | | | | | The correct point that seperates ISO and MAC language codes is 0x400 according to the current QT spec. Old QT specs did not list where this seperation is but apparently only defined the meaning of the first 137.
* libspeex: support ZygoAudio (quality 10 mode)Piotr Bandurski2014-03-091-0/+1
|
* isom: lpcm in mov default to big endianMark Himsley2014-03-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | It is my understanding that "Unless otherwise stated, all data in a QuickTime movie is stored in big-endian byte ordering" [1] in MOV files. I have a couple of thousand files, which technically are invalid because their sound sample description element 4CC is 'lpcm' but its version is 0 - and "Version 0 supports only uncompressed audio in raw ('raw ') or twos-complement ('twos') format" [2] Because isom.c only contains a mapping for 4CC 'lpcm' to AV_CODEC_ID_PCM_S16LE, these files have their audio decoded as LE when it is actually BE. This commit adds AV_CODEC_ID_PCM_S16BE as the first match for 4CC 'lpcm'. [1] https://developer.apple.com/library/mac/documentation/quicktime/QTFF/qtff.pdf page 21 [2] https://developer.apple.com/library/mac/documentation/quicktime/QTFF/qtff.pdf page 178 Reviewed-by: Yusuke Nakamura <muken.the.vfrmaniac@gmail.com>
* isom: add "MNG" FourCCPiotr Bandurski2014-03-091-0/+1
|