title: ffmpeg loop not working keeps dropping frames after first loop
body: <p>I did try out to make it work but got this error , i am new in this universe so i am asking for help. (drop frames after the first loop (as the timestamp will suddenly go back in time).)</p>
  
  <pre><code>[flv @ 0x117a2f0] Video codec rawvideo not compatible with flv
      Could not write header for output file #0 (incorrect codec parameters ?): Function not implemented
  </code></pre>
  
  <p>My code now as i try to loop it, it stops after first loop, drops the frames...</p>
  
  <pre><code>ffmpeg -f alsa -i default -f lavfi -re -fflags +genpts -i "movie=/home/pi/Documents/Youtube/video.mp4:loop=0, setpts=N/(FRAME_RATE*TB)" -c:v copy -c:a aac -f flv -max_muxing_queue_size 400 rtmp://a.rtmp.youtube.com/live2/pfjd-jhjs-k3td-XXXX
  </code></pre>
  
  <p>Code that i used before i tried to fix the loop issue but no other errors was:</p>
  
  <pre><code>ffmpeg -re -stream_loop -1 -f alsa -i default -i /home/pi/Documents/Youtube/video.mp4 -c:v copy -c:a aac -f flv -max_muxing_queue_size 400 rtmp://a.rtmp.youtube.com/live2/pfjd-jhjs-k3td-XXXX
  </code></pre>
  
  <p>Anyone can help me also to get it looping? PS: i am streaming the video file in a combo with the desktop audio (as i play songs in QMMP for kids (kids radio project))</p>
  
  <p>Thanks in advance!</p>