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

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

Techie Sneh 17 Nov 23, 2021
Terminal-Video-Player - A program that can display video in the terminal using ascii characters

Terminal-Video-Player - A program that can display video in the terminal using ascii characters

15 Nov 10, 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
A Python media index

pyvideo https://pyvideo.org is simply an index of Python-related media records. The raw data being used here comes out of the pyvideo/data repo. Befor

pyvideo 235 Dec 24, 2022
Home Assistant custom component for viewing IP cameras RTSP stream in real time using WebRTC technology

WebRTC Camera Home Assistant custom component for viewing IP cameras RTSP stream in real time using WebRTC technology. Based on: Pion - pure Go implem

Alex X 739 Dec 30, 2022
OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.

OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality v

OpenShot Studios, LLC 3.1k Jan 01, 2023
A way to run youtube videos in TTY

TTY youtube client its finally here, the one thing literally NO ONE ASKED FOR!! A way to run youtube videos in TTY Dependencies: (pip) yt-search (syst

1 Nov 28, 2021
Automatic video generator for local news

Automatic video generator for local news

Gabriel Monteiro 2 Jan 11, 2022
In this project, we will be blurring the background in a live video feed

In this project, we will be blurring the background in a live video feed. This can be further integrated into online meetings, streamings etc.

Hassan Shahzad 2 Jan 06, 2022
Video Object Segmentation(VOS) From Zero to HeroVideo Object Segmentation(VOS) From Zero to Hero

Video Object Segmentation(VOS) From Zero to Hero! Goal 1:train a two layers cnn model for vos. Finish! see model.py FFNet for more diteal.(2021.9.30)

1 Oct 22, 2021
pygamevideo module helps developer to embed videos into their Pygame display

pygamevideo module helps developer to embed videos into their Pygame display. Audio playback doesn't use pygame.mixer.

Kadir Aksoy 10 Dec 28, 2022
A Telegram bot to convert videos into x265/x264 format via ffmpeg.

Video Encoder Bot A Telegram bot to convert videos into x265/x264 format via ffmpeg. Configuration Add values in environment variables or add them in

1 Mar 08, 2022
Repository to create Ascii art in CMD based on video file.

Made to take any file format, and transform it into ascii art, displayed as a video in the cmd. If the cmd formatting is wrong, try zooming a little and remember to make cmd fullscreen. I made my cmd

60 Dec 17, 2022
Synchronize Two Cameras in Real Time using Multiprocessing

Synchronize Two Cameras in Real Time using Multiprocessing In progress ... 📁 Project Structure 📚 Install Libraries for this Project (requirements.tx

Eduardo Carvalho Nunes 2 Oct 31, 2021
Use ZWO astronomy camera as an IP camera.

ZWO Astronomy Camera as IP Camera Astronomy cameras are known for their high sensitivity and flexibility on whether to have IR pass through and bayer

Yan Wang 9 Oct 15, 2022
Video stream recording dockerized server using python/ffmpeg.

Stream Recording Server Video stream recording dockerized server using python/ffmpeg. Usage Configuration Prepare .env file, check .env.example for th

GR 2 Jan 14, 2022
Code from the 2021 Signal Video Superclass

Twilio Video Demo This is the code written during the live Twilio Video demo during Twilio's Signal 2021 Superclass. It creates a simple Video applica

2 Oct 21, 2021
获取斗鱼&虎牙&哔哩哔哩&抖音&快手等 48 个直播平台的真实流媒体地址(直播源)和弹幕,直播源可在 PotPlayer、flv.js 等播放器中播放。

获取斗鱼&虎牙&哔哩哔哩&抖音&快手等 48 个直播平台的真实流媒体地址(直播源)和弹幕,直播源可在 PotPlayer、flv.js 等播放器中播放。

乌帮图 5.6k Jan 06, 2023
A self-hosted streaming platform with Discord authentication, auto-recording and more!

A self-hosted streaming platform with Discord authentication, auto-recording and more!

John Patrick Glattetre 331 Dec 27, 2022
A python generator that converts youtube videos to ascii art in your console.

Video To ASCII A python generator that converts youtube videos to ascii art in your console. This has not been tested for windows! Example Normal mode

Julian Jones 24 Nov 02, 2022