Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
You can get the list of installed codecs with:
#!/bin/bash | |
pyinstaller -F -w \ | |
--hidden-import='email.mime.multipart' \ | |
--hidden-import='email.mime.message' \ | |
--hidden-import='email.mime.text' \ | |
--hidden-import='email.mime.image' \ | |
--hidden-import='email.mime.audio' \ | |
--hidden-import='sqlalchemy.sql.default_comparator' \ | |
--hidden-import='jinja2' \ | |
main.py |
# Requirements: | |
# - ImageMagick binary | |
# - Windows.Media.Ocr.Cli binary | |
# - VideoSubFinder binary | |
# | |
# Official GCloud Translate Setup: | |
# First 500k characters / mo is free: https://cloud.google.com/translate/pricing | |
# Install Python Module: pip install google-cloud-translate | |
# Setup Google Cloud account and billing information: https://cloud.google.com/ | |
# Make a new project and enable "Cloud Translation API": https://console.cloud.google.com/apis/dashboard |
#!/usr/bin/env python | |
# encoding: utf-8 | |
from pprint import pformat, pprint | |
import logging | |
class PasswordMaskingFilter(logging.Filter): | |
"""Demonstrate how to filter sensitive data:""" |
If your system is running slowly, perhaps a process is using too much CPU time and won't let other processes run smoothly. To find out which processes are taking up a lot of CPU time, you can use Apple's Activity Monitor.
The CPU pane shows how processes are affecting CPU (processor) activity: