Video Translation Into Text

Overview

2021/12/9

The project has been updated

Added a home screen

image

Just drag it onto the screen

image

The final results

image




\

2021/12/9 项目已更新

添加了主界面

image

拖到即可

image

最后结果

image







\

Using the tutorial

About the project creation process https://invinciby.github.io/

How is this project used?

Environment configuration:

Install this first:https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full.7z

import re
from urllib import request, parse
import os
from pydub import AudioSegment
import math
import json
import random
import requests
from hashlib import md5

Download the code and open it in the order shown below

step

1 BYBaiduapi,py

https://ai.baidu.com/tech/speech/asr Follow the instructions in the blog above to register for aipkey and password

Fill in the appropriate location in the code

2 translateByBAIDU.py

https://ai.baidu.com/ai-doc/SPEECH/pk38lxi60 Register for the aiPkey and password by following the steps in the above blog. ( Note: this is different from the AIP operation above, where the translation interface is implemented and the speech recognition interface is implemented in operation 1 )

Fill in the appropriate location in the code

3 mainMeun.py

Run directly from here, input the video path, you can get the original audio file and translation file (currently only support English translation, you can also modify the relevant content to change the translation language)

使用教程

关于项目创建历程:https://invinciby.github.io/

如何使用该项目?

环境配置:

需要先安装ffmpeg https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full.7z

import re
from urllib import request, parse
import os
from pydub import AudioSegment
import math
import json
import random
import requests
from hashlib import md5

下载代码,按照下面图片的顺序依次打开

step

1 BYBaiduapi,py

https://ai.baidu.com/tech/speech/asr依照上面博客里面的操作进行注册,获取aipkey以及password

填入代码中相应位置

2 translateByBAIDU.py

https://ai.baidu.com/ai-doc/SPEECH/pk38lxi60依照上面博客里面的操作进行注册,获取aipkey以及password(注意:这里与上面操作的aip不一样,此处实现的是翻译接口,操作1实现的是语音识别接口)

填入代码中相应位置

3 mainMeun.py

从此处直接开始运行,输入视频路径,可获得原音频文件以及翻译文件(目前仅支持英译中,也可以修改相关内容改变翻译语言)

High-performance cross-platform Video Processing Python framework powerpacked with unique trailblazing features :fire:

Releases | Gears | Documentation | Installation | License VidGear is a High-Performance Video Processing Python Library that provides an easy-to-use,

Abhishek Thakur 2.6k Dec 28, 2022
DICexport is a GUI (PyQt5) to export digital image correlation videos

DIC Video Exporter DICexport is a GUI (PyQt5) to export digital image correlation videos. It offers the flexibility to choose a selected range of a vi

Chaoyi Zhu 0 Jun 23, 2022
Telegram Music/ Video Streaming Bot Using Pytgcalls

Video Player 🔥 ᴢᴀɪᴅ ᴠᴄ ᴘʟᴀyᴇʀ ɪꜱ ᴀ ᴛᴇʟᴇɢʀᴀᴍ ᴘʀᴏᴊᴇᴄᴛ ʙᴀꜱᴇᴅ ᴏɴ ᴘʏʀᴏɢʀᴀᴍ ꜰᴏʀ ᴘʟᴀʏ ᴍᴜꜱɪᴄꜱ ɪɴ ᴠᴄ ᴄʜᴀᴛꜱ... 🅡🅔🅟🅞 🅢🅣🅐🅣🅢 ʀᴇQᴜɪʀᴇᴍᴇɴᴛꜱ 📝 FFmpeg NodeJ

16 Nov 30, 2022
Takes a video as an input and creates a video which is suitable to upload on Youtube Shorts and Tik Tok (1080x1920 resolution).

Shorts-Tik-Tok-Creator Takes a video as an input and creates a video which is suitable to upload on Youtube Shorts and Tik Tok (1080x1920 resolution).

Arber Hakaj 5 Nov 09, 2022
Video Translation Into Text

2021/12/9 The project has been updated Added a home screen Just drag it onto the screen The final results \ 2021/12/9 项目已更新 添加了主界面 拖到即可 最后结果 \ Using t

10 Mar 12, 2022
It is a simple python package to play videos in the terminal using characters as pixels

It is a simple python package to play videos in the terminal using characters as pixels

Joel Ibaceta 1.4k Jan 07, 2023
Add the dislike count back to my YouTube videos via a comment containing that information.

YouTube Dislikes Forrest Knight Python Version 3.0+ Only use if you know what the code actually does. I'm not responsible for your use of this code in

Forrest Knight 155 Dec 19, 2022
FLIR/DJI IR Camera Data Parser, Python Version

FLIR/DJI IR Camera Data Parser, Python Version Parser infrared camera data as NumPy data. Usage Clone this respository and cd thermal_parser. Run pip

14 Dec 23, 2022
An easy to use GUI based video to image sequence converter (and vice versa).

Vdo & Img Conversion Tools This is a quick conversion tool made with python that can save you a lot of time. With this tool you can extract image sequ

Akash Bora 3 Sep 18, 2022
Youtube-dislikes-adder - Add dislikes to the description of your YouTube videos.

Add number of dislikes to the description of your YouTube videos. Number of dislikes are updated if you let this function as a bot.

fluks 1 Aug 23, 2022
camKapture is an open source application that allows users to access their webcam device and take pictures or create videos.

camKapture is an open source application that allows users to access their webcam device and take pictures or create videos.

manoj 1 Jun 21, 2022
Tiny python video cutter

tiny_python_video_cutter Source code based on a discussion in StackOverflow Setup project in Pycharm: Configure virtual env in Pycharm. You are done w

Truong 2 May 28, 2022
Script simples para baixar vídeos/áudios/playlist do YouTube

🔗 VilelaTube ▶️ Script simples para baixar vídeos/áudios/playlist do YouTube Requisitos • Como usar • Melhorias futuras ⚠️ Atenção! ⚠️ Lembre-se de a

João Victor Vilela dos Santos 2 Nov 03, 2021
Become a virtual character with just your webcam!

Become a virtual character with just your webcam!

Rich 300 Jan 03, 2023
Python Simple Mass Video Clipper (PSMVC)

Python Simple Mass Video Clipper (PSMVC) PSMVC é um gerador de cortes via terminal construído em python. Uso Basta abrir o arquivo start.py Dependenci

Bruno 2 Oct 16, 2021
A multithreaded view bot for YouTube

Simple program to increase YouTube views written in Python.

Monirul Shawon 906 Jan 09, 2023
Source files for the data lake demo video using the AWS TICKIT database

Data Lake Demo Source code for video demonstration detailed in the post, Building a Simple Data Lake on AWS . Build a simple data lake on AWS using a

Gary A. Stafford 97 Dec 23, 2022
This is a simple script to generate a .opml file from a list of youtube channels.

Youtube to rss Don't spend more time than you need to on youtube.com This is a simple script to generate a .opml file from a list of youtube channels.

Kostas 1 Oct 04, 2022
Streams video from raspberry pi to desktop T1 - Recognizes Faces on client T2

VideoStreamingServer Completed: Streams video from raspberry pi to desktop T1 - Recognizes Faces on client T2 In progress: Change the transmission Pro

1 Dec 06, 2021
Rembg Video Virtual Green Screen Edition

Rembg Virtual Greenscreen Edition is a tool to create a green screen matte for videos

Tim Scarfe 217 Jan 06, 2023