1

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

  • What have you tried so far? Have you tried doing a stream copy? Are you getting an error? – Michael Liebman Jan 29 '18 at 3:34
  • @MichaelLiebman ffmpeg -i test.264 -c:v copy http://<ffserverUrl> still re-encode the video – resfds Jan 29 '18 at 4:30
  • @resfds - if you have related follow-up questions, please ask them as new questions, not in comments. – Dr Mayhem Feb 12 '18 at 10:58
3

FFmpeg, by default, uses ffserver's conf file to set encoding parameters. Add -override_ffserver to the ffmpeg command to prevent that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.