
- 악역이 주인공인 드문 영화
- 반성을 하는 듯 마는 듯 해서 피카레스크 영화라고 하기엔 뭔가 애매하다.
- 아마 이 영화에서 유래된 유명한 구절은 다음과 같을 것이다.
One murder makes a villain…millions a hero. Numbers sanctify my good friend
- 영화만 놓고 보면 굳이 안봐도 될 영화다.
- 앞으로도 결말이 나쁜 영화는 안보는게 좋겠다.

One murder makes a villain…millions a hero. Numbers sanctify my good friend
예전에도 언급한 것이지만 ffmpeg를 컨테이너에서 컴파일해서 사용하고 싶었다. CUDA와 관련되어 어려번 삽질한 경험이 있어서 한 번에 할 수 있는 방법을 찾아 보았다. 예전보다 AI가 응답을 잘 해주기 때문에 개발자용 컨테이너가 있는 것을 알게 되었다. 그래서 다음과 같은 방법을 시도했다.
호스트에 CUDA 최신 버전을 설치한다.
CUDA Toolkit 과 Driver를 설치한다. 난 proprietary kernel module 를 이용했다.
CUDA와 관련된 것들이 있는 컨테이너를 이용한다. 하다보니 ubuntu 22.04 를 선택했는데 24.04를 선택했어도 잘 될 것 같다.
4번째 줄의 옵션을 저렇게 하지 않으면, 인코딩 할 때에 오류가 생긴다.
docker run --gpus all \
-it --name ffmpeg \
--restart always \
-e NVIDIA_DRIVER_CAPABILITIES=all \
nvidia/cuda:12.9.1-devel-ubuntu22.04
echo 'Acquire::http::Proxy "http://rcc01.work:3142";' > /etc/apt/apt.conf
rm -rf /etc/localtime
ln -s /usr/share/zoneinfo/Asia/Seoul /etc/localtime
apt-get -y update && apt-get -y upgrade
apt-get -y install apt-utils build-essential git nasm pkg-config libx264-dev libx265-dev libnuma-dev libpostproc-dev libass-dev fontconfig libavcodec-dev
libvpx-dev libvorbis-dev libopus-dev libwebp-dev
libmp3lame-dev libavformat-dev software-properties-common
다음 방법으로 ffmpeg를 설치한다.
ffnvcodec 설치한다.
git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
cd nv-codec-headers
sudo make install
cd –
ffmpeg를 다운 받는다.
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg/
./configure는 다음을 것으로 한다.
./configure --enable-nonfree --enable-cuda --enable-cuvid --enable-nvenc --enable-cuda-nvcc --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --disable-static --enable-shared --enable-gpl --enable-libx264 --enable-libx265 --enable-libass --enable-fontconfig --enable-libvpx --enable-libvorbis --enable-libopus --enable-libwebp --enable-libmp3lame
echo '/usr/local/lib' >> /etc/ld.so.conf
echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64' >> ~/.bashrc
make -j 6
make install

I’m sorry, but I don’t want to be an emperor. That’s not my business. I don’t want to rule or conquer anyone. I should like to help everyone – if possible – Jew, Gentile – black man – white. We all want to help one another. Human beings are like that. We want to live by each other’s happiness – not by each other’s misery. We don’t want to hate and despise one another. In this world there is room for everyone. And the good earth is rich and can provide for everyone. The way of life can be free and beautiful, but we have lost the way.
Greed has poisoned men’s souls, has barricaded the world with hate, has goose-stepped us into misery and bloodshed. We have developed speed, but we have shut ourselves in. Machinery that gives abundance has left us in want. Our knowledge has made us cynical. Our cleverness, hard and unkind. We think too much and feel too little. More than machinery we need humanity. More than cleverness we need kindness and gentleness. Without these qualities, life will be violent and all will be lost…
The aeroplane and the radio have brought us closer together. The very nature of these inventions cries out for the goodness in men – cries out for universal brotherhood – for the unity of us all. Even now my voice is reaching millions throughout the world – millions of despairing men, women, and little children – victims of a system that makes men torture and imprison innocent people.
To those who can hear me, I say – do not despair. The misery that is now upon us is but the passing of greed – the bitterness of men who fear the way of human progress. The hate of men will pass, and dictators die, and the power they took from the people will return to the people. And so long as men die, liberty will never perish…
Soldiers! don’t give yourselves to brutes – men who despise you – enslave you – who regiment your lives – tell you what to do – what to think and what to feel! Who drill you – diet you – treat you like cattle, use you as cannon fodder. Don’t give yourselves to these unnatural men – machine men with machine minds and machine hearts! You are not machines! You are not cattle! You are men! You have the love of humanity in your hearts! You don’t hate! Only the unloved hate – the unloved and the unnatural! Soldiers! Don’t fight for slavery! Fight for liberty!
In the 17th Chapter of St Luke it is written: “the Kingdom of God is within man” – not one man nor a group of men, but in all men! In you! You, the people have the power – the power to create machines. The power to create happiness! You, the people, have the power to make this life free and beautiful, to make this life a wonderful adventure.
Then – in the name of democracy – let us use that power – let us all unite. Let us fight for a new world – a decent world that will give men a chance to work – that will give youth a future and old age a security. By the promise of these things, brutes have risen to power. But they lie! They do not fulfil that promise. They never will!
Dictators free themselves but they enslave the people! Now let us fight to fulfil that promise! Let us fight to free the world – to do away with national barriers – to do away with greed, with hate and intolerance. Let us fight for a world of reason, a world where science and progress will lead to all men’s happiness. Soldiers! in the name of democracy, let us all unite!