Answers.Body: <p>FFmpeg, by default, uses ffserver's conf file to set encoding parameters. 
  Add <code>-override_ffserver</code> to the ffmpeg command to prevent that.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-29T05:27:59.070Z
Answers.LastActivityDate: 2018-01-29T05:27:59.070Z
Answers.UserDisplayName: Gyan
Body: <p>I have static file on my disk I want to stream it with ffserver .</p>
  
  <p>The problem is that ffserver is decode and encode my file.</p>
  
  <p>I know how to pass decode and encode when I save stream to file <code>ffmpeg-i http://.... -c:v copy test.avi</code>.</p>
  
  <p>How can I do that when I stream with ffserver with command <code>ffmpeg -i test.avi http://&lt;ffserverUrl&gt;</code></p>
  
  <p><code>ffmpeg -i test.264 -c:v copy http://&lt;ffserverUrl&gt;</code> still re-encode the video</p>
  
  <p>I know that ffserver is not recommended but I need this option please</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-01-29T03:34:33.290Z
Comments.Text: What have you tried so far? Have you tried doing a stream copy? Are you getting an error?
Comments.UserDisplayName: Michael Liebman
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-01-29T04:30:30.650Z
Comments.Text: @MichaelLiebman ffmpeg -i test.264 -c:v copy http://<ffserverUrl>  still re-encode the video
Comments.UserDisplayName: resfds
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-02-12T10:58:09.090Z
Comments.Text: @resfds - if you have related follow-up questions, please ask them as new questions, not in comments.
Comments.UserDisplayName: Dr Mayhem
Tags: <ffmpeg><encoding><streaming>
Title: stream with ffserver without encode-decode
UserDisplayName: resfds
ThreadText: # stream with ffserver without encode-decode
  
  (Asked by: username_0 on 2018-01-28)
  
  I have static file on my disk I want to stream it with ffserver .
  
  The problem is that ffserver is decode and encode my file.
  
  I know how to pass decode and encode when I save stream to file `ffmpeg-i http://.... -c:v copy test.avi`.
  
  How can I do that when I stream with ffserver with command `ffmpeg -i test.avi http://<ffserverUrl>`
  
  `ffmpeg -i test.264 -c:v copy http://<ffserverUrl>` still re-encode the video
  
  I know that ffserver is not recommended but I need this option please
  
  **Tags:** ffmpeg, encoding, streaming
  
  > **Comments:**
  > **username_1**: What have you tried so far? Have you tried doing a stream copy? Are you getting an error?  
  > **username_0**: @username_1 ffmpeg -i test.264 -c:v copy http://<ffserverUrl>  still re-encode the video  
  > **username_2**: @username_0 - if you have related follow-up questions, please ask them as new questions, not in comments.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2018-01-29. Score: 3
  
  FFmpeg, by default, uses ffserver's conf file to set encoding parameters.
  Add `-override_ffserver` to the ffmpeg command to prevent that.
  
  
  ---
  
  