diff --git a/README.rst b/README.rst index dfa5b237..07996e70 100644 --- a/README.rst +++ b/README.rst @@ -241,7 +241,7 @@ Stream I/O >>> # process video 100 frames at a time and save output as a new video >>> # with the same frame rate >>> with ffmpegio.open('myvideo.mp4', 'rv', blocksize=100) as fin, - >>> ffmpegio.open('myoutput.mp4', 'wv', rate=fin.rate) as fout: + >>> ffmpegio.open('myoutput.mp4', 'wv', rate_in=fin.rate) as fout: >>> for frames in fin: >>> fout.write(myprocess(frames)) diff --git a/docsrc/index.rst b/docsrc/index.rst index 401c30f3..12ffae72 100644 --- a/docsrc/index.rst +++ b/docsrc/index.rst @@ -241,7 +241,7 @@ Stream I/O >>> # process video 100 frames at a time and save output as a new video >>> # with the same frame rate >>> with ffmpegio.open('myvideo.mp4', 'rv', blocksize=100) as fin, - >>> ffmpegio.open('myoutput.mp4', 'wv', rate=fin.rate) as fout: + >>> ffmpegio.open('myoutput.mp4', 'wv', rate_in=fin.rate) as fout: >>> for frames in fin: >>> fout.write(myprocess(frames))