- Aug 31, 2017
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
- Aug 25, 2017
-
-
pkviet authored
The -map option allows for a trailing ? so that an error is not thrown if the input stream does not exist. This capability is extended to the map_channel option. This allows a ffmpeg command not to break if an input channel does not exist, which can be of use (for instance, scripts processing audio channels with sources having unset number of audio channels). Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Jul 18, 2017
-
-
Clément Bœsch authored
-
Clément Bœsch authored
-
- Jul 07, 2017
-
-
Derek Buitenhuis authored
Signed-off-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- Jun 27, 2017
-
-
wm4 authored
This also adds support to avconv (which is trivial due to the new hwaccel API being generic enough). The new decoder setup code in dxva2.c is significantly based on work by Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites. Merges Libav commit f9e7a2f9. Also adds untested VP9 support. The check for DXVA2 COBJs is removed. Just update your MinGW to something newer than a 5 year old release. Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
- Jun 14, 2017
-
-
Mark Thompson authored
This only supports one device globally, but more can be used by passing them with input streams in hw_frames_ctx or by deriving new devices inside a filter graph with hwmap. (cherry picked from commit e669db76)
-
Mark Thompson authored
(cherry picked from commit aa6b2e08)
-
Mark Thompson authored
(cherry picked from commit 62a1ef9f)
-
Mark Thompson authored
Not yet enabled for any hwaccels. (cherry picked from commit d2e6dd32) (cherry picked from commit 9203aac2)
-
- May 24, 2017
-
-
James Almer authored
The offending bitstream filter was fixed, so this is no longer needed. Signed-off-by:
James Almer <jamrial@gmail.com>
-
- May 10, 2017
-
-
erankor authored
add a per-stream option for setting the encoder timebase. the following values are allowed: 0 - for video, use 1/frame_rate, for audio use 1/sample_rate (this is the default) -1 - match the input timebase (when possible) >0 - set the timebase to provided number Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- May 04, 2017
-
-
wm4 authored
Fixes e.g.: ffmpeg -f lavfi -i testsrc -f lavfi -i testsrc -filter_complex "[0:v][1:v]psnr[out]" -f null none
-
- Mar 27, 2017
-
-
wm4 authored
The old "API" that signaled rotation as a metadata value has been replaced by DISPLAYMATRIX side data quite a while ago. There is no reason to make muxers/demuxers/API users support both. In addition, the metadata API is dangerous, as user tags could "leak" into it, creating unintended features or bugs. ffmpeg CLI has to be updated to use the new API. In particular, we must not allow to leak the "rotate" tag into the muxer. Some muxers will catch this properly (like mov), but others (like mkv) can add it as generic tag. Note applications, which use libavformat and assume the old rotate API, will interpret such "rotate" user tags as rotate metadata (which it is not), and incorrectly rotate the video. The ffmpeg/ffplay tools drop the use of the old API for muxing and demuxing, as all muxers/demuxers support the new API. This will mean that the tools will not mistakenly interpret per-track "rotate" user tags as rotate metadata. It will _not_ be treated as regression. Unfortunately, hacks have been added, that allow the user to override rotation by setting metadata explicitly, e.g. via -metadata:s:v:0 rotate=0 See references to trac #4560. fate-filter-meta-4560-rotate0 tests this. It's easier to adjust the hack for supporting it than arguing for its removal, so ffmpeg CLI now explicitly catches this case, and essentially replaces the "rotate" value with a display matrix side data. (It would be easier for both user and implementation to create an explicit option for rotation.) When the code under FF_API_OLD_ROTATE_API is disabled, one FATE reference file has to be updated (because "rotate" is not exported anymore). Tested-by:
Michael Niedermayer <michael@niedermayer.cc> Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Mar 14, 2017
-
-
wm4 authored
Preparation for potentially disabling merged side data by default in the libs. Do this in particular because it affects fate tests. The changed tests either reflect added packet side data, or the changed packet size due to merged side data removal reducing the packet size.
-
- Mar 03, 2017
-
-
Anton Khirnov authored
This makes sure the actual stream parameters are used, which is important mainly for hardware decoding+filtering cases, which would previously require various weird workarounds to handle the fact that a fake software graph has to be constructed, but never used. This should also improve behaviour in rare cases where avformat_find_stream_info() does not provide accurate information. This merges Libav commit a3a0230a. It was previously skipped. The code in flush_encoders() which sets up a "fake" format wasn't in Libav. I'm not sure if it's a good idea, but it tends to give behavior closer to the old one in certain corner cases. The vp8-size-change gives different result, because now the size of the first frame is used. libavformat reported the size of the largest frame for some reason. The exr tests now use the sample aspect ratio of the first frame. For some reason libavformat determines 0/1 as aspect ratio, while the decoder returns the correct one. The ffm and mxf tests change the field_order values. I'm assuming another libavformat/decoding mismatch. Signed-off-by:
wm4 <nfxjfg@googlemail.com>
-
- Jan 27, 2017
-
-
Sasi Inguva authored
Signed-off-by:
Sasi Inguva <isasi@google.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Jan 25, 2017
-
-
Sasi Inguva authored
Signed-off-by:
Sasi Inguva <isasi@google.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Jan 14, 2017
-
-
Michael Bradshaw authored
Signed-off-by:
Michael Bradshaw <mjbshaw@google.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Jan 11, 2017
-
-
Zhengxu authored
Reason: For some cases, such as 2 or more graphics cards existing, the default command line may fail because ffmpeg does not open the correct device node: ffmpeg -hwaccel qsv -c:v h264_qsv -i test.264 -c:v h264_qsv out.264 Let user choose the proper one by running like below: ffmpeg -hwaccel qsv -qsv_device /dev/dri/renderD128 -c:v h264_qsv \ -i test.264 -c:v h264_qsv out.264 Signed-off-by:
ChaoX A Liu <chaox.a.liu@gmail.com> Signed-off-by:
Huang, Zhengxu <zhengxu.maxwell@gmail.com> Signed-off-by:
Andrew, Zhang <huazh407@gmail.com> Signed-off-by:
Mark Thompson <sw@jkqxz.net>
-
- Dec 05, 2016
-
-
Michael Niedermayer authored
This should make it less ambigous that these are URLs Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Nov 28, 2016
-
-
Michael Niedermayer authored
This fixes some differences between runs of the ffserver tests (in my local tree 2 runs gave the same result with this but i had other changes too) Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Nov 24, 2016
-
-
Paul B Mahol authored
Move global thread variables to better place. Use correct variable for simple and complex filtergraphs. This makes number of threads set per filter work again. Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- Nov 06, 2016
-
-
DeHackEd authored
Enables specifying how many threads are available to each filtergraph. Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Oct 06, 2016
-
-
rcombs authored
-
- Sep 27, 2016
-
-
James Almer authored
This commit is based on commit 35c85806 from Anton Khirnov <anton@khirnov.net> which was skipped in b8945c4e. The avcodec_copy_context() call in the encode path is left in place for now as AVStream.codec is apparently still required even after porting ffmpeg to the new bsf API. Tested-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- Sep 25, 2016
-
-
James Almer authored
Increase the nb_bitstream_filters value as soon as the context is allocated, so if option parsing fails the last context is actually freed. Reviewed-by:
Josh de Kock <josh@itanimul.li> Signed-off-by:
James Almer <jamrial@gmail.com>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Sep 24, 2016
-
-
Clément Bœsch authored
This commit is initially largely based on commit 4426540f from Anton Khirnov <anton@khirnov.net> and two following fixes (80fb19bc and fe7b21c8) which were previously skipped respectively in 98e3153f, c9ee36e6, and 7fe7cdca. mpeg4-bsf-unpack-bframes FATE reference is updated because the bsf filter now actually fixes the extradata (mpeg4_unpack_bframes_init() changing one byte is now honored on the output extradata). The FATE references for remove_extra change because the packet flags were wrong and the keyframes weren't marked, causing the bsf relying on these proprieties to not actually work as intended. The following was fixed by James Almer: The filter option arguments are now also parsed correctly. A hack to propagate extradata changed by bitstream filters after the first av_bsf_receive_packet() call is added to maintain the current behavior. This was previously done by av_bitstream_filter_filter() and is needed for the aac_adtstoasc bsf. The exit_on_error was not being checked anymore, and led to an exit error in the last frame of h264_mp4toannexb test. Restoring this behaviour prevents erroring out. The test is still changed as a result due to the badly filtered frame now not being written after the failure. Signed-off-by:
Clément Bœsch <u@pkh.me> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- Sep 21, 2016
-
-
Clément Bœsch authored
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>
-
- Sep 07, 2016
-
-
Carl Eugen Hoyos authored
Fixes Debian bug 785690.
-
- Aug 04, 2016
-
-
Timothy Gu authored
These two fields are already initialized to the same values in new_attachment_stream().
-
- Jul 20, 2016
-
-
Jun Zhao authored
Delete duplicate “hwaccel_output_format” option. Signed-off-by:
Jun Zhao <mypopydev@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Jun 10, 2016
-
-
Timo Rothenpieler authored
-
- Mar 03, 2016
-
-
Marton Balint authored
Every date parsing routine now uses av_parse_time which handles 'now' and provides greater precision as well. This change also enables the segmenter muxer to set the proper 'now' creation time at the beginning of each segment. Signed-off-by:
Marton Balint <cus@passwd.hu>
-
- Feb 08, 2016
-
-
Michael Niedermayer authored
Fixes CID1351356, CID1351357 Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Jan 26, 2016
-
-
Vittorio Gambaletta (VittGam) authored
Signed-off-by:
Vittorio Gambaletta <ffmpeg-dev@vittgam.net> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Vittorio Gambaletta (VittGam) authored
ffmpeg_opt: Move the 'process manually set programs' block above 'process manually set metadata' in open_output_file(). Signed-off-by:
Vittorio Gambaletta <ffmpeg-dev@vittgam.net> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Dec 28, 2015
-
-
rcombs authored
-
- Dec 16, 2015
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-