[x264-devel] half & half (BugMaster)

mm1201 at mail.ustc.edu.cn mm1201 at mail.ustc.edu.cn
Tue Nov 18 04:16:37 CET 2014


I find the plane[] and i_stride[] is automatically set in x264_picture_alloc,and it is finally sovled by noting "fmt.pix.filed = V4L2_FIELD_INTERLACED",but there are two other questions:
       1.When I use "ultrafast" and "zerolatency" in x264_param_default_preset,it takes 10s to process 100 frames which is 320*240,even longer 800*480
       2.So far the image is made of left part and right part,there is a clear "line" between them and the left part is between 1/3 and 1/4 of the whole width
       thanks. 


> 
> Send x264-devel mailing list submissions to
> 	x264-devel at videolan.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://mailman.videolan.org/listinfo/x264-devel
> or, via email, send a message with subject or body 'help' to
> 	x264-devel-request at videolan.org
> 
> You can reach the person managing the list at
> 	x264-devel-owner at videolan.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of x264-devel digest..."
> 
> 
> Today's Topics:
> 
>    1. half & half (mm1201 at mail.ustc.edu.cn)
>    2. Re: half & half (BugMaster)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 17 Nov 2014 10:21:35 +0800 (GMT+08:00)
> From: mm1201 at mail.ustc.edu.cn
> To: x264-devel <x264-devel at videolan.org>
> Subject: [x264-devel] half & half
> Message-ID:
> 	<76d29c12.2a0d3.149bb8e2681.Coremail.mm1201 at mail.ustc.edu.cn>
> Content-Type: text/plain; charset="utf-8"
> 
> Now I assume that the x264 apis can't be wrong,so what can cause half of the image all black or green and the other half showing the squeezed original image?e.g. some inappropriate parameters set before calling x264 apis?
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20141117/5c4e483b/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 17 Nov 2014 08:55:13 +0300
> From: BugMaster <BugMaster at narod.ru>
> To: Mailing list for x264 developers <x264-devel at videolan.org>
> Subject: Re: [x264-devel] half & half
> Message-ID: <581739863.20141117085513 at narod.ru>
> Content-Type: text/plain; charset=us-ascii
> 
> On Mon, 17 Nov 2014 10:21:35 +0800 (GMT+08:00), mm1201 at mail.ustc.edu.cn wrote:
> > Now I assume that the x264 apis can't be wrong,so what can cause
> > half of the image all black or green and the other half showing the
> > squeezed original image?e.g. some inappropriate parameters set before calling x264 apis?
> 
> Make sure that you correctly made colorspace conversion (if you do
> any) and that pointers (plane[]/i_stride[]) in "pic_in.img" you send
> to x264_encoder_encode are set correctly. For testing you can dump
> uncompressed YUV from this pointers to file and watch it in standalone
> raw YUV viewer.
> 
> 
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> https://mailman.videolan.org/listinfo/x264-devel
> 
> 
> ------------------------------
> 
> End of x264-devel Digest, Vol 90, Issue 13
> ******************************************



More information about the x264-devel mailing list