[Mlt-devel] [help] how to register to develop mailing list?
I could be dumb, but ... how can i register to the mailing list? Really i have to browse the sourceforge interface (ugly) to find a topic? thanks for the help :D -- Messagenet VOIP: 5338759 My blogs: http://altri-media.blogspot.com/ http://subbaqquerie.blogspot.com/ YouTube Channel: AllegFede VIMEO HD videos: http://www.vimeo.com/user1912745/videos -- 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] save converted image for next use
2012/2/17 Maksym Veremeyenko ve...@m1stereo.tv: 15.02.12 20:49, Dan Dennedy написав(ла): [...] In the pixbuf patch, you should not call the convert_image virtual function directly; use mlt_frame_get_image(). use mlt_frame_get_image for converting image did not work - call to that function return blank frame... It will only work when you call mlt_frame_set_image beforehand, which I believe you had done in the previous patch. Now you are not, so yeah, it is ok to call convert_image. i updated patch and added the same functionality to pango producer, but calling convert_image virtual function directly left till i find another way to convert it... This is not fault of yours, but I can simply not include yet another form of caching into this pixbuf producer. I need to review the old cache (as opposed to usage of mlt_cache) first. -- +-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] save converted image for next use
On Mon, Feb 20, 2012 at 10:17 AM, Dan Dennedy d...@dennedy.org wrote: 2012/2/17 Maksym Veremeyenko ve...@m1stereo.tv: 15.02.12 20:49, Dan Dennedy написав(ла): [...] In the pixbuf patch, you should not call the convert_image virtual function directly; use mlt_frame_get_image(). use mlt_frame_get_image for converting image did not work - call to that function return blank frame... It will only work when you call mlt_frame_set_image beforehand, which I believe you had done in the previous patch. Now you are not, so yeah, it is ok to call convert_image. i updated patch and added the same functionality to pango producer, but calling convert_image virtual function directly left till i find another way to convert it... This is not fault of yours, but I can simply not include yet another form of caching into this pixbuf producer. I need to review the old cache (as opposed to usage of mlt_cache) first. The old cache driven by the cache property caches an entire image sequence into memory, which has very limited usage. The only time it makes sense is when you have a short sequence and you reuse that producer. The only thing I can see really using this is some unknown playout server that smartly reuses a producer for an animated lower third or watermark. Note this does not cache the colorspace-converted images. The purpose of mlt_cache for pixbuf.pixbuf is to recycle the unscaled image because the resolution can change from one frame to the next by the requester (e.g. affine transition). The usage of mlt_service_cache prevents too many GdkPixbuf objects in memory at the same time in a complex composition. We had kdenlive users using hundreds of image clips - not an image sequence, but a laboriously constructed slideshow. These pixbuf objects hold open a file descriptor exhausting max file handles per process as well consuming memory. The purpose of mlt_cache for pixbuf.image is to recycle the scaled image. Again, the usage of mlt_service_cache helps reduce memory consumption. A mlt_service_cache applies across all instances of a particular service in a graph. IOW, only up to 10 are actually in memory while the least recently used get flushed. Your patch does not take advantage of this. Imagine a few hundred digital photos referenced by a Kdenlive project. Once you play through the project, all of those images (albeit scaled and converted) are being cached in producer_pixbuf.clone.image. I think pixbuf.image should hold the converted image, but the refresh_image() function needs refactoring to simplify it before we can do anything more to it. Also, I maintain producer_qimage in parallel with this, so it will need the same treatment. Finally, both of these are also pending an enhancement to image sequence loading that j-b-m requested. I will start the refactoring now. -- +-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] no alpha channel for video with PIX_FMT_YUVA420P pixel format
2012/2/17 Maksym Veremeyenko ve...@m1stereo.tv: 16.02.12 18:56, Dan Dennedy написав(ла): 2012/2/16 Maksym Veremeyenkove...@m1stereo.tv: 02.02.12 19:03, Maksym Veremeyenko написав(ла): Hi, i am trying to decrease cpu usage, so i would like to use PIX_FMT_YUVA420P animation instead of PIX_FMT_BGRA (or other rgb with alpha channel) but has no luck.. video with such pixel format in *nut* container has detected by ffmpeg properly, but mlt did not use it alpha channel. i can provide a sample if required... alpha been ignored for PIX_FMT_YUVA420P and PIX_FMT_YUVA444P pixel format. moreover current implementation of libswscale drop alpha channel if destination format has no alpha and not planar (even if buffer specified) attached patch extract alpha plane during image decoding. it works almost fine except moments when image fetched from cache (even if *noimagecache* specified). another problem is artifact that appear if last frame in movie is not transparent but producer specifies *out* out of animation. another attempt to fix this was to fix mlt_frame_clone (patch attached) but it has no luck too... OK, thank you for the start of this effort. I will look at it this weekend. attached updated version that works with cache. second patch is optional but could be usefull if frame with alpha been cloned. These look great, but I had to fix some minor formatting problems. We tend to prefer C++ style comments in .c files (but not headers). Also, some spacing around parenthesis. Sometimes I am OK to make these fixes myself, which I have done here in my local repo. Now I just need to figure out why this does not work: melt -profile atsc_1080i_50 noise: -track ~/Videos/tests/now-main_aut_2011_fullHD.nut -transition composite -- +-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] no alpha channel for video with PIX_FMT_YUVA420P pixel format
On Mon, Feb 20, 2012 at 12:11 PM, Dan Dennedy d...@dennedy.org wrote: 2012/2/17 Maksym Veremeyenko ve...@m1stereo.tv: 16.02.12 18:56, Dan Dennedy написав(ла): 2012/2/16 Maksym Veremeyenkove...@m1stereo.tv: 02.02.12 19:03, Maksym Veremeyenko написав(ла): Hi, i am trying to decrease cpu usage, so i would like to use PIX_FMT_YUVA420P animation instead of PIX_FMT_BGRA (or other rgb with alpha channel) but has no luck.. video with such pixel format in *nut* container has detected by ffmpeg properly, but mlt did not use it alpha channel. i can provide a sample if required... alpha been ignored for PIX_FMT_YUVA420P and PIX_FMT_YUVA444P pixel format. moreover current implementation of libswscale drop alpha channel if destination format has no alpha and not planar (even if buffer specified) attached patch extract alpha plane during image decoding. it works almost fine except moments when image fetched from cache (even if *noimagecache* specified). another problem is artifact that appear if last frame in movie is not transparent but producer specifies *out* out of animation. another attempt to fix this was to fix mlt_frame_clone (patch attached) but it has no luck too... OK, thank you for the start of this effort. I will look at it this weekend. attached updated version that works with cache. second patch is optional but could be usefull if frame with alpha been cloned. These look great, but I had to fix some minor formatting problems. We tend to prefer C++ style comments in .c files (but not headers). Also, some spacing around parenthesis. Sometimes I am OK to make these fixes myself, which I have done here in my local repo. Now I just need to figure out why this does not work: melt -profile atsc_1080i_50 noise: -track ~/Videos/tests/now-main_aut_2011_fullHD.nut -transition composite Your nut file had an opaque alpha channel. I recreated it from the rgba avi file, and it works, so I pushed it. +-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
[Mlt-devel] Git: let mlt_frame_set_alpha clear the get_alpha_mask function pointer
src/framework/mlt_frame.c|1 + src/modules/avformat/filter_avcolour_space.c |1 - src/modules/core/filter_crop.c |1 - src/modules/core/filter_resize.c |3 --- src/modules/core/transition_region.c |2 -- 5 files changed, 1 insertions(+), 7 deletions(-) New commits: commit ed81682813ba073cf5b4af93d48c823c9152ce5d Author: Dan Dennedy d...@dennedy.org Date: Mon Feb 20 13:51:06 2012 -0800 let mlt_frame_set_alpha clear the get_alpha_mask function pointer -- 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: allow start decklink producer from pause
src/modules/decklink/producer_decklink.cpp |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) New commits: commit a76d1b9744bfd10d252f598f44f523afda11d1d9 Author: Maksym Veremeyenko ve...@m1stereo.tv Date: Mon Feb 20 18:31:23 2012 +0200 allow start decklink producer from pause -- 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] allow start decklink producer from pause
2012/2/20 Maksym Veremeyenko ve...@m1stereo.tv: Hi, because of decklink board has no native EE mode for monitoring signal passthrow it only chance to start recording from proper position is pausing producer. attached patch could solve a problem then you need to start /recording/ by unpausing producer in a chain producer_decklink -- consumer_avformat.c This is harmless enough that I applied it, but can you elaborate more about the approach? If you are connected to the avformat consumer for file capture, how are you providing preview? I would think you would have it connected to another consumer, like SDL, during preview, and then connect it to the avformat consumer for capture with no pausing the producer in between. Unless perhaps you are using the multi consumer. -- +-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