Skip to content

Instantly share code, notes, and snippets.

View lyarinet's full-sized avatar

Asif Agaria lyarinet

View GitHub Profile
ffmpeg -i $1 -vn -acodec libvorbis -ab 128k -dash 1 $2/audio.webm
ffmpeg -i $1 -c:v libvpx-vp9 -keyint_min 150 \
-g 150 -tile-columns 4 -frame-parallel 1 -f webm -dash 1 \
-an -vf scale=160:190 -b:v 250k -dash 1 $2/video_160x90_250k.webm \
-an -vf scale=320:180 -b:v 500k -dash 1 $2/video_320x180_500k.webm \
-an -vf scale=640:360 -b:v 750k -dash 1 $2/video_640x360_750k.webm \
-an -vf scale=640:360 -b:v 1000k -dash 1 $2/video_640x360_1000k.webm \
-an -vf scale=1280:720 -b:v 1500k -dash 1 $2/video_1280x720_1500k.webm \
-an -vf scale=1920:1080 -b:v 5300k -dash 1 $2/video_1920x1080_5300k.webm
@bradtraversy
bradtraversy / webdev_online_resources.md
Last active September 1, 2025 09:15
Online Resources For Web Developers (No Downloading)
@phpcodertop
phpcodertop / script.sh
Created April 14, 2018 22:44
install ipvtl trial and hack its trial
#!/bin/bash
echo "Downloading ipvtl Software \n"
cd /home
wget http://www.ipvideotrans.com/download/ipvtl_trial-x64.tar.xz
@jdeathe
jdeathe / centos-wildcard-certbot.md
Last active November 29, 2021 10:33
Installation and Usage of Certbot on CentOS to Obtain a Let’s Encrypt Wildcard TLS/SSL Certificate.

Requesting a Wildcard Certificate with Certbot on CentOS

To request a Let's Encrypt wildcard certificate there are the following prerequisites:

  • The client must support ACME v2 (i.e Certbot >= 0.22.0)
  • The DNS-01 challenge type must be used.
  • The --server option or configuration directive must be changed to the appropriate v2 endpoint.

Installation

Install certbot-auto

@nitinegoro
nitinegoro / Firebase_push.php
Created March 2, 2018 17:39
Codeigniter Firebase Push Notification
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Single Sender FIrebase Push To Android
*
* @package Codeigniter
* @author Vicky Saputra <http://vicky.work
**/
class Firebase_push
{

Using the fs-net libtransistor fork

This guide assumes you are already familliar with setting up RetroArch with libtransistor.

Clone the fs-net branch from https://github.com/davidbuchanan314/libtransistor:

git clone https://github.com/davidbuchanan314/libtransistor --recursive -b fs-net

Build libtransistor as usual.

@mrbar42
mrbar42 / README.md
Last active August 15, 2025 17:51
bash scripts to create VOD HLS stream with ffmpeg almighty (tested on Linux and OS X)

running:

bash create-vod-hls.sh beach.mkv

will produce:

    beach/
      |- playlist.m3u8
 |- 360p.m3u8
#!/bin/bash
cpuinfo > cpuinfo.txt
# -----------------------------------------------------------
#
# Encodage H264 1080p24 8 bits profil "slower" avec optimisation "grain"
#
# -----------------------------------------------------------
@jniltinho
jniltinho / install_ffmpeg_nvenc.sh
Last active May 5, 2023 01:52
Install FFMPEG 2.8.6 support NVENC on Ubuntu 16.04
#!/bin/bash
## Install FFMPEG 2.8.6 Ubuntu 16.04 64Bits
## http://www.linuxpro.com.br/2017/04/compile-ffmpeg-nvenc-ubuntu/
## Pacote Compilado no GITHUB: https://github.com/jniltinho/oficinadotux
## Run as root (sudo su)
## Check Nvidia ENC
## nvidia-smi dmon -i 0
## Test FFMPEG ENCODER NVENC (FFMPEG 2.8.6 NVIDIA-SDK 6.0.1)
@jaydenseric
jaydenseric / ffmpeg-web-video-guide.md
Last active August 23, 2025 09:22
A quick guide to using FFmpeg to create cross-device web videos.

Video conversion with FFmpeg

Install

On mac:

  1. Download the latest release.
  2. Extract the binary and place it in /usr/local/bin.

Command basics