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

FFmpeg trac at avcodec.org
Thu Dec 12 13:11:52 CET 2013


#3142: FFserver ignores encoding params in stream context
-------------------------------------+-------------------------------------
             Reporter:  importinis   |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  important    |                Component:  FFserver
              Version:  unspecified  |               Resolution:
             Keywords:               |  needs_more_info
             Blocking:               |               Blocked By:
Analyzed by developer:  1            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by importinis):

 Sorry for delay, please notice, that our ffmpeg versions different.


 ffserver.conf config:

 Port 5000
 BindAddress 0.0.0.0
 MaxHTTPConnections 100
 MaxClients 100
 MaxBandwidth 100000
 <Feed stream.ffm>
     File file.ffm
     FileMaxSize 10M
 </Feed>
 <Stream stream.flv>
     Feed stream.ffm
     Format flv
     StartSendOnKey
 </Stream>



 I run:
 ffmpeg -override_ffserver -i udp://233.239.0.3:1234  -flags:v
 +global_header  -flags:a +global_header -c:v libx264 -b:v 1024k -s 640x480
 -r 25 -c:a libfaac -ac 2 -ar 44100 -b:a 128k -f ffm
 http://localhost:5000/stream.ffm


 Then I run ffprobe:

 ffprobe http://localhost:5000/stream.flv -show_entries
 packet=codec_type,flags,pts -of compact -read_intervals "%+#10"
 -select_streams v
 ffprobe version N-58502-g738ebb4 Copyright (c) 2007-2013 the FFmpeg
 developers
   built on Dec 12 2013 10:24:32 with gcc 4.4.5 (Debian 4.4.5-8)
   configuration: --prefix=/usr/ffmpeg --enable-nonfree --enable-gpl
 --enable-runtime-cpudetect --disable-devices --enable-libmp3lame --enable-
 libfaac --enable-libx264 --disable-protocols --enable-protocol=http
 --enable-protocol=udp --enable-protocol=file --enable-protocol=pipe
 --enable-protocol=hls
   libavutil      52. 55.100 / 52. 55.100
   libavcodec     55. 44.100 / 55. 44.100
   libavformat    55. 21.102 / 55. 21.102
   libavdevice    55.  5.102 / 55.  5.102
   libavfilter     3. 91.100 /  3. 91.100
   libswscale      2.  5.101 /  2.  5.101
   libswresample   0. 17.104 /  0. 17.104
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, flv, from 'http://localhost:5000/stream.flv':
   Metadata:
     author          :
     comment         :
     copyright       :
     title           :
     encoder         : Lavf55.21.102
   Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: h264 (High), yuv420p, 640x480 [SAR 1:1 DAR 4:3],
 1024 kb/s, 25 tbr, 1k tbn, 50 tbc
     Stream #0:1: Audio: aac, 44100 Hz, stereo, fltp, 128 kb/s
 packet|codec_type=video|pts=64|flags=K
 packet|codec_type=video|pts=184|flags=K
 packet|codec_type=video|pts=144|flags=K
 packet|codec_type=video|pts=264|flags=K
 packet|codec_type=video|pts=224|flags=K
 packet|codec_type=video|pts=344|flags=K
 packet|codec_type=video|pts=304|flags=K
 packet|codec_type=video|pts=424|flags=K
 packet|codec_type=video|pts=384|flags=K
 packet|codec_type=video|pts=504|flags=K


 If I try to watch with vlc or web flash player - I get audio immediately,
 but clear video after 5-7sek. With older versions (for example:
 N-51689-g93e8fcb) no such problem.

 Thank you

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


More information about the FFmpeg-trac mailing list