joseLB Posted September 1, 2006 Share Posted September 1, 2006 Any one knows if Media.au3 already works with MP3 and If I can "copy" part of a mp3 to a new .mp3? For example, create a new mp3 copying from second 15 to second 25 (sample of some musics)? If yes, what would be the commands, using media.au3? regards Jose Link to comment Share on other sites More sharing options...
Kreatorul Posted September 1, 2006 Share Posted September 1, 2006 This is awesome...10x i've been lookin for an udf as great as this one Link to comment Share on other sites More sharing options...
masvil Posted November 10, 2006 Share Posted November 10, 2006 ; Function Name: _MediaRecord(); Description: Records from a microphoneIt works only if microphone is selected as input device here. Is there a way to do it by script?http://www.autoitscript.com/forum/index.ph...mp;#entry149390seems to help Link to comment Share on other sites More sharing options...
svennie Posted November 28, 2006 Author Share Posted November 28, 2006 I've not been on the community for a long time but i'm back . I've seen now that there where alots of good replies but also problems with _MediaSave function. It seems that Emperor's code will let it work and updated the UDF with it. Emperor, thanks! Sorry for my English, I'm Dutch... =DMedia UDFINet Adv UDF Link to comment Share on other sites More sharing options...
Mast3rpyr0 Posted October 4, 2007 Share Posted October 4, 2007 hate to bring back an old post but will this work for streaming music with media capture or open function? if not is there another way you can do this with autoit? My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
m0nk3yI3unz Posted February 21, 2008 Share Posted February 21, 2008 (edited) Can I marry you? I have been having my lead programmers in my company scrambling to make DLLs to do this. Thank you so much. You have NO idea how much this helps out on my various little tidbits I make here and there.... <emotefest>:D:D:D:D:D:D:D:D:D:D:D:D</emotefest> little problem though - when I open up an AVI to play, the window just... freezes. Like it takes a frame from the underlying content and paints it in its own window, then I can drag it around.... Although it is a long video.... Any help? EDIT: Aha. yea, the file was just too big. Not to worry. Also, is there a way to get it to like scale the movie when in fullscreen mode? And what about dual screen? What if I want the fullscreen to only be on the second screen, not the first? -Monkey Edited February 22, 2008 by m0nk3yI3unz Monkeh. Link to comment Share on other sites More sharing options...
Tim Net Posted May 1, 2008 Share Posted May 1, 2008 Is it possible to alter the saved media bit rate, sample size, or sample rate? I don't see any options to adjust it for higher quality. I'd like to get closer to CDROM quality compared to the default 88 kbps bit rate, 8 bit sample size, 11 kHz Audio Sample Rate. Thanks, Tim Net Link to comment Share on other sites More sharing options...
mlowery Posted July 19, 2008 Share Posted July 19, 2008 Is it possible to alter the saved media bit rate, sample size, or sample rate? I don't see any options to adjust it for higher quality.I had a similar question after finding this library, and found the MCI command reference on MSDN. Here's an example, using direct MCI calls. Easily adapted to the media library. ;start recording mciSendString("close all") mciSendString("open new type waveaudio alias capture") mciSendString("set capture bitspersample 16") ; 8, etc. mciSendString("set capture samplespersec 22050") ; 44100, etc... mciSendString("set capture channels 1") ; or 2 mciSendString("record capture") ; keep recording for 5 seconds Sleep(5000) ; stop and save recording to $filename mciSendString("stop capture") mciSendString('save capture "' & $filename & '" wait') mciSendString("close capture") ;=============================================================================== ; Description: Send Windows Media Control Interface (MCI) string ; Parameter(s): MCI command string. See command reference at: ; http://msdn.microsoft.com/en-us/library/ms710815(VS.85).aspx ; Requirement(s): None ; Return Value(s): on success = 1, on fail = 0 and @error set to 1 ;=============================================================================== Func mciSendString($s) DllCall("winmm.dll", "int", "mciSendString", "str", $s, "str", "", "int", 65534, "hwnd", 0) If @error Then SetError(1) Return 0 Else Return 1 EndIf EndFunc Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now