Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
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
| sudo apt-get install -y autoconf automake binutils-dev build-essential cmake g++ gawk git \ | |
| libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev \ | |
| libboost-system-dev libboost-thread-dev libboost-context-dev libbz2-dev libc-client-dev libldap2-dev \ | |
| libc-client2007e-dev libcap-dev libcurl4-openssl-dev libdwarf-dev libelf-dev \ | |
| libexpat-dev libgd2-xpm-dev libgoogle-glog-dev libgoogle-perftools-dev libicu-dev \ | |
| libjemalloc-dev libmcrypt-dev libmemcached-dev libmysqlclient-dev libncurses-dev \ | |
| libonig-dev libpcre3-dev libreadline-dev libtbb-dev libtool libxml2-dev zlib1g-dev \ | |
| libevent-dev libmagickwand-dev libinotifytools0-dev libiconv-hook-dev libedit-dev \ | |
| libiberty-dev libxslt1-dev ocaml-native-compilers libsqlite3-dev libyaml-dev libgmp3-dev \ | |
| gperf libkrb5-dev libnotify-dev |
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
| sudo apt-get build-dep php5 -y | |
| sudo apt-get install -y php5 php5-dev php-pear autoconf automake curl libcurl3-openssl-dev build-essential libxslt1-dev re2c libxml2 libxml2-dev php5-cli bison libbz2-dev libreadline-dev | |
| sudo apt-get install -y libfreetype6 libfreetype6-dev libpng12-0 libpng12-dev libjpeg-dev libjpeg8-dev libjpeg8 libgd-dev libgd3 libxpm4 libltdl7 libltdl-dev | |
| sudo apt-get install -y libssl-dev openssl | |
| sudo apt-get install -y gettext libgettextpo-dev libgettextpo0 | |
| sudo apt-get install -y libicu-dev | |
| sudo apt-get install -y libmhash-dev libmhash2 | |
| sudo apt-get install -y libmcrypt-dev libmcrypt4 | |
| sudo apt-get install -y php5 php5-dev php-pear autoconf automake curl libcurl3-openssl-dev build-essential libxslt1-dev re2c libxml2 libxml2-dev php5-cli bison libbz2-dev libreadline-dev libicu-dev |
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
| sudo add-apt-repository ppa:git-core/ppa -y | |
| sudo apt update | |
| sudo apt install -y git |
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
| ///////////////////////////////////////////// FFMPEG snippets //////////////////////////////////////////////////// | |
| ffmpeg -f rawvideo -vcodec rawvideo -s 1920x1080 -r 30 -pix_fmt yuv420p -i crowdRun_D.yuv -codec:v v210 output.mov | |
| ffmpeg -i input.avi -c:v libx264 -crf 19 -preset slow -c:a libfaac -b:a 192k -ac 2 out.mp4 | |
| ================================================================================================================== | |
| Decode 10 bit mov capture as yuv v210 | |
| ------------------------------------------------------------------------------------------------------------------ |
If you have an appropriately configured modern version of FFmpeg and x265, (the repository FFmpeg under Zesty Zapus 17.04 falls into this category), you should find encoding with 8, 10 and 12bit fairly straightforward.
I illustrate a sample command line for each below:
1. 8bit HEVC encoding with FFmpeg...
Check the capability of your installed version of x265 for 8bit encoding as follows:
andrew@illium~$ x265 -V
x265 [info]: HEVC encoder version 2.4
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
| #!/usr/bin/env python3 | |
| import argparse | |
| import getpass | |
| import os | |
| import time | |
| import sys | |
| KNOWN_CODENAMES = ['trusty', 'xenial', 'bionic', 'focal', 'utopic', 'vivid', 'wily', 'disco'] |