In the airing anime No Game No Life, the protagonistic brother and sister were sent to a world set in Medieval period, with their smartphones. After watching the first two episodes, I find it quite fun to think about the question: how should they manage their smartphones’ usage?
Qaac: The New Preferred Way to Encode AAC
It has long been widely believed that Nero AAC Codec generally produces AAC of the best quality. However, recently several studies indicate that Apple encoder already surpasses Nero AAC Codec in terms of quality.
The actual encoding code is shipped with Apple Application Support as a form of a library. Apple doesn’t provide a more convenient way to invoke the encoder than using iTunes. Fortunately, there is an open source project called qaac fulfilling that role.
To produce AAC exactly equivalent to the so-called iTunes Plus quality, use the following command:
qaac -v256 -q2 INPUT
I’m currently encoding in qaac’s True VBR mode to prepare music for my iPhone. The command is like this:
qaac -V63 -q2 INPUT
How to Use 64-bit X264 With 32-bit AviSynth
For some reason I had to use AviSynth 2.6, of which I could’t seem to find a 64-bit build. But I did’t want to use 32-bit x264, because the 64-bit version had much better performance on 64-bit machines.
After some research, I found avs2pipemod. avs2pipemod is a program that pipes the output of AviSynth to other programs, with which we are able to connect 64-bit x264 and 32-bit AviSynth.
Because we will be piping raw video, we have to specify the parameters of the video manually. Fortunately avs2pipemod is able to generate those arguments for us. First we execute the following command:
avs2pipemod -x264raw SCRIPT.avs
And we will get something like this:
- --demuxer raw --input-csp bgr --input-depth 8 --input-res 1920x1080 --output-csp rgb --frames 24429 --fps 30030/1001
Of course the values will change depending on your source. So now we can call x264 with those arguments
avs2pipemod -rawvideo SCRIPT.avs | x264 - --demuxer raw --input-csp bgr --input-depth 8 --input-res 1920x1080 --frames 24429 --fps 30030/1001 --preset veryslow --crf 23 -o OUTPUT.mkv
It’s just copying the arguments generated by the first command, plus the arguments you would like to use for encoding.
For some reason when I tried this, I got my encoded video upside down. I am not quite clear what caused that. However the problem can be easily solved by changing the previous command a little bit:
avs2pipemod -rawvideo=vflip SCRIPT.avs | ...
The x264 part remains the same. I only tried once, so I don’t know if this happens to just some or all videos. You definitely want to check your result to know if it is necessary for you to use vflip.
So far we’ve done the video part. For audio, use the following command:
avs2pipemod -wav SCRIPT.avs | flac -8V -o OUTPUT.flac -
Here we are piping the audio in WAV format, therefore we don’t need to specify the parameters of the audio. Of course you can use whatever encoder you want.
Now just mux the two streams and you are good to go.
黑客如何给 B 站投稿
今天一时兴起给哔哩哔哩投稿,研究了一下发现还真有些门道。这里把我的研究成果发出来,起到抛玉引砖的作用。(是的我的方法是最好的,你的方法只能是砖。)
众所周知,哔哩哔哩并没有自己的服务器,其视频全部是盗链其他的视频站。按目前的状况,用新浪视频是最好的选择。
使用新浪视频,一个问题是审核,貌似现在新浪视频是先发后审。所以你的视频要能存活一天才能说是过了审核。但偶尔也有两三天后被和谐的。
至于过审核没什么技巧,视频标题胡乱填,别的信息能不填就不填,一般来说问题不大。
最大的问题是,新浪视频会不分青红皂白把你上传的视频重编码。重编码的结果往往是渣画质和渣音质。所以哔哩哔哩众把新浪视频称为“渣浪”。而我们的目的就是要防止视频被重编码,就是所谓的“战渣浪”。
《雾之本境》完美精确攻略
本攻略由水竹叶独立整理和编写。
总的来说,先推扬雨晴和祁连遥才能推苒雪忆。童玲推不了,汪星涵救不了。
我该怎么做?
- 支持妹子,来个白菜豆腐。 扬雨晴+2
- 饭菜好奇怪,还是算了。
王用斌的身份是————
《雪之本境EX》和《雪之本境~解境篇~》结局整理
发现很多人对各结局的具体情况存有疑问,希望搞清楚,所以这里整理一下。
总的来说,主角作为受害者虽然复仇成功,可是也把同是受害者的江庭雪、江城雪和白悠悠的命也搭进去了。有时候太过执着也不是好事呢。
《雪之本境EX》和《雪之本境~解境篇~》完美精确攻略
本攻略由水竹叶独立整理和编写。
To international readers:
Though I don’t expect this, but thanks for showing interest in these two Chinese doujin visual novels. Should you need help translating this walkthrough, feel free to contact me.
本文是这两个游戏的攻略,列出了所有选项的作用和所有结局的达成条件。
How to Turn Off μTorrent Ads (or Switch to a Better BitTorrent Client)
The latest release of μTorrent features in-client ads (here). The once concise and no-nonsense BitTorrent client is now taking a path to bloatware.
To turn off the ads, go to Preferences, and then Advanced, and set the following variables to false:
- offers.left_rail_offer_enabled
- offers.sponsored_torrent_offer_enabled
Click OK and restart the program. The ads should be gone now.
I actually switched to another client called Tixati. Currently it works well for me, and it has no nonsense.
Build Boost C++ Libraries on Windows Using MinGW
First, download the source code here. Also download zlib and bzip2. Extract them to separate directories and open a command prompt in the directory of Boost. Run
bootstrap gcc
b2 -s ZLIB_SOURCE=ZLIB_SOURCE -s BZIP2_SOURCE=BZIP2_SOURCE variant=debug,release link=shared,static threading=single,multi address-model=32,64 toolset=gcc
That will build all variants. Of course, you can pick and only build what you need.
Newer Versions of GCC for Windows: MinGW-w64
I’m very interested in the latest features of C++11 so I want to get the latest version of GCC for Windows. It looks like at the moment the MinGW-w64 project best fits my need. Check the builds here if you target 64-bit Windows and here for 32-bit. Note that there are cross compilers available which can run on Cygwin or Linux.