Thursday, November 12, 2015

symbolicatecrash from terminal

Put *.crash, *.dSYM and *.app file to one folder. After that execute symbolicatecrash method as shown below:
symbolicatecrash -v crash.crash > Symbolicated.crash

Xcode 8: /Applications/

Xcode 7: /Applications/


Print out media metadata: ffprobe -v quiet -print_format json -show_format -show_streams

    "streams": [
            "index": 0,
            "codec_name": "prores",
            "codec_long_name": "ProRes",
            "index": 1,
            "codec_name": "aac",
            "codec_long_name": "AAC (Advanced Audio Coding)",
    "format": {
        "filename": "",
        "nb_streams": 2,

Convert codec to H.264: ffmpeg -i -vcodec libx264

Add sound to video: ffmpeg -i -i sound.m4a -c copy -map 0:0 -map 1:0 -shortest

Decrease video file size: ffmpeg -i in.mp4 -vcodec libx264 -crf 30 out_30.mp4

Adds left (113px) and right (113px) padding to the video (674x1200): ffmpeg -i in.mp4 -vf pad=900:1200:113:0:black out.mp4

Wednesday, September 23, 2015

Open SSL

Save certificate:
openssl s_client -showcerts -connect </dev/null 2>/dev/null|openssl x509 -outform PEM >mycertfile.pem