Days of Bike and Photos

鹿島田

夕飯の後に鹿島田まで。KFCで買い食いしようと思ったけど、11pmだともう閉まってるんだな。

復路は多摩川土手。焼いたのかな?草の枯れた香りがして気持ちいい。


July 26, 2011 at 11:42 pm Comments (0)

大井町まで

朝早く起きたので、7時になる前に家を出て大井町まで。

目指したのはこれ。ワッパー。でかっ。

,
July 18, 2011 at 8:56 am Comments (0)

鵜の木⇔羽田

昨日の雪辱で羽田まで。東京側はここまでで精一杯。


海がすぐそこで潮の香りが気持ちいい。


July 17, 2011 at 8:44 pm Comments (0)

鵜の木⇔六郷土手

多摩CRを羽田方面に。羽田空港までと思ったけど、時間切れで第一京浜で引き返す。


第二京浜と第一京浜の間は、幅が広くてとても走りやすい。海からの風なので、往路は辛いけど復路は楽にスピードが出せる。
Look 566


July 16, 2011 at 9:58 pm Comments (0)

Comparison of ffmpeg’s x264 presets

Measured performance of ffmpeg’s x264 quality presets, to know which option is the best for my purpose converting mpeg2 ts to Apple TV mp4. Factors need to be considered are 1) conversion speed, 2) file size and 3) quality of the video. The most important factor is conversion speed, which would be nice if the time for conversion is shorter than for recording. For file size off course, the smaller the better as the space of my Apple TV storage is limited.

Test Method

The test was done with ffmpeg version 0.6.1 on 2.8GHz Intel Core i7 running Mac OS X 10.6.8 as;

for i in ultrafast superfast veryfast faster fast medium slow slower veryslow placebo
do ffmpeg -i sample.ts -threads 4 -vcodec libx264
      -vpre $i -vpre main -crf 18 -s 1280x720
      -acodec libfaac -ab 160k
      -y $i.mp4
done

sample.ts is a 60 seconds of full HD (1440×1080) mpeg2 video.

Test Results

preset used for conversionConversion speed (fps - frames per second) Size of the output video file (in bytes)
ultrafast29.681,046,858
superfast27.958,180,478
veryfast20.643,968,615
faster13.032,981,783
fast9.135,461,071
medium8.035,119,322
slow5.633,367,247
slower2.133,698,347
veryslow1.329,697,663
placebo0.629,395,288

On my environment, ultrafast can convert ts video almost at the recording speed (29.97 fps). But my decision was to go with superfast as its fps is closer to ultrafast yet the size is much smaller.


June 25, 2011 at 11:03 pm Comments (4)

« Older PostsNewer Posts »

meiwaku-no-wana@pub.motokado.com