Body: <pre><code>ffmpeg -re -i [FILENAME] -codec copy -f flv rtmp://a.rtmp.youtube.com/live2/[STREAM KEY]
  </code></pre>
  <p>I'm able to use this command to stream a video file to YouTube Live without re-encoding. If FFmpeg crashes for some reason, how do I automatically resume streaming the video from where it left off?</p>
  <p>Also, is there any GUI software that can do this? As far as I can tell, there is no passthrough option in OBS.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-10-09T18:34:24.780Z
Comments.Text: with the flag `-progress progress.txt` in ffmpeg you can track the progress of the video transformation.
Comments.UserDisplayName: Nemesius
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-10-15T07:43:33.900Z
Comments.Text: @Nemesius Are you saying that the only way to resume FFmpeg where it left off is to use a script that reads from a progress file and runs FFmpeg again with `-ss [last out_time]`? I was hoping that FFmpeg had a built-in feature to do this.
Comments.UserDisplayName: Ash Raj
Tags: <ffmpeg><streaming><youtube><live><rtmp>
Title: Streaming video file to YouTube Live with FFmpeg - Automatically resume after crash?
UserDisplayName: Ash Raj
ThreadText: # Streaming video file to YouTube Live with FFmpeg - Automatically resume after crash?
  
  (Asked by: username_0 on 2020-10-04)
  
  ```
  ffmpeg -re -i [FILENAME] -codec copy -f flv rtmp://a.rtmp.youtube.com/live2/[STREAM KEY]
  
  ```
  
  I'm able to use this command to stream a video file to YouTube Live without re-encoding. If FFmpeg crashes for some reason, how do I automatically resume streaming the video from where it left off?
  
  Also, is there any GUI software that can do this? As far as I can tell, there is no passthrough option in OBS.
  
  **Tags:** ffmpeg, streaming, youtube, live, rtmp
  
  > **Comments:**
  > **username_1**: with the flag `-progress progress.txt` in ffmpeg you can track the progress of the video transformation.  
  > **username_0**: @username_1 Are you saying that the only way to resume FFmpeg where it left off is to use a script that reads from a progress file and runs FFmpeg again with `-ss [last out_time]`? I was hoping that FFmpeg had a built-in feature to do this.  
  
  ---
  
  ## 0 answers
  
  