title: Hello, I have some problems with ffmpeg.concat, there are logs
body: <p>Log:</p>
  <pre><code>[swscaler @ 0x27d3c10] [swscaler @ 0x2886fe0] deprecated pixel format used, make sure you did set range correctly
  [swscaler @ 0x27d3c10] [swscaler @ 0x283be10] deprecated pixel format used, make sure you did set range correctly
  Output #0, avi, to '/home/pi/Desktop/VIDEOREG/2022:05:12_09:51:57:856_v1.avi':
    Metadata:
      software        : Lavf58.45.100
      ISFT            : Lavf59.20.101
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p(tv, bt470bg/unknown/unknown, progressive), 1080x720, q=2-31, 200 kb/s, 25 fps, 25&gt;
      Metadata:
        encoder         : Lavc59.25.100 mpeg4
      Side data:
        cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
  Output #0, avi, to '/home/pi/Desktop/VIDEOREG/2022:05:12_09:51:57:911_v3.avi':
    Metadata:
      software        : Lavf58.45.100
      ISFT            : Lavf59.20.101
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p(tv, bt470bg/unknown/unknown, progressive), 1080x720, q=2-31, 200 kb/s, 25 fps, 25&gt;
      Metadata:
        encoder         : Lavc59.25.100 mpeg4
      Side data:
        cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
  Output #0, avi, to '/home/pi/Desktop/VIDEOREG/2022:05:12_09:51:57:890_v2.avi':
    Metadata:
      software        : Lavf58.45.100
      ISFT            : Lavf59.20.101
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p(tv, bt470bg/unknown/unknown, progressive), 1080x720, q=2-31, 200 kb/s, 25 fps, 25&gt;
      Metadata:
        encoder         : Lavc59.25.100 mpeg4
      Side data:
        cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
  [mjpeg @ 0x27aaa10] mjpeg_decode_dc: bad vlc: 0:0 (0x27b7c20)trate=8122.4kbits/s speed=1.33e+04x
  [mjpeg @ 0x27aaa10] error dc
  [mjpeg @ 0x27aaa10] error y=18 x=37
  [mjpeg @ 0x27aaa10] EOI missing, emulating
  [mjpeg @ 0x29551c0] error count: 65
  [mjpeg @ 0x29551c0] error y=2 x=17
  ###############################################
  </code></pre>
  <p>My part of code for concatenation audio and video:</p>
  <pre><code>def video_with_audio(number, filename, video):
          ms = datetime.today().strftime('%f') + '0000'
          ms = ms[:3]
          name = datetime.today().strftime('%Y:%m:%d_%H:%M:%S:')
          title_video = f'/home/pi/Desktop/VIDEOREG/{name}{ms}{number}.avi'
          print(title_video)
          os.system(&quot;ffmpeg -i &quot; + video + &quot; -vf setpts=PTS*2 &quot; + title_video)
          ####################################################
          ms_1 = datetime.today().strftime('%f') + '0000'
          ms_1 = ms_1[:3]
          name_1 = datetime.today().strftime('%Y:%m:%d_%H:%M:%S:')
          title_video = f'/home/pi/Desktop/VIDEOREG/{name}{ms}{number}.avi'
          title_video_1 = f'/home/pi/Desktop/VIDEOREG/{name_1}{ms_1}{number}.avi'
          input_audio = ffmpeg.input(filename)
          input_video = ffmpeg.input(title_video)
          print(title_video_1)
          ffmpeg.concat(input_video, input_audio, v=1, a=1).output(title_video_1).run()
  </code></pre>
  <p>There are slight delays during video recording, because I print information from sensors on video, can this affect the concatenation of video with audio? (Saved video is accelerated? that's why at the beginning I used slowing video down.)</p>