Monthly Archives: September 2013

Some interesting readings for this weekend

 

Best Practice: vCPUs per physical core 

http://serverfault.com/questions/504626/best-practice-vcpus-per-physical-core

Compile FFmpeg on Ubuntu, Debian, or Mint

http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide

FFmpeg Installation for Ubuntu

http://wiki.razuna.com/display/ecp/FFmpeg+Installation+for+Ubuntu

How to install all existing media codecs?

http://askubuntu.com/questions/171026/how-to-install-all-existing-media-codecs

OpenVZ on Ubuntu 12.04 (experimental)

http://www.janoszen.com/2013/06/04/openvz-on-ubuntu-12-04-experimental/

 

Fresh installation of Ubuntu 12.04.3 LTS – fail to login

I was having some troubles trying to make the first login on my Ubuntu Server…

No root, no root password… even the username that i’v created while setting it up wasn’t working… eventually after some 20 times trying it worked….. funny!

Root Password for Ubuntu Fresh Installation? There isn’t.

sudo

is the solution.

Read more at
https://help.ubuntu.com/community/RootSudo
https://help.ubuntu.com/lts/serverguide/user-management.html

 

Does your cpu supports virtualization?

This is how you check it

egrep '(vmx|svm)' --color=always /proc/cpuinfo

If you get vmx (intel) or svm – (amd) it does.

[email protected]:/home# grep --color vmx /proc/cpuinfo
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good nopl pni vmx cx16 popcnt hypervisor lahf_lm

XEN kernel? try

cat /sys/hypervisor/properties/capabilities

 

My PowerEdge doesn’t?! f*ck!

 

INTEL:

VT-x, shows in /proc/cpuinfo as the vmx flag. (grep vmx /proc/cpuinfo)

AKA Vanderpool

See Wikipedia’s article on x86 virtualization, for a list of processors that include it.

http://en.wikipedia.org/wiki/X86_virtualization#Intel_Virtualization_Technology_for_x86_.28Intel_VT-x.29 Continue reading Does your cpu supports virtualization?

ffmpeg 2.0

I’m having problems with avconv, especially exporting the video properties to json

“Failed to set value ‘json’ for option”

I was able to create json files with ffmpeg, but since ubuntu uses avconv and ffmpeg is an aliase of avconv… i’m not able to create json files…. be struggling with it for 4 days.

This is how I’v installed FFMPEG 2.0 on my Ubuntu 13.

$ wget -c www.ffmpeg.org/releases/ffmpeg-2.0.tar.gz
$ tar -xzvf ffmpeg-2.0.tar.gz
$ cd ffmpeg-2.0
$ ./configure
$ make
$ sudo make install

If you start to have problems while trying to run ./configure…

apt-get install gcc

You will probably also need to install make

[email protected]:/home/ffmpeg/ffmpeg-2.0# make
The program 'make' is currently not installed. You can install it by typing:
apt-get install make
[email protected]:/home/ffmpeg/ffmpeg-2.0# apt-get install make

An them go to  ./configure from the initial instructions…

sudo ./configure --disable-yasm
make

FFMPEG 2.0

[email protected]:/home/ffmpeg/ffmpeg-2.0# ./ffmpeg
ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers
 built on Sep 22 2013 10:23:36 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)

And now! remove the old ffmpeg/avconv!
Hasta la vista!

sudo apt-get remove ffmpeg
sudo apt-get autoremove

 

ffmpeg-2.0/tests/ref/fate/ffprobe_json