[FFmpeg-trac] #3142(undetermined:new): FFserver ignores encoding params in stream context

FFmpeg trac at avcodec.org
Fri Nov 15 12:12:48 CET 2013


#3142: FFserver ignores encoding params in stream context
-------------------------------------+-------------------------------------
             Reporter:  importinis   |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 This bug occurs after http://trac.ffmpeg.org/ticket/1970 bug "fix" :)

 I have tested fixed version d1e8d4b055bd9a79baa15ca80d9a1476d2a8ccdb and
 noticed that ffserver ignores encoding params in stream context(like:
 AVOptionVideo , AVOptionAudio , StartSendOnKey, PreRoll)



 Here is my simple ffserver.conf

 Port 9898
 BindAddress? 0.0.0.0
 <Feed stream.ffm>

     Launch ffmpeg -i udp://239.3.3.3:6666 -override_ffserver -vf yadif
 -codec:v libx264 -c:a libfaac -bsf:a aac_adtstoasc
     File /tmp/t.ffm
     FileMaxSize? 2M

 </Feed>

 <Stream live.flv>

     Feed stream.ffm
     Preroll 2
     StartSendOnKey?
     AVOptionVideo flags +global_header
     AVOptionAudio flags +global_header

 </Stream>

 In ffserver.conf in section <stream live.flv> I always used
 Preroll
 StartSendOnKey?
 AVOptionVideo flags +global_header
 AVOptionAudio flags +global_header

  they all are ignored, I'm getting errors:

     " Mon Aug 5 10:01:44 2013 Codec for stream 0 does not use global
 headers but container format requires global headers

 Mon Aug 5 10:01:44 2013 Codec for stream 1 does not use global headers but
 container format requires global headers
 "

     Preroll/StartSendOnKey? doesnt work - audio starts immediately, but
 video appears after 5-15 seconds!

 I hope it will not take another 8 months to fix it :)

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


More information about the FFmpeg-trac mailing list