Ok the problem is that melt launch correctly, but the "Current Postiion" stays 
at 0, and any testme.avi never comes.

melt /home/test/video.dv -filter greyscale -consumer avformat:testme.mpeg
+-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
|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                  |
+---------------------------------------------------------------------+
Current Position:          0

(And then nothing happen until I enter "q" for example)
(no testme.mpeg in /home/test/ directory)


Do you think I can have a problem with my MLT install on my Ubuntu server?

Best Regards,
Brice Vercoustre

Le 22 mars 2010 à 16:01, Rob Canning a écrit :

> Brice Vercoustre said :
>> Hi Rob,
>> 
>> Thank you for your help!
>> 
>> I tried your commend (the one at the bottom of this mail) and I still get 
>> the same screen:
>> 
>> +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
>> |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                  |
>> +---------------------------------------------------------------------+
>> Current Position:          0
>> 
>> On this screen I have to be behind my computer and press "l" or "space" or 
>> whatever makes melt run... And that's the point: how can I launch the 
>> command line from a script (.sh or php) SERVER SIDE so that melt can work 
>> alone and treat the video. In other words, how can I make it work 
>> automatically? 
> 
> no you dont - for example
> 
> melt videos/theapple.avi -filter greyscale -consumer avformat:testme.mpeg
> [mpeg1video @ 0x8857d60]interlacing not supported by codec
> +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
> |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                  |
> +---------------------------------------------------------------------+
> Current Position:        824
> 
> this will start doing its job without any user interaction.
> 
> 
>> At the end, where can I found the testme.avi video to publish it for my 
>> students?
> 
> where you run the script from.
> 
> or like this:
> melt videos/theapple.avi -filter greyscale -consumer 
> avformat:/home/me/path/to/some/dir/testme.mpeg
> 
>> 
>> Thank you so much ;-)
>> 
>> Best Regards,
>> Brice Vercoustre
>> 
>> Le 22 mars 2010 à 14:12, Rob Canning a écrit :
>> 
>>> Brice Vercoustre said :
>>>> Hi all,
>>>> 
>>>> I'm currently searching for a server side solution that would be able to 
>>>> handle picture-in-picture processing (insert a video thumbnail into 
>>>> another video). 
>>>> 
>>>> The purpose of that is to generate educational videos of university 
>>>> courses with a mix of both the teacher's screencast (main video) and it's 
>>>> face (thumbnail video).
>>>> 
>>>> I'm looking for a command line app that would let me create such a video. 
>>>> The melt app really seems to do that, but I'm not sure I understood the 
>>>> mechanism well. With my terminal, I've been able to launch melt to do some 
>>>> editing on a video such as:
>>>> 
>>>>         melt a.dv -filter greyscale in=0 out=50
>>>> 
>>>> Melt is launched at the 0 frame, I can go from frame to frame... Here is 
>>>> the result:
>>>> 
>>>> +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
>>>> |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                  |
>>>> +---------------------------------------------------------------------+
>>>> Current Position:          0
>>>> 
>>>> 
>>>> But I really do not get how I can export the result into a new video. I 
>>>> did not understood the -consumer logic, and how can I exploit it to save 
>>>> the result into a new video.
>>> 
>>> for example this:
>>> 
>>> melt a.dv -filter greyscale -consumer libdv:testme.dv
>>> melt a.dv -filter greyscale -consumer avformat:testme.avi
>>> 
>>> hth
>>> 
>>> rob
>>> 
>>> 
>>>> 
>>>> If I understand that part well, I'm sure I'll find how to make some 
>>>> picture-in-picture processing.
>>>> 
>>>> Thank you for helping me on this! 
>>>> 
>>>> Best Regards,
>>>> Brice Vercoustre.
>>>> 
>>>> 
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> Download Intel® Parallel Studio Eval
>>>> Try the new software tools for yourself. Speed compiling, find bugs
>>>> proactively, and fine-tune applications for parallel performance.
>>>> See why Intel Parallel Studio got high marks during beta.
>>>> http://p.sf.net/sfu/intel-sw-dev
>>>> _______________________________________________
>>>> Mlt-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/mlt-devel
>>>> 
>>> --------------
>>> [email protected]
>>> rob.goto10.org
>>> --------------
>>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Mlt-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/mlt-devel
>> 
> --------------
> [email protected]
> rob.goto10.org
> --------------
> 


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to