Opened 4 years ago

#3863 new defect

ffmpeg libx264 increases the bitrate

Reported by: b13-u Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

hello i have installed ffmpeg on ubuntu 14.04 x64 based on this tutorial :
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
didnt receved any error's during the installation,
when i use this config with ffserver to restream mumudvb into mpegts with h264 codec
the ffservers output has bitrate of 26000k - 30000k

Port 8888
BindAddress 0.0.0.0
MaxHTTPConnections 20000
MaxClients 10000
MaxBandwidth 1000000
CustomLog -
<Feed test1.ffm>
File /tmp/test1.ffm
FileMaxSize 100M
ACL allow 127.0.0.1
launch ffmpeg -i http://192.168.1.130:8081
</Feed>


#----------------------------------------------------------------
#
#
#
# ---------------------------- END OF FEEDS ----------------------
#
#
#
#-----------------------------------------------------------------


<Stream test1>
Feed test1.ffm
Format mpegts
AudioBitRate 64
AudioChannels 2
AudioSampleRate 44100
#AVOptionAudio flags +global_header
VideoBitRate 512
BitExact 512
#VideoBufferSize 400
VideoFrameRate 25
#VideoBitRateTolerance 100
VideoSize 720x576
VideoGopSize 12
AudioCodec aac
VideoCodec libx264
AVOptionVideo bsf h264_mp4toannexb
AVOptionVideo threads 0
AVOptionVideo threads_type frame
AVOptionVideo coder 0
AVOptionVideo bf 0
AVOptionVideo flags +loop
AVOptionVideo partitions +parti8x8+parti4x4+partp8x8+partb8x8
AVOptionVideo me_method hex
AVOptionVideo subq 7
AVOptionVideo me_range 16
AVOptionVideo g 250
AVOptionVideo keyint_min 10
AVOptionVideo sc_threshold 40
AVOptionVideo i_qfactor 0.71
AVOptionVideo b_strategy 1
AVOptionVideo qcomp 0.6
AVOptionVideo qmin 10
AVOptionVideo qmax 51
AVOptionVideo qdiff 4
AVOptionVideo refs 3
AVOptionVideo directpred 1
AVOptionVideo trellis 1
AVOptionVideo wpredp 0
#AVOptionVideo flags +global_header

StartSendOnKey
</Stream>


#----------------------------------------------


#-------------------------------------------------------
<Stream stat.html>
Format status

ACL allow 192.168.0.0 192.168.255.255
</Stream>

where is the problem ?

Change History (0)

Note: See TracTickets for help on using tickets.