Welcome, Guest
Username: Password: Remember me
CodeTyphon MS Windows (Win7, Win8.x, Win10 and Win11) OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Can it be played a video file using any component 8 years 9 months ago #9089

  • Emil Odjackov
  • Emil Odjackov's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 23
  • Thank you received: 0
I have installed CodeTyphon 32 and 64 under 64 bits Windows 7 / 8.1, but I had some problems whit 64 bits CT about IBX components.
So I decided to use CodeTyphon 32:
I would like to play any *.avi or *mp3 or *.mp4 file using any components available on CT if it is possible.
I found the tab Multimedia and 2 components on it :
1. LCLVLCPlayer - has not properties about a file to be played
2. VLCMediaListPlayer - has not properties at all and crashes the CodeTyphon IDE often when I click on it on the Form component.
I don't thimk they can be used with a video file.
If there is another components for above purpose - I would be happy to use them. ( If there is a simple example about how to use them will be great ).

Please Log in or Create an account to join the conversation.

Last edit: by Emil Odjackov.

Can it be played a video file using any component 8 years 9 months ago #9092

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
on windows for video you files, can use and pl_DSPack library
samples at
C:\codetyphon\CodeOcean\Win_DSPack\samples

for Mp3 files, you can use and pl_UOS library
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Emil Odjackov

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Can it be played a video file using any component 8 years 9 months ago #9101

  • Emil Odjackov
  • Emil Odjackov's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 23
  • Thank you received: 0

Sternas Stefanos wrote: Sir
on windows for video files, you can use and pl_DSPack library
samples at
C:\codetyphon\CodeOcean\Win_DSPack\samples

for Mp3 files, you can use and pl_UOS library


I will test the pl_UOS library, if I find where is it located tomorrow.
I am so happy, that the sample code PlayWin works with *.avi files.
Thank you very much !

Please Log in or Create an account to join the conversation.

Last edit: by Emil Odjackov.

Can it be played a video file using any component 8 years 9 months ago #9130

  • Emil Odjackov
  • Emil Odjackov's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 23
  • Thank you received: 0
THE GOOD NEWS IS THAT THE *.AVI FILE IS PLAYED CORRECTLY SHOWING THE MOVIE AND THE SOUND !
The sample code from C:\CODETYPHON\CodeOcean\Win_DSPack\samples\PlayWin works, but there rise some exceptions:
Exception 1: DSPack.pas - row number 2345
Debugger Error
The debugger encountered an error when trying to run/step the application:
Can not find bounds of current function 
Press "Ok" to continue debugging (paused), and correct the problem, or choose an alternative run command.
Press "Stop" to end the debug session.

Exception 2: DXSUtil.pas - row number 1938
Debugger Exception Notification
The operation can not be performed because the pins are not connected. ($80040209):
In file 'DXSUtil.pas' at line 1938
raise Excep; 
Ignore this exception type                     "Break"   "Continue".

Exception 3: application
The operation can not be performed because the pins are not connected. ($80040209):
Press "Ok" to ignore add  risk data corruption.
Press "Cancel" to kill the program.

After that appears an Assembler debugger.
THE GOOD NEWS IS THAT THE *.AVI FILE IS PLAYED CORRECTLY SHOWING THE MOVIE AND THE SOUND !

Do you think I have some hardware problem with this computer ?

Please Log in or Create an account to join the conversation.

Last edit: by Emil Odjackov.

Can it be played a video file using any component 8 years 9 months ago #9133

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
this sample works OK on our PC Boxes
-Windows 10 pro, with Typhon 32 and Typhon64
-Windows 7 ultimate with Typhon 32 and Typhon64

tested with *.avi file
PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Can it be played a video file using any component 8 years 9 months ago #9134

  • Emil Odjackov
  • Emil Odjackov's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 23
  • Thank you received: 0
Sir,
I tested again on my home PC2 - 64 bits Windows 7 ultimate and 32 bits CodeTyphon v 5.6;
Tested with *.avi file.
This time only 2 exceptions without Assembler debugger at the end.

Please Log in or Create an account to join the conversation.

Last edit: by Emil Odjackov.

Can it be played a video file using any component 8 years 9 months ago #9135

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
In our lab with CT 5.7 all work OK
did you install DirectX End-User Runtimes correctly ? info
with Web Installer ?
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Can it be played a video file using any component 8 years 9 months ago #9136

  • Emil Odjackov
  • Emil Odjackov's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 23
  • Thank you received: 0

Sternas Stefanos wrote: In our lab with CT 5.7 all work OK
did you install DirectX End-User Runtimes correctly ? info
with Web Installer ?

I just installed DirectX End-User Runtimes with Web Installer from the link above. After installation I did not restart the computer.
Unfortunately they raise the same exceptions. May be I have some hardware problem. I will test at another home PC1 with Windows 8.1 and the same Typhon.

Please Log in or Create an account to join the conversation.

Last edit: by Emil Odjackov.

Can it be played a video file using any component 8 years 9 months ago #9137

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
OK
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Can it be played a video file using any component 8 years 9 months ago #9138

  • Emil Odjackov
  • Emil Odjackov's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 23
  • Thank you received: 0
Sorry, but they raise the same 2 exceptions at PC1 under 64 bits Windows 8.1 with 64 bits CT.
I will continue tomorrow, the time is 22:00 here.

Please Log in or Create an account to join the conversation.

Last edit: by Emil Odjackov.

Can it be played a video file using any component 8 years 8 months ago #9223

  • Emil Odjackov
  • Emil Odjackov's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 23
  • Thank you received: 0
Sir,
I installed on my home computers new operating systems :
PC1 - 64 bits Windows 10 Pro;
PC2 - 64 bits Windows 8.1 Pro;
I tested again on both computers using 32 bits CodeTyphon v 5.6;
Tested with *.avi file.
There is no exceptions, because *.avi file is play on the Form that is part of the project.
//.........................................................................................................................................................
( Under my old operating systems raised exceptions because *.avi file is play on the Form that is not part of the project, and is created on run-time, I do not know why - it is obviously on the pictures I attached above. )

Please Log in or Create an account to join the conversation.

Last edit: by Emil Odjackov.

Can it be played a video file using any component 8 years 8 months ago #9225

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Please Sir, test and CT 5.70
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.
  • Page:
  • 1