Skip to content

Instantly share code, notes, and snippets.

@dericed
dericed / head switch text
Last active December 17, 2015 21:29
last 20 rows of a video frame with head switching interpreted as hexadecimal representation of the luminosity channel of a frame. Within the head switch area there are strings of 0x00 and 0x01
02030104366a4842544c5450585b5c5e5e60616667696b6a6b6b6c6c6e6f70717272717071727273737373727373737473757577797a7b7c7d7d7e7e808284868687868685858484838281807f7e7c7d7b7c7c7e7e808183848585858585848483828282838487898b8c8c8b8b8b8a8b8c8d8f8f908f8f8e8d8d8c8b8a888785838585868687878788898c8e919497999b9c9a99989898999a9a9a9a9a99969593918e8e8d8e8e9090918f8f8f8f90909091929292908e8c8b8a8a8b8c8c8b8a87878586868786868585858788898a8a8c8c8e8f90929293919392939395979897979594929192929292918f8d8b898988898889888684807d7a7a7b7a838a8f8e8e8d8c8b8b8a8a8b8b8b8d8e8f8e8e8d8d8c8d8e8f8f8f8e8d8d8d8e8d8d8e8d8e8e8f8f919393949292908f9090929496959896989696949392929393929391918f8e8b8883828485848482817f7d7e7d7f8081828283848686898989898785827f7c797876777678797d7f83858787868483817f7f7d7e818388898b8a8a8a8b8c8e8f8e8d8b8885828281818182828383848587888a8b8b8b8b8a89898886868585848481807e7e7e7f8080807e7d7d7d7d7e7d7a7875737171706f6d6b6a666a6c6f717172717270706e6e6c6c6a696968686867676869696968686666656668696a6b6b6c6c6c6e6e6e6e6d6c6c6a68666463626060605f5f5f616062
@dericed
dericed / gist:8040747
Created December 19, 2013 15:16
ltfsarchiver.20131219.log
2013-12-19_07:14:38 -> ------------> Starting in manual mode
2013-12-19_07:14:38 -> LTFSARCHIVER_CHECKSOUT is empty. Shecksum saving disabled
2013-12-19_07:14:38 -> Tapedrive type: LTO
2013-12-19_07:14:38 -> ------------------------------------->>> STEP 0 - CONFIGURATION
2013-12-19_07:14:38 -> ========== Listing available tape devices =======================
2013-12-19_07:14:38 -> Listing available manual tape devices
2013-12-19_07:14:38 -> -----------------------------------------------------------------
2013-12-19_07:14:38 -> External tape device(s): /dev/st0
2013-12-19_07:14:38 -> =================================================================
2013-12-19_07:14:38 -> ------------------------------------->>> STEP 0 - Checking locked devices
@dericed
dericed / tape_agent err log
Created December 24, 2013 08:38
ltfsarchiver tape_agent with verbose bash stderr output
++ dirname /opt/ltfsarchiver/sbin/tape_agent
+ CFG_FILE=/opt/ltfsarchiver/sbin/../conf/ltfsarchiver.conf
+ '[' -f /opt/ltfsarchiver/sbin/../conf/ltfsarchiver.conf ']'
+ . /opt/ltfsarchiver/sbin/../conf/ltfsarchiver.conf
++ LTFSARCHIVER_MODE=M
++ HW_CHANGER_TYPE=MSL
++ HW_TAPE_TYPE=LTO
++ HW_CHANGER_ADDRESSES=(http://192.168.0.2)
++ LTFSARCHIVER_TITLE='LTFS Archiver'
++ LTFSARCHIVER_VERSION=1.1.XXXX
@dericed
dericed / gist:9845441
Created March 28, 2014 23:54
threshold notes
90,240
38,112
1444
Saturation
0 - 88.7 within 75% range
88.7 - 118.2 within 100% range
118.2 - 181.02 illegal chroma
Y
@dericed
dericed / pbcore-v2.0rdogg
Last active August 29, 2015 14:02
Snoop Dogg joins the PBCore schema committee
<?xml version="1.0" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.pbcore.org/PBCore/PBCoreNamespace.html"
xmlns="http://www.pbcore.org/PBCore/PBCoreNamespace.html" elementFormDefault="qualified"
version="2.0RC1">
<xsd:annotation>
<xsd:documentation xml:lang="en">"This is tha PBCore version 2.0RC1 XML schema fo' realz. All element
descriptions can be found at http://www.pbcore.org"</xsd:documentation>
</xsd:annotation>
ffmpeg -f lavfi -i color=color=black:s=1920x1080 -vf "drawtext=fontfile=/Library/Fonts/Arial.ttf:fontsize=80:fontcolor=white:x=(w-text_w)/2:y=(h-text_h-line_h)/2:text='Lossless codecs vs corruption',drawtext=fontfile=/Library/Fonts/Arial.ttf:fontsize=30:fontcolor=white:x=(w-text_w)/2:y=(h-text_h-line_h)/2+80:text='by Dave Rice',fade=in:0:20,fade=out:55:20" -c:v rawvideo -pix_fmt uyvy422 -t 3 -vtag 2vuy intro_title.mov
ffmpeg -f lavfi -i color=color=black:s=1920x1080 -vf "drawtext=fontfile=/Library/Fonts/Arial.ttf:fontsize=100:fontcolor=white:x=(w-text_w)/2:y=(h-text_h-line_h)/2:text='JPEG-LS',fade=in:0:20,fade=out:55:20" -c:v rawvideo -pix_fmt uyvy422 -t 3 -vtag 2vuy jpegls_title.mov
ffmpeg -f lavfi -i mandelbrot=s=1920x1080 -c:v jpegls -bsf noise -t 10 jpegls.mov
ffmpeg -f lavfi -i color=color=black:s=1920x1080 -vf "drawtext=fontfile=/Library/Fonts/Arial.ttf:fontsize=100:fontcolor=white:x=(w-text_w)/2:y=(h-text_h-line_h)/2:text='Lossless JPEG',fade=in:0:20,fade=out:55:20" -c:v rawvideo -pix_fmt uyvy422 -t 3
@dericed
dericed / qctools.xml.gz
Created July 9, 2014 15:45
qctools data format sample
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8"?>
<ffprobe:ffprobe xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:ffprobe='http://www.ffmpeg.org/schema/ffprobe' xsi:schemaLocation='http://www.ffmpeg.org/schema/ffprobe ffprobe.xsd'>
<program_version version="N-64355-g79d3eeb" copyright="Copyright (c) 2007-2014 the FFmpeg developers" build_date="Jul 1 2014" build_time="22:10:50" compiler_ident="Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)" configuration="--prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-ffplay --enable-libopenjpeg --extra-cflags=&apos;-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 &apos;"/>
<library_versions>
<library_version name="libavutil" major="52" minor="90" micro="101" ve
Usage: bmdcapture -m <mode id> [OPTIONS]
-m <mode id>:
-> UltraStudio Express (-C 0 )
Supported video output display modes and pixel formats:
0: NTSC 720 x 486 29.97 FPS
1: NTSC 23.98 720 x 486 23.976 FPS
2: PAL 720 x 576 25 FPS
3: HD 1080p 23.98 1920 x 1080 23.976 FPS
@dericed
dericed / timecode copy
Created August 4, 2014 15:19
ffmpeg -i fcp_capture.mov -map 0:v -map 0:a -map -0:d -c copy -y output.mov
ffmpeg -i fcp_capture.mov -map 0:v -map 0:a -map -0:d -c copy -y output.mov
ffmpeg version 2.3 Copyright (c) 2000-2014 the FFmpeg developers
built on Jul 27 2014 23:10:47 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-ffplay --enable-libopenjpeg --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 '
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0
@dericed
dericed / timecode copy 2
Created August 4, 2014 15:20
ffmpeg -i fcp_capture.mov -map 0:v -map 0:a -map -0:d -c copy -r 30000/1001 -y output.mov
ffmpeg -i fcp_capture.mov -map 0:v -map 0:a -map -0:d -c copy -r 30000/1001 -y output.mov
ffmpeg version 2.3 Copyright (c) 2000-2014 the FFmpeg developers
built on Jul 27 2014 23:10:47 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-ffplay --enable-libopenjpeg --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 '
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0