Liberty BASIC Community Forum
« Search Results »

Welcome Guest. Please Login or Register.
Nov 22nd, 2014, 07:54am


Rules|Home|Help|Search|Recent Posts|Notification

--Liberty BASIC Resources--
Yahoo Code Repository (source must be included)
Liberty BASIC Community WikiSpace
Liberty Labs
Bay Six Software Forum
Liberty BASIC Home Page

Official Liberty BASIC Support
Liberty BASIC Programmer's Encyclopedia
Liberty BASIC 5 Handbook
Liberty BASIC on Rosetta Code

Search Results

Total results: 10


 1   Novice / Re: .avi files?  on: Yesterday at 07:35am
Started by mskl007 | Post by Gidiom2
You really need to use google, another search brought up the following:

https://groups.yahoo.com/neo/groups/libertybasic/conversations/topics/28116

The post contains full code for a media player and this time I have tested the code for you and can confirm it plays avi files (sound and video). Look for the post by Gordon S.

You can extract the code you need, if there are any problems with it, ask and I will post some code which I am searching for on my PC. I just can't remember what I named the file as, but it is a LB avi player using winmm.
 
  Reply Quote Notify of replies

 2   Liberty BASIC Code / Re: set to front?  on: Yesterday at 05:24am
Started by alincon2001 | Post by Rod
Or simply have one statictext and change its contents.
 
  Reply Quote Notify of replies

 3   Novice / Re: .avi files?  on: Yesterday at 05:22am
Started by mskl007 | Post by mskl007
on Yesterday at 04:52am, Gidiom2 wrote:
You were too quick! See edited post above cheesy


It still says it ain't good with .avi files tongue smiley !
 
  Reply Quote Notify of replies

 4   Internet and network programming / Re: Tutorials  on: Yesterday at 04:59am
Started by mskl007 | Post by mskl007
Thanks!
 
  Reply Quote Notify of replies

 5   Novice / Re: .avi files?  on: Yesterday at 04:52am
Started by mskl007 | Post by Gidiom2
You were too quick! See edited post above cheesy
 
  Reply Quote Notify of replies

 6   Novice / Re: .avi files?  on: Yesterday at 04:49am
Started by mskl007 | Post by mskl007
Sounds good! It did say it isn't good with .avi files though!
 
  Reply Quote Notify of replies

 7   Novice / Re: .avi files?  on: Yesterday at 04:44am
Started by mskl007 | Post by Gidiom2
See http://libertybasic.conforums.com/index.cgi?board=public&action=display&num=1187804721 for LB media player. Also google 'Liberty basic play avi' for more info.
Creating avi probably need to use 3rd party video editor/composer.

OP says doesn't play AVi very well, but the few AVIs I used seemed to play ok in WinXP back in 2007. Can't test on later OSs but you may be able to progress further.
 
  Reply Quote Notify of replies

 8   Novice / Re: .avi files?  on: Yesterday at 04:44am
Started by mskl007 | Post by mskl007
I mean is there an application which can make .avi files: doing THAT on LB is frightening :o ! Somebody emailed me with some code to display avi files, here it is:
Code:
' code begins
 filedialog "Select AVI file", "*.avi", AVIfile$
 if AVIfile$ = "" then end
 call mci "open "; chr$(34); AVIfile$; chr$(34); _
 " type avivideo alias movie style popup"
 call mci "play movie wait"
 call mci "close movie"
 end

sub mci cmd$
 r$ = space$(128)
 calldll #winmm, "mciSendStringA", cmd$ as ptr, _
 r$ as ptr, 128 as long, 0 as long, ret as long
end sub
' code ends
 


Is this code alright?
 
  Reply Quote Notify of replies

 9   Liberty BASIC Code / Re: set to front?  on: Yesterday at 12:36am
Started by alincon2001 | Post by Stefan Pendl
Generally avoiding overlapping controls is the best you can do.

No overlap, no problems wink
 
  Reply Quote Notify of replies

 10   Novice / Re: .avi files?  on: Nov 20th, 2014, 6:05pm
Started by mskl007 | Post by Chris Iverson
It won't be an easy task because there's no such thing as "AVI video/audio". AVI is a container format for video and audio, and can hold video/audio data in nearly any format(i.e. made using any codec).

You would need to know 1) how to parse an AVI file; 2) how to determine the codec used to create the file; and 3) either use a library or decode the video information yourself by manually reimplementing the codec in LB, if possible.


EDIT: I'll note that that's only if you're dealing with creating or editing AVI files in any way. If you only want to play them, you can offload most of the difficult stuff off to the Windows API, which can handle all of that natively. Some of it isn't exactly novice-level stuff, but it's simpler than reimplementing an entire codec in LB.
 
  Reply Quote Notify of replies


Rules|Home|Help|Search|Recent Posts|Notification



Donate $6.99 for 50,000 Ad-Free Pageviews!


This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls