Hello,

I am trying to stream webm from ffserver. I am able to stream using rtsp from ffserver.
But am stuck trying to stream in webm format.
The feed to the server is from an android device using the javacv libraries.

I have compiled ffmpeg with ogg and vorbis libraries.

I get the following error when i hit the webm url:

Mon Sep  8 17:07:53 2014 192.168.4.91 - - [GET] "/test.webm HTTP/1.1" 200 63
Mon Sep 8 17:07:53 2014 [AVIOContext @ 0x9da70a0]Statistics: 4096 bytes read, 0 seeks Mon Sep 8 17:07:53 2014 [ffm @ 0x9dbbb40]Format ffm probed with size=2048 and score=101 Mon Sep 8 17:07:53 2014 [webm @ 0x9dbd38c]Codec for stream 0 does not use global headers but container format requires global headers Mon Sep 8 17:07:53 2014 [webm @ 0x9dbd38c]Codec for stream 1 does not use global headers but container format requires global headers
Mon Sep  8 17:07:53 2014 [webm @ 0x9dbd38c]Extradata corrupt.
Mon Sep 8 17:07:53 2014 Error writing output header for stream 'test.webm': Operation not permitted

Here are the build details:

ffserver version git-2014-08-26-c2c56d5 Copyright (c) 2000-2014 the FFmpeg developers built on Sep 8 2014 14:31:39 with gcc 4.8.3 (GCC) 20140624 (Red Hat 4.8.3-1)
flags:
 --extra-libs=-ldl --enable-gpl --enable-nonfree --enable-libfdk_aac
--enable-libvpx --enable-libx264 --enable-libvorbis

The ffserver.conf stream section
<Stream test.webm>
Format webm
Feed feed1.ffm

VideoCodec libvpx
VideoSize 320x176
VideoFrameRate 30
VideoBitRate 800
AVOptionVideo flags +global_header
AVOptionVideo cpu-used 0
AVOptionVideo qmin 10
AVOptionVideo qmax 42
AVOptionVideo quality good

AudioCodec libvorbis
AudioBitRate 24
AVOptionAudio flags +global_header
PreRoll 15
StartSendOnKey
</Stream>

Is it something that could be wrong on the client that feeds the ffserver.
I am setting the framesize as 176x144, the framerate as 30 and the avcodec as H264.

Thanks,
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to