Search found 203 matches

by xbgtc
Aug 05, 2020 11:12
Forum: Windows
Topic: SOLVED - MPEG2 Play Code and Win10
Replies: 67
Views: 4819

Re: SOLVED - MPEG2 Play Code and Win10

Well well well finished coding my game in WinFBE then compiled it then installed it. went to play it and low and behold back to square one - audio but no vid!!!!!!!!! UNBELIEVABLE! think i'll forget about video and freebasic altogether as it obviously has problems, i mean in FBIde as soon as you sav...
by xbgtc
Jul 24, 2020 2:13
Forum: Windows
Topic: Why can't i 'GET' the IMAGE??
Replies: 17
Views: 1145

Re: Why can't i 'GET' the IMAGE??

Spending wayyyy too much time trying to figure this out. I cannot believe that it copies the vid the first time fine but the second time it copies the damn pic instead - mind boggling! yep fxm I~CAN'T~GET~NO~~~~~SATISFACTION!! LOL
by xbgtc
Jul 22, 2020 13:57
Forum: Windows
Topic: Why can't i 'GET' the IMAGE??
Replies: 17
Views: 1145

Re: Why can't i 'GET' the IMAGE??

Yes - i want the image for each last frame so that in my game the transition from vid to vid is proper.. i mean imagine watching tv and when the scene changes you had a black screen for a second, or when the scene changed you first saw a different frame appear - this is what i want to get rid off so...
by xbgtc
Jul 22, 2020 9:52
Forum: Windows
Topic: Why can't i 'GET' the IMAGE??
Replies: 17
Views: 1145

Re: Why can't i 'GET' the IMAGE??

dodicat wrote:I think you should cls after your first sleep.


I can't for 2 reasons:
1. i will be back to square one
2. i will lose the game screen

plus it made no diff as the first pic still showed :)
by xbgtc
Jul 22, 2020 5:30
Forum: Windows
Topic: Why can't i 'GET' the IMAGE??
Replies: 17
Views: 1145

Re: Why can't i 'GET' the IMAGE??

Problem: when a second vid plays and ended it still displays the first pic but if you grab the window and move it around then you get the second pic showing and if you keep shaking the window around it alternates between first pic and second pic - weird!.. so just have to work out why the second pic...
by xbgtc
Jul 22, 2020 2:29
Forum: Windows
Topic: Why can't i 'GET' the IMAGE??
Replies: 17
Views: 1145

Re: Why can't i 'GET' the IMAGE??

getting there but pic was placed a little to the left and it started a little too high (by 27 pixels) which meant that i had black in the pic + bottom bit was truncated hence i had to add a vertical position adjustment twice (vid is placed at 158,27 hence ver=27) eg: var ypos=map(wyp+ver+ver,wyp+ver...
by xbgtc
Jul 21, 2020 15:00
Forum: Windows
Topic: Why can't i 'GET' the IMAGE??
Replies: 17
Views: 1145

Re: Why can't i 'GET' the IMAGE??

OMG thanks alot dodicat - this worked exactly as i needed! I just need to incorporate it in the vid thread and hopefully the function call works ok but we will see! this will save me making 125 pics (done 60 already unfortunately) and at 335kb a pic that's 41MB!! :) Try this, my own code adjusted. G...
by xbgtc
Jul 21, 2020 14:41
Forum: Windows
Topic: Why can't i 'GET' the IMAGE??
Replies: 17
Views: 1145

Re: Why can't i 'GET' the IMAGE??

counting_pine wrote:Hi xbgtc,
Could I ask you not to post soft pornographic images on the forum?
If you could remove the images in your post, or replace them with screenshots using a different sample image, that would be appreciated.
Thanks.

ohh sorry will remove
by xbgtc
Jul 21, 2020 11:09
Forum: Windows
Topic: Why can't i 'GET' the IMAGE??
Replies: 17
Views: 1145

Re: Why can't i 'GET' the IMAGE??

ahhh i thought there was something like that going on but just wasn't sure - thanks for that detailed explanation! now to search...
by xbgtc
Jul 21, 2020 2:18
Forum: Windows
Topic: Why can't i 'GET' the IMAGE??
Replies: 17
Views: 1145

Why can't i 'GET' the IMAGE??

Why do things have to be so difficult! What i'm trying to do is grab the image (last frame that is left on the screen) of a video that has just been played. Here is a pic of that last frame of the vid that has been played using MCISendString in a a 1024x768x32 graphics screen using GDI. And here is ...
by xbgtc
Jul 17, 2020 11:50
Forum: Windows
Topic: SOLVED - MPEG2 Play Code and Win10
Replies: 67
Views: 4819

Re: SOLVED - MPEG2 Play Code and Win10

Very Good Dodicat! I have been wasting a lot of time trying to get seamless video play from vid to vid eg. if you play a short clip then play the next one your viewing area goes black for a second then the next vid starts - this is because you have to close the vid first before you can play another ...
by xbgtc
Jul 06, 2020 14:57
Forum: Windows
Topic: SOLVED - MPEG2 Play Code and Win10
Replies: 67
Views: 4819

Re: SOLVED - MPEG2 Play Code and Win10

first page updated with new MCI code.
by xbgtc
Jul 06, 2020 13:57
Forum: Windows
Topic: SOLVED - MPEG2 Play Code and Win10
Replies: 67
Views: 4819

Re: SOLVED - MPEG2 Play Code and Win10

Yeh i was surprised how much there was at ms docs and never thought it may be still updated as wasn't MCI the replacement for VFW? then with DSHOW replacing MCI i thought i was going backwards going back to MCI but looking at the docs there's so much more info and flexibility with MCI - just wish th...
by xbgtc
Jul 05, 2020 11:31
Forum: Windows
Topic: SOLVED - MPEG2 Play Code and Win10
Replies: 67
Views: 4819

Re: SOLVED - MPEG2 Play Code and Win10

dodicat - just one more thing that is not working. In the line: mciSendString("open " +Chr(34)+file+Chr(34)+ " type mpegvideo alias file1", NULL, 0, 0) In my own code I have made "file" equal to the path and filename eg. file="c:\users\franco\video\avideo.mpg"...
by xbgtc
Jul 05, 2020 1:14
Forum: Windows
Topic: SOLVED - MPEG2 Play Code and Win10
Replies: 67
Views: 4819

Re: SOLVED - MPEG2 Play Code and Win10

wow impressed! dead accurate on my 10sec clip :)

Go to advanced search