x264enc encoding parameters

Ian Davidson id012c3076 at blueyonder.co.uk
Wed Mar 29 11:46:06 UTC 2017


Hi Nicolas,

I totally understand why you say that.  However, I think that the 
dimensions I have specified can be achieved by negotiation with the 
source, so I suspect that the scaling is actually doing nothing.  In 
that case, would the sequence of steps make a difference?

Ian


On 27/03/2017 21:34, Nicolas Dufresne wrote:
> Le lundi 27 mars 2017 à 20:55 +0100, Ian Davidson a écrit :
>> I have added the deinterlace as shown below - is that the best place?
>> v4l2src ! queue ! videorate ! videoscale ! video/x-
>> raw,format=(string)I420,width=720,height=576,framerate=(fraction)25/1
>> ! queue ! videoconvert ! deinterlace ! videoconvert ! x264enc !
>> mp4mux ! filesink location=foo/bar
> It's most likely a better idea to deinterlace before scaling.
>
> Nicolas



More information about the gstreamer-devel mailing list