Skip to content

A LibVLC-based video player that rips-off LingoPie's features. Instantly translate foreign subtitles while watching.

Notifications You must be signed in to change notification settings

bullybutcher/LingoPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LingoPy

LibVLC-based LingoPie rip-off Instantly translate foreign subtitles while watching.

May or may not use Python (we primarily use C)
Uses Python EXTENSIVELY (for the mean time)

Phase 1 (prototype phase)

  • find libvlc-based python player on github and clone
  • add text-displaying widget to pyqt5 player
  • process srt files
  • synch srt to video
  • fix crashes when pausing player
  • integrate translation API

Demo

image

Phase 2 (prototype phase)

  • break down subtitle text into EDUs (Elementary Discourse Units) using pretrained text segementation model.
  • integrate language transformer models (prioritize French)
  • OR use unofficial google translate API
  • translate on-click (i.e., when you click on a word in the subtitle, it will show an instant translation of the word or of the whole phrase)
  • translate upon hovering on word. scroll through possible translations and their definitions.

Phase 3

  • modify VLC source code to render subtitles as in the prototype

Installation

Download the .zip file from the release page and unzip. Run Main.exe.

If the current release does not work:

  • Have VLC installed on your computer and add libvlc.dll to PATH.
  • Have Python 3.6+ installed.
  • Clone the repository
  • Install required python modules. pip install -r requirements.txt
  • Run Main.py python Main.py

About

A LibVLC-based video player that rips-off LingoPie's features. Instantly translate foreign subtitles while watching.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages