All Projects → balgruuf → video-download-cut-split

balgruuf / video-download-cut-split

Licence: other
A script for gathering facesets from online videos

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to video-download-cut-split

Faceswap
Deepfakes Software For All
Stars: ✭ 39,911 (+159544%)
Mutual labels:  faceswap, deepfakes, fakeapp
Deepfacelab
DeepFaceLab is the leading software for creating deepfakes.
Stars: ✭ 30,308 (+121132%)
Mutual labels:  faceswap, deepfakes, fakeapp
awesome-Deepfakes
All about Deepfakes & Detection
Stars: ✭ 107 (+328%)
Mutual labels:  faceswap, deepfakes
facetool
Command line utility to manipulate faces in videos and images
Stars: ✭ 38 (+52%)
Mutual labels:  faceswap
DFL-Colab
DeepFaceLab fork which provides IPython Notebook to use DFL with Google Colab
Stars: ✭ 742 (+2868%)
Mutual labels:  faceswap
ARFaceFilter
Javascript/WebGL lightweight face tracking library designed for augmented reality webcam filters. Features : multiple faces detection, rotation, mouth opening. Various integration examples are provided (Three.js, Babylon.js, FaceSwap, Canvas2D, CSS3D...).
Stars: ✭ 72 (+188%)
Mutual labels:  faceswap
Streamlit-Applications
Deep Learning and Computer Vision Applications using Streamlit
Stars: ✭ 55 (+120%)
Mutual labels:  faceswap
DeepFaceLive
Real-time face swap for PC streaming or video calls
Stars: ✭ 7,917 (+31568%)
Mutual labels:  faceswap
Deep-Fakes
No description or website provided.
Stars: ✭ 88 (+252%)
Mutual labels:  deepfakes
FaceSwap-Android
My android FaceSwap app.
Stars: ✭ 61 (+144%)
Mutual labels:  faceswap
Jeelizfacefilter
Javascript/WebGL lightweight face tracking library designed for augmented reality webcam filters. Features : multiple faces detection, rotation, mouth opening. Various integration examples are provided (Three.js, Babylon.js, FaceSwap, Canvas2D, CSS3D...).
Stars: ✭ 2,042 (+8068%)
Mutual labels:  faceswap
simple faceswap
使用python-opencv和dlib实现的简单换脸程序
Stars: ✭ 50 (+100%)
Mutual labels:  faceswap
Deepnude An Image To Image Technology
DeepNude's algorithm and general image generation theory and practice research, including pix2pix, CycleGAN, UGATIT, DCGAN, SinGAN, ALAE, mGANprior, StarGAN-v2 and VAE models (TensorFlow2 implementation). DeepNude的算法以及通用生成对抗网络(GAN,Generative Adversarial Network)图像生成的理论与实践研究。
Stars: ✭ 4,029 (+16016%)
Mutual labels:  deepfakes
Awesome-Deepfakes-Detection
A list of tools, papers and code related to Deepfake Detection.
Stars: ✭ 30 (+20%)
Mutual labels:  deepfakes
FakeFynder-Hackathon-for-Good-2019
This repository contains our POC for a website which can easily check videos for manipulated areas. It was part of the Hackathon for Good in the Hague, 2019.
Stars: ✭ 23 (-8%)
Mutual labels:  deepfakes
Combining-EfficientNet-and-Vision-Transformers-for-Video-Deepfake-Detection
Code for Video Deepfake Detection model from "Combining EfficientNet and Vision Transformers for Video Deepfake Detection" available on Arxiv and was submitted to ICIAP 2021.
Stars: ✭ 39 (+56%)
Mutual labels:  deepfakes

video-download-cut-split

Contribute and donate

If you found this script helpful, please consider to contribute or make a donation.

BTC: 1AbC41w4EDCFj1sWTqsbdYDRr4Jp8f4jSa

Requirements

This script requires the followings:

The listed programs must be installed and inserted into the path environement variable.

This script have been tested only on Window's Ubuntu subsystem, but should work fine on any OS, if not, please report it.

Introduction

This is a very simple python script designed for gathering material for producing face sets starting from videos.

This script allows you to automatize the downloading, cutting and splitting process.

All you have to do is browse for videos you want to use, save the URL and write down the time at the start and end of the pieces you need from those videos.

Once you have all you can insert everything into the vids.json file. I made one just as a demonstration using Nic Cage interviews.

The all you have to do is to move inside the script directory and type

python video_download_cut_split.py

This will start the downloading and cutting process. All the results will be inside the downloaded and cutted directories.

For splitting all the videos into single frames type

python video_download_cut_split.py --split-frames

Type python video_download_cut_split.py --help for more options.

The vids.json file

The vids.json file will contain all the informations needed for the downloading and cutting process.

Here's the content of the default vids.json file containing pieces of Nic Cage's interviews.

[
	{
		"name": "nic1",
		"url": "https://www.youtube.com/watch?v=caxMBk1__-Y",
		"chuncks": 
			[
				{
					"start": "00:00:50.0",
					"end": "00:01:10.0"
				},
				{
					"start": "00:01:50.0",
					"end": "00:01:54.0"
				},
				{
					"start": "00:02:41.0",
					"end": "00:02:50.0"
				},
				{
					"start": "00:03:07.0",
					"end": "00:03:19.0"
				}
			]
	},
	{
		"name": "nic2",
		"url": "https://www.youtube.com/watch?v=6RRvDarJsHA",
		"chuncks":
			[
				{
					"start": "00:00:11.0",
					"end": "00:00:56.0"
				},
				{
					"start": "00:01:01.0",
					"end": "00:01:48.0"
				},
				{
					"start": "00:01:53.0",
					"end": "00:02:24.0"
				}
			]
	}
]

You can add as many videos as you want and as many chuncks as you want.

The URL can be from any site supported by youtube-dl.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].