x264enc encoding parameters

Ian Davidson id012c3076 at blueyonder.co.uk
Mon Mar 27 19:55:45 UTC 2017


Thanks for your help guys.

I am stuck with the camera system I have, so I have added deinterlace 
and I think that the resulting video looks better.

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

Ian


On 25/03/2017 08:36, Peter Maersk-Moller wrote:
> Hi Ian.
>
> You are recording in interlaced mode. Don't ... unless you display it 
> on an old interlaced CRT that actually syncs to the same interlace 
> frequency the material was recorded with .... and very few people does 
> that any more ... anywhere ... except perhaps north korea
>
> Perhaps the camera being the source for the v4l2src is "interlaced 
> only" and then you should get another camera.
> You need a progressive as opposed to interlaced camera.
> Perhaps the camera can do both interlaced and progressive, but not 
> progressive at the geometry and framerate you have chosen. Try to list 
> the camera (v4l2 device) capabolities. Use v4l2ctl or something.
>
> Alternatively you can try to add the 'deinterlace' gstreamer module to 
> your encoding pipeline, but it can only do so much for you. It will 
> never be perfect.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170327/7aa704b4/attachment-0001.html>


More information about the gstreamer-devel mailing list