Re: [Mlt-devel] [PATCH] allow start decklink producer from pause

2012-02-22 Thread Dan Dennedy
On Mon, Feb 20, 2012 at 3:04 PM, Dan Dennedy d...@dennedy.org wrote:
 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

This introduced a regression when using it with the 'consumer'
producer to include a decklink input at the source profile into a
composition with a different profile, for example:

melt -profile atsc_1080i_50 consumer:decklink: profile=dv_pal

So, I added a property to the producer named preview that requires
you to set to 1 to use this feature.


-- 
+-DRD-+

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
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-02-21 Thread Maksym Veremeyenko
21.02.12 01:04, Dan Dennedy написав(ла):
 2012/2/20 Maksym Veremeyenkove...@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?

decklink board has no EE mode, i.e. you can't seen SDI signal pass throw 
until you setup decklink into the recoding mode. So if you need to start 
recording from a proper moment you see on decklink output, you need to 
unpause it. but it not so simple because if you set speed 0.0 to 
producer, it still send a frames to avformat consumer (moreover it exit 
encoding thread if *terminate_on_pause* not disabled or just mute and 
encode incoming frames), so if you have a /black box/ with SDI inputs 
and outputs and IP control - that is an only method...

 If you are connected to the avformat consumer for
 file capture, how are you providing preview?
passthrow SDI output

 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.
thanks to idea...
btw, are there any samples for this functionality? it is like *tie* ?

-- 

Maksym Veremeyenko

--
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] [PATCH] allow start decklink producer from pause

2012-02-20 Thread Dan Dennedy
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