1. 21 Sep, 2009 5 commits
    • Fiona Glaser's avatar
      Fix integer overflow in 2-pass VBV · 9e6650e9
      Fiona Glaser authored
      Bug caused slight undersizing in 2-pass mode in some cases.
      9e6650e9
    • Fiona Glaser's avatar
      Fix bug with various bizarre commandline combinations and mbtree · c4c49802
      Fiona Glaser authored
      Second pass would have mbtree on even though the first pass didn't (and thus encoding would immediately fail).
      c4c49802
    • Fiona Glaser's avatar
      Add intra prediction modes to output stats · bbf573c7
      Fiona Glaser authored
      Also eliminate some NANs in stat output with intra-only encoding.
      Marginal speedup: disable stat calculation if log level is below X264_LOG_INFO.
      Various minor cosmetics.
      bbf573c7
    • Fiona Glaser's avatar
      Overhaul syntax in muxers.c/matroska.c · 90f12afa
      Fiona Glaser authored
      The inconsistent syntax in these files has finally come to an end.
      90f12afa
    • Fiona Glaser's avatar
      Major API change: encapsulate NALs within libx264 · 7a0fbed7
      Fiona Glaser authored
      libx264 now returns NAL units instead of raw data.  x264_nal_encode is no longer a public function.
      See x264.h for full documentation of changes.
      New parameter: b_annexb, on by default.  If disabled, startcodes are replaced by sizes as in mp4.
      x264's VBV now works on a NAL level, taking into account escape codes.
      VBV will also take into account the bit cost of SPS/PPS, but only if b_repeat_headers is set.
      Add an overhead tracking system to VBV to better predict the constant overhead of frames (headers, NALU overhead, etc).
      7a0fbed7
  2. 14 Sep, 2009 4 commits
  3. 13 Sep, 2009 2 commits
  4. 09 Sep, 2009 1 commit
  5. 07 Sep, 2009 1 commit
    • Fiona Glaser's avatar
      Improve x264 help · 02e662e1
      Fiona Glaser authored
      Now has three help options: --help, --longhelp, and --fullhelp.
      --help only shows the most basic options; most users should not need more than these.
      Add usage examples.
      Fix typo in a comment.
      02e662e1
  6. 06 Sep, 2009 3 commits
  7. 02 Sep, 2009 4 commits
    • David Conrad's avatar
      Compile fixes for pre-ARMv6T2 and/or PIC · de4c39b7
      David Conrad authored
      de4c39b7
    • Steven Walters's avatar
      Change priority handling on some OSs · bc120190
      Steven Walters authored
      Instead of setting the lookahead thread to max priority, lower all the other threads' priorities instead.
      This is particularly useful when the "max priority" is "realtime", as in Windows, which can cause some problems.
      bc120190
    • Steven Walters's avatar
      Threaded lookahead · 6940dcae
      Steven Walters authored
      Move lookahead into a separate thread, set to higher priority than the other threads, for optimal performance.
      Reduces the amount that lookahead bottlenecks encoding, greatly increasing performance with lookahead-intensive settings (e.g. b-adapt 2) on many-core CPUs.
      Buffer size can be controlled with --sync-lookahead, which defaults to auto (threads+bframes buffer size).
      Note that this buffer is separate from the rc-lookahead value.
      Note also that this does not split lookahead itself into multiple threads yet; this may be added in the future.
      Additionally, split frames into "fdec" and "fenc" frame types and keep the two separate.
      This split greatly reduces memory usage, which helps compensate for the larger lookahead size.
      Extremely special thanks to Michael Kazmier and Alex Giladi of Avail Media, the original authors of this patch.
      6940dcae
    • Fiona Glaser's avatar
      Force a link error in case of incompatible API · 7df6f5d6
      Fiona Glaser authored
      This is because the number of bug reports due to miscompiled ffmpeg builds is reaching critical mass.
      The name of x264_encoder_open is now #defined based on the current X264_BUILD.
      Note that this changes the calling convention required for dlopen, but not for ordinary calls to x264_encoder_open.
      7df6f5d6
  8. 01 Sep, 2009 1 commit
    • Fiona Glaser's avatar
      Get rid of "CBR" descriptor from qcomp · ec2f6f4f
      Fiona Glaser authored
      Though technically accurate in some vague way, I have never actually seen this
      option used correctly, rather it has been used by hundreds of people who can't
      read the documentation and believe that qcomp=0 is what should be used for CBR
      encoding.
      ec2f6f4f
  9. 31 Aug, 2009 3 commits
    • Loren Merritt's avatar
      Faster me=tesa · 4767b0e1
      Loren Merritt authored
      But it still spends all too much time in me_search_ref rather than asm.
      4767b0e1
    • Fiona Glaser's avatar
      Multi-slice encoding support · 4ccbb199
      Fiona Glaser authored
      Slicing support is available through three methods (which can be mixed):
      --slices sets a number of slices per frame and ensures rectangular slices (required for Blu-ray).  Overridden by either of the following options:
      --slice-max-mbs sets a maximum number of macroblocks per slice.
      --slice-max-size sets a maximum slice size, in bytes (includes NAL overhead).
      Implement macroblock re-encoding support to allow highly accurate slice size limitation.  Might be useful for other things in the future, too.
      4ccbb199
    • Fiona Glaser's avatar
      Fix a valgrind warning in b-adapt 2 · 57223706
      Fiona Glaser authored
      57223706
  10. 29 Aug, 2009 1 commit
  11. 28 Aug, 2009 3 commits
  12. 27 Aug, 2009 4 commits
  13. 25 Aug, 2009 1 commit
  14. 24 Aug, 2009 7 commits