[FFmpeg-trac] #1970(FFserver:closed): ffserver ignores ffmpeg command line arguments

FFmpeg trac at avcodec.org
Mon Aug 5 09:11:39 CEST 2013


#1970: ffserver ignores ffmpeg command line arguments
------------------------------------+------------------------------------
             Reporter:  importinis  |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  important   |                Component:  FFserver
              Version:  git-master  |               Resolution:  fixed
             Keywords:  regression  |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by importinis):

 With new "fix" new have new bugs :) All ffserver params are ignored!

 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

 with this "fix" they all are ignored, I'm getting  errors:
 1. " 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
 "
 2. Preroll/StartSendOnKey doesnt work - audio starts immediately, but
 video appears after 5-15 seconds!

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1970#comment:22>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list