I want to transfer mp4, and for that I read about ffserver.
Therefore, I search and read the ffserver documentation, but still I can not transfer a simple file.
For this, I did this:
1-A win 8 and the last VLC. 2-A Ubuntu 13 with the latest ffmpeg package.
3-A ffserver.conf file saved in / etc / and copied from http://ffmpeg.org/sample.html (I just copy the text to a new file). <w> 4-Run this command: ffserver -f /etc/ffconfig.conf and this is the result:
avserver version 0.8.13-6:0.8.13-0ubuntu0.13.10.1, Copyright (c) 2000-2014 the Libav developers built on Jul 15 2014 13:53:49 with gcc 4.8.1 Tue Feb 10 07:29:07 2015 AVserver started.
5-Check http: // localhost: 8090 / stat.html and server status is OK. It shows me 4 streams: test1.mpg, test.asf, stat.html, index.html.
6-Run this command: ffmpeg -i test.mp4 http://localhost:8090/feed1.ffm , and this is the result:
ffmpeg version 0.8.13-6:0.8.13-0ubuntu0.13.10.1, Copyright (c) 2000-2014 the Libav developers built on Jul 15 2014 13:53:49 with gcc 4.8.1 *** THIS PROGRAM IS DEPRECATED *** This program is only provided for compatibility and will be removed in a future release. Please use avconv instead. Input
7-I look at the error, and I can not find why this is happening and where I am wrong!
So far I have read many examples and ffserver tutorials, but most of them focus on real-time streaming, but I just want to transfer some mp4 files.
EDIT:
I installed the real ffmpeg as this link: https://askubuntu.com/questions/373322/how-to-replace-avconv-with-the-real-ffmpeg-and-have-it-work-right , but the same error (just change ppa to ppa:mc3man/trusty-media for the latest version):
pp@ubuntu :~$ ffmpeg -i big.mp4 http://localhost:8090/feed1.ffm ffmpeg version 0.8.13-6:0.8.13-0ubuntu0.13.10.1, Copyright (c) 2000-2014 the Libav developers built on Jul 15 2014 13:53:49 with gcc 4.8.1 *** THIS PROGRAM IS DEPRECATED *** This program is only provided for compatibility and will be removed in a future release. Please use avconv instead. Input
Can someone give me the exact commands that I have to execute for the test?
(I know this seems like a novice problem, but I read the document and check everything as I can, but still no luck)