summaryrefslogtreecommitdiff
path: root/ivfenc.c
AgeCommit message (Collapse)Author
2020-02-05Let SimpleEncode be able to output bitstreamangiebird
Add outfile_path to SimpleEncode() with default value NULL. The encoder will only output bitstream when outfile_path is set. Change-Id: Ic68e5358ea454358c510bb0ae214f4201cb3db39
2016-07-19top-level: apply clang-formatclang-format
Change-Id: Ibd5395bf8956a80f7c0df4d539c7a42c927a1fc7
2014-01-29Changing ivf_write_frame_header() function signature.Dmitry Kovalev
Replacing vpx_codec_cx_pkt argument with two separate pts and frame_size. Change-Id: I7b37e379ee71342520cf08f03acfb4b499b2cbe4
2014-01-15Cleaning up ivf-related code.Dmitry Kovalev
Change-Id: I80f3e197562f3424acddbff786a5d0d209fbd666
2014-01-13Removing pass number check from ivf_write_file_header().Dmitry Kovalev
Putting appropriate check to open_output_file() and close_output_file(). Before that the output file has been opened twice during two-pass encoding. Change-Id: I290cecf00513d6a31ca3f45bc20fef7efcb10190
2013-11-15vpx[dec|enc]: Extract IVF support from the apps.Tom Finegan
- Move IVF reading support into ivfdec.c and ivfdec.h - Move IVF writing support into ivfenc.c and ivfenc.h - Removed IVF writing code from the SVC example in favor of ivfenc. Change-Id: I70adf6240d0320fdd232d8546ed573f0f68dd793
2010-10-25rename ivf{enc,dec} to vpx{enc,dec}John Koleszar
The new WebM output support should be preferred to IVF, but we can't change the default behavior of the ivf* tools. There are a few other default behaviors for these tools that are counterintuitive for historical reasons, and changing the binary name provides the opportunity to clean those up as well. This patch takes the first step by renaming the binaries. Change-Id: I647008ae37cc352dd27ec1da7ed13489e0609b24
2010-10-25ivfenc: webm output supportJohn Koleszar
This patch adds the --webm option, to allow the creation of WebM streams without having to remux ivf into webm. Change-Id: Ief93c114a6913c55a04cf51bce38f594372d0ad0
2010-10-25Fixed the timebase parameter of ivfenc.Frank Galligan
Ivfenc will use timebase if it is set. If it is not set ivfenc will still double the timebase so altref frames will have a unique pts. Patch Set #3: Use integer math to generate source pts. Added a framerate parameter. Increased the default timebase to milliseconds to remove the *2 everywhere. Change-Id: I8d25b5b2cb26deef7eb72d74b5f76c98cafaf4db
2010-10-11Remove ivfenc usage message leading underscoresJohn Koleszar
An earlier automatic transform changed eg '\nOptions' to '\n_options' which is incorrect in these printfs. Fix these. Change-Id: I7e0f37931ef82b79fadddd7058ce0df5572e2ca1
2010-09-09Use WebM in copyright notice for consistencyJohn Koleszar
Changes 'The VP8 project' to 'The WebM project', for consistency with other webmproject.org repositories. Fixes issue #97. Change-Id: I37c13ed5fbdb9d334ceef71c6350e9febed9bbba
2010-08-27Fix two-pass framrate for Y4M input.Timothy B. Terriberry
The timebase was being set to the value in the Y4M file on each pass, but only doubled to account for the altref placement on the first past. This avoids reseting it on the second pass. Change-Id: Ie342639bad1ffe9c2214fbbaaded72cfed835b42
2010-06-24ivfenc: correct fixed kf interval, --disable-kfJohn Koleszar
ivfenc was setting the VPX_KF_FIXED mode when the kf_min_dist and kf_max_dist parameters were set to each other. This flag actually means that keyframes are disabled, and that name was deprecated to avoid confusion such as this. Instead, a new option is exposed for setting the VPX_KF_DISABLED mode, and the intervals are passed through to the codec, which will do automatic placement at a fixed interval as expected. Change-Id: I15abbec5936f39d5901878b4bc154372fbc23a43
2010-06-16Avoid encoding garbage when ivfenc encounters an unsupported Y4M file.Tom Finegan
This change stops ivfenc from treating unsupported Y4M files as raw input. For example, if given an interlaced Y4M file, ivfenc treated the input as if it were raw data because the unsupported Y4M file case previously fell through without being handled. Change-Id: I06caa50f3448e6388741a77346daaebf77c277e1
2010-06-14ivfenc: fix two-pass support of raw filesJohn Koleszar
Commit 3245d46 "ivfenc: support reading/writing from a pipe" broke support for two pass encodes of raw files when done in two invocations of ivfenc. The raw image was only set up on pass 0, which was never hit when running with --pass=2 --passes=2. Change-Id: I6a9858be1a8998d5bd45331123b46b1baa05b379
2010-06-11ivfenc: support reading/writing from a pipeJohn Koleszar
Use - for the filename to use stdin/stdout. Update to avoid opening the file multiple times. Change-Id: I356356fa16bb334d4b22abc531dc03c0d95917a3
2010-06-11Change preprocessor check to _WIN32Frank Galligan
Change-Id: I841dc0b8ebb150ac998f4076c148d7bb187e4301
2010-06-04LICENSE: update with latest textJohn Koleszar
Change-Id: Ieebea089095d9073b3a94932791099f614ce120c
2010-06-02Add support for reading YUV4MPEG2 files to ivfenc.Timothy B. Terriberry
A large collection of example files may be found at http://media.xiph.org/video/derf/ This also fixes a bug in ivfenc for uncompressed IVF input, which previously appeared not to skip past the file header the second time it opened the file. I don't actually have an IVF file with which to test this fix, however. Change-Id: Id69a1e11a3fa16c4a4fa8944e880bcea090cd52b
2010-05-27Fix stats format and correct data size and bit rate outputYaowu Xu
Change-ID: I093abe6094589a0d73f6ca85b825678a19e68285
2010-05-24vpx_image: add VPX_ prefix to PLANE_*John Koleszar
The PLANE_{PACKED,Y,U,V,ALPHA} macros should be renamed to be within the VPX_ namespace. Fixes #27
2010-05-24install includes in DIST_DIR/include/vpx, move vpx_codec/ to vpx/John Koleszar
This renames the vpx_codec/ directory to vpx/, to allow applications to more consistently reference these includes with the vpx/ prefix. This allows the includes to be installed in /usr/local/include/vpx rather than polluting the system includes directory with an excessive number of includes. Change-Id: I7b0652a20543d93f38f421c60b0bbccde4d61b4f
2010-05-21Put img_fmt in the vpx namespaceJames Zern
Avoid an potential name clashes and match other external types. s/IMG_FMT/VPX_$&/g s/img_fmt/vpx_$&/g Change-Id: Ia7ad5bbb6424416b37e71e5f5eb1eca31c3c707f
2010-05-21configure: remove HAVE_CONFIG_HJohn Koleszar
This doesn't play well with autotools, and the preprocessor magic is confusing and unhelpful in the vp8-only context. Change-Id: I2fcb57e6eb7876ecb58509da608dc21f26077ff1
2010-05-18Initial WebM releaseJohn Koleszar