On Mon, Oct 1, 2012 at 5:20 AM, Markus Kienast <elias1...@gmail.com> wrote: > melt -profile dv_pal_wide consumer:decklink:3 profile=atsc_1080i_50 > -consumer decklink:0 > > This melt command produces something else than my downconv.rb script: > https://gist.github.com/3805493 > > Melt does loose the correct aspect ratio. When I pipe the result > through OBE encoder, the output is 4:3.
That is because the DeckLink API does not support dv_pal_wide, but since the resolution and framerate match DeckLink's PAL mode, it proceeds to use that. > When I use the script at gist, I get the correct aspect ratio. ok, good for you; magic prevails. > Markus > > PS: Don't mind the actual card indices. > > On Sun, Sep 30, 2012 at 7:05 PM, Dan Dennedy <d...@dennedy.org> wrote: >> On Sat, Sep 29, 2012 at 5:32 PM, Markus Kienast <elias1...@gmail.com> wrote: >>> I am trying to downscale a 1080i50 SDI input on decklink:3 to PAL SDI output >>> on decklink:0 directly with melt. >>> >>> Which is exactly, what I have done here successfully with the Ruby bindings: >>> https://gist.github.com/3805493 >>> >>> However, I seem to not get the command line right! >>> >>> That's what I had: melt -profile atsc_1080i_50 decklink:3 -consumer >>> decklink:0 mlt_profile=dv_pal_wide >> >> You have not actually used 2 different profiles. -profile and >> mlt_profile= are fighting to be the chosen profile, and I believe >> mlt_profile= wins, but it is rather arbitrary. This is because these >> are both ways to set _the_ profile as described here: >> http://www.mltframework.org/bin/view/MLT/Profiles >> >> Now, what you need is an encapsulation mechanism - a way to >> encapsulate one service network within another. There is a special >> producer named "consumer" that does this: >> http://www.mltframework.org/bin/view/MLT/ProducerConsumer >> >> melt -profile dv_pal_wide consumer:decklink:3 profile=atsc_1080i_50 >> -consumer decklink:0 >> >> It actually builds a separate service network within the producer by >> acting as its consumer, and you can give the encapsulated network a >> distinct profile. >> >>> Please advise, >>> Markus >> >> >> -- >> +-DRD-+ -- +-DRD-+ ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel