


Empty string is where filename would go.

path : The path to your video file as a string : /videos/myvideo.mp4 color : The pixel format you are requesting from FFmpeg : By default yuv420p (recommended) bytesperpixel : The number of bytes (not bits) that your pixel format uses to store a pixel : By default 1. Libavformat usually takes in a file name and reads media directly from the filesystem. VideoStream (path, color, bytesperpixel).
