Skip to content

Linux Source Code Deployment

  1. Install ffmpeg. On CentOS, run yum install ffmpeg. On Ubuntu, run apt-get install ffmpeg.
  2. It is recommended to use uv for installation. If you do not have uv yet, install it by running the command: curl -LsSf https://astral.sh/uv/install.sh | sh
  3. Download the source code. Execute the following commands to download the source code:
    git clone https://github.com/jianchang512/pyvideotrans
    cd pyvideotrans
  4. Run the command uv sync to install the modules. Depending on your network, this may take a few minutes to over ten minutes. Users in mainland China can use a mirror to speed up the installation with the command: uv sync --index https://mirrors.aliyun.com/pypi/simple/
  5. Run the command uv run sp.py to launch the software interface.

To use CUDA acceleration, execute the following commands separately

Example

uv  remove torch torchaudio

uv  add --reinstall torch torchaudio --index-url https://download.pytorch.org/whl/cu126

uv add nvidia-cublas-cu12 nvidia-cudnn-cu12