This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pure python reimplementation of .cpio.xz content extraction from pbzx file payload originally here: | |
# http://www.tonymacx86.com/general-help/135458-pbzx-stream-parser.html | |
# | |
# Cleaned up C version (as the basis for my code) here, thanks to Pepijn Bruienne / @bruienne | |
# https://gist.github.com/bruienne/029494bbcfb358098b41 | |
# Example usage: | |
# parse_pbzx('PayloadJava', 'PayloadJava.cpio.xz') | |
# Updated for speeeeeeeeeeeeed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Asena = require('../events'); | |
const {MessageType,Mimetype} = require('@adiwajshing/baileys'); | |
const translatte = require('translatte'); | |
const config = require('../config'); | |
const ytdl = require('ytdl-core'); | |
const ffmpeg = require('fluent-ffmpeg'); | |
const yts = require( 'yt-search' ) | |
const got = require("got"); | |
const fs = require('fs'); | |
const ID3Writer = require('browser-id3-writer'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |