Posts

Showing posts from February, 2019

FFMPEG: HowTo

FFmpeg Howto * To find info about a particular encoder/decoder:  ffmpeg --help encoder=ac3 Table of Contents     * Generic Syntax     * Main Options     * Encoding :           o D10 (aka Sony IMX)           o DVCAM / DVCPRO25 / DVCPRO50           o VC-3 (aka Avid DNxHD)           o FFV1           o H.264 I-frame only in Highest Quality           o H.264 Long GOP           o MPEG-2 I-frame only in Highest Quality           o MPEG-2 Long GOP     * Muxing and Wrapping :           o D10 into QuickTime ( for Final Cut Pro import )           o MPEG-2 Program Stream     * Demuxing and Unwrapping :           o MPEG-2 Program Stream     * Timecode Management :           o MPEG-2 Start Timecode     * Misc :           o Audio Volume Modification           o Input Stream Selection           o Sub-clip Creation           o Make a Video File from a Single Frame Generic Syntax ffmpeg [[infile options][`-i' infile]]... {[outfile options] outfile}... Note :

FFMPEG: Finding specific encoder and decoder options

The following was taken from here:  https://stackoverflow.com/questions/3377300/what-are-all-codecs-and-formats-supported-by-ffmpeg Formats (muxers and demuxers): List all formats: ffmpeg -formats Display options specific to, and information about, a particular muxer: ffmpeg -h muxer=matroska Display options specific to, and information about, a particular demuxer: ffmpeg -h demuxer=gif Codecs (encoders and decoders): List all codecs: ffmpeg -codecs List all encoders: ffmpeg -encoders List all decoders: ffmpeg -decoders Display options specific to, and information about, a particular encoder: ffmpeg -h encoder=mpeg4 Display options specific to, and information about, a particular decoder: ffmpeg -h decoder=aac

FFMPEG: MPEG2 Encoder Options

Run: % ffmpeg -h encoder=mpeg2video And you get: Encoder mpeg2video [MPEG-2 video]:     General capabilities: delay threads     Threading capabilities: slice     Supported framerates: 1/1 2/1 3/1 4/1 5/1 6/1 8/1 9/1 10/1 12/1 15/1 16/1 18/1 20/1 24/1 25/1 30/1 32/1 36/1 40/1 45/1 48/1 50/1 60/1 72/1 75/1 80/1 90/1 96/1 100/1 120/1 150/1 180/1 200/1 240/1 750/1001 800/1001 960/1001 1000/1001 1200/1001 1250/1001 1500/1001 1600/1001 1875/1001 2000/1001 2400/1001 2500/1001 3000/1001 3750/1001 4000/1001 4800/1001 5000/1001 6000/1001 7500/1001 8000/1001 10000/1001 12000/1001 15000/1001 20000/1001 24000/1001 30000/1001 60000/1001     Supported pixel formats: yuv420p yuv422p mpeg2video encoder AVOptions:   -gop_timecode      <string>     E..V..... MPEG GOP Timecode in hh:mm:ss[:;.]ff format. Overrides timecode_frame_start.   -intra_vlc         <boolean>    E..V..... Use MPEG-2 intra VLC table. (default false)   -drop_frame_timecode <boolean>    E..V..... Timecod

Remote debugging with GDB and GDBServer on Alpine and Visual Studio Code

Skip to end of metadata o to start of metadata gdb and gdbserver can be used in combination to provide debugging capabilities over the network.   gdbserver  is run on the machine you want to debug.   gdb  is run on the machine you want to debug from, usually your local machine. More  here . Before we get started, we need some software.  Alpine 3.8 will be the gdbserver. NFS We will be using nfs (Network File System) to mount a remote directory and have it look like a local directory.  We will cd to the nfs mounted directory which contains the program we want to debug before we launch gdb.  This way the program and symbols will match.  gdb will be running on your local client, but it will be launched when in a directory on the gdbserver's system. More than you wanted to know about  nfs . To set up nfs, you will need nfs software on your server and your client. SERVER  (Your Alpine machine) - Add nfs support: % apk add nfs-utils - Edit /etc/exports,

How to Decrypt and Rip DVDs With Handbrake

https://www.howtogeek.com/102886/how-to-decrypt-dvds-with-hardbrake-so-you-can-rip-them/