exp/rvcl: run with default config if nothing provided and launch VLC when RTP output

Issue #325 resolved
Saxon Milton created an issue

A very common testing pipeline is h.264 file input, MPEG-TS encoding, and RTP output to a VLC player session. Let’s make this config default if nothing else is provided. Also, let’s launch a VLC window to stream RTP if the output it RTP.

Comments (4)

  1. Alan Noble

    Alternative approach would be for rvcl to launch vlc via exec.Command. We could keep everything in Go then.

  2. Saxon Milton reporter

    yes we could, but as it is now, rvcl’s purpose is simply to pass a configuration map to revid.Update and call revid.Start() and revid.Stop(). Another reason to use a script is to pass in a configuration, so i need not type it out every time I run.

    Thinking about it now, I think I can just do both of these things in rvcl. If no config is passed, it’ll use a default, and in the case where RTP output is selected in the config, it will launch VLC.

  3. Log in to comment