ffmpeg -y -hwaccel cuvid -c:v mpeg2_cuvid -i input.ts -c:v h264_nvenc -preset slow -profile:v high -level 4.2 -vf format=yuv420p -rc vbr_hq -qmin 23 -qmax 32 -maxrate 5M -bufsize 10M -c:a copy -map 0:0 -map 0:1 output.mp4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| convert -density 300 {input.pdf} -depth 8 {output.tiff} | |
| tesseract {output.tiff} {basePath} -l {language} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "infillPercent": 25.0, | |
| "layerThickness": 0.2, | |
| "temperature": 199.0, | |
| "manualLevelEnabled": 0, | |
| "autolevelOffset": 0, | |
| "flowPercentage": 1, | |
| "minLayerTime": 0, | |
| "coastLength": 2.5, | |
| "shells": 3, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; Author: Michael Henke <gcode-at-codingmerc-dot-com> | |
| ; 4/7/2017 | |
| ; | |
| ; Store this gcode on your printers SD-card or remote management to have it | |
| ; handy whenever you plan to change filament | |
| M104 S200 ; Set nozzle temp, no wait. | |
| M117 Autohome... | |
| G28 ; 1st things 1st: Home all axis | |
| G90 ; set absolute position to move the effector a set distance from 0 | |
| M117 Relax Bowden... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Addr: 0xb64ef51c888972c908cfacf59b47c1afbc0ab8ac | |
| Token Symbol: STORJ | |
| Decimals: 8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| youtube-dl -k -x --embed-thumbnail --embed-subs --audio-format mp3 "https://www.youtube.com/watch?v=3JZ4pnNtyxQ" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "UTC": -7, | |
| "CityName": "Los Angeles", | |
| "Storm": {}, | |
| "Searchable": false, | |
| "DeviceName": "Donna Sky", | |
| "RegisterTime": 1433814467, | |
| "DST": 1, | |
| "BoundedPoint": "", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| t_width=800 | |
| t_height=480 | |
| if [ -f "${1}" ] | |
| then | |
| convert "${1}" -auto-orient oriented.bmp | |
| convert oriented.bmp -resize ${t_width}x${t_height} foreground.bmp | |
| convert oriented.bmp -resize ${t_width}x${t_height}^ -gaussian-blur 5x5 -crop ${t_width}x${t_height}+0+0 -modulate 120,10 background.bmp |
The goal is to transcode a DVR recording containing one video source in mpeg2 format, any number (typically 2-3) of audio sources in ac-3 format and maybe a subtitle source all together in a transport stream container. In addition the video stream might be interlaced.
The target is a video file playable natively on modern iOS and Android devices using their platforms native and hardware supported playback capabilities.
The target file container and supported stream formats are listed below to ensure very good playback compatibility on modern devices and platforms.
- MP4/M4V container format