summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAge
* lavfi/atempo: raise max tempo limit (v2)Pavel Koshevoy2018-06-14
|
* doc/formats: get fflags values up-to-dateGyan Doshi2018-06-14
|
* doc/devices: order alphabetically and add missing v4l2 outdevLou Logan2018-06-13
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* avformat: deprecate unused MP4A_LATM flagGyan Doshi2018-06-13
| | | | | | | A generic lavf flag for AAC LATM packetization for the RTP muxer was added in ef409645f0 and then made inert 20 days later in 0832122880 when a private muxer option was added and the generic flag no longer read.
* avdevice/decklink_dec: capture timecode to metadata when requestedJon Morley2018-06-13
| | | | | | | | | | If the user provides a valid timecode_format look for timecode of that format in the capture and if found store it on the video avstream's metadata. Slightly modified by Marton Balint to capture per-frame timecode as well. Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec/libzvbi-teletextdec: add support for selecting subtitle pages onlyMarton Balint2018-06-10
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* doc/filters: change subtitles example to hint at correct color syntaxGyan Doshi2018-06-09
| | | | libass changed their color syntax in 2015 to TBGR
* ffmpeg: mark sseof as an input-only optionGyan Doshi2018-06-09
|
* doc/general.texi: clarify FDK-AAC licensing & usabilityGyan Doshi2018-06-07
| | | | Mnetion it can be used to decode as well.
* doc/filters: mention required compile options for some filtersLou Logan2018-06-04
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* avfilter/drawtext: present 'hms' formatted 'pts' in 24h formatVishwanath Dixit2018-06-04
| | | | | | | | | | | | HMS is formatted as HH:MM:SS.mmm, but, HH part is not limited to 24 hours. For example, the the drawn text may look like this: 243029:20:30.342. To present the timestamp in more readable and user friendly format, this patch provides an additional option to limit the hour part in the range 0-23. Note: Actually the above required format can be obtained with format options 'localtime' and 'gmtime', but, milliseconds part is not supported in those formats.
* doc/ffmpeg: rewrite Stream Selection chapterGyan Doshi2018-06-02
| | | | Flesh out with details and examples to show quirks and limitations.
* avfilter: add adeclick and adeclip audio filtersPaul B Mahol2018-06-02
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* doc/ffmpeg: remove non-existent vdt optionGyan Doshi2018-06-01
|
* avfilter/af_aiir: draw IR frequency responsePaul B Mahol2018-05-30
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_afir: draw IR frequency responsePaul B Mahol2018-05-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* doc/ffmpeg: update disposition valuesGyan Doshi2018-05-29
| | | | Thumbnail example added. Avoid transcoding in older examples.
* avformat/movenc: creating producer reference time (PRFT) boxVishwanath Dixit2018-05-29
| | | | | | | | | The producer reference time box supplies relative wall-clock times at which movie fragments, or files containing movie fragments (such as segments) were produced. The box is mainly useful in live streaming use cases. A media player can parse the box and utilize the time fields to measure and improve the latency during real time playout.
* avformat/dashenc: Added option for Segment file formatKarthick Jeyapal2018-05-28
| | | | | | | | Right now segment file format is chosen to be either mp4 or webm based on the codec format. This patch makes that choice configurable by the user, instead of being decided by the muxer. Also with this change per-stream choice segment file format(based on codec type) is not possible. All the output audio and video streams should be in the same file format.
* doc/codecs: Remove option sc_factor.Carl Eugen Hoyos2018-05-24
| | | | | Fixes ticket #7228. The option was disabled since 4a62f477 and removed in 6e69525e.
* doc: remove AVStream private fields from APIchangesAman Gupta2018-05-21
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avdevice/sdl2 : add option to define if the window quit action is availableMartin Vignali2018-05-19
|
* avformat/mpegts: add merge_pmt_versions optionAman Gupta2018-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new optional flag makes it easier to deal with mpegts samples where the PMT is updated and elementary streams move to different PIDs in the middle of playback. Previously, new AVStreams were created per PID, and it was up to the user to figure out which streams had migrated to a new PID (by iterating over the list of AVProgram and making guesses), and switch seamlessly to the new AVStream during playback. Transcoding or remuxing these streams with ffmpeg on the CLI was also quite painful, and the user would need to extract each set of PIDs into a separate file and then stitch them back together. With this new option, the mpegts demuxer will automatically detect PMT changes and feed data from the new PID to the original AVStream that was created for the orignal PID. For mpegts samples with stream_identifier_descriptor available, the unique ID is used to merge PIDs together. If the stream id is not available, the demuxer attempts to map PIDs based on their position within the PMT. With this change, I am able to playback and transcode/remux these two samples which previously caused issues: https://tmm1.s3.amazonaws.com/pmt-version-change.ts https://kuroko.fushizen.eu/videos/pid_switch_sample.ts I also have another longer sample in which the PMT changes repeatedly and ES streams move to different pids three times during playback: https://tmm1.s3.amazonaws.com/multiple-pmt-change.ts Demuxing this sample with the new option shows several new log messages as the PMT changes are handled: [mpegts] detected PMT change (program=1, version=3/6, pcr_pid=0xf98/0xfb7) [mpegts] re-using existing video stream 0 (pid=0xf98) for new pid=0xfb7 [mpegts] re-using existing audio stream 1 (pid=0xf99) for new pid=0xfb8 [mpegts] re-using existing audio stream 2 (pid=0xf9a) for new pid=0xfb9 [mpegts] detected PMT change (program=1, version=6/3, pcr_pid=0xfb7/0xf98) [mpegts] detected PMT change (program=1, version=3/4, pcr_pid=0xf98/0xf9b) [mpegts] re-using existing video stream 0 (pid=0xf98) for new pid=0xf9b [mpegts] re-using existing audio stream 1 (pid=0xf99) for new pid=0xf9c [mpegts] re-using existing audio stream 2 (pid=0xf9a) for new pid=0xf9d [mpegts] detected PMT change (program=1, version=4/5, pcr_pid=0xf9b/0xfa9) [mpegts] re-using existing video stream 0 (pid=0xf98) for new pid=0xfa9 [mpegts] re-using existing audio stream 1 (pid=0xf99) for new pid=0xfaa [mpegts] re-using existing audio stream 2 (pid=0xf9a) for new pid=0xfab [mpegts] detected PMT change (program=1, version=5/6, pcr_pid=0xfa9/0xfb7) Signed-off-by: Aman Gupta <aman@tmm1.net>
* avformat: add fields to AVProgram/AVStream for PMT change trackingAman Gupta2018-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These fields will allow the mpegts demuxer to expose details about the PMT/program which created the AVProgram and its AVStreams. In mpegts, a PMT which advertises streams has a version number which can be incremented at any time. When the version changes, the pids which correspond to each of it's streams can also change. Since ffmpeg creates a new AVStream per pid by default, an API user needs the ability to (a) detect when the PMT changed, and (b) tell which AVStream were added to replace earlier streams. This has been a long-standing issue with ffmpeg's handling of mpegts streams with PMT changes, and I found two related patches in the wild that attempt to solve the same problem: The first is in MythTV's ffmpeg fork, where they added a void (*streams_changed)(void*); to AVFormatContext and call it from their fork of the mpegts demuxer whenever the PMT changes. The second was proposed by XBMC in https://ffmpeg.org/pipermail/ffmpeg-devel/2012-December/135036.html, where they created a new AVMEDIA_TYPE_DATA stream with id=0 and attempted to send packets to it whenever the PMT changed. Signed-off-by: Aman Gupta <aman@tmm1.net>
* avformat/mpegts: add skip_unknown_pmt optionAman Gupta2018-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some filtered mpegts streams may erroneously include PMTs for programs that are not advertised in the PAT. This confuses ffmpeg and most players because multiple audio/video streams are created and it is unclear which ones actually contain data. See for example https://tmm1.s3.amazonaws.com/unknown-pmts.ts In this sample, the PAT advertises exactly one program. But the pid it points to for the program's PMT contains PMTs for other programs as well. This is because the broadcaster decided to re-use the same pid for multiple program PMTs. The hardware that filtered the original multi-program stream into a single-program stream did so by rewriting the PAT to contain only the program that was requested. But since it just passed through the PMT pid referenced in the PAT, multiple PMTs are still present for the other programs. Before: Input #0, mpegts, from 'unknown-pmts.ts': Duration: 00:00:10.11, start: 80741.189700, bitrate: 9655 kb/s Program 4 Stream #0:2[0x41]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, 11063 kb/s, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc Stream #0:3[0x44](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s Stream #0:4[0x45](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 128 kb/s No Program Stream #0:0[0x31]: Video: mpeg2video ([2][0][0][0] / 0x0002), none(tv), 90k tbr, 90k tbn, 90k tbc Stream #0:1[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 0 channels, fltp Stream #0:5[0x51]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn Stream #0:6[0x54](eng): Audio: ac3 (AC-3 / 0x332D4341), 0 channels With skip_unknown_pmt=1: Input #0, mpegts, from 'unknown-pmts.ts': Duration: 00:00:10.11, start: 80741.189700, bitrate: 9655 kb/s Program 4 Stream #0:0[0x41]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, 11063 kb/s, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc Stream #0:1[0x44](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s Stream #0:2[0x45](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 128 kb/s Signed-off-by: Aman Gupta <aman@tmm1.net>
* avfilter/vsrc_testsrc: add pal75bars and pal100bars video filter sourcesTobias Rapp2018-05-18
| | | | | | | Generates color bar test patterns based on EBU PAL recommendations. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* doc/developer: update style guidelines to include for loops with declarationsRostislav Pehlivanov2018-05-18
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* configure: error out on unsupported MSVC versionsRostislav Pehlivanov2018-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | The FATE tests for MSVC versions older than 2013 are untested in FATE and apparently are no longer supported. This commit makes the configure process error out in case an older version is used, and suggests to use a supported version of MSVC to compile. This also changes the documentation to reflect this. As discussed on IRC: 2018-05-12 19:45:16 jamrial then again, most of those were for old msvc, and i think we're not supporting versions older than 2013 (first one c99 compliant) anymore 2018-05-12 19:45:43 +JEEB yea, I think 2013 update 2 is needed 22:53 <@atomnuker> nevcairiel: which commit broke/unsupported support for msvc 2013? 23:23 <@atomnuker> okay, it was JEEB 23:25 <+JEEB> which was for 2012 and older 23:25 <+JEEB> and IIRC we no longer test those in FATE so that was my assumption 23:26 <+JEEB> 2013 is when MS got trolled enough to actually update their C part 23:26 <+JEEB> aand actually advertised FFmpeg support 23:26 <+JEEB> (although it was semi-failing until VS2013 update 1 or 2) Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* avformat/mpegts: tag video streams with still imagesAman Gupta2018-05-17
| | | | | | | | | | | | Parses the video_stream_descriptor (H.222 2.6.2) to look for the still_picture_flag. This is exposed to the user via a new AV_DISPOSITION_STILL_IMAGE. See for example https://tmm1.s3.amazonaws.com/music-choice.ts, whose video stream only updates every ~6 seconds. Signed-off-by: Aman Gupta <aman@tmm1.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: add aderivative and aintegral filterPaul B Mahol2018-05-16
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* doc/examples: add missing ignore filesZhao Zhili2018-05-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* examples/filtering_video: fix memory leakZhao Zhili2018-05-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* examples/filtering_video: add missing headersZhao Zhili2018-05-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* examples/filtering_video: drop an always true conditionZhao Zhili2018-05-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/dashenc: configuring container format optionsVishwanath Dixit2018-05-15
|
* avformat/dashenc: Add documentation for http method optionKarthick Jeyapal2018-05-14
|
* doc: fix incorrect reference to xsd_compliant optionAman Gupta2018-05-12
| | | | reported by Mindless` on IRC
* avfilter: add fftdnoiz filterPaul B Mahol2018-05-10
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avutil/hwcontext_cuda: add CUstream in cuda hwctxTimo Rothenpieler2018-05-10
|
* avcodec/libzvbi-teletextdec: allow -1 subtitle duration and make it the defaultMarton Balint2018-05-06
| | | | | | | Most decoders (pgssubdec, ccaption_dec) are using -1 or UINT32_MAX for a subtitle event which should be cleared at the next event. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_edgedetect: add planes optionPaul B Mahol2018-05-04
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_edgedetect: add canny modePaul B Mahol2018-05-04
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolution: add column/vertical modePaul B Mahol2018-05-04
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_amplify: add more options for finer filteringPaul B Mahol2018-05-04
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolution: add horizontal/row modePaul B Mahol2018-05-03
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavc: Add VP9 metadata bitstream filterMark Thompson2018-05-02
| | | | Can adjust the colour information.
* lavc: Add coded bitstream read/write support for VP9Mark Thompson2018-05-02
|
* avutil/pixdesc: add AV_PIX_FMT_FLAG_ALPHA to AV_PIX_FMT_PAL8Marton Balint2018-04-30
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* doc/filters: add tmix examplesPaul B Mahol2018-04-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_mix: make setting weights more user friendlyPaul B Mahol2018-04-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>