title: Using FFmpeg, How to convert an frame image sequence to video(video codec : dvvideo)?
body: <p>I'm working on an image processing project.</p>
  <p>The project proceeds as follows:</p>
  <p>Input Video -&gt; frame Sequence -&gt; (Processing) -&gt; Output Video</p>
  <p>I want to create the output video with the same specifications as the input video.</p>
  <p>The specs of the input video we use are:</p>
  <pre><code>- Size : 1280x1080, Codec : dvvideo, pixel_fmt : yuv422
  </code></pre>
  <p>But I am struggling with the following error:</p>
  <pre><code>Duration: 00:00:03.20, start: 0.000000, bitrate: N/A
      Stream #0:0: Video: png, rgb24(pc), 1280x1080 [SAR 3:2 DAR 16:9], 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
  Stream mapping:
    Stream #0:0 -&gt; #0:0 (png (native) -&gt; dvvideo (native))
  Press [q] to stop, [?] for help
  [dvvideo @ 0x55b965b745c0] DVCPRO HD encoding is not supported.
  [dvvideo @ 0x55b965451780] ff_frame_thread_encoder_init failed
  Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
  Conversion failed!
  </code></pre>
  <p>The code is below. (subprocess in python)</p>
  <pre><code>ffmpeg -y -f image2 -r &quot;{fps}&quot; -i {input_img_root} -s 1280:1080 -b:v {bit_rate}  -vcodec dvvideo -pix_fmt yuv422p &quot;{output}&quot;
  </code></pre>
  <p>(fps and bitrate are taken from the input video. and input_img_root and output are paths.)</p>
  <p>I've been trying for several days, but it doesn't work.</p>
  <p>If you know any way to make a new video while maintaining the video specifications (Especially dvvideo codec)(not using ffmpeg), it would be nice to share it.</p>