Skip to content

[ Feature Request ] Support the ability to continuously stream a dynamic list of mp4 files for Stream #312

@BajaMexico

Description

@BajaMexico

I am trying to create a visual avatar that can interact with the user. The avatar is comprised of numerous short videos that are played one after another to look reasonably life-like. If an audio question is asked the avatar will nod its head and then respond with the verbal answer using a wav2lip generated video. Gradio can play videos back but the screen goes black at the end of a video or multiple videos - so dynamically introducing a response to the user looks very disjointed. I was hoping to use fastRTC web camera video stream to make it appear that the multiple dynamic video files are just one stream. Currently, when using modality "video" and mode "receive" the files can be played back using cv2 but it is not possible to maintain continuous stream without it ending and having to press "Start Streaming" again. Ideally, a thread could be created that could iterate through a dynamically changing file list and stream video to the display.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions