Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by dr_panther. 05/18/24 11:01
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, dr_panther), 724 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Playing videos in reverse. Possible ? #128294
05/05/07 23:36
05/05/07 23:36
Joined: Jul 2003
Posts: 82
Southern California
lucidman Offline OP
Junior Member
lucidman  Offline OP
Junior Member

Joined: Jul 2003
Posts: 82
Southern California
Can videos played using media_play or media_loop be played backward?

I have tried to do this with media_tune by setting the "rate" parameter to -100. The video will mostly play forward, but will jerk into reverse for a very short blip every few seconds.

Any suggestions?

Thanks


Vision is mind
Mind is emptiness
Empty is clear light
Clear light is union
Union is great bliss
Re: Playing videos in reverse. Possible ? [Re: lucidman] #128295
05/06/07 06:14
05/06/07 06:14

A
Anonymous
Unregistered
Anonymous
Unregistered
A



I believe it's impossible but it's possible to flip the video with a rendering too l (adobe primiere).
If it's just one file pm me a download-link of the movie and I'll do this for you...

mercuryus

Re: Playing videos in reverse. Possible ? [Re: ] #128296
05/06/07 19:51
05/06/07 19:51
Joined: Jul 2003
Posts: 82
Southern California
lucidman Offline OP
Junior Member
lucidman  Offline OP
Junior Member

Joined: Jul 2003
Posts: 82
Southern California
mercuryus:

Thanks for the offer. Actually I need to be able to play the video forward or backward depending on real-time conditions.

To clarify the question, does the engine allow controlling the video this way (forward then backward) with media_tune?

Thanks


Vision is mind
Mind is emptiness
Empty is clear light
Clear light is union
Union is great bliss
Re: Playing videos in reverse. Possible ? [Re: lucidman] #128297
05/06/07 19:58
05/06/07 19:58
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
i don't know if the media commands of the engine allow it but for sure this also depends on the used video codec.

most codecs don't encode every frame as full image but only the differences to the previous frame(s) so smooth backward playback is tricky. i think you would have to use a codec which encodes every frame as full image like motion jpeg or dv (which actually is motion jpeg too).

Re: Playing videos in reverse. Possible ? [Re: ventilator] #128298
05/07/07 00:29
05/07/07 00:29
Joined: Jul 2003
Posts: 82
Southern California
lucidman Offline OP
Junior Member
lucidman  Offline OP
Junior Member

Joined: Jul 2003
Posts: 82
Southern California

ventilator said:
Quote:

i don't know if the media commands of the engine allow it but for sure this also depends on the used video codec.

most codecs don't encode every frame as full image but only the differences to the previous frame(s) so smooth backward playback is tricky. i think you would have to use a codec which encodes every frame as full image like motion jpeg or dv (which actually is motion jpeg too).




Thanks for responding Ventilator.

The videos in question are actually AVI files. Is there a codec involved in playing an AVI file?

Thanks.


Vision is mind
Mind is emptiness
Empty is clear light
Clear light is union
Union is great bliss
Re: Playing videos in reverse. Possible ? [Re: lucidman] #128299
05/07/07 05:52
05/07/07 05:52
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
you can probably look for some c++ video playing libraries, and make a dll, but that might be a bit more difficult than the worth, if you do it tho, i'd put a few more features into the dll and sell it as a plugin, im sure it'd sell to some people.

Re: Playing videos in reverse. Possible ? [Re: lostclimate] #128300
05/07/07 06:26
05/07/07 06:26
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
I don't think that videos can be easily played in reverse - codecs usually only store the difference of the current frame to the previous one.

Re: Playing videos in reverse. Possible ? [Re: jcl] #128301
05/07/07 15:05
05/07/07 15:05
Joined: Jul 2003
Posts: 82
Southern California
lucidman Offline OP
Junior Member
lucidman  Offline OP
Junior Member

Joined: Jul 2003
Posts: 82
Southern California
Thanks all.

These are all good answers.

lucidman


Vision is mind
Mind is emptiness
Empty is clear light
Clear light is union
Union is great bliss

Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1