Changeset 997509d in git


Ignore:
Timestamp:
08/01/14 01:06:02 (6 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
fa0246c
Parents:
710bd97
Message:

src/moviemaker.cc: Set rc_buffer_size to avoid warning from libav
when exporting MPEG.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r710bd97 r997509d  
     1Wed Jan 08 01:05:34 GMT 2014  Olly Betts <olly@survex.com>
     2
     3        * src/moviemaker.cc: Set rc_buffer_size to avoid warning from libav
     4          when exporting MPEG.
     5
    16Tue Jan 07 23:09:53 GMT 2014  Olly Betts <olly@survex.com>
    27
  • src/moviemaker.cc

    r710bd97 r997509d  
    190190    c->gop_size = 12; /* emit one intra frame every twelve frames at most */
    191191    c->pix_fmt = AV_PIX_FMT_YUV420P;
     192    c->rc_buffer_size = c->bit_rate * 4; // Enough for 4 seconds
    192193    // B frames are backwards predicted - they can improve compression,
    193194    // but may slow encoding and decoding.
Note: See TracChangeset for help on using the changeset viewer.