Results 1 to 8 of 8

Thread: Extreme video playback choppyness with HVAC software

  1. #1
    Variable Bitrate
    Join Date
    Oct 2003
    Location
    Chicago, IL
    Posts
    284

    Extreme video playback choppyness with HVAC software

    Hey guys,
    me again, with a hopefully less stupid question/problem than last time. (if youre confused, dont worry, i know how to use DLLs now!)

    Heh, anyways, backstory:
    my HVAC software, written in C# .Net 2 (beta). For my stepper motor controls i have a parallel port controller, which came with this DLL to make direct parrallel port access a snap. It all works fine and good UNTIL im playing a video. (not DVD, havent even tested that). But in the frontends ive tested (frodo, centrafuse, RR), video lags like hell whenenver I move the motors.

    I tested it with winamp running the video instead, and its perfectly fine, not laggy or choppy.

    So i figure ill test Windows media player, (had the inkling it was media player, since im pretty sure all the front ends use it for thier video playing), open the video and test: bam, lag.

    I only had 6.4 so i figured id check out, maybe 9 would work better. alas, not true.

    So, two questions, I guess:
    Why does it work great with winamp playing video?
    and 2,
    Is there some setting i can change in windows media player to make it act more like winamp?

    Id really like to use *some* front end for video along with music, but i really cant have laggy video.

    thanks for any ideas or input you might have!
    Mazdaspeed Car Computer
    gotta redo it all

  2. #2
    Maximum Bitrate Bitoholic's Avatar
    Join Date
    Apr 2004
    Location
    Port Saint Lucie, FL
    Posts
    682
    I am curious if MMC (Mobile Media Center) does this as well? Could you download MMC and try it and let me know if you get lag with it as well...

    Take care
    Ben S. Stahlhood II
    Hybrid Mobile
    MMC/Transcend Developer
    --------------------------------------
    http://www.hybrid-mobile.com/
    http://www.cocoamachine.com/
    http://weblogs.asp.net/bstahlhood/

  3. #3
    Variable Bitrate
    Join Date
    Oct 2003
    Location
    Chicago, IL
    Posts
    284
    Sure, lemme try it out.
    Mazdaspeed Car Computer
    gotta redo it all

  4. #4
    Variable Bitrate
    Join Date
    Oct 2003
    Location
    Chicago, IL
    Posts
    284
    Oh boy, MMC wont install without .net 2.04... which...i should have, seing as how i wrote my program in .net 2......not sure why its doing this...

    edit: lemme try uninstall my .net 2 and install yours from your site


    edit2: well now MMC works but my program wont load...oh damn this .net beta.
    Mazdaspeed Car Computer
    gotta redo it all

  5. #5
    Variable Bitrate
    Join Date
    Oct 2003
    Location
    Chicago, IL
    Posts
    284
    Eh, sorry MMC has video slowdown even when im not doing anything, just watching it
    Mazdaspeed Car Computer
    gotta redo it all

  6. #6
    Variable Bitrate
    Join Date
    Oct 2003
    Location
    Chicago, IL
    Posts
    284
    Is there anything I can do to help this out?

    The stepper motor DLL uses inpout32.dll. I am assuming that pretty much any parallel port access will cause 100% CPU utilization. I am still curious as to why winamp can continue to play video while Media Player will stutter.

    Any ideas?
    Mazdaspeed Car Computer
    gotta redo it all

  7. #7
    My Village Called 0l33l's Avatar
    Join Date
    Jul 2004
    Location
    Berkeley, CA
    Posts
    10,516
    Make your app multithreaded

    When I was making LCDC plugins, I had this one plugin that always caused LCDC to freeze for a second. I made it multithreaded and it only lagged for 1/2 a second.

    Do you have the parallel port access in a timer?

  8. #8
    Variable Bitrate
    Join Date
    Oct 2003
    Location
    Chicago, IL
    Posts
    284
    I was thinking to make it multithreaded, but not sure what aspects to do the threading...i would have to rewrite the motor control i think..

    parallel port access isnt in a timer.
    hmmm not sure what to do..
    Mazdaspeed Car Computer
    gotta redo it all

Similar Threads

  1. Epia M Video Playback
    By blazinlow in forum General Hardware Discussion
    Replies: 4
    Last Post: 05-30-2005, 09:21 PM
  2. Video software
    By Maņana in forum Media Engine
    Replies: 2
    Last Post: 08-21-2004, 05:31 AM
  3. MediaCar video playback
    By Maņana in forum MediaCar
    Replies: 3
    Last Post: 08-14-2004, 08:20 AM
  4. Divx video playback
    By mindtool in forum MediaCar
    Replies: 0
    Last Post: 12-08-2003, 06:19 PM
  5. 2.4 Ghz video software?
    By ddt in forum General MP3Car Discussion
    Replies: 16
    Last Post: 01-27-2003, 09:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •