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

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-06avformat/matroskaenc: write a CRC32 element on SeekHeadJames Almer
Implements part of ticket #4347 Tested-by: Dave Rice <dave@dericed.com> Tested-by: Jerome Martinez <jerome@mediaarea.net> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-06avformat/matroskaenc: write a CRC32 element on each ClusterJames Almer
Implements part of ticket #4347 Tested-by: Dave Rice <dave@dericed.com> Tested-by: Jerome Martinez <jerome@mediaarea.net> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-06avformat/matroskaenc: always use a dynamic buffer when writting clustersJames Almer
Tested-by: Dave Rice <dave@dericed.com> Tested-by: Jerome Martinez <jerome@mediaarea.net> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-06avformat/matroskaenc: print debug message with cluster offsets only if the ↵James Almer
output is seekable Printing the dynamic buffer offset is useless. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-06avformat/matroskadec: check for more reserved values on some Colour elementsJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-06avformat/matroskaenc: don't write an empty Colour master elementJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-06lavf/utils: avoid using programs for duration when there's only oneRodger Combs
This allows us to be more selective about the streams we derive durations from (specifically, ignoring text streams with outlier end times) in the common case
2016-10-06lavf/utils: ignore outlier subtitle and data stream end times as wellRodger Combs
2016-10-06avformat/riffenc: added possibility to set first to ninth audio language for ↵Florian Diemer
RIFF taged files (e.g. avi files) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-05avformat/matroskaenc: don't reserve space for stream duration tags if the ↵James Almer
output is not seekable The durations are never written in that situation. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-05avformat/matroska: write FlagInterlaced element in WebMJames Almer
It's listed as supported in both https://www.webmproject.org/docs/container/ and https://matroska.org/technical/specs/index.html Reviewed-by: Dave Rice <dave@dericed.com> Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-04lavf/mpegtsenc: fix autobsf when the first NAL is 0x1<XX> bytesRodger Combs
2016-10-04avformat/hlsenc: support multi level path in m3u8 with filenameSteven Liu
before patch: localhost:osx liuqi$ tree 20160926/ 20160926/ └── file-20160909 └── 26 └── 16 └── 15 ├── 46 │   ├── 13.ts │   ├── 25.ts │   ├── 36.ts │   ├── 45.ts │   └── 54.ts └── 47 ├── 04.ts ├── 14.ts ├── 24.ts └── 35.ts 6 directories, 9 files localhost:osx liuqi$ cat out.m3u8 #EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:12 #EXT-X-MEDIA-SEQUENCE:0 #EXTINF:11.360000, 13.ts #EXTINF:10.800000, 25.ts #EXTINF:9.120000, 36.ts #EXTINF:8.760000, 45.ts #EXTINF:10.200000, 54.ts #EXTINF:10.720000, 04.ts #EXTINF:9.600000, 14.ts #EXTINF:10.600000, 24.ts #EXTINF:8.760000, 35.ts #EXT-X-ENDLIST after patch: localhost:osx liuqi$ tree 20160926/ 20160926/ └── file-20160909 └── 26 └── 16 └── 15 ├── 46 │   ├── 13.ts │   ├── 25.ts │   ├── 36.ts │   ├── 45.ts │   └── 54.ts └── 47 ├── 04.ts ├── 14.ts ├── 24.ts └── 35.ts 6 directories, 9 files localhost:osx liuqi$ cat out.m3u8 #EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:12 #EXT-X-MEDIA-SEQUENCE:0 #EXTINF:11.360000, 20160926/file-20160909/26/16/15/46/13.ts #EXTINF:10.800000, 20160926/file-20160909/26/16/15/46/25.ts #EXTINF:9.120000, 20160926/file-20160909/26/16/15/46/36.ts #EXTINF:8.760000, 20160926/file-20160909/26/16/15/46/45.ts #EXTINF:10.200000, 20160926/file-20160909/26/16/15/46/54.ts #EXTINF:10.720000, 20160926/file-20160909/26/16/15/47/04.ts #EXTINF:9.600000, 20160926/file-20160909/26/16/15/47/14.ts #EXTINF:10.600000, 20160926/file-20160909/26/16/15/47/24.ts #EXTINF:8.760000, 20160926/file-20160909/26/16/15/47/35.ts #EXT-X-ENDLIST Signed-off-by: Steven Liu <lingjiujianke@gmail.com>
2016-10-04lavf/aviobuf.c: Adapt avio_accept and avio_handshake to new AVIOContext APIStephan Holljes
Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
2016-10-03lavf/bink.c: fix warning due to misleading indentationAdriano Pallavicino
Signed-off-by: Adriano Pallavicino <adriano.pallavicino@gmail.com> Signed-off-by: Josh de Kock <josh@itanimul.li>
2016-10-01avformat/hlsenc: support mkdir_p for use_localtime_mkdirSteven Liu
when use use_localtime_mkdir to create multi level dir, ffmpeg give error message: ffmpeg -re -i ~/Movies/objectC/facebook.mp4 -c copy -use_localtime 1 -use_localtime_mkdir 1 -hls_segment_filename '%Y%m%d/file-%Y%m%d/%s.ts' out.m3u8 error message: Could not create directory 20160926/file-20160926 with use_localtime_mkdir add mkdir_p for support the multi level dir Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Tested-by: Zuo Genyu <1515161258@qq.com> (Windows) Signed-off-by: Steven Liu <lingjiujianke@gmail.com>
2016-09-29avformat/tee: Copy interrupt callback and flags to slaveJan Sebechlebsky
Copy interrupt callback to slave format context to allow user to interrupt IO. Copy format flags as well. Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
2016-09-29lavf/movenc: Put correct display aspect ratio in ARES atom.Carl Eugen Hoyos
2016-09-29lavf/mov: Read display aspect ratio from ares atom also for dnxhd.Carl Eugen Hoyos
Fixes aspect ratio of sample in ticket #2125. Fixes aspect ratio of sample in ticket #5325.
2016-09-29movenc: Add support for writing language codes into ISML manifestsJan Ekström
Streaming servers appear to ignore all other language metadata. Signed-off-by: Jan Ekström <jeebjp@gmail.com> Signed-off-by: Josh de Kock <josh@itanimul.li>
2016-09-29lavf/mov.c: Make audio timestamps strictly monotonically increasing inside ↵Sasi Inguva
an edit list. Fixes gapless decoding. Adjust skip_samples field correctly in case of DISCARDed audio frames. Signed-off-by: Sasi Inguva <isasi@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-29movenc: use similar logic to DASH when writing bit rate to ISMLJan Ekström
This way, in case of bit rate not being set, max_bitrate will be used instead. This enables, for example, re-using max_bitrate information from the input or doing transcoding with a rate control mode that is not bit rate based. Signed-off-by: Jan Ekström <jeebjp@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-28avformat/concatdec: don't call open_file when seek position within a fileraymondzheng1412@gmail.com
2016-09-28lavf/mpegtsenc: Set min PID for data pkt to 0x0010.Sylvain Laurent
Fixes ticket #1673.
2016-09-28avformat/avidec: Check nb_streams in read_gab2_sub()Michael Niedermayer
Fixes null pointer dereference Fixes: 1/null_point.avi Found-by: 连一汉 <lianyihan@360.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-28avformat/avidec: Remove ancient assertMichael Niedermayer
This assert can with crafted files fail, a warning is already printed for this case. Fixes assertion failure Fixes:1/assert.avi Found-by: 连一汉 <lianyihan@360.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-28avformat/matroskadec: set AVCodecParameters.field_order on progressive videoJames Almer
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
2016-09-28avformat/matroskadec: retain error codes in matroska_resync() and ↵Sophia Wang
matroska_read_packet() Signed-off-by: Sophia Wang <skw@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-27avformat: add av_stream_get_codec_timebase()James Almer
This will allow ffmpeg.c to stop using AVStream.codec in some cases Signed-off-by: James Almer <jamrial@gmail.com>
2016-09-26lavf/movenc: Allow to disable writing the timecode track.Carl Eugen Hoyos
Fixes ticket #5492.
2016-09-25avformat/avidec: remove warning about deprecated declarationsJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2016-09-25avformat/avidec: Fix memleak with dv in aviMichael Niedermayer
Found-by: 连一汉 <lianyihan@360.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-24lavf/utils: Avoid an overflow for huge negative durations.Carl Eugen Hoyos
Fixes ticket #5135.
2016-09-24lavf/aacdec: Do not autodetect a single frame inside the file.Carl Eugen Hoyos
2016-09-24avformat/hls: Fix handling of EXT-X-BYTERANGE streams over 2GBAnssi Hannula
Replace uses of atoi() with strtoll() when trying to read values into int64_t variables. Fixes Kodi trac #16926: http://trac.kodi.tv/ticket/16926
2016-09-24avformat/hlsenc: refine EXT-X-BYTERANGE support for segmentsSteven Liu
refine EXT-X-BYTERANGE tag, the spec link: https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.2.2 the apple doc: https://developer.apple.com/library/ios/technotes/tn2288/_index.html# //apple_ref/doc/uid/DTS40012238-CH1-BYTE_RANGE_SUPPORT_FOR_SEGMENTS command line: ./ffmpeg -i ~/Movies/objectC/a.mp4 -c copy -f hls -hls_time 7 -hls_list_size 0 -hls_segment_size 2500000 -t 40 output-test.m3u8 output: localhost:ffmpeg liuqi$ ll *.ts ;cat output-test.m3u8 -rw-r--r-- 1 liuqi staff 2792176 9 12 14:44 output-test0.ts -rw-r--r-- 1 liuqi staff 3112528 9 12 14:44 output-test3.ts -rw-r--r-- 1 liuqi staff 3377420 9 12 14:44 output-test6.ts -rw-r--r-- 1 liuqi staff 1228016 9 12 14:44 output-test7.ts #EXTM3U #EXT-X-VERSION:4 #EXT-X-TARGETDURATION:10 #EXT-X-MEDIA-SEQUENCE:0 #EXTINF:9.021000, #EXT-X-BYTERANGE:1334988@0 output-test0.ts #EXTINF:3.000000, #EXT-X-BYTERANGE:721356@1334988 output-test0.ts #EXTINF:3.000000, #EXT-X-BYTERANGE:735832@2056344 output-test0.ts #EXTINF:6.000000, #EXT-X-BYTERANGE:1645940@0 output-test3.ts #EXTINF:3.000000, #EXT-X-BYTERANGE:715152@1645940 output-test3.ts #EXTINF:3.000000, #EXT-X-BYTERANGE:751436@2361092 output-test3.ts #EXTINF:9.000000, #EXT-X-BYTERANGE:3377420@0 output-test6.ts #EXTINF:3.960000, #EXT-X-BYTERANGE:1228016@0 output-test7.ts #EXT-X-ENDLIST localhost:ffmpeg liuqi$ ticket-id: #5839 Signed-off-by: Steven Liu <lingjiujianke@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-23avformat/utils: avoid using marked decoders for probingTimo Rothenpieler
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-23avformat/movenc: write pasp atom even if sar.num == sar.denPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-22avformat/utils: force native h264 decoder for probingTimo Rothenpieler
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-21ffmpeg: switch to codecparClément Bœsch
This commit is largely based on commit 15e84ed3 from Anton Khirnov <anton@khirnov.net> which was previously skipped in bbf5ef9d. There are still a bunch of things raising codecpar related warnings that need fixing, such as: - the use of codec->debug in the interactive debug mode - read_ffserver_streams(): it's probably broken now but there is no test - lowres stuff - codec copy apparently required by bitstream filters The matroska references are updated because they now properly forward the field_order (previously unknown, now progressive). Thanks to James Almer for fixing a bunch of FATE issues in this commit. Signed-off-by: Clément Bœsch <clement@stupeflix.com> Signed-off-by: James Almer <jamrial@gmail.com>
2016-09-21avformat/mxfdec: use first valid sourceclip found if material track has ↵Mark Reid
multiple components This commit fixes a issue with mxf footage having multiple components on a material track. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-19lavf/mov: Add support for edit list parsing.Sasi Inguva
Signed-off-by: Sasi Inguva <isasi@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-19lavf/utils: Support av_index_search_timestamp in case of AVIndexEntry with ↵Sasi Inguva
discarded packets. Signed-off-by: Sasi Inguva <isasi@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-19avformat/avframe.h: Add a flag in AVIndexEntry to discard frame after decoding.Sasi Inguva
Signed-off-by: Sasi Inguva <isasi@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
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>