Skip to content

Instantly share code, notes, and snippets.

View trisweb's full-sized avatar
🕶️

Tristan Harward trisweb

🕶️
View GitHub Profile
Stacktrace:
at (wrapper managed-to-native) RogueAmoeba.AirTunes.Server.Rtp.Audio.ALACWrapper/NativeMethods.decode_frame (byte[],uint,intptr,uint&) <0xffffffff>
at RogueAmoeba.AirTunes.Server.Rtp.Audio.ALACWrapper.DecodeFrame (byte[],uint&) <0x000af>
at RogueAmoeba.AirTunes.Server.Rtp.Audio.Decoder.DecodeData (byte[]) <0x0003b>
at RogueAmoeba.AirTunes.Server.Rtp.Audio.RtpAudioPacket.DecodedAudioData (byte[],byte[]) <0x0002f>
at RogueAmoeba.AirTunes.Server.Rtp.Audio.RtpAudioPacketPlayer.AddPacket (RogueAmoeba.AirTunes.Server.Rtp.Audio.RtpAudioPacket) <0x00027>
at RogueAmoeba.AirTunes.Server.Rtp.Audio.RtpAudioConnection.HandlePacket (RogueAmoeba.AirTunes.Server.Rtp.RtpHeader,byte[]) <0x001a3>
at RogueAmoeba.AirTunes.Server.Rtp.RtpConnection.HandlePacket (byte[]) <0x001c9>
at RogueAmoeba.AirTunes.Server.UdpConnection.RunThread () <0x000f0>
@trisweb
trisweb / .git.bash_profile.sh
Created April 4, 2012 22:09
Bash prompt with cool git info and Spark
# By Tristan H. - https://github.com/trisweb
# Requirements: Bash, Spark - https://github.com/holman/spark, git bash extensions
# Admittedly a bit disorganized, but still works great.
LTGREEN="\[\033[40;1;32m\]"
LTBLUE="\[\033[40;1;34m\]"
CLEAR="\[\033[0m\]"
GRAY2="\[\033[40;1;30m\]"
LIGHT_GRAY="\[\033[40;1;33m\]"
@trisweb
trisweb / ffmpeg-avchd-conversion.md
Created March 5, 2012 18:13
ffmpeg commands for converting AVCHD-Lite video to better format(s)

FFMpeg Commands for Transcoding MTS video (from AVCHD-Lite Cameras, like Panasonic DMC-TS1/2)

720p -> H.264 (x264) video + AAC 128kbps audio:

Medium quality 720p:

ffmpeg -i 00001.MTS -threads 3 -y -vcodec libx264 -sameq -acodec libfaac -ab 128k -ar 44100 -ac 2 -s 1280x720 -vpre normal -b 1M output.mp4

High quality 720p: