Skip to content

hls or RTSP dont work #388

@gasparuben

Description

@gasparuben

Hi all,
Sorry if this is not the right way to contact you. Just wanted to report that the RTSP or HLS client doesnt look to work at least for me. So I was wondering if something special should be done, in order to make those work.
File and microphone use cases do work perfectly.

I run my server via docker on a sever with GPU's: docker run -it --gpus all --network=host -p 9090:9090 ghcr.io/collabora/whisperlive-gpu:latest
Then I run a client from my mac, as per your example:

from whisper_live.client import TranscriptionClient
client = TranscriptionClient(
  "server",
  9090,
  lang="en",
  translate=False,
  model="small",                                      # also support hf_model => `Systran/faster-whisper-small`
  use_vad=False,
  save_output_recording=False,                         # Only used for microphone input, False by Default
  output_recording_filename="./output_recording.wav", # Only used for microphone input
  max_clients=4,
  max_connection_time=600,
  mute_audio_playback=False,                          # Only used for file input, False by Default
)
client(hls_url="https://xxxx.cern.ch/whisper/smil:1273117_camera_delayed_all.smil/playlist.m3u8")
client(rtsp_url="rtsp://ip:1935/whisper/_definst_/1273117_camera_delayed_1200-360p")

But it remains on connecting and I dont get a flow of transcripts. Both do work from Safari for the HLS or VLC player for the RTSP.

I would like to also ask what means, translate parameter on the TranscriptionClient, could the software translate from English to French for example?

Thank you very much,
Ruben

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