Re: [Mlt-devel] [PATCH] use sse2 instruction for line compositing
2012/2/6 Maksym Veremeyenko ve...@m1stereo.tv: 04.02.12 22:25, Dan Dennedy написав(ла): 2012/2/3 Maksym Veremeyenkove...@m1stereo.tv: 02.02.12 18:57, Maksym Veremeyenko написав(ла): Hi, attached patch perform line compositing for SSE2+ARCH_X86_64 build. It works for a case where luma is not defined... updated patch attached If I am not mistaken, this change reduces precision to 8 pixels. The existing transition is already limited to a 2 pixel precision, which I am not happy about. I do not want to further reduce the precision, give different results depending on CPU, and effectively introduce a regression, as far as the user is concerned. Maybe we should limit it to only apply when width is a multiple of 8. Then, it would still be used for fullscreen composite on most profiles' resolution. not exactly... sse2 code process 8-pixels-groups, tail with 1...7 pixels processed by native code - that why i did not create a standalone function but putted code into existing composite_yuv code... ah, by native code I think you mean C, and if so, sorry, I overlooked that i am still testing it... may be you can take a look if all processed fine. I will give it another review and testing. Your other items are still on my todo list, but have been busy lately dealing with libav- and ffmpeg-integration bugs. -- +-DRD-+ -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel
Re: [Mlt-devel] [PATCH] use sse2 instruction for line compositing
06.02.12 18:47, Dan Dennedy написав(ла): [...] I will give it another review and testing. Your other items are still on my todo list, but have been busy lately dealing with libav- and ffmpeg-integration bugs. offtopic: why does alpha plane created if not exists? why do not pass a NULL into the composite_yuv_??? function? i think for 1920x1080 creating non-transparent alpha plane could be bit slowdown system? -- Maksym Veremeyenko -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel
[Mlt-devel] Git: only automatically set strict=experimental when acodec=aac (3485119)
src/modules/avformat/consumer_avformat.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) New commits: commit 31cac1d2d1c8e1ddf6d066855cc4089cfc590070 Author: Dan Dennedy d...@dennedy.org Date: Mon Feb 6 19:54:26 2012 -0800 only automatically set strict=experimental when acodec=aac (3485119) commit 6177030f3638cca592d2cf537109234fb902a7bb Author: Dan Dennedy d...@dennedy.org Date: Mon Feb 6 19:45:37 2012 -0800 Revert default to strict=experimental for painless aac encoding This reverts commit 6cd72114187ba7864c5e78205bf3a679a917. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel
Re: [Mlt-devel] loop for producer
2012/1/26 Maksym Veremeyenko ve...@m1stereo.tv: 25.01.12 19:55, Dan Dennedy написав(ла): On Wed, Jan 25, 2012 at 9:43 AM, Dan Dennedyd...@dennedy.org wrote: 2012/1/25 Maksym Veremeyenkove...@m1stereo.tv: 25.01.12 19:24, Dan Dennedy написав(ла): On Wed, Jan 25, 2012 at 8:16 AM, Maksym Veremeyenkove...@m1stereo.tv wrote: Hi, are there any way to set (or use) *loop* or *eof* properties for *avformat* producer? Yes, I think it should, but it depends on your context (object model) and application to enable the proper behavior. IOW, the playlist or multitrack length might be limiting the duration. Also, it appears that the playlist sets eof=pause when you add the producer to a playlist. So, eof needs to be set after the playlist operation. Also, the playlist producer supports an eof property itself that can be a factor. it seems i have to use playlist for playing loop... command melt test.dv eof=loop do not work properly for me, is it correct? Correct, that is what I implied by context. melt does is not concerned to easily support this use case (but there might be a tricky way to do it). Melt always creates a multitrack with a playlist for a track. The most obvious way to simulate a loop with melt is to use -repeat with a large value. You will need to dig a little if you need a real loop by using a mlt xml file or by tricking the command line options. I had a vague recollection that I had figured out a command line trick. So, I searched my e-mail and found it: melt eof=loop test.dv In the options processor, initially the current properties object is the tractor, which is a producer that understands eof property semantics. So, here we set a property on the tractor producer before creating a new producer, which changes the current properties object. i had a success with C code to provide a loop throw a mlt_playlist, but for xml i can't provide this. i did a simple demo with background video and some small animation on it: ?xml version=1.0 ? mlt !-- clip -- producer id=clip property name=resourceI0009618_test.avi/property /producer !-- cg -- producer id=cg property name=resourceglobe_SD.avi/property /producer !-- cg loop -- playlist id=cg_loop eof=loop entry producer=cg/ /playlist tractor multitrack track producer=cg_loop/ track producer=clip/ /multitrack !-- clip and cg blending -- transition in=0.0 out=1499.0 property name=mlt_servicecomposite/property property name=a_track1/property property name=b_track0/property property name=progressive1/property property name=start0/0:100%x100%:100/property property name=end0/0:100%x100%:100/property property name=halignleft/property property name=valigntop/property property name=distort0/property /transition /tractor /mlt It depends on the app that is consumer the xml. If it is melt, then the xml is loaded as a virtual clip within a multitrack/tractor created by producer_melt, and you still need to set eof=loop on the tractor . A producer cannot be forever. At the most, it is INT_MAX frames long. Then, you need to make sure the outermost producer has some looping as you did with a playlist in code. -- +-DRD-+ -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel