Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/AndersonFrossard/whatsapp-video


https://github.com/AndersonFrossard/whatsapp-video

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

Karoua Whatsapp Converter

Convert Videos to Whatsapp format





Table of contents
===============

- [About](#about)
- [Features](#features)
- [Instalation and how to use](#instalation-and-how-to-use)
- [Requirements](#requirements)

- [Configuration](#configuration)

- [Command-line interface](#cli)

- [Windows Standalone](#standalone)

- [Checking integrity of zipfile](#integrity)

- [Public key](#public-key)
- [Tecnologies](#tecnologies)
- [Autor](#autor)

## About

Hi.


Have you ever failed to send a video through Whatsapp ? Sometimes the app can´t create a window preview image or perhaps the file is too big?
Well, my software will make it fit, whether by converting or spliting into n parts.

My software is straight to the point:



  • Insert filename in command line

  • Answer (Y)es or (N)o

  • Voilá!

## Features
- [ ] Gui Interface
- [x] Video resize if resolution is too big
- [x] Split into n files if filesize is too big

## Instalation-and-how-to-use
---

### Requirements

>FFMPEG
>
>colorama
>
>ffmpy
>
>ffprobe
>
>future

You can install it by running this command:

pip install pytube
pip install colorama
pip install ffmpy
pip install ffprobe-python

You can obtain FFMPEG here:

https://ffmpeg.org

### Configuration

First time you run the program, a configuration file will be created and saved with the name:

.env

You MUST HAVE FFMPEG installed in your system. Open the configuration file using notepad (or any other text editor) and manually set the path for two programs:
>FFMPEG.EXE
>
>FFPROBE.EXE

These two files are vital to allow our program running properly. Within the configuration file you can also set:
* The output directory
* Max individual filesize (in bytes)

## CLI - Command Line Interface
---

Running with CLI :

python whatsapp_video.py file-to-convert.avi

![CLI interface](./img/image01.jpg)

## Standalone
---
## Standalone executable for Windows:

Perhaps you just want a fast way to get things running. The standalone executable will suit you well.


  • Download the zip file

  • Unzip the zip file into a new folder

  • Check integrity of zip file's content (optional)

  • Open terminal and execute: whatsapp_video.exe filename-to-convert.avi

### Integrity

#### How to check if downloaded file is correct and valid:

Get my public key HERE or HERE

Import my public key:

gpg --import frossard.public.key.asc

Verify the file:

gpg --verify whatsapp_video.zip.asc

If sucessfull, you should see a message saying
>Good signature from Anderson Frossard. (Das ist meine key. Wir ziehen voran!)

gpg will probably also say this signature is not certified. That´s because you have just downloaded it and have not applied command *trust* to it.

Once the gpg has verified the file has been signed by myself, you are safe to unzip it and run its executable.

Optionally, for aditional security you can hash your whatsapp_video.zip file and compare with my hash:


SHA-256
File

335D2644CC798F29904B08934FE7512B4428AE10D101C29B1B5193ED538ED615
whatsapp_video.zip

The hashes must be exactly the same.

## Public-key

My PGP public key is available at:

[Public Key at Github](https://github.com/AndersonFrossard/karoua_youtube_download_gui/tree/main/standalone/frossard_public_key.asc)

[PGP Global Directory](https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xB79AAE8846C18DF7)

### GPG and Encryption

There are many tutorials and books on the internet about this subject. I am writing a little tutorial focusing on practical command line interface commands and basic concepts.

You can learn basic comands on my github page here:

https://github.com/AndersonFrossard/tutorialGnuPG

Nothing is faster than command line interface

Enjoy!

## Tecnologies
---
Solely written in Python 3.8.7.

Libraries imported:


  • colorama

  • ffmpy

  • ffprobe-python

  • future



### Autor
---
[![flag-br-mini-mini.png](https://i.postimg.cc/DyXTfVHf/flag-br-mini-mini.png)](https://postimg.cc/Xp4hxPnt)
[![flag-de-mini-mini.png](https://i.postimg.cc/4xGNrNyR/flag-de-mini-mini.png)](https://postimg.cc/nCdJmxq3)
✈️ ::statue_of_liberty::




Anderson Frossard



Done with ❤️ by Anderson Frossard 👋🏽 Get in contact!

[![Gmail Badge](https://img.shields.io/badge/[email protected]?style=flat-square&logo=Gmail&logoColor=white&link=mailto:[email protected])](mailto:[email protected])