Home/News | About | Download | Documentation | Forum | Bug Reports | Contact | Donations | Consulting | Projects | Legal | Security | FATE

This forum has not been maintained for a long time and will probably get deleted in the near future.
For faster responses to your questions, please use StackOverflow instead and tag your questions with "FFmpeg".
If you need a backup of the posts from this forum, please contact me directly.

Problem configuring ffserver for RTSP with Audio

Discussions about problems encountered using ffserver.
Forum rules
FFmpeg is in a state of perpetual development and we do not currently have the person power to backport fixes to official releases. As such, if you wish to query or report a bug, you must try with the latest development branch revision of FFmpeg to confirm the issue still exists. The latest FFmpeg can be downloaded from here: http://www.ffmpeg.org/download.html

Problem configuring ffserver for RTSP with Audio

Postby shakirz1 » Fri Feb 24, 2017 6:10 am

Attached herewith my ffserver.conf it is working fine with FLV and RTSP (without audio) but when I enable audio codecs in RTSP its stop working.

My version is ffmpeg-3.2.4-32bit-static

is there issue in my configuration ?

HTTPPort 8090
RTSPPort 554
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog -

<Stream stat.html>
Format status
ACL allow localhost
ACL allow

<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 1G
ACL allow

<Stream live.flv>
Format flv
Feed feed1.ffm

VideoCodec libx264
VideoFrameRate 25
VideoBitRate 100
VideoSize 768x576
AVOptionVideo crf 23
AVOptionVideo preset medium
AVOptionVideo me_range 16

AudioCodec aac
Strict -2
AudioBitRate 128
AudioChannels 2
AudioSampleRate 44100
AVOptionAudio flags +global_header

<Stream live.sdp>
Format rtp
Feed feed1.ffm

VideoFrameRate 30
VideoSize 640x480
VideoBitRate 256
VideoBufferSize 40
VideoGopSize 30
VideoCodec libx264
AVOptionVideo crf 23
AVOptionVideo me_range 16
AVOptionVideo qdiff 4
AVOptionVideo qmin 10
AVOptionVideo qmax 51
AVOptionVideo flags +global_header

#AudioCodec aac
#Strict -2
#AudioBitRate 128
#AudioChannels 2
#AudioSampleRate 44100
#AVOptionAudio flags +global_header

Posts: 4
Joined: Mon Sep 29, 2014 7:36 am

Return to ffserver

Who is online

Users browsing this forum: No registered users and 3 guests