smashly Posted September 3, 2008 Share Posted September 3, 2008 (edited) obsolete... Edited October 5, 2008 by smashly Link to comment Share on other sites More sharing options...
Andreik Posted September 3, 2008 Share Posted September 3, 2008 (edited) Nice work smashly. Now is easy for anyone to write a simple player. EDIT: Edited November 10, 2008 by Andreik Link to comment Share on other sites More sharing options...
zaini Posted September 3, 2008 Share Posted September 3, 2008 hi.. can you put an example here how to use your UDF... i'm a newbie here Link to comment Share on other sites More sharing options...
smashly Posted September 4, 2008 Author Share Posted September 4, 2008 hi..can you put an example here how to use your UDF...i'm a newbie here Just for you zaini , example added to first post.Thank you for the encouragement Andreik Cheers Link to comment Share on other sites More sharing options...
Andreik Posted September 4, 2008 Share Posted September 4, 2008 Very very nice smashly. I like your simple player. Only one thing, If I press SPACE, movie is paused but if I press SPACE when movie is in full screen mode doesn't work. Anyway, very nice work. (smashly player ) Link to comment Share on other sites More sharing options...
zaini Posted September 4, 2008 Share Posted September 4, 2008 Thanx smashly.. you are so nice... Link to comment Share on other sites More sharing options...
ptrex Posted September 4, 2008 Share Posted September 4, 2008 @smashly Runs like a charm !! Does MCI it also support .MOV formats ? Regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
dmob Posted September 4, 2008 Share Posted September 4, 2008 Link doesn't work. Link to comment Share on other sites More sharing options...
smashly Posted September 4, 2008 Author Share Posted September 4, 2008 @smashlyRuns like a charm !! Does MCI it also support .MOV formats ?RegardsptrexIf you have codecs installed on your pc and they are configured to work with other players then yes..I just tried short .mov file and it plays..What does fail is getting the dimensions of the video..So using the half ass example player in the first post won't work unless you hard set the size of the video when opening it..Cheers Link to comment Share on other sites More sharing options...
ptrex Posted September 4, 2008 Share Posted September 4, 2008 @smashly Amazing, I'll give it a try !! Thanks ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
Champak Posted September 5, 2008 Share Posted September 5, 2008 Thanks for the help with the AVI size. Now here's a little jewel for you. If you change up the way you do the seek function in the example it will be a whole lot smoother and react faster when resuming play. Add in the date.au3 and then change: If IsArray($GGCI) And $GGCI[4] = $Seek And $GGCI[2] And $vID <> "" Then While $GGCI[2] $GGCI = GUIGetCursorInfo($hGui) _Video_Seek($vID, Round((_Video_Length($vID, 1) * GUICtrlRead($Seek)) / 200)) GUICtrlSetData($LableSeek, "Time: " & _Video_TimePos($vID) & " / " & _Video_Length($vID)) Sleep(10) WEnd If Not $Paused Then TogglePause() EndIfoÝ÷ ÚÚ-+ºÚ"µÍYÐ^J ÌÍÑÑÐÒJH[ ÌÍÑÑÐÒVÍHH ÌÍÔÙYZÈ[ ÌÍÑÑÐÒVÌH[ ÌÍÝQ ÉÝÈ ][ÝÉ][ÝÈ[Ú[H ÌÍÑÑÐÒVÌB ÌÍÑÑÐÒHHÕRQÙ]ÝÛÜ[Ê ÌÍÚÝZJBBBBIÌÍÌHÝ[ ÕY[×Ó[Ý ÌÍÝQJH ÕRPÝXY ÌÍÔÙYZÊJHÈ BBBWÕXÚÜÕÕ[YJ ÌÍÌ ÌÍÌK ÌÍÌ ÌÍÌÊBBBIÌÍÍHÝ[ÑÜX] ][ÝÉLNLNLI][ÝË ÌÍÌK ÌÍÌ ÌÍÌÊBÕRPÝÙ]]J ÌÍÓXTÙYZË ][ÝÕ[YN ][ÝÈ [È ÌÍÍ [È ][ÝÈÈ ][ÝÈ [ÈÕY[×Ó[Ý ÌÍÝQ JBÛY L BÑ[BWÕY[×ÔÙYZÊ ÌÍÝQÝ[ ÕY[×Ó[Ý ÌÍÝQJH ÕRPÝXY ÌÍÔÙYZÊJHÈ JBYÝ ÌÍÔ]ÙY[ÙÙÛT]ÙJ B[Y Link to comment Share on other sites More sharing options...
smashly Posted September 5, 2008 Author Share Posted September 5, 2008 (edited) Thanks for the help with the AVI size. Now here's a little jewel for you. If you change up the way you do the seek function in the example it will be a whole lot smoother and react faster when resuming play.Add in the date.au3 and then change:Hi your welcome.No need for the Time.au3 as MCI_Video.au3 has it's own stand alone function for Miliseconds to hh:mm:ssyou can find it near the bottom of my udf.. _MSToHMS() Yep I actually had the example working that way as your saying , but the trade off is I don't see the frames while I slide.Most videos I seek through I like to see the frames skip by so I can decide what looks interesting to stop at, you know the juicy bits of the movie that I have no clue at what time or frame the action starts .. lolA better way would be to have an option for the type of seek to use.. option on seeks after the slider is let go.option off seek while the slider is being slid.But since it's just a basic example to see how some the udf functions work I'll leave the autoit video players upto others to write as they see fit Edit: Added Slide N Seek option to the half ass example, you can find the option under the play menu or use hotkey Ctrl+N to toggle the seek mode.Cheers Edited September 5, 2008 by smashly Link to comment Share on other sites More sharing options...
rasim Posted September 5, 2008 Share Posted September 5, 2008 smashlyNice work! Very nice! 5 stars! Link to comment Share on other sites More sharing options...
smashly Posted September 8, 2008 Author Share Posted September 8, 2008 smashlyNice work! Very nice! 5 stars! Thank You for the encouragement Updated first post UDF and Example with some changes.Cheers 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