Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-09-17avformat/http: Fix #ifdef FF_API_HTTP_USER_AGENTMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-17lavf/http: deprecate user-agent optionSteven Liu
2016-09-16avformat/movenc: Make the packet check more tolerantMichael Niedermayer
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-16avformat/movenc: Check packet in mov_write_single_packet() tooMichael Niedermayer
Fixes assertion failure Found-by: durandal117 Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-16avformat/movenc: Factor check_pkt() outMichael Niedermayer
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-16libavformat/webm_chunk: Option to specify HTTP headerVignesh Venkatasubramanian
Add an option to specify HTTP header in the WebM Chunk Muxer (this works the same way as the 'method' parameter in the HLS muxer). Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-15avformat/msf: add support for ATRAC3 codecPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-15lavf/rtsp: Fix a crash with the RTSP muxer.Martin Storsjö
Introduced in 00e122bc / bc2a3296 The whole block that the statement was added to is only relevant when used as a demuxer, but the other statements there have had other if statements guarding them. Make sure to only run this whole block if being used as a demuxer. Fixes ticket #5844.
2016-09-15avformat/hlsenc: Emulate strftime("%z") using other functions if it does not ↵Michael Niedermayer
work This should fix the code on windows Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-14avformat/utils: fix timebase error in avformat_seek_file()Xinzheng Zhang
When there is only one stream and stream_index has not specified, The ts has been transferd by the timebase of stream0 without modifying the stream_index In this condation it cause seek failure. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-14avformat/flvenc: add no_sequence_end flags for flvflagsSteven Liu
when split flv file by flv format at first, and cat flvs file into one flv file, the flv sequence end is be used, then the whole flv have many flv sequence end TAG. this flags can give user an option to ignore write sequence end TAG Signed-off-by: Steven Liu <lingjiujianke@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-14avformat/flvenc: Add () around &Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-14lavf/utils: add missing ismv in MOV-like formatsClément Bœsch
2016-09-14lavf/utils: simplify matching MOV-like formatsClément Bœsch
2016-09-14lavf: add avformat_transfer_internal_stream_timing_info() and use it in ffmpegClément Bœsch
In lavf we have access to st->internal->avctx so it's a better place than in ffmpeg*.c and will allow moving to codecpar.
2016-09-14avformat/flvenc: add FLVFlags for flvflags optionsSteven Liu
add FLVFlags type, be used to add new FLVFlags options Signed-off-by: Steven Liu <lingjiujianke@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-14avformat/hlsenc: Assume UTC if "%z" is unsupported in strftime()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-14avformat/hlsenc: Avoid "%T" "%F" in strftime() to improve compatibilityMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-13lavf: add a flag to enable/disable automatic bitstream filteringRodger Combs
This is mostly useful for muxers that wrap other muxers, such as dashenc and segment. The actual duplicated bitstream filtering is largely harmless, but delaying the header can cause problems when the muxer intended the header to be written to a separate file.
2016-09-12avformat/tee: Use BSF list APIJan Sebechlebsky
Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
2016-09-12avformat/mux: implement AVFMT_FLAG_SHORTESTMichael Niedermayer
This will allow fixing several bugs with the -shortest option Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-11ivfenc: Add VPX codec tags.Alex Converse
This fixes remuxing VPX from MP4 without manually overwriting the tag.
2016-09-10avformat/movenc: Check first DTS similar to dts differenceMichael Niedermayer
Fixes assertion failure Fixes: b84b53855a0b74560e64c6f45f505a13/signal_sigabrt_7ffff6ae7c37_3837_ef4e243ea5b4fa8d0becf4afe9166604.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-09avformat/mov: Enable stream parsing for VP9.Matthew Gregan
MP4 media containing VP9 using superframes (such as https://github.com/Netflix/vp9-dash/raw/master/DASH-Samples/Fountain_2997_0560kbps_640x480_4x3PAR.ivf_DashUnencrypted.ismv) does not decode correctly with the built-in VP9 decoder because superframes are passed to the decoder whole rather than split into individual frames. Signed-off-by: Matthew Gregan <kinetik@flim.org>
2016-09-09avformat/segment: give a warning message for remove initial_offset optionSteven Liu
ffmpeg have a generic solution working with all muxer named output_ts_offset, output_ts_offset will instead of initial_offset Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-08avformat/mov: Fix potential integer overflow in mov_read_keysSergey Volk
Actual allocation size is computed as (count + 1)*sizeof(meta_keys), so we need to check that (count + 1) won't cause overflow. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-08avformat/hlsenc: implement program_date_timeMichael Niedermayer
Reviewed-by: Steven Liu <lingjiujianke@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-07avformat: Export ticks_per_frame in st->codecMichael Niedermayer
Fixes regressions with stream copy and output timebase/fps being twice as fine as needed Makes the timebase and ticks per frame handled identical which should make the code easier to understand and work with. It does not solve the problem without st->codec access Suggested-by: Hendrik Leppkes Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-07lavf/matroskaenc: use mkv_check_tag_name consistentlyRodger Combs
Previously, we used a different list of checks when deciding whether to write a set of tags at all than we did when deciding whether to write an individual tag in the set. This resulted in sometimes writing an empty tag master and seekhead. Now we use mkv_check_tag_name everywhere, so if a dictionary is entirely composed of tags we skip, we don't write a tag master at all. This affected the test file, since "language" was on one list but not the other, so we were writing an empty tag master there. The test hash is updated to reflect that change.
2016-09-07lavf/matroskaenc: skip writing "duration" tagsRodger Combs
2016-09-07lavf/matroskaenc: move skipped metadata keys to separate functionRodger Combs
2016-09-05avformat/hlsenc: fix incomplete write of subtitle HLS playlistFranklin Phillips
This patch is a fix for the bug with ticket number 5812 (https://trac.ffmpeg.org/ticket/5812). Basically, the bug is that the last segment and the "#EXT-X-ENDLIST" tag are not being written to the subtitle playlist file when converting a file with subtitles to the HLS format. The reason for this seem to be that the filename for the subtitle file is being freed too early. This solution is simply to free that memory after it's last use in the "hls_window" function. Signed-off-by: Franklin Phillips <franklinphillips9p8@inbox.lv> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-04avcodec/utvideodec: add support for ULY4 and ULH4Paul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-03lavf/udp: Do not use MCAST_* for multicast on tvOS.Carl Eugen Hoyos
Fixes ticket #5774.
2016-09-03lavf/webm_chunk: Print an error if no header filename was provided.Carl Eugen Hoyos
2016-09-03lavf/httpauth: Do case-insensitive http header checks.Carl Eugen Hoyos
Tested by trac user NTAuthority. Fixes ticket #5786.
2016-09-03lavf/img2dec: Skip DQT segment when auto-detecting jpg.Carl Eugen Hoyos
DQT segments may contain 0xFFs which break auto-detection.
2016-09-02avformat/avidec: Fix infinite loop in avi_read_nikon()Michael Niedermayer
Fixes: 360/test.poc Found-by: 连一汉 <lianyihan@360.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-01avformat/movenc: added ability to use original stream ids as track ids ↵Erkki Seppälä
instead of regenerating them Sometimes it's useful to be able to define the exact track numbers in the generated track, instead of always beginning at track id 1. Using the option use_stream_ids_as_track_ids now copies the use stream ids to track ids. Dynamically generated tracks (ie. tmcd) have their track numbers defined as continuing from the highest numbered stream id. Signed-off-by: Erkki Seppälä <erkki.seppala.ext@nokia.com> Signed-off-by: OZOPlayer <OZOPL@nokia.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-31avformat/hlsenc: add warning for append_list and hls_init_time optionSteven Liu
When use append_list mode, the hls_init_time set nouse, Because the append_list only support append at the old m3u8 end cannot set init segments durations at the middle of the list. That's invalid. and show a warning message for user. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-30avformat/crypto: add seeking support on readSimon Hailes
cyrpto allows reading of data which has been aes-128-cbc encrypted given a key and an iv. But it did not handle filetypes which require seeking... e.g. it failed on an encrypted .mp4 file. example: take 25.mp4 created with: ffmpeg -f lavfi -i sine=frequency=1000:beep_factor=2:r=48000:duration=720.0 -f lavfi -i testsrc=duration=720.0:rate=25 -vcodec libx264 -cmp 22 -timecode 10:00:00:00 -r 25 -y out\25.mp4 encrypt with: openssl enc -aes-128-cbc -K 12345678901234567890123456789012 -iv 12345678901234567890123456789012 -in 25.mp4 -out 25.enc then to transcode in ffmpeg: ffmpeg -key 12345678901234567890123456789012 -iv 12345678901234567890123456789012 -i crypto:25.enc -vcodec mpeg4 -r 25 -y 25dec.mp4 prior to this modification, the transcode would fail. Note also: crypto previously maked both reads and writes as streamed, which caused the whole file to be read before the transcode started. Now, for read only, if the underlying layer is not marked as streamed, then crypto is not. This should enable efficient reading of encrypted containers which require seeking. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-30libavformat/crypto - encourage reads of 4096 bytesSimon Hailes
the current implementation reads in chunks of 149x16=2384 bytes. Seems more logical for it to read in chunks of 4096 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-30avisynth: support pix_fmts added to AviSynth+Stephen Hutchinson
A number of new pix_fmts have been added to AviSynth+: 16-bit packed RGB and RGBA 10-, 12-, 14, and 16-bit YUV 4:2:0, 4:2:2, and 4:4:4 8-, 10-, 12-, 14-, and 16-bit Planar RGB 8-, 10-, 12-, 14-, and 16-bit Planar YUVA and Planar RGBA* 10-, 12-, 14-, and 16-bit GRAY variants* 32-bit floating point Planar YUV(A), Planar RGB(A), and GRAY* *some of which are not currently available pix_fmts here and were not added to the demuxer due to this Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-29avformat/hlsenc: add option hls_init_time to set init hls window segment ↵Steven Liu
duration recover segments duration time by hls_time after init hls window. This is reuqested by Ibrahim Tachijian Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-28avformat/mov: aax: pass proper AVClass to av_log()Thomas Hebb
av_log() expects its first parameter to be a pointer to a struct whose first element is a pointer to an AVClass. In what I can only imagine is a typo, one call to av_log() in the AAX decryption code instead passes a pointer to an AVSHA struct, which doesn't even contain a pointer as its first element, much less a pointer to an AVClass. Change the call to pass the current MOVContext, as surrounding calls do. The incorrect AVClass was causing mpv to emit the warning "av_log callback called with bad parameters" when playing an .aax file. Signed-off-by: Thomas Hebb <tommyhebb@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-28avformat: fix decoded creation_time timestampsMarton Balint
Use proper ISO 8601 timestamps which also signal that they are in UTC. This changes the format of creation_time and modification_date metadata values from 2016-06-01 22:30:00 to 2016-01-01T22:30:00.000000Z Fixes ticket #5673. Signed-off-by: Marton Balint <cus@passwd.hu>
2016-08-27avformat/utils: fix a codecpar non useJames Almer
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
2016-08-27avformat/utils: End probing if the expected codec surpasses ↵Michael Niedermayer
AVPROBE_SCORE_STREAM_RETRY Fixes Ticket5800 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-25webm_chunk: Set pts precision to millisecondsVignesh Venkatasubramanian
Milliseconds is the de-factor precision for timestamps in Matroska/WebM media. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-25mov: Remove old b-frame/video delay heuristicDerek Buitenhuis
This was added before edts support existed, and is no longer valid. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>