Re: [Mlt-devel] Git: fix jack-stopped event with some JACK clients

2012-04-04 Thread Dan Dennedy
On Tue, Apr 3, 2012 at 11:47 PM, Ed Rogalsky ed.rogal...@googlemail.com wrote:
 Hi Dan,

 yes that's it. When I was figuring out the problem I tried it with relocate
 and it worked.
 Yesterday I updated to latest MLT and played arround a little bit. The stop
 problem
 is fixed. I tested it with ardour, qjackctl and some other clients and it
 worked.

 I have some more issues but I have to investigate a little bit more. If I
 have some more
 facts I'll let you know.

 One thing:
 Is it possible to introduce more args in the filter_jackrack_init e.g. mlt

no, just set the properties as-needed before starting the consumer or
make changes to the service to deal with property changes.

 properties object as args or something like this.
 The idea is to be able to set more option than one. For example if I use
 jack with kdenlive the name
 kdenlive instead of mlt would be more obvious.
 Which params should be settable. This can be discussed.

 What do you think?

no


 mlt_filter filter_jackrack_init( mlt_profile profile, mlt_service_type type,
 const char *id, char *arg ) // multi args - to be able to set e.g. name
 {
                                                          
 mlt_filter this = mlt_filter_new( );
 if ( this != NULL )
 {
 char name[14];
 snprintf( name, sizeof( name ), mlt%d, getpid() );
 jack_client_t *jack_client = jack_client_open( name, JackNullOption, NULL );
 if ( jack_client )

 Thanks.

 eddrog


 2012/4/3 Dan Dennedy d...@dennedy.org

 I noticed that when qtractor is running, I do not have this problem!
 It seems when qtractor detects a stopped condition it calls
 jack_transport_locate() or _reposition(). I did most of my testing
 previously with qtractor running even when using another transport
 client such as qjackctl. I hope it is not too much trouble for you to
 update your MLT...

 -- Forwarded message --
 From: Dan Dennedy d...@dennedy.org
 Date: Mon, Apr 2, 2012 at 9:50 PM
 Subject: Git: fix jack-stopped event with some JACK clients
 To: mlt-devel@lists.sourceforge.net


  src/modules/jackrack/filter_jackrack.c |   12 
  1 files changed, 12 insertions(+), 0 deletions(-)

 New commits:
 commit 7e808ab9dc5a938f36c9322b1342233b664abe55
 Author: Dan Dennedy d...@dennedy.org
 Date:   Mon Apr 2 21:50:15 2012 -0700

    fix jack-stopped event with some JACK clients

    It appears that JackTransportStopped is not received in
 JackSyncCallback
    unless the client that calls jack_transport_stop() also calls
    jack_transport_locate().



 --
 +-DRD-+



 --
 Better than sec? Nothing is better than sec when it comes to
 monitoring Big Data applications. Try Boundary one-second
 resolution app monitoring today. Free.
 http://p.sf.net/sfu/Boundary-dev2dev
 ___
 Mlt-devel mailing list
 Mlt-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mlt-devel




-- 
+-DRD-+

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


Re: [Mlt-devel] Request for a tutorial on melted

2012-04-04 Thread Bhuvan Krishna
Thank you dan for giving the details. Now i can see were i want to go. 
as suggested i already tried streaming files via icecast using melt 
which was described in FAQ under section streaming. I will look into the 
documentation of melt and understand the inner details of how it works 
so that i can figure out an a way to use it for my purpose. Also i will 
try to post my experiences only if the mailing-list is ok with it.

Regards,
Bhuvan

On Tuesday 03 April 2012 10:07 PM, Dan Dennedy wrote:
 Bear in mind that MLT is primarily a developer toolkit, and melted is
 a little crude (bare-boned, simple). That is especially true for the
 clients that control melted. So, here is a tutorial on the protocol,
 MVCP, which you will need to do things where the clients fall short:

 http://www.mltframework.org/twiki/bin/view/MLT/Testing

 As far as being able to setup sources and outputs (called a unit in
 MVCP), you will need to know a bit about MLT in general. Sorry, there
 is a lot to figure out. Keep in mind that you can do what you describe
 with melted, but it was made primarily for playing from file sources
 and output through a SDI card. See the FAQ for examples of how to
 configure devices as sources and streaming outputs. You are strongly
 encouraged to get it working through melt before trying to make it
 work through melted. I am not available to provide much more
 assistance at this time - partly because I am putting much effort into
 a new client that will make this all much easier, but that is still
 months away for something that will help you.

 On Tue, Apr 3, 2012 at 8:50 AM, Bhuvan Krishnabhu...@swecha.org  wrote:
 Dear all,

 I was wondering if their is any quick tutorial on how to setup melted
 and start streaming to and from melted to video players and clients over
 the network. If any such documentation is available please let me know.

 I tried to go through the documentation section of the site and found it
 to be long and took some time to understand how mlt works. I assume that
 i can feed melted with any source like webcam, handycam through DV port
 or through tv tuner card using composite, play a file and on the other
 end i can receive the same content in a player like vlc or in the
 browser. I am looking for such a solution.

 I will be very thankful for any help.

 Regards,
 Bhuvan

 --
 Better than sec? Nothing is better than sec when it comes to
 monitoring Big Data applications. Try Boundary one-second
 resolution app monitoring today. Free.
 http://p.sf.net/sfu/Boundary-dev2dev
 ___
 Mlt-devel mailing list
 Mlt-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mlt-devel




--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel