[FFmpeg-user] ffserver only returns 404 not found.

dE de.techno at gmail.com
Tue Mar 29 06:41:50 CEST 2016


In the feed section there's no way to specify a file for reading (as 
opposed to caching).

The only way to do it is via File in the Stream section.

    Set the filename of the pre-recorded input file to stream.

However setting Format to rtp worked (I remember setting it last time 
though).

I'm getting this in the SDP --

v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Title
c=IN IP4 0.0.0.0
t=0 0
a=tool:libavformat 56.40.101
m=video 0 RTP/AVP 32
b=AS:5000
a=control:streamid=0
m=audio 0 RTP/AVP 97
b=AS:448
a=control:streamid=1
m=application 0 RTP/AVP 98
a=control:streamid=2

Codec information is missing. I'll see to this.

On 03/28/16 18:24, Jimmy Asher wrote:
> On 3/27/16, 11:41 AM, "ffmpeg-user on behalf of dE" <ffmpeg-user-bounces at ffmpeg.org on behalf of de.techno at gmail.com> wrote:
>
>> Hello everyone,
>>      I'm trying to setup a rtsp server by streaming a file. ffserver.conf --
>>
>> RTSPPort 8554
>> RTSPBindAddress 0.0.0.0
>> CustomLog -
>>
>> <Stream test1>
>>      File /home/de/large/media/test_media/VTS_01_7_mpeg_dvd.VOB
>> #    Format mpeg
>> #    VideoBitRate 5000
>> #    VideoFrameRate 25
>> #    VideoSize 1920x1080
>>      NoAudio
>> #    Format rtsp
>>      ACL ALLOW 0.0.0.0
>>      ACL ALLOW localhost
>>      ACL ALLOW 127.0.0.1
>> </Stream>
>
> I”m pretty sure you need to always specify the format (rtp) and the feed name needs to match an existing feed section
>
> "Format Set the format of the output stream. Must be the name of a format recognized by FFmpeg. If set to ‘status’, it is treated as a status stream."
>
> See https://ffmpeg.org/ffserver.html for FFSERVER documentation
>
>
> See https://ffmpeg.org/sample.html for RTSP examples.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list