#
Raw Input Opts File for Video/Audio

Raw video is not affected by decoding on read in. This makes it very attractive to provide raw image data for editing and rendering media. A wide variety of raw formats are available via the ffmpeg file interface. To load media in a raw format, select try ffmpeg first and create an accompanying opts file. The opts files must be in the same directory as your media, with the same base name, and the .opts extension. The opts file contents should reflect your video setup. An example follows:

    # Video file name:    /tmp/buddy.mov
    # Opts file name:     /tmp/buddy.opts
    # Contents of opts file:

    format=rawvideo
    codec=rawvideo
    video_size=352x240
    pixel_format=yuv420p
    duration=90.25