Estou tentando transmitir uma transmissão ao vivo da webcam IP ASF para um ffserver para gerar um formato OGG. O servidor é iniciado com sucesso, mas os comandos ffserver usados para alimentar o ffserver falham com uma falha de segmento.
Fluxo de entrada
$ ffprobe http://account:password@webcam/videostream.asf
Input #0, asf, from 'http://account:password@webcam/videostream.asf':
Duration: N/A, start: 0.000000, bitrate: 32 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p(pc), 640x480, 25 tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: adpcm_ima_wav ([17][0][0][0] / 0x0011), 8000 Hz, 1 channels, s16p, 32 kb/s
configuração do ffserver
minha configuração do ffserver é:
Port 8091
RTSPPort 554
BindAddress 192.168.1.62
MaxHTTPConnections 1000
MaxClients 100
MaxBandwidth 1000
CustomLog -
<Feed webcam.ffm>
File /tmp/webcam.ffm
FileMaxSize 500M
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255
</Feed>
<Stream webcam.ogg>
Feed webcam.ffm
InputFormat asf
Format ogg
Preroll 15
VideoCodec libtheora
VideoFrameRate 7
VideoSize 640x480
PixelFormat yuv420p
Qscale 7
VideoBitRate 256
VideoBufferSize 40
AudioCodec libvorbis
AudioBitRate 64
StartSendOnKey
</Stream>
<Stream status.html>
Format status
# Only allow local people to get the status
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255
</Stream>
feed ffmpeg
Eu corro o seguinte comando que falha
$ ffmpeg -i http://account:password@webcam/videostream.asf http://ffserver_ip:port/webcam.ffm
Input #0, asf, from 'http://account:password@webcam/videostream.asf':
Duration: N/A, start: 0.000000, bitrate: 32 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p(pc), 640x480, 25 tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: adpcm_ima_wav ([17][0][0][0] / 0x0011), 8000 Hz, mono, s16p, 32 kb/s
[swscaler @ 0x36a80c0] deprecated pixel format used, make sure you did set range correctly
Segmentation fault
Obrigado pela sua ajuda