Skip to content

Instantly share code, notes, and snippets.

View ubuntuaddicted's full-sized avatar

Ubu the Tech Guru ubuntuaddicted

View GitHub Profile
@ubuntuaddicted
ubuntuaddicted / gist:2a631ecbda3bdd5e52fa
Created December 13, 2014 01:26
HVEC test 1 - 720p@30 215 kbps
ffmpeg -i /opt/storage/obs-studio/2014-12-10\ 19-05-05.flv -c:v libx265 -preset medium -x265-params crf=28 -c:a aac -strict experimental -b:a 128k linuxtag-ep16.mp4
ffmpeg version git-2014-12-01-0502a3e Copyright (c) 2000-2014 the FFmpeg developers
built on Dec 3 2014 06:46:21 with gcc 4.9.2 (GCC)
configuration: --prefix=/usr --enable-debug --disable-optimizations --disable-asm --disable-debug --disable-static --disable-stripping --enable-shared --enable-avisynth --enable-avresample --enable-frei0r --enable-gpl --enable-gray --enable-ladspa --enable-libass --enable-libbluray --enable-libdc1394 --enable-libfaac --enable-libfdk-aac --enable-libfreetype --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libnvenc --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger
@ubuntuaddicted
ubuntuaddicted / nginx.conf
Last active August 29, 2015 14:11
nginx server, simple webpage with video.js player for playing HTML5 videos
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
@ubuntuaddicted
ubuntuaddicted / nginx index.html
Created December 13, 2014 04:54
an index.html file for loading video.js
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>
body {
width: 35em;
margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif;
}
mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
@ubuntuaddicted
ubuntuaddicted / Arch-fstab
Created December 21, 2014 22:21
Ubu_Gist
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# UUID=45751fd8-592a-48a2-826a-6202f7a35099 LABEL=root /dev/sdc1
UUID=45751fd8-592a-48a2-826a-6202f7a35099 / ext4 noatime,nodiratime,errors=remount-ro 0 1
# UUID=355af123-ea5c-4a9e-979d-becbe2a6c63a LABEL=home /dev/sdc2
UUID=355af123-ea5c-4a9e-979d-becbe2a6c63a /home ext4 noatime,nodiratime,defaults 0 2
UUID=22f1c83a-74ea-4275-957f-3f2d3859afd3 /home/ubu/xubuntu ext4 noatime,nodiratime,defaults 0 2
@ubuntuaddicted
ubuntuaddicted / gist:3c150231839515c359c7
Created December 29, 2014 15:51
linuxtag_sunday_fundays-1
11:50:48 AM: OBS 0.6.4-65-g56899df (linux)
11:50:48 AM: Processor: 4 logical cores
11:50:48 AM: Processor: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
11:50:48 AM: Physical Memory: 15993MB Total
11:50:48 AM: Kernel Version: Linux 3.13.0-43-generic
11:50:48 AM: Distribution: "Ubuntu" "14.04"
11:50:48 AM: audio settings reset:
samples per sec: 44100
speakers: 2
buffering (ms): 100
@ubuntuaddicted
ubuntuaddicted / std-out-minecraft
Created January 4, 2015 00:21
minecraft launcher in linux - std output
~/My Games/minecraft$ java -jar Minecraft.jar
Bootstrap (v5)
Current time is Jan 3, 2015 6:19:50 PM
System.getProperty('os.name') == 'Linux'
System.getProperty('os.version') == '3.13.0-43-generic'
System.getProperty('os.arch') == 'amd64'
System.getProperty('java.version') == '1.7.0_65'
System.getProperty('java.vendor') == 'Oracle Corporation'
System.getProperty('sun.arch.data.model') == '64'
@ubuntuaddicted
ubuntuaddicted / report.txt
Created January 5, 2015 14:34
Ubu's Trusty Haswell Gaming Rig I-NEX Report
========================================================cpu0=================================================================
INTEL
(R) Core(TM) i5-4670K CPU
800.000 MHz
Integrated GPU: Intel HD 4600
Temp: 27 . 8 °C
Family: 6
Model: 60
Stepping: 3
Cores: 4
@ubuntuaddicted
ubuntuaddicted / gist:e65a078054ced0fc94aa
Created February 4, 2015 04:08
obs-studio xubuntu 14.04.1 build error-1
The system is: Linux - 3.13.0-43-generic - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc
Build flags:
Id flags:
The output was:
0
@ubuntuaddicted
ubuntuaddicted / CMakeError.log
Created February 4, 2015 04:11
obs-studio xubuntu 14.04.1 build error-2
Determining size of __int64 failed with the following output:
Change Dir: /home/ubu/obs-studio/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec2997136091/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2997136091.dir/build.make CMakeFiles/cmTryCompileExec2997136091.dir/build
make[1]: Entering directory `/home/ubu/obs-studio/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/ubu/obs-studio/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2997136091.dir/__INT64.c.o
/usr/bin/cc -fPIC -o CMakeFiles/cmTryCompileExec2997136091.dir/__INT64.c.o -c /home/ubu/obs-studio/build/CMakeFiles/CheckTypeSize/__INT64.c
/home/ubu/obs-studio/build/CMakeFiles/CheckTypeSize/__INT64.c:17:22: error: ‘__int64’ undeclared here (not in a function)