venc=x264 parameters for live h264 encoding (webcast)

About encoding, codec settings, muxers and filter usage
dvbm
New Cone
New Cone
Posts: 2
Joined: 29 Sep 2005 11:01

venc=x264 parameters for live h264 encoding (webcast)

Postby dvbm » 29 Sep 2005 11:51

lo,

wanted to have some advices on setting up parameters to encode live stream with the x264 encoder..

all i could find in the documentation is the following (venc option of the transcode module) :

Code: Select all

Item options are: keyint=<number of frames> allows to set the maximal amount of frames between 2 key frames, idrint=<number of frames> allows to set the maximal amount of frames between 2 IDR frames, bframes=<amount of frames> allows to set the amount of B frames between an I and a P frame, qp=<quantizer parameter> allows to specify a fixed quantizer (between 1 and 51), qp-max=<quantizer parameter> allows to set the maximum value for the quantizer, qp-min=<quantizer parameter> allows to set the minimum value for the quantizer, cabac enables the CABAC (Context-Adaptive Binary Arithmetic Coding) algorithm (slower, but enhances quality), loopfilter enables deblocking loop filter, analyse enables the analyze mode, frameref=<amount of frames> allows to set the number of previous frames used as predictors, scenecut=<sensibility< allows to control how aggressively the encoder should insert extra I-frame, on scene change.
not sure what are the default values, but my goal would be to sped up x264 encoding in order to make it work on my somehow very weak athlon XP1700

the source stream is an MPEG2 PS 720x576 PAL 25fps..

the transcoding already works "fine" with some glitches from time to tie when my CPU can't follow x264 requirements..

so what kind of parameters should i set to get a faster encoding ?
i don't mind if it reduces the overall encoding quality, my guess is that it'll still be much better than any of the other codecs including mp4v and DIV3..

in case it helps you answering my question, my output stream could have the following specs :
vb 400-500kbps
width 320
height 240
fps 10 to 15

i'm also trying to cut parts of the input video in order to produce a 16/9 output format using the croptop and cropbottom but couldn't manage to get something working yet, somehow my output video is always 4/3 even though i specify width and height matching a 16/9 format..

thx for your help

.dvbm

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 5 guests