[Mlt-devel] NDI SDK 3.0

2017-09-07 Thread Ricardo Jimenez Hurtado
Hi everybody

I am making test with the new SDK of NDI and I obtain this log when I close
my producer

melt -profile atsc_1080i_50 -producer "ndi:RICARDOWS (demo)"
+-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+
|1=-10| |2= -5| |3= -2| |4= -1| |5=  0| |6=  1| |7=  2| |8=  5| |9= 10|
+-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+
+-+
|   H = back 1 minute,  L = forward 1 minute  |
| h = previous frame,  l = next frame |
|   g = start of clip, j = next clip, k = previous clip   |
|0 = restart, q = quit, space = play  |
+-+
producer_ndi.c:369: pthread_cond_timedwait()=110
producer_ndi.c:431: NO VIDEO
producer_ndi.c:369: pthread_cond_timedwait()=110
producer_ndi.c:431: NO VIDEO
producer_ndi.c:369: pthread_cond_timedwait()=110
producer_ndi.c:431: NO VIDEO
producer_ndi.c:369: pthread_cond_timedwait()=110
producer_ndi.c:431: NO VIDEO
producer_ndi.c:369: pthread_cond_timedwait()=110
producer_ndi.c:431: NO VIDEO
producer_ndi.c:369: pthread_cond_timedwait()=110
producer_ndi.c:431: NO VIDEO
producer_ndi.c:369: pthread_cond_timedwait()=110
producer_ndi.c:431: NO VIDEO
producer_ndi.c:369: pthread_cond_timedwait()=110
producer_ndi.c:431: NO VIDEO
producer_ndi.c:369: pthread_cond_timedwait()=110
producer_ndi.c:431: NO VIDEO
producer_ndi.c:369: pthread_cond_timedwait()=110
producer_ndi.c:431: NO VIDEO
producer_ndi.c:369: pthread_cond_timedwait()=110
producer_ndi.c:431: NO VIDEO
producer_ndi.c:369: pthread_cond_timedwait()=110
producer_ndi.c:431: NO VIDEO
Current Position:211
process 2768: arguments to dbus_connection_unref() were incorrect,
assertion "connection->generation == _dbus_current_generation" failed in
file ../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 2768: arguments to dbus_connection_unref() were incorrect,
assertion "connection->generation == _dbus_current_generation" failed in
file ../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 2768: arguments to dbus_connection_unref() were incorrect,
assertion "connection->generation == _dbus_current_generation" failed in
file ../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 2768: arguments to dbus_connection_close() were incorrect,
assertion "connection->generation == _dbus_current_generation" failed in
file ../../dbus/dbus-connection.c line 2935.
This is normally a bug in some application using the D-Bus library.
process 2768: arguments to dbus_connection_unref() were incorrect,
assertion "connection->generation == _dbus_current_generation" failed in
file ../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.


I run this in the consumer side

melt -profile atsc_1080i_50 video4linux2:/dev/video0 -profile atsc_1080i_50
-consumer ndi:demo

And this in the producer or player side

melt -profile atsc_1080i_50 -producer "ndi:RICARDOWS (demo)"

I receive a number of frames with NO_VIDEO and then play the video in SDL
Window but when I close the producer I receive this error or log

rocess 2768: arguments to dbus_connection_unref() were incorrect, assertion
"connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 2768: arguments to dbus_connection_unref() were incorrect,
assertion "connection->generation == _dbus_current_generation" failed in
file ../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 2768: arguments to dbus_connection_unref() were incorrect,
assertion "connection->generation == _dbus_current_generation" failed in
file ../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 2768: arguments to dbus_connection_close() were incorrect,
assertion "connection->generation == _dbus_current_generation" failed in
file ../../dbus/dbus-connection.c line 2935.
This is normally a bug in some application using the D-Bus library.
process 2768: arguments to dbus_connection_unref() were incorrect,
assertion "connection->generation == _dbus_current_generation" failed in
file ../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.

Cann I help me anybody for know wich are the problem?

Thanks for all


Best regards



-- 
Ricardo Jiménez Hurtado
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 

[Mlt-devel] SDL2 crash

2017-08-31 Thread Ricardo Jimenez Hurtado
I have compile the mlt with sdl2 support and i obtain a blank screen
without video, I have disabled the sdl2 support in configure file and the
output is ok

I am usir Ubuntu 16.04 with nVidia GTX950 graphics card

Thanks for all

-- 
Ricardo Jiménez Hurtado
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


[Mlt-devel] NDI Producer

2017-02-18 Thread Ricardo Jimenez Hurtado
Hello everybody:

My solution for my last email is this

melt -profile atsc_1080i_50 eof:loop Vídeos/ToS-4k-1920.mov -profile
atsc_1080i_50 -consumer ndi:demo

the solution is

melt -profile atsc_1080i_50 -producer "ndi:PORTATIL01 (demo)"

thanks for all

best regards

-- 
Ricardo Jiménez Hurtado
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


[Mlt-devel] NDI Producer

2017-02-18 Thread Ricardo Jimenez Hurtado
Hello everyboy:

I am trying view my consumer ndi and I try this

melt -profile atsc_1080i_50 eof:loop Vídeos/ToS-4k-1920.mov -profile
atsc_1080i_50 -consumer ndi:demo

If I go to a NDI Video Monitor I can see the clip but if I tri this

melt -profile atsc_1080i_50 -producer "ndi:portatil01 (demo)"

My clip dont start

Where are the problem with my command, I am using the las NDI SDK and the
las mlt for github

Thanks for all

Best regards

-- 
Ricardo Jiménez Hurtado
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


[Mlt-devel] Image format bgra

2016-10-27 Thread Ricardo Jimenez Hurtado
How can I convert a bgra frame to rgba?

Thanks for all
Best regards
--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


[Mlt-devel] NDI Producer

2016-10-20 Thread Ricardo Jimenez Hurtado
I have changed the code for the producer NDI and now i can create a
consumer ndi and in other melt received de information but how can I do for
connect the frame and the information to the consumer, for example sdl or
decklink

thanks for all

-- 
Ricardo Jiménez Hurtado
Dpto. Técnico Comercial
DCT Instalaciones
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


[Mlt-devel] Develop with ndi

2016-10-17 Thread Ricardo Jimenez Hurtado
Ok, I am get that the configure work, for that i change the file in NDI's
SDI lib/libndi.a to lib/libndi.so but when I make this is the error

ndi.c: In function ‘consumer_ndi_feeder’:
ndi.c:180:9: error: ‘NDIlib_frame_format_type_progressive’ undeclared
(first use in this function)
   ? NDIlib_frame_format_type_progressive
 ^
ndi.c:180:9: note: each undeclared identifier is reported only once for
each function it appears in
ndi.c:181:9: error: ‘NDIlib_frame_format_type_interleaved’ undeclared
(first use in this function)
   : NDIlib_frame_format_type_interleaved,
 ^


Thanks for all

best regards


-- 
Ricardo Jiménez Hurtado
Dpto. Técnico Comercial
DCT Instalaciones
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


[Mlt-devel] Develop with ndi

2016-10-17 Thread Ricardo Jimenez Hurtado
Hello

I am trying compile mlt from github with ndi sdk and the configure say me
this

Configuring framework:
Configuring modules:
Configuring modules/avformat:
Configuring modules/core:
Configuring modules/decklink:
Configuring modules/feeds:
Configuring modules/frei0r:
Configuring modules/gtk2:
- Libexif found, enabling auto rotate
Configuring modules/kdenlive:
Configuring modules/lumas:
Configuring modules/ndi:
- NDI SDK not found: disabling
Configuring modules/oldfilm:
Configuring modules/opencv:
- OpenCV tracking contrib module NOT found, disabling OpenCV modules
Configuring modules/opengl:
Configuring modules/plus:
Configuring modules/rtaudio:
Configuring modules/sdl:
- sdl development libs not found: disabling
Configuring modules/sox:
Configuring modules/swfdec:
- swfdec not found: disabling
Configuring modules/vmfx:
Configuring modules/xml:
Configuring mlt++:
Configuring swig:
LGPLv2.1 license used; GPL components disabled


This is my line for configure

./configure --prefix=/usr/local --enable-gpl3 --disable-jackrack
--swig-languages=python
--ndi-sdk-include=/home/administrador/Descargas/NDI_SDK_for_Linux/include
--ndi-sdk-lib=/home/administrador/Descargas/NDI_SDK_for_Linux/lib/x86_64-linux-gnu-5.3/

How can I compile with this support

Thanks for all

Best regards

-- 
Ricardo Jiménez Hurtado
Dpto. Técnico Comercial
DCT Instalaciones
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


[Mlt-devel] Python multiconsumer

2016-10-14 Thread Ricardo Jimenez Hurtado
Hello

I want change values in my program python with multiconsumer that I can set
the window_id or decklink card dinamicaly

My multi.yml is that

- mlt_service: sdl
- mlt_service: decklink
  mlt_profile: dv_pal_wide


How can I access to change the values in python

thans for all

-- 
Ricardo Jiménez Hurtado
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


[Mlt-devel] Capture realtime

2016-10-11 Thread Ricardo Jimenez Hurtado
Hello:

How can I make in python for the capture from a decklink and playing in
another with the less seconds of delay posible.

I have this code

#!/usr/bin/env python
# -*- coding: utf-8 -*-

# Import required modules
import mlt
import time
import sys

# Start the mlt system
mlt.Factory().init( )

# Establish a profile
profile = mlt.Profile("atsc_1080i_50")

# Create the producer
p = mlt.Producer( profile, sys.argv[1] )

if p:
# Create the consumer
c = mlt.Consumer( profile, "decklink:0" )

# Turn off the default rescaling
#c.set( "rescale", "none" )

# Connect the producer to the consumer
c.connect( p )
c.set("real_time", -2)
# Start the consumer
c.start( )

# Wait until the user stops the consumer
#while c.is_stopped( ) == 0:
#time.sleep( 1 )
else:
# Diagnostics
print "Unable to open ", sys.argv[ 1 ]


I have a 2 - 3 seconds of delay betwen the camera live to the decklink
output

Thanks for all

Best regards

-- 
Ricardo Jiménez Hurtado
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


[Mlt-devel] multiple sdl output

2016-10-04 Thread Ricardo Jimenez Hurtado
Hello everybody

i want to start with melted and i need multiple output via SDL, I and try
this configuracion

uadd sdl_preview:640x360
uadd sdl_preview:640x360

load u0 test.mov
play u0
load u1 test2.mov
play u1

and I have received this error

[consumer sdl] SDL failed to open audio: Audio device is already opened
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not
been called
[xcb] Aborting, sorry about that.
melted: ../../src/xcb_io.c:179: dequeue_pending_request: La declaración
`!xcb_xlib_unknown_req_in_deq' no se cumple.

How can i send two diferent screens

thanks for all

Best regards

-- 
Ricardo Jiménez Hurtado
Dpto. Técnico Comercial
DCT Instalacionesuadd sdl_preview:480x240
uadd sdl:480x240
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel