On Mon, Mar 22, 2010 at 9:11 AM, Brice Vercoustre <[email protected]> wrote:
> The /home/test directory has max righs 0777....
>
> The odd thing is that melt seems to be unable to start processing the video. 
> It stays on 0 position.
>
> But when I enter 'l" on my keyboard, I go on the next frame with success. 
> melt goes from 0 to the last frame of the video (correctly calculated my 
> melt). But still do not generates an output video.
>
> I even tried:
>
>          melt colour:red in=0 out=50 -consumer avformat:/home/test/vidred.mpg 
> s=320x240
>
> ... but same result: melt is launched, it stays on 0 position, and no file is 
> generated!

That is strange. I can not reproduce it. I do not recall ever seeing a
problem like this, and I do not recall anyone else reporting a problem
like this. The more interesting thing is that the ell key is supposed
to pause the video, not make it run! Perhaps for the reason it is not
able to create a video is the reason it behaves this way. Maybe
because .'mpg' tells ffmpeg libs to use codecs which are not available
in your build of libavcodec and libavformat. Try instead:

melt colour:red in=0 out=50 -consumer avformat:/home/test/vidred.dv

(do not add s= because DV does not accept arbitrary resolution).

If it works, look for "unstripped" versions of libavcodec and
libavformat packages.

> I spend the whole week looking for a solution. When I finally find it, I 
> can't even make it work :(
> So frustrating!
>
>
>
> Le 22 mars 2010 à 16:50, Rob Canning a écrit :
>
>> Brice Vercoustre said :
>>> 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?
>>
>> no clue i am afraid - you have permissions to write to /home/test ?
>> rob
>>
>>>
>>> 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&#174; 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&#174; 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
>>>> --------------
>>>>
>>>
>>>
>> --------------
>> [email protected]
>> rob.goto10.org
>> --------------
>>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; 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
>



-- 
+-DRD-+

------------------------------------------------------------------------------
Download Intel&#174; 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