0 registered members (),
1,459
guests, and 9
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Problem with media_tune
#456333
11/19/15 07:53
11/19/15 07:53
|
Joined: Dec 2010
Posts: 224 NRW, Germany
NeoJones
OP
Member
|
OP
Member
Joined: Dec 2010
Posts: 224
NRW, Germany
|
Hi, I play a .wmv file with media_play, but if I use media_tune, than my movie dont playing. It shows me the first frame of the movie and stopped. Has anyone an idea?
Regards, NJ
Last edited by NeoJones; 11/19/15 07:54.
Errors are the engine of progress.
Version: A8 Commercial OS: Win 7 64bit Models: Cinema 4D
|
|
|
Re: Problem with media_tune
[Re: NeoJones]
#456335
11/19/15 08:09
11/19/15 08:09
|
Malice
Unregistered
|
Malice
Unregistered
|
http://www.conitec.net/beta/amedia_tune.htmrate the new playing speed or sound frequency in percent, or 0 for no change. For instance, give 100 for normal speed, 50 for slow motion or half frequency, or 200 for double speed or double frequency. Make sure rate is rate is at 100 not 0. Otherwise I'll do some testing to if I can repeat and solve this issue. Mal
|
|
|
Re: Problem with media_tune
[Re: ]
#456337
11/19/15 08:25
11/19/15 08:25
|
Malice
Unregistered
|
Malice
Unregistered
|
function main()
{
vec_set(screen_size,vector(800,400,0));
vec_set(screen_color,vector(50,1,1)); // dark blue
vec_set(sky_color,vector(50,1,1)); // dark blue
video_window(NULL,NULL,0,"My New Game");
media_play("wildlife.wmv",NULL,25);
wait(-10);
media_tune(media_handle,100,150,0);
}
Works as expected. First I had expected it to be unable to change the video play speed - this tune feature is for audio only, is my assumption. Second - Did adjust volume Three - could not exceed the master volume - which when set at full was even louder Mal links - http://www.conitec.net/beta/amaster_vol.htmhttp://www.conitec.net/beta/amidi_vol.htm
Last edited by Malice; 11/19/15 08:32.
|
|
|
Re: Problem with media_tune
[Re: ]
#456357
11/19/15 19:35
11/19/15 19:35
|
Joined: Dec 2010
Posts: 224 NRW, Germany
NeoJones
OP
Member
|
OP
Member
Joined: Dec 2010
Posts: 224
NRW, Germany
|
Thanks Malice, but thats my problem. I dont need media_tune for the volume or balance, I need it to set the speed (rate) of the movie... I cant find a notice, that the rate is only for audio in the manual or I need a brille O.O, uhh sorry I need a second screen for google translator "...rate the new playing speed OR sound frequency in percent..." Regards, NJ
Last edited by NeoJones; 11/19/15 19:47.
Errors are the engine of progress.
Version: A8 Commercial OS: Win 7 64bit Models: Cinema 4D
|
|
|
Re: Problem with media_tune
[Re: NeoJones]
#456358
11/19/15 23:31
11/19/15 23:31
|
Malice
Unregistered
|
Malice
Unregistered
|
I cant find a notice, that the rate is only for audio in the manual or I need
I'm sure it doesn't, but I've been doing this for 14 years with this engine. But I was wrong! So if I recall, it doesn't change play speed of video, or it doesn't do it in full screen. Again Wrong! I believe that functionality has never been a part of the engine, just like seeking within the video time_stamps. More Wrong! But it's easy to test, use the top 4 video formats. Try to slow each one. If all fail, it is not a function of the engine to change play speeds of videos. If one format passes, it's is not possible with the other formats, it's a format/codec limit. -- And I did it for you! It is a basic game engine with functions to play video, not a video player app or editor app. If I prove to be correct, then you should need a dll extension for the functionality you want or to do it directly with direct x 9 code. Shut up Mal "...rate the new playing speed OR sound frequency in percent..."
a media stream can be audio, video or still image, therefore not all features of the function apply to all media, you can not after all raise the volume of a still image or it's play speed/rate. Also your welcome to 'ask the developers' and 'blame the manual'
Even more WRONG! If I get bored I'll run some test and even look for a dll that will give you this feature. If I get bored or time.
- And so I did, I except cash, gifts and sexual favors for my work .... lol jk Mal
Last edited by Malice; 11/20/15 06:02.
|
|
|
Re: Problem with media_tune
[Re: ]
#456362
11/20/15 05:58
11/20/15 05:58
|
Malice
Unregistered
|
Malice
Unregistered
|
@Neo
I was able to use a tool - freemake(tool dl trigger AV like crazy!) - to convert wmv to avi - xvid_codec, and it did work. Rate changed the play speed. So I'm wrong! The media_tune can't adjust wmv, and mp4-h.264 will not play at all.
So you'll have to hunt for a format/container and codec that works best files_size/play quality.
An update to fix this is highly unlikely, however you could ask.
Mal
|
|
|
Re: Problem with media_tune
[Re: ]
#456365
11/20/15 11:30
11/20/15 11:30
|
Joined: Dec 2010
Posts: 224 NRW, Germany
NeoJones
OP
Member
|
OP
Member
Joined: Dec 2010
Posts: 224
NRW, Germany
|
Yes, an update to fix for the wmv or a solution for mp4-h.264 would be really nice! Ok, with avi it works, but I think its a very bad format, to big file size. I test one file: wmv-> 22mb, avi->237mb Iam not a friend of avi files. What do you mean with "ask"? Best regards, NJ
Last edited by NeoJones; 11/20/15 11:44.
Errors are the engine of progress.
Version: A8 Commercial OS: Win 7 64bit Models: Cinema 4D
|
|
|
Re: Problem with media_tune
[Re: NeoJones]
#456374
11/20/15 19:01
11/20/15 19:01
|
Malice
Unregistered
|
Malice
Unregistered
|
I test one file: wmv-> 22mb, avi->237mb make sure you are compressing the avi this a codec like xvid... You should be able to get a better conversion size. My test was a wmv 2.13 mb to avi(xvid) 2.27 mb. Sounds like you made a uncompressed avi...!!! I am not a friend of avi files. What do you mean with "ask"? The 'Ask the Developers ' thread on this forum allows you to directly talk to jcl about the engine, and because this could be called a bug , the "Bug Report" thread could be used to ASK for and update. LOL good luck! Mal
|
|
|
Re: Problem with media_tune
[Re: ]
#456391
11/21/15 00:56
11/21/15 00:56
|
Joined: Dec 2010
Posts: 224 NRW, Germany
NeoJones
OP
Member
|
OP
Member
Joined: Dec 2010
Posts: 224
NRW, Germany
|
Oh okay. Yes, thats better than my codec. I used cinepak codec. >> Ask the Developers - Thanks Mal, good to know Regards, NJ
Errors are the engine of progress.
Version: A8 Commercial OS: Win 7 64bit Models: Cinema 4D
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|