Thread View: borland.public.cppbuilder.multimedia
3 messages
3 total messages
Started by Mark Newland
Tue, 12 Mar 2002 05:25
MCI Interface - Video Crash
Author: Mark Newland
Date: Tue, 12 Mar 2002 05:25
Date: Tue, 12 Mar 2002 05:25
16 lines
2012 bytes
2012 bytes
I have an application written in Builder 3 (and compiled in Builder 5) that uses TMediaPlayer class for displaying my AVIs (MPEG-2). I have 10 MPGs that run sequentially forever. Each MPG is about 30 seconds long. After about 46 hours and 20 minutes. The video window comes up black but there is no output. The application is still running because there is a watchdog timer that would reboot the machine if the app hangs. If you exit the program and re-run it, the window remains black (no visible output). If you reboot, everything works fine until about 46 hours and 20 minutes later. I rewrote the app under VC++ 6.0 using the mciSendCommand APIs and the same thing happens. I'm running under Win98SE, but the same thing happens in WinME. Any ideas????? Mark (mark@gloryworks.com)
Re: MCI Interface - Video Crash
Author: Pete Fraser
Date: Tue, 12 Mar 2002 08:37
Date: Tue, 12 Mar 2002 08:37
35 lines
2417 bytes
2417 bytes
I would guess that you are running out of resources - something that the Win9x series of OS's is ubiquitous for doing. You will have to check to see if this is the case - try MemProof for resource leaq detection. -- Rgds Pete GenHelp: The Component Writers Help Authoring package ================================= Web: www.frasersoft.net "Mark Newland" <mark@gloryworks.com> wrote in message news:3c8d7464$1_1@dnews... > I have an application written in Builder 3 (and compiled in Builder 5) that > uses TMediaPlayer class for displaying my AVIs (MPEG-2). I have 10 MPGs > that run sequentially forever. Each MPG is about 30 seconds long. After > about 46 hours and 20 minutes. The video window comes up black but there > is no output. The application is still running because there is a watchdog > timer that would reboot the machine if the app hangs. If you exit the > program and re-run it, the window remains black (no visible output). If you > reboot, everything works fine until about 46 hours and 20 minutes later. > > I rewrote the app under VC++ 6.0 using the mciSendCommand APIs and the same > thing happens. I'm running under Win98SE, but the same thing happens in > WinME. > > Any ideas????? > > Mark (mark@gloryworks.com) > >
Re: MCI Interface - Video Crash
Author: George Nemeth
Date: Tue, 12 Mar 2002 21:06
Date: Tue, 12 Mar 2002 21:06
30 lines
2390 bytes
2390 bytes
Win9x has file handle leaks when playing media files and there is nothing you can do to stop them (although someone could gladly prove me wrong). We simply switched the OS to NT4 and they will play forever. Mark Newland wrote: > I have an application written in Builder 3 (and compiled in Builder 5) that > uses TMediaPlayer class for displaying my AVIs (MPEG-2). I have 10 MPGs > that run sequentially forever. Each MPG is about 30 seconds long. After > about 46 hours and 20 minutes. The video window comes up black but there > is no output. The application is still running because there is a watchdog > timer that would reboot the machine if the app hangs. If you exit the > program and re-run it, the window remains black (no visible output). If you > reboot, everything works fine until about 46 hours and 20 minutes later. > > I rewrote the app under VC++ 6.0 using the mciSendCommand APIs and the same > thing happens. I'm running under Win98SE, but the same thing happens in > WinME. > > Any ideas????? > > Mark (mark@gloryworks.com) -- George Nemeth Managing Partner Global Kiosk Systems Ltd. http://www.globalkiosk.com ph: (306) 359-1580 fax: (306) 359-1585
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads