Skip to content

Instantly share code, notes, and snippets.

View perathambkk's full-sized avatar
🏠
Working from home

Peratham perathambkk

🏠
Working from home
View GitHub Profile
Originall From: Posted 2015-05-29 http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options
This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full.
usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}…
Getting help:
-h — print basic options
-h long — print more options
-h full — print all options (including all format and codec specific options, very long)
@perathambkk
perathambkk / countPrimes.py
Last active December 14, 2020 13:16
Using the Sieve of Eratosthenes method to count the number of prime numbers from 0 to n.
#!/usr/bin/env python
# coding: utf-8
def countPrime(n: int) -> int:
'''
Using the Sieve of Eratosthenes method.
https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
'''
if n < 2:
return 0