Posts

Showing posts from 2018

Git, Create A Branch And Publish To Remote

Create your own local branch and remote publish git checkout -b my_branch_name --no-track origin/master make and commit changes git push -u origin my_branch_name

Speed Up Visual Studio Debugging

Turn off "Show Threads In Source" https://stackoverflow.com/questions/805397/debugging-sometimes-very-slow/49681940#49681940

How to Change a 4-Prong Dryer Cord and Plug to a 3-Prong

https://dengarden.com/appliances/how-to-change-a-4-prong-dryer-cord-and-plug-to-a-3-prong

HDR Research

Overview We are looking at what it would take to encode HDR-10 and Dolby Vision videos using an AVC/HEVC encoder. HDR-10 : 10-bit HDR, BT.2020, PQ transfer function, static metadata Dolby Vision : 12-bit HDR (10bit YUV + deltas defined in metadata = 12 bit), BT.2020, PQ transfer function, Dolby Vision dynamic metadata  What is HDR-10? From  this  paper, we have gleaned the following: Essentially, HDR-10 is defined as the combination of the following container and coding characteristics: Color container/primaries: BT.2020 PQ Transfer function (OETF/EOTF): SMPTE ST 2084 Representation: Non Constant Luminance (NCL) YCbCr Sampling: 4:2:0 Bit Depth: 10 bits Metadata: SMPTE ST 2086, MaxFALL, MaxCLL,  AVC/HEVC Supplemental enhancement information (SEI) Messages. Encoding using: HEVC Main 10 profile or AVC High 10. The AVC/HEVC specifications support all of these features as well as metadata (SEI) that can specify the mastering and brightness limitations characteristic

MXF Research

Image
Sony's HD Formats Guide from 2008 Avid and MXF   From digitalpreservation.gov: MXF File, OP1a, MPEG-2 in Generic Container MXF Operational Pattern 1a (OP1a) Creating MXF and AAF Files: MXF is a container format that is designed to "wrap" media files and carry associated metadata.  AAF is a metadata file format that can describe how to assemble a program from original sources. Cinecert's asdcplib  for creating MXF Advanced Authoring Format SDK  for creating AAF   XDCAM Formats from  wikipedia : DirectShow MXF Mux with Main Concept: I've been able to pull all elementary streams out of an MXF (except for the ancillary 608 CC track #9).  I've then been able to build a graph to remux all those sources using MC MXF Multiplexer. Creating XDCAM HD 422 using ffmbc: ffmbc -i Outlander211_prem_4k_30sec.h264 -target xdcamhd422 -s 1920x1080 out.mxf Creating XDCAM HD 422 using Direct Show: Main encoder settings: Advanced settings

FFMPEG Compliation Guide: libx264, MinGW and MSYS

The following were taken from  here  and  here . Get the nasm assembler:  http://www.nasm.us/ Stable build of libx264 can be found here:  ftp://ftp.videolan.org/pub/videolan/x264/snapshots/ Build libx264 H.264 video encoder. See the  H.264 Encoding Guide  for more information and usage examples. Requires ffmpeg to be configured with --enable-gpl --enable-libx264. If your repository provides libx264-dev version ≥ 118 then you can install that instead of compiling: sudo apt-get install libx264-dev Otherwise you can compile: cd ~/ffmpeg_sources git -C x264 pull 2> /dev/null || git clone --depth 1 http://git.videolan.org/git/x264 cd x264 If not using Mingw-w64, us this configure line: ./configure --enable-static If using Mingw-w64, use this configure line: ./configure --host=x86_64-w64-mingw32 --disable-cli --enable-static --disable-gpac --disable-swscale --enable-strip make make install Now libx264 will be built and installed. Build ffmpeg with libx26

FFMPEG Compilation Guide: MinGW and MSYS Pure, NO VISUAL STUDIO TOOLCHAIN

Most of what is below is stolen from here, with a few tweaks:  https://trac.ffmpeg.org/wiki/CompilationGuide/MinGW The goal is to use the MinGW-w64 build tools, like gcc.exe, but under the MinGW "Mainline" shell.  You accomplish this by putting MinGW-w64's bin first in your PATH when running a shell under MSYS, which is installed by MinGW "Mainline".  You want to find the MinGW-w64 versions of gcc.exe before finding the MinGW "Mainline" version of gcc.exe. Install MinGW-w64 MinGW-w64 can be  found on SourceForge . Change the install path to C:\mingw-w64.  This will make setting up your PATH environment variable easier.  The default install path is dumb. Install MinGW "Mainline" Go to  http://www.mingw.org  and look for the "Download" page. The recommended way to install MinGW/MSys is through the automated installer, mingw-get-setup.exe. This will download most of the basic core packages. It will usually install in C