ffmpeg -i in.mp4 -acodec aac -ab 128kb -vcodec mpeg4 -b 1200kb -ar 24000 -mbd 2 -4mv -trell -aic -cmp 2 -subcmp 2 -s 320x240 -r 30000/1001 -title X -f psp J:MP_ROOT100MNV01M4V10001.MP4
Wednesday, April 30, 2008
PSP video encoding with FFMPEG
For 4:3
Saturday, April 26, 2008
鋸扒
早兩日同朋友去食飯,點了客澳洲和牛「扒」。講真,點時冇期望,食落亦冇驚喜(自我安慰:正常呀~ 幾舊水你想點?)…
不過,其實有隻澳洲牛真係唔錯,要推介下的。呢隻就係「塔斯曼尼亞牛肉」。佢食落去真係有種唔錯o既質感同牛肉味,仲要係夠腍 - 鐘意食十成熟o既都冇問題。最最最重要係唔貴:大概廿零蚊一百克左右。 「拮豬賭」有售~
不過,其實有隻澳洲牛真係唔錯,要推介下的。呢隻就係「塔斯曼尼亞牛肉」。佢食落去真係有種唔錯o既質感同牛肉味,仲要係夠腍 - 鐘意食十成熟o既都冇問題。最最最重要係唔貴:大概廿零蚊一百克左右。 「拮豬賭」有售~
Saturday, April 5, 2008
typo bug fixing
Found 2 bugs in the blogging software typo that I am using. Both are related to the Atom feed for comments.
First, the theme incorrectly used the name instead of the id to retrieve the article. In views/articles/_article.html.erb, change :
to:
And in the app itself, the code forgot to check if there is any comment at all before trying to read from it. In app/views/articles/_atom_feed.atom.builder, change:
to:
First, the theme incorrectly used the name instead of the id to retrieve the article. In views/articles/_article.html.erb, change :
<a href="<%= url_for :controller => 'xml', :action=>'feed', :type=>'article', :format => 'atom', :id => @article %>">Atom feed</a>.
to:
<a href="<%= url_for :controller => 'xml', :action=>'feed', :type=>'article', :format => 'atom', :id => @article.id %>">Atom feed</a>.
And in the app itself, the code forgot to check if there is any comment at all before trying to read from it. In app/views/articles/_atom_feed.atom.builder, change:
feed.updated atom_feed.first.updated_at
to:
unless atom_feed.first.blank? feed.updated atom_feed.first.updated_at end
Friday, April 4, 2008
typo correction
Finally a holiday that no need to go to work. Time to fix those broken things.
Recently, this blog started to get attention from spam robots. Time to enable the spam filter. Luckily, the blogging software that I use supports Akismet. Also took this opportunity to upgrade Ruby, Gems, Ruby on Rails, and the blogging software typo... what a better way to spend the whole afternoon... orz...
Still have some minor issues... e.g. the Atom feed is not working etc... will fix them later.
Recently, this blog started to get attention from spam robots. Time to enable the spam filter. Luckily, the blogging software that I use supports Akismet. Also took this opportunity to upgrade Ruby, Gems, Ruby on Rails, and the blogging software typo... what a better way to spend the whole afternoon... orz...
Still have some minor issues... e.g. the Atom feed is not working etc... will fix them later.
Subscribe to:
Posts (Atom)