Using VLC to host a stream of an infinite video loop

前端 未结 2 981
天涯浪人
天涯浪人 2021-02-14 02:32

I want to offer a video stream from my pc with a VLC player trough a WIFI network to smartphones for regression testing. The video should automatically restart at the beginning

2条回答
  •  北海茫月
    2021-02-14 03:25

    you need to use --sout-keep which keeps the stream output open (disabled by default)

    and use gather:std and transcode option if the files use different encoding so that there wouldn't be any noticeable interruption on input change.

    see:

    1: https://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples/#Keeping_the_stream_open

    2: https://wiki.videolan.org/Documentation:Modules/gather/

提交回复
热议问题