0

HD1010 - Cutting between video files



This script is running on a HD1010 with latest firmware.

Currently this script is playing files as the are recalled via serial. The serial commands are being generated by a Calypso ION-16i with contact closures. Once a file is triggered, it play through. Once a file is playing you can't trigger a different file until the 1st file has finished.

I need to be able to trigger another file at any point. Basically, if the user starts 1 file and then decides that they want see a different file without watching the whole of the 1st file they can.

IMAGEMODE 0
SerialPortSpeed 115200
SerialPortMode 8N1
VIDEOMODE 1360x768x60p
Viewmode 2

EVENTS serial:vid01 serial:vid02 serial:vid03 serial:vid04 serial:vid05 serial:vid06 serial:vid07 serial:vid08 serial:vid09 serial:vid10 serial:vid11 serial:vid12 serial:vid13 videoend
STATE welcomescreen.jpg 01childsstory.mpg 02wetlands.mpg 03aaverydearfriend.mpg 04AbeauxartsMelbourne.mpg 05Agreydawnsandmist.mpg 06leavinghome.mpg 07bachelorboys.mpg 08MBCT.mpg 09queensland.mpg 10B&W.mpg 11endpres.mpg 12childhooddeaths.mpg 13BB&B.mpg
STATE 01childsstory.mpg welcomescreen.jpg
STATE 02wetlands.mpg welcomescreen.jpg
STATE 03aaverydearfriend.mpg welcomescreen.jpg
STATE 04AbeauxartsMelbourne.mpg welcomescreen.jpg
STATE 05Agreydawnsandmist.mpg welcomescreen.jpg
STATE 06leavinghome.mpg welcomescreen.jpg
STATE 07bachelorboys.mpg welcomescreen.jpg
STATE 08MBCT.mpg welcomescreen.jpg
STATE 09queensland.mpg welcomescreen.jpg
STATE 10B&W.mpg welcomescreen.jpg
STATE 11endpres.mpg welcomescreen.jpg
STATE 12childhooddeaths.mpg welcomescreen.jpg
STATE 13BB&B.mpg welcomescreen.jpg

Other than being able to cut between files, the system has been rock solid from the 1st install.
Comments and suggestions appreciated.

thanks
Andrew <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->

2 comments

  • 0
    Avatar
    Oscar Engberg


    At each STATE you want to be able to interrupt, you need to enter a file name under EVENT.

    Just copy the events from first STATE row and then you might want to erase the respective event for the specific state row (so it won't interrupt itself).
  • 0
    Avatar
    RokuLyndon


    And, you can redo this in BrightAuthor, where it's easier to see the connections between states.
Please sign in to leave a comment.