<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>

CC BY-SA 3.0
2018-01-29T05:27:59.070Z
2018-01-29T05:27:59.070Z
Gyan
<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>

CC BY-SA 3.0
2018-01-29T03:34:33.290Z
What have you tried so far? Have you tried doing a stream copy? Are you getting an error?
Michael Liebman
CC BY-SA 3.0
2018-01-29T04:30:30.650Z
@MichaelLiebman ffmpeg -i test.264 -c:v copy http://<ffserverUrl>  still re-encode the video
resfds
CC BY-SA 3.0
2018-02-12T10:58:09.090Z
@resfds - if you have related follow-up questions, please ask them as new questions, not in comments.
Dr Mayhem
<ffmpeg><encoding><streaming>
stream with ffserver without encode-decode
resfds
# 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://`

`ffmpeg -i test.264 -c:v copy http://` 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**: @MichaelLiebman 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.


---

