Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
790700ffffffffff675c1aaa4bf39496cc573c7c686f89c4aedd5c4f15686f2304a9e267586e747980c5a90a6132d277796b41b51e5f39837578ce01a868674b3a787f0d2fafd360de7d777d7d1fadc3
790701ffffffffff4755808c9460918f5f470eae92ac3c969db2cfbb4e8dad088b8ee551d30a97267b8b8e1b38a8b89a46cc8b92544faee297242c8a92cb60d44fb25a688d936153af42d16358929a1e
790702ffffffffff74723f9f9dba5f1332747252c4dced41c9d2726e659e9fcdbaaa447772f29fa6499799ce746a5aa0a74e949bd76f63df9495de909ab27069a89698fc8e934f67605f9899d78d92e7
79070350ce30c0d130548e8a97b48f903cffc1aa9f414e979abeccafd999e51a9292224ad801b762f59197714ab9973168ff999c945bc8820f66849596b5662db15670f59a9bd65dbc156073b5a1a402
7907045103cfa0ff6e71ae999972ffa54d716a539aa774b3abde655abb8f992392947f6f634393a30a8d912563415e95a49f8c946d62403e8d98758991756651fd929d10868c08550fc096a1c88a9103
79070552ffc9e7045b6af4a19981654db67175e341c0bc58342c77760926ae176154b77b79d83ab0ef50f2087d7c864ebf5654f3727979c4d7a05350d7447b7c2bc0a27c29ad72767878c8a7dc000000
79070653ffd2d3d350512e97a8108d8e52432599c75befa3a5e037cba7
#!/bin/bash
_fix(){
FILE="${1}"
NAME="$(basename "${FILE}")"
SDTP_OFFSET="$(mediaconch -mt "${FILE}" | xmlstarlet sel -N mt="https://mediaarea.net/mediatrace" -t -m "mt:MediaTrace/mt:media/mt:block[@name='File header']/mt:block[@name='Track']/mt:block[@name='Media']/mt:block[@name='Media Information']/mt:block[@name='Sample Table']/mt:block[@name='Sample Dependency']/mt:block[@name='Header']/mt:data[@name='Name']" -v @offset)"
if [[ "${SDTP_OFFSET}" = "" ]] ; then
echo "${NAME} has no sample dependency table anyway, skipping"
else
echo "${NAME} has a sample dependency table at ${SDTP_OFFSET}"
<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
<channel>
<title>No Time to Wait 4</title>
<link>https://mediaarea.net/NoTimeToWait4</link>
<description>The fourth annual No Time to Wait conference shall take place December 5th and 6th, 2019 (with an optional workshop/codeday on December 4th) at the Vera and Donald Blinken Open Society Archives in downtown Budapest, Hungary. #nttw4</description>
<language>en</language>
<pubDate>Sat, 25 Jan 2019 12:00:00 -0500</pubDate>
<category>Technology</category>
<category>Education</category>
@dericed
dericed / process.sh
Created December 13, 2019 02:11
edit process for nttw videos
#!/bin/bash
SLATE="NTTW4_title.jpg"
RECORDING=""
INTROTIME=4
INTROTIMEHALF="$(echo "$INTROTIME / 2" | bc)"
CREDITSTIME=8
#nttw4 talk, December 5, 2019, Dave Rice at #nttw4,
#video at https://twitter.com/nttwconf/status/1202509295973216257
Good morning,
During my first full-time archivist gig, I worked with a large audio collection
and, in adherence to the best practices of my community, would digitize audio
tapes to Broadcast Wave Files. I was a new archivist and working as the only
archivist in a media organization so I felt that relief from looking to the
best practices of our communities as a way of reducing my own decision-making
#!/bin/bash
_fix(){
FILE="${1}"
NAME="$(basename "${FILE}")"
PASP_OFFSET="$(mediaconch -mt "${FILE}" | xmlstarlet sel -N mt="https://mediaarea.net/mediatrace" -t -m "mt:MediaTrace/mt:media/mt:block[@name='File header']/mt:block[@name='Track']/mt:block[@name='Media']/mt:block[@name='Media Information']/mt:block[@name='Sample Table']/mt:block[@name='Sample Description']/mt:block[@name='Video']/mt:block[@name='Pixel Aspect Ratio']/mt:data[@name='hSpacing']" -v @offset)"
if [[ "${PASP_OFFSET}" = "" ]] ; then
echo "${NAME} has no pixel aspect ratio atom anyway, skipping"
else
echo "${NAME} has a pixel aspect ratio atom at ${PASP_OFFSET}"
@dericed
dericed / draft-ietf-cellar-ffv1-08.xml
Created September 1, 2019 22:09
The RFC XML of the FFV1 cellar working group draft based upon work within https://github.com/FFmpeg/FFV1/pull/160.
<?xml version="1.0" encoding="utf-8"?>
<!-- name="GENERATOR" content="github.com/mmarkdown/mmark Mmark Markdown Processor - mmark.miek.nl" -->
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" ipr="trust200902" docName="draft-ietf-cellar-ffv1-08" submissionType="IETF" category="info" xml:lang="en" consensus="true">
<front>
<title abbrev="FFV1">FFV1 Video Coding Format Version 0, 1, and 3</title>
<seriesInfo value="draft-ietf-cellar-ffv1-08" stream="IETF" status="informational" name="Internet-Draft"/>
<author initials="M." surname="Niedermayer" fullname="Michael Niedermayer">
<organization/>
<address>
<postal>
@dericed
dericed / muh-huh.txt
Created July 30, 2019 14:55
play a video in 10 columns to represent the bitplane each of the 10 bit positions (if the video is <10 bit then some columns will be empty)
ffplay bens_first_day_at_nypl.mkv -vf "format=yuv420p10le|yuv422p10le|yuv444p10le|yuv440p10le,split=10[b0][b1][b2][b3][b4][b5][b6][b7][b8][b9];[b0]crop=iw/10:ih:(iw/10)*0:0,lutyuv=y=bitand(val\,pow(2\,10-1))*pow(2\,1):u=512:v=512[b0c];[b1]crop=iw/10:ih:(iw/10)*1:0,lutyuv=y=bitand(val\,pow(2\,10-2))*pow(2\,2):u=512:v=512[b1c];[b2]crop=iw/10:ih:(iw/10)*2:0,lutyuv=y=bitand(val\,pow(2\,10-3))*pow(2\,3):u=512:v=512[b2c];[b3]crop=iw/10:ih:(iw/10)*3:0,lutyuv=y=bitand(val\,pow(2\,10-4))*pow(2\,4):u=512:v=512[b3c];[b4]crop=iw/10:ih:(iw/10)*4:0,lutyuv=y=bitand(val\,pow(2\,10-5))*pow(2\,5):u=512:v=512[b4c];[b5]crop=iw/10:ih:(iw/10)*5:0,lutyuv=y=bitand(val\,pow(2\,10-6))*pow(2\,6):u=512:v=512[b5c];[b6]crop=iw/10:ih:(iw/10)*6:0,lutyuv=y=bitand(val\,pow(2\,10-7))*pow(2\,7):u=512:v=512[b6c];[b7]crop=iw/10:ih:(iw/10)*7:0,lutyuv=y=bitand(val\,pow(2\,10-8))*pow(2\,8):u=512:v=512[b7c];[b8]crop=iw/10:ih:(iw/10)*8:0,lutyuv=y=bitand(val\,pow(2\,10-9))*pow(2\,9):u=512:v=512[b8c];[b9]crop=iw/10:ih:(iw/10)*9:0,lutyuv=y=bitand(val\,po