Poor Dream %)))

  “Попробуй ” – шепнула Мечта.
  “Что? Опять?!” – возмутился Опыт.
  “Хе снова из-за меня )” – улыбнулась Причина.
  “Нет! Из-за меня!” – поспорила Гордость.
  “А может  не надо ?” – пролепетала Осторожность.
  “Осторожность, иди в ж..пу!” – гаркнула Храбрость.
  “Я закрыта на приключения!” – отмазалась Ж..па.
  “А вот и я!” – объявила Решительность.
  “Куда это без меня?” – вопросило Опьянение.
  “Без тебя уже никуда ” – ответило Спокойствие.
  “А может лучше завтра?” – поинтересовалось Сомнение.
  “Сегодня или никогда!” – отрезало Упрямство.
  “Главное только не как вчера!” – предупредила Обыденность.
  “Вчерашнее не повторится!” – успокоила Глупость.
  “Всё будет по-другому!” – соврало Предчувствие.
  “На что-то это похоже ” – задумалась Память.
  “Суки вы все ” – вставая и отряхиваясь процедила сквозь зубы Мечта.

The Maggots

Not long ago we created a programmers team and called us as “Maggots”. The main purpose of our team is encountering the real projects and developing suitable applications for market. To nowdays we have developed our first site and earned our first cash %)). It is about 2000 KGZ dollars %))).  www.freestyle.com.kg It is so rediculous price, but having regard to our expirience it is OK %)).

 Yesterday we started other two new separeted projects. So the engine is started !!!

My first abroad job offer

Not long ago I was offered to work in Moscow $))). Not bad for a start %)). But the owner of that company the turkish richest man, their favorite Koch, also known as owner of our Ramstore and BEKO.

Hehe, really speaking this point made me somewhat disagreeable feeling. Dont know what is the reason, most likely I am bored to death with turkish stuff %))). Anyway I refused the offer… And nothing is treatening.

Ooh !!!

And finaly I get back home %))). I really feeled homesick for KGZ during our contest week in Russia. I feld the miss of MANAS, more precisely the life-form in MANAS, girl-friends, library stuffs…

Barnaul is also nice one. It is pretty small and cosy towm. I liked it. We took the tram, stroll along Ob river, took photos next to a kind of World War 2  tank. The Ob river turned out unexpectedly bigger than I suppose. There was a river-boat station that was not open probably cause of ice covering the Ob river.

The Contest was really hard for us %))). There were 12 tasks and only one was solved… There were another teams that solves 5-6 tasks and they took the cup. The team from St. Petersburg IFMO took 1-st place, Izhevsk STU took 2-nd place and Stavropol SU 3-rd place %))). Moscow SU  9- th. KTU Manas took to our shame 146-th place %))). Damn, it is a great shame for us !!! The total amount of teams involved in North Eastern Europe contest was 180… And we took only 146 -th place !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Yep, we recieve a stimulus for our futher maturity in programming world. As we saw we are still babies, and we should “suck and suck milk” if  we want to grow. So what you doing here, baby ??? Dont wast the time !!!

ACM semifinal

Wooohoooo I  am a participant of ACM semifinal contest !!! Meantime I am in Russia, Barnaul city,  where the action  will go %))).  There are about 180 teams from Asia and only 10 of them will pass to final. Soooo, as we understand we probably wontbe one of them ^^))))…

But only this time ^%)) But next year we  are going to break their necks &))) 

Our life  here seems good, to be more presicely not bad as we expected %))) We have  about 20 000 russia soms for 7 days  %))) Till now I have not  spent even  half of it %))))….

But I have not recieve any email from so  called friends… Mmmm so sad… Anyway it is  not suitable time  for  saying  so and feeling unhappy.  I should prepare myself for tommmorow’s battle of geeks !!! %)))) hehehe I  have  never seen shuch  consentration  of geeks per  metre square %))) Tooo many  “walking brains with long fingers used for typing” %)))

terminating…. system is going to sleep, it is about 02:30  am %))) I have only  6 hours for rest before contest will start….. beeeeeeeep

Fucking Sergey

That piece of something not goody guy going to study in Turkey %))). And I am along in my master of scince class…
Damn, it would better if he die right now %))) Hey Sergey are you still alive ???
You are son of the b… mmmm, no, “Human” good luck !!! And be a good boy there %))

And Here I Die…

I saw her on 2-nd September near 9-th trolleybus finish stop i.e on last Sunday %))).  I drived through her… At first I saw a girl, she stayed back to me. She weared black dress with white dots or something like that. She was choosing icescream or some soft drinks from fridge at the one of small shops stayed there.

I looked at her and think “what a pretty girl” %))). But I did not see her face yet… “Wow, what the f… “ flash over in my mind %)))

And she turned out when I was approaching her and I recognized my Sweety %))). I did not ready for see her at that moment. Something deep inside of me flipped up !!! It looks like shock %))). I could not even do something, I only looked at her and seems that I am stricken by paralysis.  %)) Damn, my heart had been bleeding for about all night %)))…

As I remember her mamy works around there and she helps to her every Sunday… I should skip this place on weekends…

Definitely bad advice …. But what I should do then ???

zzzZZZzzz…

Soon. I am coming… I have a lot of stuffs for you %)).

to Sweety

Heeey Sweety, where are you ??? You are starting the game again ? %)) Whats matter with you ???

Shirin, to be more seriously it is a great pity that we are starting loose each other. It is a thousand pities !!! I can not believe in that our friendship is over,…my best friend ever I have is going away. And it is a sad truth… It is sad to be alone, I mean without you, without your mails…

Damn, I dont know what should I do ? Sweety please, be online !!! You have promised, have not you ???………………….

There is one thing that I know:

I’m your friend,
It is true,
But nobody fucks friends,
Quite like you.

Ohh, what it is resulting in… Sorry if you are offended by above. But it is what I think. Probably I should not say this. But you are my friend, and I have not any secrets to hide from you. I am so sorry, but it is true… And you should not take it into your head and feel hurt. Just be yourself and write something to me !!!! Something, just some lines, is it so hard to do this ??? Sweety I’m never going to lieave you !!! Whether you like it or not, you will have to do it !! %))
Bye %)).

Jildiz

What is happening with you ??? Why are you starting think about Jildiz ?? %))

She is my acquaintance and  aslo friend. May be she is starting be more close than simply just friend??? It is not love… But it is not usual friendship… To be short, something  is starting turn. Of cource you may think and dream something in your dummy head but really nothing is happaning.

Also she has a boyfriend !!! Is any boyfriend or whatever makes trouble for you ???

Hey man !!! Are you forget TODO list below ???

Mmmm,  Shirin is disappears again ??? What is happening with her too ??? %)) My best friend day after day is starting vanish from me…

TODO

Only 3-days remained to checking degree thesis by Bakyt, our super superviser %)). I have written only few pages of it. Wake up man !!! What are you thinking about ??? Throw away all your stuffs out of the head ! And start to work hard !!!

So I should prepare and follow up some fixed task schedule.

1. Every day you should write down about 15-20 pages of the degree thesis.

2. Burn to the blank disc Corel Draw, install it to the aunt’s machine and draw up corresponding schemes, layouts, diagrams of the degree. Like System achitechture, Data Flow and so on…

3. Also no girls %)). No relaxations, no sadness and griefs. Be these days like machine %))).

4. Start to follow thise list right now…

Sweety %))

Today I recieved a mail from Shirin. The message was written in English %)). At first I thought it is a spam. But reading carefully the message I have sure that it was written by my dear Shirin %)).

The message was more softly than previous one. There also were words like “love you” that I really did not expect to read. It is very pleasure to read this words again. And I’m really little on a bender %)) That means that she is still my close friend.

I wrote to her right away. And I invited her to my bloggy. I hope to see her there soon.  May be she will not visit… But anyway in case of emergency if Shirin is reading me here the little message for her: “Hi Sweety, Welcome back to my life… I love you !!!”

As people day after day starting to hear about my bloggy and visiting it I am not going to write show-posts, window-dressing messages for them. I mean, I’m  going to keep my bloggy as I kept it before. And never restict myself. Read about youself everething as is.

Degree Thesis

On friday I had predefence of a thesis. There were some common remarks about our thesis. It is all about synchronization video and audio problem. I have not solve this buggy still. But there are only few weeks left and in the meantime I have to write description to my project. So to deal with this common remarks I probably should do a little tricky %)). As my supervisor suggested, I should prepare the better presantation and present my project as a best solution in the world %))) Hehehe, to be more precisly in my group…

So anyway, tomorrow I’m going to start writing and desiging my presantation of project. Take the bull by the horns !!!

Idle…

No incentive, no mood…

Today I’m going to have English exam….

… what do you think about Green Card ?

Elation !!!

Oh, Shirin wrote to me at long last !!!

Surely it is nice to read her again. I’m in a little elation… But it would be a good thing if she wrote in soft behaviour as formerly… Anyway it’s a good news for me. I hope evething will turn out well.

There are no any important news, figurative meanings in the mail… But the fact that she  wrote and starts to  replay is high profile for me. Even she wrote in formal attitude….

Above all, you got into contact with her ! I don’t want loose her again, I’m going to continue maintaining close contact with her. I’m still holding in high respect of her. She is my best friend at all !!! … in the meantime…

Master of Science

On 27/04/2007 I’m going to English exam. I have to pass it, so I will have another chance for my Master Degree. Actually I wanna to study in METU- Turkey. And I’m in the way of it realisation %)). But this English exam will bring me back-cover… I.e plan “B” in case of emergency.

My new haircut

I decided to change my hair style %)) Nowdays it’s not nice as I would like. Anyway, I like my defective haircut %))… Possible it is foolish idea…  %))

low spirit…

These days I’m not in a mood for doing something… I think I’m missing someone %)).

Synchronization problem

How can we synchronize two separeted streams ? Audio delayed than the video %))…

Shirin left a deep scar…

I think, I have lost her…  She did not even want to communicate with me for a few months. That probably means “End of story”.

Without thinking twice she decide so, and she did not even try to alliviate pains of my heart, of my soul…  She left a deep scar…

Deep in my heart  I probably agreed with her, probably she is right. But why everything happend at a time so sharply ?. I was not ready for this… I was not on the point of loosing her…

Shirin…

Yesterday I visited Shirin’s home. She was not at home, but her mammy was. I asked her about Shirin. As I figured out she is Ok… Also she was very kindly and told me where Shirin works. So I found my way to her working place, there were the party, i,e there were grand opening of Narodny shop. I stayed for a while in front of the shop and watched the party…  After a time I saw her through the crowd, she stayed at a door and watched the revel through the glass…

A little buggy %))

When I stream live video to local network (20 hosts) on the clients side QuickTime recieves and plays the video. But at the moment only one client can play. Others just showing some first recieved frame and stays along, but they continue to recieve packets (I see that in statistics of players, where bps of stream is shown, etc). Also I see the multicast packets with Ethereal on the clients machine. When I restart thise bazzed clients the other one  that plays stream hangs on with current played frame, but still continues recieving stream… 

  What’s wrong I dont know %))) ? 

Calling doGetNextFrame

I asked to LiveMedia developers mailing list question about calling doGetNextFrame. And get the answer. So now I can control fps rate of the stream.

“Hi list. Hi Rossy !

How can I control the calls of doGetNextFrame ?. To be more
specific I want to stream live video with 20 fps. As in my
doGetNextFrame I’m dilevering one frame at a time so I want
doGetNextFrame to be called 20 times per second.
Is this possible ?

Rossy replay
“Yes – this is exactly the purpose of the “fDurationInMicroseconds”
member variable. If you set this to 50000 – before calling
“FramedSource::afterGetting()”, then “doGetNextFrame()” will be
called (from “MultiFramedRTPSink”) 50 ms apart.

And here My lab…

picture-6.jpg

Here my working place where I designed, coded, and developed my project.  It’s my PC and my favorite desktop wallpaper %)). It is a LAB204 computer labaratory in our university. I think I will miss this place %))…

picture-5.jpg

I’m already missing this place… There are only few months left… %))

My project in Action %))

Here My project in action %))

Here the QuickTime player recieves and plays stream streamed by my programm on client side. As I sayd the picture is flipped up, but now I flipped the webcam so the picture on QuickTime seems normal %))

Streaming from Webcam is succeeded !!!

Yeah QuickTime player plays stream smoosly without any flickering and for long time as user wants. But there is a little buggy the picture on client side is flipped up %)). So, go figure !!!!

Also as I stream to multicast address I’m trying to recieve stream on separate clients. But for some reason only one of clients can play stream at a time, to be more precisly last connected one, other clients are stopped. Figure out this too.

Time to assemble audio and video streamers is comming… As each streamers has own streams clients should open separate players to listen audio and to view video. Our project supervisor thought that it’s not good for clients. But I think that advantegeous pisition will bring more flexibility, i.e if clients has a limited bandwidth they may recieve only audio or whatever they wants. Also Rossy has the some thoughts: “Sending audio and video in separate RTP streams provides a great deal of flexibility. For example, this makes it possible for a player to receive only the audio stream, but not video (or vice-versa). It would even be possible to have one computer receive and play audio, and a separate computer receive and play video. These audio and video streams are synchronized using RTCP “Sender Report” (SR) packets – which map each stream’s RTP timestamp to ‘wall clock’ (NTP) time. For more information, see the IETF’s RTP/RTCP specification. ”

Glorious victory

Hehe, probably I should say one of the important step of my degree project is came. Nowdays I can capture frame from webcam, encode it with Xvid, and stream encoded frame with LiveMedia over the LAN. On client side VLC can recieve it and play the stream  . But, for the present only for a few seconds. Anyway it’s a victory !!! %))

About Shirin…

Shirin is missing !!! There are no news no responses… Today I have send new message to her once again. I feel unwell, more precisely – I feel bad !!!
Why she does not replay ? She couldn’t give me so square deal, she couldn’t do so abnormal behavior with me… She disappears for no apperent reason ! For no reason whatever !!! I should to establish the reason, the truth…
So what we have as a tool to get the truth ? I know her home, her girl friends, at the end she studies right under my very nose !!! In case of emergency I can go through thise places. But there is a good parable (ru:притча). But in russian, however it’s may be effective in this situation:

- Бабушка, я не понимаю что происходит: он вдруг куда-то просто исчез. Все было хорошо, а потом так внезапно, без объяснений просто исчез. Я его уже не вижу, молчит телефон, и даже случайно мы больше видимся. Может, что-то случилось? Или я обидела его случайно? Может, стоит позвонить и поговорить, выяснить, что же все таки происходит?
- Внученька, не стоит, поверь мне. Ведь ты и сама знаешь ответ, только не хочешь себе в этом сознаться. Он не звонит, потому что не хочет . это очень просто. Запомни, внученька, до тех пор, пока мужчина заинтересован в женщине, он не исчезнет. Он будет обрывать телефон, караулить у подъезда, организовывать случайные встречи. И никакие причины, даже самые веские, не станут причиной того, что его не будет рядом, если он этого хочет. И если ты не хочешь заставлять его врать в ответ на твой вопрос о том ќпочему он пропал из твоей жизни› про то, что был занят или много работы, то лучше не спрашивай. И если не ищешь лишнего повода сделать себе еще больнее услышав правду, то тоже не спрашивай. Ты ведь и так знаешь ответ

He he, in my case it seems that Shirin is a man rather than I…

Damn !!! I dont like this parable, it’s sick one, You shouldn’t follow explained here… You should do what you want and what in your mind…

Wooohoo %))

Today I have built Xvid core library… on VC++2005. It was not so easy %)), but quit possible. Also I have rebuilt Revel library that based on Xvid, and change  some Revel functions for my purpose… So now, I can encode raw frame and get encoded frame back to use in other modules of my project.

After rebuilding all this “video encoding” stuffs I return to my project and recompile it with new libs. There were some warnings, but not important. As Link problems were solved in previous building there were no link errors also, just some common warnings. And exe file were genereted. So I have run it, and after 3-5 seconds it’s crashed :( (. On the reciever side VLC played some frames and stopped.  So at least we can capture frames from WebCam, encode it to MPEG-4, and send video frames and playback it on reciever side. Also programm chewing up a lot of memory… So, in shortest time you should figure out where and why program is crashed. Debugger is you best friend %))…

the dream comes true %)))….

zzzZZZzzz…..

API of FFmpeg

  • libavcodec is the library containing the codecs (both encoding and decoding). Look at `libavcodec/apiexample.c' to see how to use it.
  • libavformat is the library containing the file format handling (mux and demux code for several formats). Look at `ffplay.c' to use it in a player. See `output_example.c' to use it to generate audio or video streams.
  • Visual C++ compatibility

    FFmpeg will not compile under Visual C++ — and it has too many dependencies on the GCC compiler to make a port viable. However, if you want to use the FFmpeg libraries in your own applications, you can still compile those applications using Visual C++. An important restriction to this is that you have to use the dynamically linked versions of the FFmpeg libraries (i.e. the DLLs), and you have to make sure that Visual-C++-compatible import libraries are created during the FFmpeg build process.

    This description of how to use the FFmpeg libraries with Visual C++ is based on Visual C++ 2005 Express Edition Beta 2. If you have a different version, you might have to modify the procedures slightly.

    Here are the step-by-step instructions for building the FFmpeg libraries so they can be used with Visual C++:

    1. Install Visual C++ (if you have not done so already).
    2. Install MinGW and MSYS as described above.
    3. Add a call to `vcvars32.bat' (which sets up the environment variables for the Visual C++ tools) as the first line of `msys.bat'. The standard location for `vcvars32.bat' is `C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat', and the standard location for `msys.bat' is `C:\msys\1.0\msys.bat'. If this corresponds to your setup, add the following line as the first line of `msys.bat': call "C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat"
    4. Start the MSYS shell (file `msys.bat') and type link.exe. If you get a help message with the command line options of link.exe, this means your environment variables are set up correctly, the Microsoft linker is on the path and will be used by FFmpeg to create Visual-C++-compatible import libraries.
    5. Extract the current version of FFmpeg and change to the FFmpeg directory.
    6. Type the command ./configure --enable-shared --disable-static --enable-memalign-hack to configure and, if that did not produce any errors, type make to build FFmpeg.
    7. The subdirectories `libavformat', `libavcodec', and `libavutil' should now contain the files `avformat.dll', `avformat.lib', `avcodec.dll', `avcodec.lib', `avutil.dll', and `avutil.lib', respectively. Copy the three DLLs to your System32 directory (typically `C:\Windows\System32').

    And here is how to use these libraries with Visual C++:

    1. Create a new console application (“File / New / Project”) and then select “Win32 Console Application”. On the appropriate page of the Application Wizard, uncheck the “Precompiled headers” option.
    2. Write the source code for your application, or, for testing, just copy the code from an existing sample application into the source file that Visual C++ has already created for you. (Note that your source filehas to have a .cpp extension; otherwise, Visual C++ will not compile the FFmpeg headers correctly because in C mode, it does not recognize the inline keyword.) For example, you can copy `output_example.c' from the FFmpeg distribution (but you will have to make minor modifications so the code will compile under C++, see below).
    3. Open the “Project / Properties” dialog box. In the “Configuration” combo box, select “All Configurations” so that the changes you make will affect both debug and release builds. In the tree view on the left hand side, select “C/C++ / General”, then edit the “Additional Include Directories” setting to contain the complete paths to the `libavformat', `libavcodec', and `libavutil' subdirectories of your FFmpeg directory. Note that the directories have to be separated using semicolons. Now select “Linker / General” from the tree view and edit the “Additional Library Directories” setting to contain the same three directories.
    4. Still in the “Project / Properties” dialog box, select “Linker / Input” from the tree view, then add the files `avformat.lib', `avcodec.lib', and `avutil.lib' to the end of the “Additional Dependencies”. Note that the names of the libraries have to be separated using spaces.
    5. Now, select “C/C++ / Code Generation” from the tree view. Select “Debug” in the “Configuration” combo box. Make sure that “Runtime Library” is set to “Multi-threaded Debug DLL”. Then, select “Release” in the “Configuration” combo box and make sure that “Runtime Library” is set to “Multi-threaded DLL”.
    6. Click “OK” to close the “Project / Properties” dialog box and build the application. Hopefully, it should compile and run cleanly. If you used `output_example.c' as your sample application, you will get a few compiler errors, but they are easy to fix. The first type of error occurs because Visual C++ does not allow an int to be converted to an enum without a cast. To solve the problem, insert the required casts (this error occurs once for a CodecID and once for a CodecType). The second type of error occurs because C++ requires the return value of malloc to be cast to the exact type of the pointer it is being assigned to. Visual C++ will complain that, for example, (void *) is being assigned to (uint8_t *) without an explicit cast. So insert an explicit cast in these places to silence the compiler. The third type of error occurs because the snprintf library function is called _snprintf under Visual C++. So just add an underscore to fix the problem. With these changes, `output_example.c' should compile under Visual C++, and the resulting executable should produce valid video files.

    Ooh ! It seems that depressing weather is gone, and soft weather is coming… It is fine today… Actually it is fine morning %)). (9:30)

    I’m in a good mood today. And I have a lot of idea’s aimed to doing something %))…

    I’m little at a deadlock 2

    No news, no mail from Shirin… again. Seems that she has some problems or whatever I don’t know…. but suppose. I’m really little at a deadlock, what should I do ? I had mail to her severeal messages, but there are no replay… I really miss her… and still love…

    Selena is going to have a supper whith troublesome man, i.e for me he looks disagreeble one… .However she is interested to have a little trip to Turkey. But that man may crash all her’s dreams. She is funny one, I like her… So write sms to her rihgt now, to support her in critical time, just to countenance…

    Also, do something !!! Whatever you wanna…

    I’m little at a deadlock

    Yesterdey I figured out that REVEL does not put encoded frame to the same chunk of memory where raw frame is located. So REVEL seems useless for our  project, damn why you did not find out that before. You had to find out that firstly. So I cross as a bear to myself.

    So we need some encoder again. What about ffmeg ? It seems more flexible and usefull than the Revel, so figure out all about ffmeg. Nowdays I know that ffmeg runs on *nix systems, but on windoze does not. To run ffmeg on windoze you should install MinGW+MSys. But there are prebuilded ffmeg libraries also avialable, And I have downloaded all. Here described how to build libraries on MinGW http://arrozcru.no-ip.org/ffmpeg_wiki/tiki-index.php?page=Static

    Do not even try to build ffmeg libraries on MSVC++.

    FFMPEG DOES NOT BUILD UNDER MSVC++, AND WILL NOT, EVER, BUILD UNDER MSVC++.

    MSVC++ does not adhere to the C99 standard, and FFmpeg relies on it, because its developers chose to rely on it. Most FFmpeg developers consider MSVC++ a broken and obscure system, and supporting it would seem more like a bug than a feature. They think using MSVC++ is a bad idea, and there is no reason for anyone to have such an absurd practice. Therefore, they will not, ever, change their mind to support MSVC++.

    That means the entire build process of FFmpeg must be done with MSys+MinGW.

    The libraries created by FFmpeg with MinGW are usable just like any other library (either static or shared), with a C99 compiler.

    Hello world!

    Howdy World !!!

    I have just signed up %)).  I’m going to costomize my bloggy %))).

    I really fall in love whith WordPress %))…