summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
...
* RTMPE protocol supportSamuel Pitoiset2012-07-23
| | | | | | | | | | This adds two protocols, but one of them is an internal implementation detail just used as an abstraction layer/generalization in the code. The RTMPE protocol implementation uses ffrtmpcrypt:// as an alternative to the tcp:// protocol. This allows moving most of the lower level logic out from the higher level generic rtmp code. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Add ff_rtmp_calc_digest_pos()Samuel Pitoiset2012-07-23
| | | | | | | This function is used for calculating digest position for RTMP handshake packets. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Rename rtmp_calc_digest to ff_rtmp_calc_digest and make it globalSamuel Pitoiset2012-07-23
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: use conditional notation for default codec in muxer declarations.Ronald S. Bultje2012-07-22
| | | | | This removes the use of macro nesting in these code constructs, which makes it easier to parse in pre-processors.
* matroskadec: return more correct error code on read error.Anton Khirnov2012-07-22
|
* Bump libavcodec and libavformat minor versions for G.723.1 decoder and demuxerKostya Shishkov2012-07-22
|
* G.723.1 demuxer and decoderMohamed Naufal Basheer2012-07-22
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* rtsp: remove terminal comma in FF_RTP_FLAG_OPTS macro.Ronald S. Bultje2012-07-21
| | | | | | | This makes usage of the macro look more natural when used with array entries. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* mpegenc: remove disabled codeDiego Biurrun2012-07-21
|
* cafdec: allow larger ALAC magic cookieJustin Ruggles2012-07-19
| | | | | It already skips any extra bytes at the end, and apparently there are some samples in the wild with larger 'kuki' chunks.
* avformat: move 'chan' tag parsing to mov_chan.c to share with the CAF demuxerJustin Ruggles2012-07-19
|
* caf: use int64_t for num_packetsJustin Ruggles2012-07-19
| | | | It is used to store a value read by avio_rb64().
* caf: fix 'pakt' chunk parsingJustin Ruggles2012-07-19
| | | | | | according to the CAF specification: "... the value for mChunkSize can be greater than the actual valid content of the packet table chunk"
* caf: support either old or new style ALAC magic kuki chunkJustin Ruggles2012-07-19
|
* os_support: K&R formatting cosmeticsDiego Biurrun2012-07-17
|
* RTMPTS protocol supportSamuel Pitoiset2012-07-17
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* RTMPS protocol supportSamuel Pitoiset2012-07-17
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Rename rtmphttp to ffrtmphttpSamuel Pitoiset2012-07-17
| | | | | | | The prefix makes it easier to distinguish the proper end-user protocols from the internal ones. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: rtmp_parse_result() add case for video and audio packets to avoid ↵Jordi Ortiz2012-07-16
| | | | | | undesired debug output. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* mpeg: remove disabled codeDiego Biurrun2012-07-16
|
* network: Always use our version of gai_strerror on windowsMartin Storsjö2012-07-15
| | | | | | | | Even if linking directly to getaddrinfo, use our version of gai_strerror instead of the system's version. Microsoft explicitly documents that their version of gai_strerror is thread-unsafe. Signed-off-by: Martin Storsjö <martin@martin.st>
* network: Undefine existing gai_strerror definitionsMartin Storsjö2012-07-15
| | | | | | | | | | | This avoids warnings if there already exists a definition. This is the case on windows, where the getaddrinfo isn't available and linked to (and we use our fallbacks instead, which actually try to use the proper getaddrinfo version if found at runtime), but gai_strerror still exists as a define. Signed-off-by: Martin Storsjö <martin@martin.st>
* network: Extend the fallback gai_strerror implementation to handle more ↵Martin Storsjö2012-07-15
| | | | | | | | | error codes This is useful if a proper getaddrinfo is loaded dynamically on windows, while using the fallback implementation of gai_strerror. Signed-off-by: Martin Storsjö <martin@martin.st>
* build: Fix APE tag dependenciesDiego Biurrun2012-07-13
|
* MS Expression Encoder Screen decoderKostya Shishkov2012-07-13
|
* build: Fix MP2 muxer dependenciesDiego Biurrun2012-07-12
|
* build: Add missing build rules for the ISMV muxerDiego Biurrun2012-07-12
|
* TechSmith Screen Codec 2 decoderKostya Shishkov2012-07-11
|
* rtsp: Add listen modeJordi Ortiz2012-07-10
| | | | | | | This makes the RTSP demuxer act as a server, listening for an incoming connection. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Make rtsp_open_transport_ctx() non-staticJordi Ortiz2012-07-10
| | | | | | This is required for the upcoming RTSP listen mode. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Move rtsp_read_closeJordi Ortiz2012-07-10
| | | | | | | This avoids having to add forward declarations in the following RTSP listen mode commit. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Parse the mode=receive/record parameter in transport linesJordi Ortiz2012-07-10
| | | | | | | We need to support the nonstandard mode=receive, for compatibility with older libavformat clients. Signed-off-by: Martin Storsjö <martin@martin.st>
* mxfdec: fix off by one error.Michael Niedermayer2012-07-10
| | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxfdec: only parse next partition pack if parsing forwardTomas Härdin2012-07-10
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxfdec: let pkt->pts = mxf->current_edit_unit if intra-onlyTomas Härdin2012-07-10
| | | | | | | | We cannot do this in general since we could be reading a file with B-frames while lacking an index. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxfdec: fix frame height vs field height confusionJoseph Artsimovich2012-07-10
| | | | | | | Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se> Reveiwed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxfdec: Add intra_only flag to MXFTrackTomas Härdin2012-07-10
| | | | | | | This allows future assumptions to be made without affecting non-intra files. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxfdec: fix Avid AirSpeed files being misinterpreted as OP1aTomas Härdin2012-07-10
| | | | | | | | | The "ECs != 1 -> OP1a" assumption was wrong. Luckily, the file that triggered that behavior had two ECs, not zero. Hence distinguishing between them is simple in this case. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxfdec: truncate packets that extend past the next edit unitTomas Härdin2012-07-10
| | | | | | | | This fixes rare cases where OPAtom may be treated as OP1a, causing all essence to be read into RAM. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxfdec: set pixel format for cdci picture formatsPhilip de Nier2012-07-10
| | | | | | | | | | | | | | | | | | The properties of the CDCI Descriptor are insufficient to specify the pixel format for uncompressed picture data. SMPTE 377-1 and RP224v10 have defined a set of picture coding labels to indicate what formatting was used. This patch uses 2 labels to detect UYVY422 or YUYV422 pixel formats. It defaults to UYVY422 for 8-bit 4:2:2 pictures to support files that were created before the coding labels were introduced ~2008 The codec pix_fmt default was changed from 0 (PIX_FMT_YUV420P) to -1 (PIX_FMT_NONE) Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mxfdec: detect uncomp pictures using essence container ulPhilip de Nier2012-07-10
| | | | | | | | | | This supports detection of uncompressed picture in files that didn't include a Picture Coding Label. The lables weren't available until SMPTE 377-1 and RP224v10 Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxfdec: set track edit rate num/den in expected orderPhilip de Nier2012-07-10
| | | | | | | | This matches the order used for the index table edit rate. Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* tcp: add initial timeout limit for incoming connectionsJordi Ortiz2012-07-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* matroskadec: honor error_recognition when encountering unknown elements.Anton Khirnov2012-07-09
|
* id3v2: add a mimetype for bmp pictures.Anton Khirnov2012-07-07
|
* flacdec: be less strict when parsing attached pictures.Anton Khirnov2012-07-07
| | | | | | Only return an error if memory allocation fails or error recognition is set to explode. Otherwise just print an error message and continue reading the file.
* flacdec: don't create an attached picture stream until we have all information.Anton Khirnov2012-07-07
| | | | | This way we don't end with an invalid stream if parsing the picture fails.
* mxfdec: replace x>>av_log2(sizeof(..)) by x/sizeof(..).Ronald S. Bultje2012-07-07
| | | | | | Also replace x>>av_log2(sizeof(..)) + 1 by x/sizeof(..). The +1 is probably meant to emulate av_log2_ceil(sizeof(..)) in cases where ".." is not a power of two.
* flvdec: Treat all nellymoser versions as the same codecMartin Storsjö2012-07-05
| | | | | | | | This avoids creating new AVStreams for them when switching between different variants of them, since we can handle changes between different sample rates of nellymoser within the same stream. Signed-off-by: Martin Storsjö <martin@martin.st>
* flvdec: optionally trust the metadataLuca Barbato2012-07-05
| | | | | In certain conditions video or audio frames might appear way later in the stream.