s = Session().get_instance()
tdef = TorrentDef()
dscfg = DownloadStartupConfig()
d = s.start_download(tdef,dscfg)
In the first part a new torrent is created containing your home brew video file using your own internal tracker. This follows the standard Bittorrent protocol. The second part starts the downloading/seeding protocol as usual.