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.

Segmentation fault just hitting stream URL

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

Segmentation fault just hitting stream URL

Postby carrbrpoa » Wed Nov 30, 2016 7:05 pm

Hello,

I'm trying to setup an environment to transform live RTSP camera videos into something playable in a browser.
So, I've started ffserver from this Docker image (https ://github.com/urlgrey/docker-tomcat-ffmpeg) and followed example from (http: //ffmpeg.gusari.org/viewtopic.php?f=12&t=2160).
The problem is that no matter how I hit (ffprobe, html with video tag, ...) http ://192.168.99.10:8090/feed.webm (which is my Docker's ffserver address), ffserver just stop, emitting the message "Segmentation fault". Clear like that.

The /etc/ffserver.conf:
Code: Select all
HTTPPort 8090                      # Port to bind the server to
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 10000             # Maximum bandwidth per client
                               # set this high enough to exceed stream bitrate
CustomLog /tmp/feedlog.log

<Feed feed.ffm>
     File /tmp/feed.ffm
     FileMaxSize 10M
</Feed>

<Stream feed.webm>
     Format webm
     Feed feed.ffm
     NoAudio
     VideoCodec libvpx
     StartSendOnKey
     VideoBufferSize 1024
     AVOptionVideo flags +global_header
</Stream>

<Stream status.html>            # Server status URL
   Format status
   # Only allow local people to get the status
</Stream>

<Redirect index.html>    # Just an URL redirect for index
   # Redirect index.html to the appropriate site
   URL url/
</Redirect>


The messages of ffserver start:
Code: Select all
ffserver version git-2016-11-22-81147b5 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis -
-enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
  libavutil      55. 41.101 / 55. 41.101
  libavcodec     57. 66.107 / 57. 66.107
  libavformat    57. 58.100 / 57. 58.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 67.100 /  6. 67.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
/etc/ffserver.conf:22: Setting default value for video bit rate = 64000. Use NoDefaults to disable it.
/etc/ffserver.conf:22: Setting default value for video frame rate = 5. Use NoDefaults to disable it.
/etc/ffserver.conf:22: Setting default value for video size = 160x128. Use NoDefaults to disable it.
/etc/ffserver.conf:22: Setting default value for video bit rate tolerance = 16000. Use NoDefaults to disable it.
/etc/ffserver.conf:22: Setting default value for video rate control equation = tex^qComp. Use NoDefaults to disable it.
/etc/ffserver.conf:22: Setting default value for video max rate = 128000. Use NoDefaults to disable it.


Do you have any ideas about what is wrong or a way to troubleshoot it?
Thanks in advance!
carrbrpoa
 
Posts: 2
Joined: Wed Nov 30, 2016 1:37 pm

Re: Segmentation fault just hitting stream URL

Postby llogan » Thu Dec 08, 2016 8:29 pm

ffserver got a bunch of updates lately as a straw-man argument so it wouldn't be removed from FFmpeg as was planned. Update and try again. Who knows if it will work: nobody actually knows how to use it because nobody actually uses it.
Get an answer more quickly by providing your actual ffmpeg command and the complete console output. Use the code button to format your command and output or your question will be ignored.
llogan
 
Posts: 2339
Joined: Fri Jan 25, 2013 9:47 pm
Location: Alaska


Return to ffserver

Who is online

Users browsing this forum: No registered users and 1 guest