summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* qsvenc: factor out common optionsAnton Khirnov2015-11-20
|
* qsvenc: fix setting maxrate for VBRAnton Khirnov2015-11-20
|
* qsvenc: print the actual video parameters used by MSDKAnton Khirnov2015-11-20
|
* mpegvideo_enc: enable rtp_mode when multiple slices are usedAnton Khirnov2015-11-20
| | | | | | | | | | Currently, multiple slices with just one thread produce corrupted output. Additionally, enable slice structured mode for h263(+) Bug-Id: 912 CC: libav-stabl@libav.org
* mpevideo_enc: disallow multiple slices for h261 and flvAnton Khirnov2015-11-20
| | | | | | They do not work and produce corrupted output. CC: libav-stable@libav.org
* movenc: add fallback audio track tref supportJohn Stebbins2015-11-18
| | | | | | | | | | | | | This feature allows making associations between audio tracks that apple players recognize. E.g. when an ac3 track has a tref that points to an aac track, devices that don't support ac3 will automatically fall back to the aac track. Apple used to *guess* these associations, but new products (AppleTV 4) no longer guess and this association can only be made explicitly now using the "fall" tref. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: Define side data type for fallback trackJohn Stebbins2015-11-18
| | | | | | | | | This side data type is meant to be added to AVStream side data. A fallback track indicates an alternate track to use when the current track can not be decoded for some reason. e.g. no decoder available for codec. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avformat: expose av_stream_new_side_data helperJohn Stebbins2015-11-18
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: document that passing valid timestamps to muxers is now mandatoryAnton Khirnov2015-11-18
| | | | Also, extend the documentation about setting timestamps.
* dvdsubdec: Validate the RLE offsetsLuca Barbato2015-11-17
| | | | CC: libav-stable@libav.org
* travis: Enable OSX integrationVittorio Giovara2015-11-17
|
* flacenc: Clamp user-supplied min/max prediction ordersVittorio Giovara2015-11-16
| | | | | | This mimics what the code does internally for default order values. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* ffv1: Explicitly name the coder typeVittorio Giovara2015-11-16
| | | | | | | | | | | | | | | | FFv1 uses two types of coders, golomb and range with two different tables. This is exposed this in a rather convoluted way, for example mentioning to set coder type 1 while initializing the variable 'ac' to 2, because encoder does not use range coder with default table. Appropriate internal coder type values have been added and used in any check rather than using raw numbers. Initialization of avctx.coder_type in ffv1dec is removed because this field is encoder only. An unneeded validation check in the encoder is dropped too. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* hqx: correct type and size check of info_offsetAndreas Cadhalpun2015-11-16
| | | | | | | | | It is used as size argument of ff_canopus_parse_info_tag, which uses it as size argument to bytestream2_init, which only supports sizes up to INT_MAX. Changing it's type to unsigned simplifies the check. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* dds: disable palette flag for compressed imagesAndreas Cadhalpun2015-11-14
| | | | | | | | Having both is not valid and can cause a NULL pointer dereference of frame->data[1] later. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* segafilm: Fix current_sample after seeking and avio_seek return typeMichael Niedermayer2015-11-14
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* rtmpcrypt: Provide the xtea keys in little endian format for consistencyMartin Storsjö2015-11-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpcrypt: Do the xtea decryption in little endian modeMartin Storsjö2015-11-13
| | | | | | | | | | | The XTEA algorithm operates on 32 bit numbers, not on byte sequences. The XTEA implementation in libavutil is written assuming big endian numbers, while the rtmpe signature encryption assumes little endian. This fixes rtmpe communication with rtmpe servers that use signature type 8 (XTEA), e.g. crunchyroll. Signed-off-by: Martin Storsjö <martin@martin.st>
* xtea: Add functions for little endian modeMartin Storsjö2015-11-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* xtea: Clarify that the current API works in big endian modeMartin Storsjö2015-11-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dds: add missing newline to log messagesAndreas Cadhalpun2015-11-12
| | | | Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* dds: validate compressed source buffer sizeAndreas Cadhalpun2015-11-12
| | | | | | | A too small buffer will cause segfaults somewhere below decompress_texture_thread. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* dds: validate source buffer size before copyingAndreas Cadhalpun2015-11-12
| | | | | | If it is too small av_image_copy_plane segfaults. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* mov: Drop dref when unable to parseVittorio Giovara2015-11-12
| | | | | | | Some entries might be either empty or contain types we do not parse (eg. 'url '). In both cases, if an 'alis' is not the first entry, external references are not loaded, so make sure that the array starts with an 'alis' dref.
* mov: Correctly store dref pathsVittorio Giovara2015-11-12
| | | | | | | | | | Rather than reading the alternate absolute path version from dref type 18, make sure that 0s are considered as '/'. These values are sometimes present in the full path, and are mistakenly interpreted as line terminators othewise. With the correct handling of this dref type, parsing type 18 is not needed any more.
* lavc: Add missing mem.h header to libxvid and screenpressoVittorio Giovara2015-11-12
|
* aiff: Support demuxing G.722 streamsCarl Eugen Hoyos2015-11-12
|
* thp: set duration for audio stream tooPaul B Mahol2015-11-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* movenc: Add a unit test for signaling of the track start timesMartin Storsjö2015-11-11
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Allow setting start_dts/start_cts before writing actual packetsMartin Storsjö2015-11-11
| | | | | | | | | | | | | | | | | By writing a zero-sized packet, the caller can communicate the start_dts/start_cts for the stream without actually writing the first packet. This allows doing random-access writing of fragments when the start dts of the stream isn't zero, so that the edit list in the moov is written based on timestamps from the nominal start time signaled via the zero-sized packet, while the first proper packet written corresponds to a later fragment. To avoid potential unexpected behaviour, empty packets only set start_dts if the frag_discont flag is set. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Add a unit test for frag_discont with edit listsMartin Storsjö2015-11-11
| | | | | | | This tests the case where the muxer correctly guesses that a stream starts at pts=0. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Assume streams starting at pts=0 for discontinuous fragments with ↵Martin Storsjö2015-11-11
| | | | | | | | | | editlists This allows producing fragments discontinously where the video stream has b-frames (but starts at pts=0), but doesn't work for the cases with audio with preroll. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Add an API unit test for fragmenting options/callsMartin Storsjö2015-11-10
| | | | | | | | | | | | | | | | | Contrary to the normal fate tests that run via avconv, this tests nontrivial call sequences that are only doable via the API (mainly for different corner cases when using the muxer for segmenting). The test muxes fake packet data (with extradata that looks enough like proper data to make the file be viewable with e.g. boxdumper) and checks the hash of the produced files. The test also verifies that fragments produced via different call sequences remain identical (to avoid e.g. updating the output hashes and suddenly having fragments that used to be identical suddenly diverging), for fragments written with frag_discont and/or delay_moov. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Automatically flush after writing the initial moovMartin Storsjö2015-11-10
| | | | | | | | In most other cases when writing fragmented mp4 files, the output IO context is flushed after each fragment. Also flush it after writing the initial moov, to have it behave in the same way. Signed-off-by: Martin Storsjö <martin@martin.st>
* vsrc_color: implement frame rateJohn Stebbins2015-11-09
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_showinfo: show timebase & framerate tooMichael Niedermayer2015-11-09
| | | | | (cherry picked from ffmpeg commit fdb93996811bacfa7b82995cdc0f93c46f3dc6cc) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_frei0r: also set AVFilterLink.frame_rateMichael Niedermayer2015-11-09
| | | | | (cherry picked from ffmpeg commit 353cf95f948ef7c6139c8ead79e9eeb9eb8d2e6e) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_framepack: Check and update frame_rateMichael Niedermayer2015-11-09
| | | | | (cherry picked from ffmpeg commit a46a23d30fea9c8a5570e07ec4d9c9b4eaa6eb4f) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_interlace: implement frame rateMichael Niedermayer2015-11-09
| | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from ffmpeg commit 227b4458fb434875b127a0c2306fa3b899a770bf) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* setpts: add FRAME_RATE constantStefano Sabatini2015-11-09
| | | | | | | | Useful for dealing with constant frame-rate video. (cherry picked from ffmpeg commit 722762f7e1212b4d02142778fabfdd73375722e0) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* testsrc: set output framerateStefano Sabatini2015-11-09
| | | | | | (cherry picked from ffmpeg commit 7cd5fa35fecc2717223459d04822faed6bbd40fa) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* yadif: update frame rateMichael Niedermayer2015-11-09
| | | | | (cherry picked from ffmpeg commit 31619584556466e4beab98e9b04ed4c5ba0db178) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_fps: set frame_rate.Nicolas George2015-11-09
| | | | | | (cherry picked from ffmpeg commit 0d249316043fb69a3972029bff3a2969689ba8b6) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* buffersrc: accept the frame rate as argument.Nicolas George2015-11-09
| | | | | | (cherry picked from ffmpeg commit 9ca440679dc535b31edd569393d8d3dda59db90e) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add a frame_rate field to AVFilterLink.Nicolas George2015-11-09
| | | | | | (cherry picked from ffmpeg commit 7b42036b3b23c85f473bf9369e37fa8da22eaf93) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: fix doxy placementAnton Khirnov2015-11-09
|
* lavf: deprecate compute_pkt_fields2Anton Khirnov2015-11-09
| | | | | | | | | All encoders set pts and dts properly now (and have been doing that for a while), so there is no good reason to do any timestamp guessing in the muxer. The newly added AVStreamInternal will be later used for storing all the private fields currently living in AVStream.
* lavf: factor out freeing an AVStreamAnton Khirnov2015-11-08
| | | | It will be needed in other functions.
* avconv: set packet duration for CFR video streamsAnton Khirnov2015-11-08
|
* lavf: initialize cur_dts to AV_NOPTS_VALUE for muxingAnton Khirnov2015-11-08
| | | | The reasoning for setting it to zero only applies to demuxing.