Skip to main content

Once again: Playing clips backwards / reverse / negative speed

11 posts / 0 new
Last post
Jonathan Haug
Offline
Joined: 08/23/2009
Posts:
Once again: Playing clips backwards / reverse / negative speed

Hi all,

two month ago Dan Dennedy posted a patch for playing videos backwards.

http://www.mail-archive.com/kdenlive-devel@lists.sourceforge.net/msg0209...

Unfortunately he didn't get any response so far.

However, quite a few users seem to have a demand for such a function/effect.
http://www.google.de/search?q=+site:www.kdenlive.org+reverse

So I have a few questions:

- Is there hope, that we will get reverse playing in kdenlive?

- Has anyone tried the patch already?

- Does anyone has a workaround for turning the direction of an AVCHD or DNxHD clip
( i.e. using an external application before importing into kdenlive) ?

Thanks for listening!

Jonathan

0
Your rating: None
jacques jeanjean
Offline
Joined: 04/23/2009
Posts:
Re: Once again: Playing clips backwards / reverse / negative ...

I am new (but quite impressed by) Kdenlive, indeed reverse is quite an attractive feature, as i haven't yet discovered all of kdenlive i thought that reversing a clip was already in!

ddennedy
ddennedy's picture
Offline
Joined: 06/26/2007
Posts:
Re: Once again: Playing clips backwards / reverse / negative ...

You can use melt (the MLT command line utility) to do this.
melt -profile square_ntsc framebuffer:somevideo?-1 -consumer avformat:outvideo ...

Use the Kdenlive Render dialog's info panel to get the options to pass to the MLT avformat consumer. Ls /usr/share/mlt/profiles to see the names of profile presets - the same as Kdenlive's project settings.

Leave out the "-consumer avformat..." to preview the reverse effect.

Jonathan Haug
Offline
Joined: 08/23/2009
Posts:
Re: Once again: Playing clips backwards / reverse / negative ...

Hi ddennedy,

thanks for this trick! Preview works perfectly, but encoding to theora gives me colorful snowstorm ...

Anyway, I have seen, that kdenlive 0.7.6 have this Speed effect again and there is a checkbox for reverse playing. I was very excited about that, but unfortunately it does not work, at least for me. Do I have to care about something special when using this effect?

Edit: With "does not work" I mean: The effect does not have any effect. Clip plays forward as before.

Thank you.

ThomasU
Offline
Joined: 11/22/2009
Posts:
Re: Once again: Playing clips backwards / reverse / negative ...

Dear Dan,

Your reply is not helpful enough for me. I'm an MLT/kdenlive newbie.
Reversing a movie clip still does not work in 0.7.7 (4139).
Could you please provide a _complete_ melt command line to, say, reverse a 640x480 inmovie.mpg into an outmovie.mpg?

I guess I'll be able to tune to my needs once I have a complete command line.

Thank you very much.

ddennedy
ddennedy's picture
Offline
Joined: 06/26/2007
Posts:
Re: Once again: Playing clips backwards / reverse / negative ...

No Thomas, I am opposed to people blindly copying and pasting command lines with them understanding. If you can not figure it out from my post above, you must wait until it becomes a feature in the GUI.

Xamiga
Offline
Joined: 06/23/2009
Posts:
Re: Once again: Playing clips backwards / reverse / negative ...

Try this: melt -profile square_ntsc framebuffer:inmovie.mpg?-1 -consumer avformat:outmovie.mpg. I don't know if the 'square_ntsc' profile matches your .mpg file specifications. If the output quality is degraded, you may need to change the -profile square_ntsc specification.

ThomasU
Offline
Joined: 11/22/2009
Posts:
Re: Once again: Playing clips backwards / reverse / negative ...

--> Xamiga: Thank you so much. That worked perfectly.

Xamiga
Offline
Joined: 06/23/2009
Posts:
Re: Once again: Playing clips backwards / reverse / negative ...

--> ThomasU: glad it works for you. When I tested it I always stopped melt before it finished, and then checked the output file. All was OK. Now when I try to produce a complete file, melt always segfaults. Dan is right -- don't just cut and paste someones suggestions!!
(this is with .mp4's)

4ebees
Offline
Joined: 12/28/2008
Posts:
Re: Once again: Playing clips backwards / reverse / negative ...

Hi all

I realise I'm late to this discussion. However, in the interim I would suggest using Avidemux to reverse a clip.

Export the clip you want to reverse and then use the filters function within Avidemux to reverse the video then reimport it to Kdenlive.

I realise this is not perfect but it does work :))

HTH

Jonathan Haug
Offline
Joined: 08/23/2009
Posts:
Re: Once again: Playing clips backwards / reverse / negative ...

Finally, I can "close" this thread. As of version 0.9.6 kdenlive has the long awaited reverse clip feature.

This post is just a big, huge THANK YOU to all developers who made this possible. You are brilliant!