Friday, September 29, 2006

DV-2-XviD 0.7 release!

Now it do a comptest before 2pass compress. It will adjust resolution if it find it is necessary.

It also resolve the problem that GUI interface will lose response after began compressing.

The package also add a new english README. I wish it would help you.

Homepage: http://www.dup2.org/en/dv2xvid
Download: http://www.dup2.org/files/dv2xvid-0.7.zip

Tuesday, September 26, 2006

pymobilesync works!

Although it remain pre-alpha stage, I'm glad to announce that I can sync my contact info between Ericsson R520 phone and PC.

Source can be downloaded from http://code.google.com/p/pymobilesync/source

I'll return to improve my DV-2-XviD !

Monday, September 18, 2006

Private time for yourself

Almost all people work for living and family, not personal interesting. When we at home, we need to cook, clean room, go out shopping, read for children, take care of parents, favor spouse, etc, etc.

The time for myself start from 11:30pm and end at 1:30 am everyday. Only 2 hours belong me. It's too bad.. :(

Wednesday, September 13, 2006

Reading Paul's "The Hardest Lessons for Startups to Learn"

Original article is here.

I digest serveral important points:

1. Work hard
Perhaps the most important reason to release early, though, is that it makes you work harder.

2. Keep thinking of improvements
For example, I doubt many people at Yahoo (or Google for that matter) realized how much better web mail could be till Paul Buchheit showed them.

3. Tell vistors what your site is about by showing them
A startup should be able to explain in one or two sentences exactly what it does... if you have something impressive, try to put it on the front page, because that's the only one most visitors will see...

4. Three biggest threat: internal disputes, inertia and ignoring users. The worst is ignoring users.
If you want a recipe for a startup that's going to die, here it is: a couple of founders who have some great idea they know everyone is going to love, and that's what they're going to build, no matter what.

5. Commitment
The only way to convince everyone that you're ready to fight to the death is actually to be ready to.

6. There is always room
The only limit would be the number of people who want to work that hard.

7. Don't get your hopes up
when you hear someone say the words "we want to invest in you" or "we want to acquire you," I want the following phrase to appear automatically in your head: don't get your hopes up. Just continue running your company as if this deal didn't exist.
The way to succeed in a startup is to focus on the goal of getting lots of users, and keep walking swiftly toward it while investors and acquirers scurry alongside trying to wave money in your face.

8. SPEED!!!
Economically, a startup is best seen not as a way to get rich, but as a way to work faster... What's important about startups is the speed. By compressing the dull but necessary task of making a living into the smallest possible time, you show respect for life, and there is something grand about that.

Monday, September 11, 2006

English project page

I have created DV-2-XviD's English homepage.

You can read document from here... and screenshot !



Enjoy it!

Saturday, September 09, 2006

completion of a translation relate to XviD

It seems that Oversized/Undersized explanations - Doom9's Forum is a vade mecum for the problem. So I translated it to chinese and post it on my chinese blog.

I'll change my DV-2-XviD in next version (0.7) by following its recommendation. Run a comptest first. Then adjust resolutoin to avoid oversize.

Before I read the article, I had no idea of the comptest of AutoGK. Now I realize the reason. Comptest is cool, very cool.

Friday, September 08, 2006

Small beer

Word of today is 'small beer'. Howto use the phrase in this blog entry? I have no idea.

Yes, tonight my drink is draft beer. 'But draft beer is different from small beer obviously' , I think.

The north wind knocked the window of my apartment last night. This morning was cold and my daughter is feverous. Beijing's fall came.

I'll visit SINA's office at Monday. Our team want learn some wise advice from the CTO of SINA, Songbo Li.

Thursday, September 07, 2006

WHEN YOU BELIEVE

I upgrade the blogger.com account to beta. But it seems that there are no evident difference between two version. :(

Besides began the english blog to improve my english skill, I subscribed several english feed, including Dictionary.com's "word of the day". Now I invent a new interesting thing that use the word in my blog of the day. :)

I have chated with Mao last night by gtalk. If you read his blog, maybe you will think he is a passional, straight CEO of a startup. However, I found him was filled of uncertainty and lost the faith of our country, even chinese next genertion.

I am a pervicacious optimist. Though I am not sure if I believe in the God, I am sure that I do believe in sth in my soul. It's hard to explain what it is. But it need my persistence. "When You Believe" is one of my most favorite songs. In fact, Faith itself is a big miracle.

Wednesday, September 06, 2006

release irda-0.1.win32-py2.4.exe

IrDA socket support for Python is a part of another project I created. The traditional way of using IrDA device under python, just is serial/COM port emulation, and is quirky when you want create OBEX communication over it.

It seems to me that python support bluetooth but yet do not support irda. I submited a irda socket patch two months ago, but it must wait for 2.6 because 2.5 has freezed. Then I create the extension for mainstream usage. ( download http://www.dup2.org/files/irda-0.1.win32-py2.4.exe )

Source svn repository is http://pymobilesync.googlecode.com/svn/trunk/irdasocket/ . irsocket.c is released under python license. Documents, python scripts are released under GPLv2.

I build the binary file with free Visual C++ Toolkit 2003. Integrating the toolkit into python distutils package's bdist_wininst system is easy after reading this article.

If you have interest in irda-python programming, you may test my extension with next scripts:
from irda import *
irdaobject = irda()
devicelist = irdaobject.discover()
print devicelist
firstHint(devicelist[0][3])
secondHint(devicelist[0][4])
irdaobject.connect('OBEX')
irdaobject.close()

Monday, September 04, 2006

Computing VirtualDub/VDubMod SetCompData string of XviD

Process of DV-2-XviD is very simple. It generate AVS(AviSynth) script first. The script conjoin video clips, load kerneldeint.dll to DeInterlace, load dvinfo.dll to add datetime code on screen, and LanczosResize the resolution. Then it generate three VCF(VirtualDub/VDubMod) scripts to split PCM audio that will be compressed by LAME-mp3 encoder, run XviD 2-pass compress.

The most difficult step of above is computing SetCompData string. The data structure depend on XviD's build version and must be computed for every special verion if we need control target file exactly. Now I just use a simple, unified function to compute it. It works under XviD 1.03/1.1.0-beat2/1.1.0/1.2.0-dev .

The function use Python's ctype module to load xvidvfw.dll, fetch default config from it. Now I want somebody that was accomplished in XviD compression to help me improving the program.

Sunday, September 03, 2006

DV-2-XviD 0.6

I am pleased to announce that DV-2-XviD 0.6 version is available for download.

DV-2-XviD is my personal project for compress DV to xvid-mpeg4 format. It will conjoin several DV scenes to one file , add datetime code on the screen's bottom-right edge, adjust resolution to 512x384, compress it to original size's 1/10 with XviD/MP3 format.

Now there is only chinese document about it. But I'll write english document soon. Source code was written by Python and release under GPL. The archive with source code can be download from here.

If you have interest in the project, please contact me with gtalk (qiuyingbo [aT] gmail )

Hello, World!

I am a chinese blogger and created my blog 2 years ago. I decided start a english blog to improve my english writing ability...