Skip to content

Commit

Permalink
DOC: Update pyav.py (#1070)
Browse files Browse the repository at this point in the history
The documentation for init_video_stream suggests using "x264" but this results in in a no codec error. Replacing that with "libx264" works, so I think the documentation should be updated.
  • Loading branch information
cwood1967 committed Apr 8, 2024
1 parent 9d1bced commit 0bc584e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imageio/plugins/pyav.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ def init_video_stream(
Parameters
----------
codec : str
The codec to use, e.g. ``"x264"`` or ``"vp9"``.
The codec to use, e.g. ``"libx264"`` or ``"vp9"``.
fps : float
The desired framerate of the video stream (frames per second).
pixel_format : str
Expand Down

0 comments on commit 0bc584e

Please sign in to comment.