summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* lavf/http: fix incorrect warning in range requestsRodger Combs2015-11-25
|
* concatdec: add option for adding segment start time and duration metadataMarton Balint2015-11-25
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Marton Balint <cus@passwd.hu>
* concatdec: simplify duration calculation in open_next_fileMarton Balint2015-11-25
| | | | | | | | If duration is still AV_NOPTS_VALUE when opening the next file, we can assume that outpoint is not set. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Marton Balint <cus@passwd.hu>
* concatdec: calculate duration early if outpoint is knownMarton Balint2015-11-25
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/v210: Check width and heightTimothy Gu2015-11-23
| | | | | Fixes a floating point exception when width and height are not supplied (and therefore are zero).
* avformat/rawvideodec: Rework packet size calculationTimothy Gu2015-11-23
| | | | | | Calculate packet size only once, and propagate errors earlier in the chain. Also remove use of the deprecated av_image_get_buffer_size().
* lavf/rawenc: Recognize more extensions to encode raw hevc.Carl Eugen Hoyos2015-11-24
| | | | Requested-by: Mike Brown, brown at mrvideo vidiot com
* avformat/movenc-test: Fix integer overflowsMichael Niedermayer2015-11-23
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mov: use hypot()Ganesh Ajjanagadde2015-11-22
| | | | | | | This simplifies the code. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* Merge commit 'ca489564ae150bc41764f175b88151d883e69ae0'Derek Buitenhuis2015-11-22
|\ | | | | | | | | | | | | * commit 'ca489564ae150bc41764f175b88151d883e69ae0': movenc: add fallback audio track tref support Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * 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>
* | Merge commit '7f4ec4364bc4a73036660c1c6a3c4801db524e9e'Derek Buitenhuis2015-11-22
|\| | | | | | | | | | | | | | | | | | | * commit '7f4ec4364bc4a73036660c1c6a3c4801db524e9e': avformat: expose av_stream_new_side_data helper Conflicts: libavformat/internal.h Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * avformat: expose av_stream_new_side_data helperJohn Stebbins2015-11-18
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '21ab6fd01b9107d7171fc1a77c2bfacff845a97a'Derek Buitenhuis2015-11-22
|\| | | | | | | | | | | | | * commit '21ab6fd01b9107d7171fc1a77c2bfacff845a97a': lavf: document that passing valid timestamps to muxers is now mandatory Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * lavf: document that passing valid timestamps to muxers is now mandatoryAnton Khirnov2015-11-18
| | | | | | | | Also, extend the documentation about setting timestamps.
| * segafilm: Fix current_sample after seeking and avio_seek return typeMichael Niedermayer2015-11-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '62b4a6f1b9aa83d56701af226adda98faa5ede09'Derek Buitenhuis2015-11-22
|\| | | | | | | | | | | | | * commit '62b4a6f1b9aa83d56701af226adda98faa5ede09': rtmpcrypt: Provide the xtea keys in little endian format for consistency Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * rtmpcrypt: Provide the xtea keys in little endian format for consistencyMartin Storsjö2015-11-13
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '588b6215b4c74945994eb9636b0699028c069ed2'Derek Buitenhuis2015-11-22
|\| | | | | | | | | | | | | | | | | | | | | * commit '588b6215b4c74945994eb9636b0699028c069ed2': rtmpcrypt: Do the xtea decryption in little endian mode xtea: Add functions for little endian mode Conflicts: libavutil/xtea.c Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * 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>
* | avformat/vpk: check samples_per_block sizePaul B Mahol2015-11-21
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat: add FSB demuxerPaul B Mahol2015-11-21
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/utils: Fix indentationTimothy Gu2015-11-20
| |
* | avformat/rsd: implement seekingPaul B Mahol2015-11-20
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/ffmdec: Only return EAGAIN if a server is attachedMichael Niedermayer2015-11-20
| | | | | | | | | | | | | | This should fix a infinite loop Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/ffmdec: Add cleaner API for ffserver to interface without depending ↵Michael Niedermayer2015-11-20
| | | | | | | | | | | | | | on internal ABI Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/flvenc: Add aac_seq_header_detect and flvflagsMaksym Veremeyenko2015-11-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/assdec: allow ASS files starting with empty linesClément Bœsch2015-11-20
| | | | | | | | See https://github.com/mpv-player/mpv/issues/2506
* | avformat: add VPK demuxerPaul B Mahol2015-11-19
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/rsd: reindent after the last commitJames Almer2015-11-19
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat/rsd: GADP files are adpcm_thp_leJames Almer2015-11-19
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit 'b5f963bfec1f452c37eee900c7b11f065d10dd60'Derek Buitenhuis2015-11-19
|\| | | | | | | | | | | | | * commit 'b5f963bfec1f452c37eee900c7b11f065d10dd60': mov: Drop dref when unable to parse Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.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.
* | Merge commit '303f931938c618668f7f83c646a1850bef84641e'Derek Buitenhuis2015-11-19
|\| | | | | | | | | | | | | * commit '303f931938c618668f7f83c646a1850bef84641e': mov: Correctly store dref paths Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * 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.
| * 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>
* | mxfdec: check edit_rate also for physical_trackAndreas Cadhalpun2015-11-18
| | | | | | | | | | | | | | | | Previously only the edit_rate of material_track was checked. If it's negative, it causes assertion failures in av_rescale_rnd. Reviewed-by: Tim Nicholson <nichot20-at-yahoo.com@ffmpeg.org> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | Merge commit '1d62ee38894afb696674db78cee8f8d89204a8fe'Derek Buitenhuis2015-11-18
|\| | | | | | | | | | | | | * commit '1d62ee38894afb696674db78cee8f8d89204a8fe': movenc: Add a unit test for signaling of the track start times Merged-by: Derek Buitenhuis <derek.buitenhuis@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>
* | Merge commit 'bef3b1f59f036aba4a5fe599b2480f6bd9e6b280'Derek Buitenhuis2015-11-18
|\| | | | | | | | | | | | | * commit 'bef3b1f59f036aba4a5fe599b2480f6bd9e6b280': movenc: Allow setting start_dts/start_cts before writing actual packets Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * 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-test: Pad the packet data start with 0sDerek Buitenhuis2015-11-18
| | | | | | | | | | | | | | This way, it never starts with 0xFFF0, and never trips the ADTS "Detection" code in movenc.c. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | avformat/genh: Fix tools/probetest failureMichael Niedermayer2015-11-18
| | | | | | | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/dashenc: Add framerate to dash manifestBryan Huh2015-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | | DASH manifest should have framerate specified as an attribute in the AdaptationSet element and Representation elements. Though ISO/IEC 23009-1:2014 doesn't seem to define frameRate as a required attribute, it is at least optional, and DASH-IF IOP 3.0 seems to require it. See section 3.2.4 of http://dashif.org/w/2015/04/DASH-IF-IOP-v3.0.pdf In the event that avg_frame_rate is not set in the muxer, we ignore the frameRate tag altogther. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat: add IVR demuxerPaul B Mahol2015-11-18
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/rtpdec_mpa_robust: change assignment to inequality test in conditionalGanesh Ajjanagadde2015-11-17
| | | | | | | | | | | | | | | | | | | | | | In the spirit of commit 8199908fdf9b3797cceaea9d1e2fc09d02ef7309, likely typo originally. Found by enabling -Wparentheses on clang 3.7 and running a manual audit. To the best of my knowledge, no such instances remain. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avformat/matroskadec: Check subtitle stream before dereferencingMichael Niedermayer2015-11-17
| | | | | | | | | | | | | | | | Unrecognized streams are not allocated Fixes: flicker-1.color1.vp91447030769.08.webm Found-by: Chris Cunningham <chcunningham@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '3eeb7edfc2a1157b7b0e0ce21ac2cd44d55d405b'Derek Buitenhuis2015-11-17
|\| | | | | | | | | | | | | * commit '3eeb7edfc2a1157b7b0e0ce21ac2cd44d55d405b': movenc: Add a unit test for frag_discont with edit lists Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * 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>