Body: <p>I want to take a live HD-SDI signal being captured by a capture card and encode it in real time to X.264.</p>
  
  <p>What happens when the input resolution suddenly changes? eg, from HD SDI 1080/50i to HD SDI 720/59p, etc.</p>
  
  <p>Does the encoder handle that gracefully? Or would there be some artifacts/disturbance in the output? (or worse?)</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-09T05:20:05.550Z
Comments.Text: Haven't come across that scenario but you could apply a scale, deinterlace and fps filter so that libx264 is processing frames with the same properties.
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-09T09:40:19.253Z
Comments.Text: Thanks for the comment.  I don't think that will work well. The encoded content written to disk must later be played back out an HD-SDI card at the original resolution and frame rate (of course at a lower quality). Modifying the frame rate on encode will introduce some unacceptable artifacts.
Comments.UserDisplayName: Danny
Tags: <ffmpeg><libx264>
Title: Real time ffmpeg / x264 encoder behavior when input resolution suddenly changes
UserDisplayName: Danny
ThreadText: # Real time ffmpeg / x264 encoder behavior when input resolution suddenly changes
  
  (Asked by: username_0 on 2016-02-09)
  
  I want to take a live HD-SDI signal being captured by a capture card and encode it in real time to X.264.
  
  What happens when the input resolution suddenly changes? eg, from HD SDI 1080/50i to HD SDI 720/59p, etc.
  
  Does the encoder handle that gracefully? Or would there be some artifacts/disturbance in the output? (or worse?)
  
  **Tags:** ffmpeg, libx264
  
  > **Comments:**
  > **username_1**: Haven't come across that scenario but you could apply a scale, deinterlace and fps filter so that libx264 is processing frames with the same properties.  
  > **username_0**: Thanks for the comment.  I don't think that will work well. The encoded content written to disk must later be played back out an HD-SDI card at the original resolution and frame rate (of course at a lower quality). Modifying the frame rate on encode will introduce some unacceptable artifacts.  
  
  ---
  
  ## 0 answers
  
  