0

Start the production from the break point.

My network is in shuttle buses, so when the shuttle bus is turned off, the power is stopped to the unit...but when the power is turned back on, we need the video to play were it cut off at or near that point rather than starting from the beginning. That way it doesn't start at the beginning every time the bus is turned off then back on again. Hopefully that make sense & you can help us accomplish that.

 

 

4 comments

  • 0
    Avatar
    JRB Technical

    As the player would not know when the power is shut off, and not have enough time when the power is lost to save where it is in the video, there is not really a way to do this without changing the way they are powered.

    The best option in your case would to put the players onto a power circuit on the buses that is always powered from the battery, as the players do not take that much power. 

    Depending on the player, you could add a relay to the switched power on the bus to a GPIO, so it knows when the bus is powered off, so it could pause the video, and resume playing when the bus is powered back on.

    You should also add a accessory switch to the new player power, so you can power off the player when the bus is not running for longer periods of time so it will not drain the battery.

     

  • 1
    Avatar
    Bright Scripters

    There are couple of software based solutions that I'd like to suggest.

    If applicable, the video could be chopped to multiple segments, and be strung together with media end events.

    Every time the player jumps from one segment to the next, a user variable would be incremented.

    Those can be cached on the SD card, to maintain their values between boot cycles.

    When the player wakes up, it would use the value stored in the variable, to start playing the last segment played, prior to losing power, or the next segment.

    If the video cannot be chopped, we could use a plugin to keep track of the video time, and fast-forward to that point in time, upon boot up.

  • 0
    Avatar
    808wright

     

    Bright Scripters

    Yes the media will be chopped up into segments so the first option would be doable. Is their a video that I could reference on how to do this exactly?

    Thank you so much

  • 0
    Avatar
    Bright Scripters

    I'm not familiar with such video, but I'd be happy to know more about your network, and support you with this process.

    You can reach me at info@brightscripters.com

Please sign in to leave a comment.