0

Seamless/Gapless Video Playback (Not Looping)

Hello,

The project I'm working on involves the playback of 24 hours worth of video which needs to remain synchronized with the RTC. The total video has been split up into 24 1-hour long files. Playback of the next file is triggered at the media end event. Unfortunately, there is a noticeable gap/stutter at this point between the files i both the picture and the audio. Is there any way to reduce or eliminate this gap? At least the gap in the audio? I know there is the possibility of seamless looping, but can there be seamless playback from one file to another?

Thanks,
Marcus

5 comments

  • 0
    Avatar
    Bright Scripters

    Hi Marcus,

    Some formats work better than others. What codecs are you using?

    Instead of using Media End event, have you tried a simple playlist?

     

    Also, can you splice the 24 hours video, at different places?

    Where audio is silent, or when video is static?

    Not sure if applicable, but worth asking.

  • 0
    Avatar
    Marcus Garfunkel

    The original content is mp4 HEVC with AAC audio. I tried re-encoding to mov AVC with WAV audio, and still had about a half second delay. Re-editing could help certainly, but would take forever I'd image.

    I have not tried a simple playlist since I'm programming this entirely in a Plugin script. Is there a way to create a playlist within the plugin? Or access a brightauthor playlist from the plugin? I would just need access to play and seek files with in the playlist.

    Thanks!
    -Marcus

  • 0
    Avatar
    Marcus Garfunkel

    Any idea on how the brightsign emulates a simple playlist in bright script?

  • 0
    Avatar
    Marcus Garfunkel

    Also, would it be possible to have seamless playback with a play that had dual decoders?

    Thanks,
    Marcus

  • 0
    Avatar
    Shaun

    Hi Marcus,

    You should be able to do this with the "roStreamQueue" object and pipe that to a video instance.

    Should do what you need if you are comfortable with a bit of coding, likewise with reading time of day etc.. and getting to the right point in clips....Fairly sure I half answered this elsewhere.

    Yell out if you need a hand.

    Cheers,

Please sign in to leave a comment.