[FFmpeg-trac] #3418(ffserver:new): Cannot stream h264 to libvorbis with ffserver

FFmpeg trac at avcodec.org
Tue Feb 25 22:20:20 CET 2014


#3418: Cannot stream h264 to libvorbis with ffserver
----------------------------------+----------------------------------
             Reporter:  pferland  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  ffserver  |                  Version:
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+----------------------------------
 When trying to stream a h264/libx264 to a ffserver feed that has an ogg
 stream fails with {{{Invalid data found when processing input}}}

 ffmpeg version: {{{ 2.1.4 }}}
 Built on: {{{ Feb 24 2014 14:55:01 with gcc 4.6 (Ubuntu/Linaro
 4.6.3-1ubuntu5) }}}

 ffmpeg config options: {{{ --prefix=/home/pferland/ffmpeg_build --extra-
 cflags=-I/home/pferland/ffmpeg_build/include --extra-
 ldflags=-L/home/pferland/ffmpeg_build/lib --bindir=/home/pferland/bin
 --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac
 --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab }}}
 libx264 version: {{{ master at git://git.videolan.org/x264.git }}}

 Command line for ffmpeg:
 {{{% ffmpeg -i input.mkv http://172.16.0.88:8091/feed1.ffm}}}


 ffmpeg source file headers:
 {{{
 Input #0, matroska,webm, from '/input.mkv':
   Metadata:
     creation_time   : 2013-10-14 21:32:51
   Duration: 00:43:24.06, start: 0.000000, bitrate: 3833 kb/s
     Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709), 1280x720,
 SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
     Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
 }}}

 ffserver config file:

 {{{
 Port 8091
 BindAddress 172.16.0.88

 MaxHTTPConnections 666
 MaxClients 666
 #MaxBandwidth 4000
 CustomLog /var/log/ffserver/access.log

 NoDaemon

 <Feed feed1.ffm>
   File /tmp/feed1.ffm
   FileMaxSize 8G
 </Feed>

 <Stream stream1.ogg>
    Feed feed1.ffm
    Format ogg

    VideoCodec libtheora
    VideoFrameRate 15
    VideoBitRate 500
    VideoSize 640x480
 #   VideoQMin 1
 #   VideoQMax 31
    VideoGopSize 12
    Preroll 0
    AVOptionVideo flags +global_header

    AudioCodec libvorbis
    AudioBitRate 64
    AudioChannels 1
    AudioSampleRate 44100
    AVOptionAudio flags +global_header
 </Stream>
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3418>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list