You can do this will the following command:
ffmpeg -i input.mp4 -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k output.mp4This command uses the following syntax:
| import psycopg2 | |
| import time | |
| import selenium | |
| from selenium import webdriver | |
| import openpyxl | |
| from openpyxl import load_workbook | |
| import subprocess | |
| from email.mime.text import MIMEText | |
| from email.mime.application import MIMEApplication | |
| from email.mime.multipart import MIMEMultipart |
| import sqlite3 | |
| db = sqlite3.connect(':memory:') | |
| c = db.cursor() | |
| c.execute('CREATE TABLE mytable (description text)') | |
| c.execute('INSERT INTO mytable VALUES ("Riemann")') | |
| c.execute('INSERT INTO mytable VALUES ("All the Carmichael numbers")') | |
| print '1) EQUALITY' | |
| c.execute('SELECT * FROM mytable WHERE description == "Riemann"'); print 'Riemann:', c.fetchall() |
| import pandas as pd | |
| from functools import wraps | |
| from typing import Union, List, Callable, Any | |
| def upsert_df(target_df: pd.DataFrame, key_columns: Union[str, List[str]]): | |
| """ | |
| Decorator that performs an upsert operation on a target DataFrame. | |
| Args: | |
| target_df: The DataFrame to upsert into |
| ##################################################### | |
| # Setting the Stage: Our Dataset | |
| ##################################################### | |
| import pandas as pd | |
| import numpy as np | |
| import seaborn as sns | |
| import matplotlib.pyplot as plt | |
| import plotly.express as px | |
| import plotly.graph_objects as go |
| # SPDX-License-Identifier: MPL-2.0 | |
| # Author: Maxim Sharabayko | |
| # See https://maxsharabayko.github.io/blog/posts/plot-vc-frame-size/ | |
| import click | |
| import pandas as pd | |
| from bokeh.plotting import figure, show, output_file | |
| from bokeh.io import output_notebook | |
| from bokeh.transform import factor_cmap | |
| from bokeh.models import Legend, LegendItem | |
| from bokeh.layouts import column |
| # General Information | |
| # * High-level programming language | |
| # * General-purpose (vs. domain specific) | |
| # * Created by Guido van Rossum (1991) | |
| # * Emphasizes: | |
| # * Code readability | |
| # * Highly-expressive syntax | |
| # | |
| # | |
| # Some specifics |
| from __future__ import annotations | |
| import os | |
| import sys | |
| import json | |
| import pprint | |
| import sqlite3 | |
| import argparse | |
| from pathlib import Path | |
| from typing import cast, List, NewType, Tuple, TypedDict, Generator, Union |
| import os | |
| import sys | |
| import time | |
| import hashlib | |
| import pathlib as pt | |
| import subprocess as sp | |
| from watchdog.observers import Observer | |
| from watchdog.events import PatternMatchingEventHandler |
| import asyncio | |
| import functools | |
| import threading | |
| from contextlib import asynccontextmanager, contextmanager | |
| from typing import Any, Callable | |
| @contextmanager | |
| def my_cont_mgr(tag: str): | |
| print(f"{tag}: f entering!") |