Monday, 13 October 2008

  • Hardcoding issues.

    Last week I was quite busy and didn't write a post.. So now I'm going to write a really big one ;) There was (and still is) a reason: I'm making my video compilation about the live recording of the Radio Minorhythm. For those who do not know, there was an event featuring Chihara Minori: September, 13th in C.C. Lemon Hall (Shibuuya) Minorin performed public recording of her own radio, called Minorhythm (still running, here is the link). Of course, NicoNico provided online broadcasting for such an event. There were nice things like singing new songs by Minorin, even performing main theme from her new album called "Parade". You can see the PV here:


    Moreover, she performed 2 new songs and the one called "Jellybeans" from her first album "Heroine". I love this song, it is so funny and bright ^_~. Look , I found nice AMV made on this song:

    Maybe I'll process this video and upload it here/on youtube later. [Edit: you can watch it here]
    But my favorite song from this album is "Naked Heart":

    You can find all the live song performing videos here.

    If only I didn't missed it I could record it in better quality..(maybe couldn't.. there isn't easy way to download streaming video from NicoNico, especially if you have low internet speed) But I missed.. Fortunately, somebody recorded this 2-hours-long video (in strange way: from the web-page where it was played) and I found this recording on Nicovideo.jp. But can you imagine quality of the broadcasted video, played through flashplayer on a webpage and recorded from screen? It's awful.. Maximum allowed resolution in Nicovideo is 512x384, but player window is smaller so what I have is 400x300. Moreover, there is a very low framerate, about 12-15 fps and picture have very strong dark-blue tint. Oh, I forgot to say that video was divided into 15+ parts and the last parts are 320x240 T_T. But I don't think that there is another version of this recording anywhere on the Internet. So I've decided to collect this video, process and increase quality as much as I can. I'm not a professional video-coder, but this task could be good training in doing such work because I like working with video and graphics much more than my current profession (I'm going to become a programmer). So this is the list of what I have to do:
    1. Find, and download all parts of the video. Quite easy to find (they were added to some kind of playlist, you can find it here). But last parts aren't in this list so I'm lucky that I found them. Moreover, there is not an easy option to download video like from YouTube: you have to login into Nico account, go to page with the video, then enter its address into special site and download video while having the page open. Also, downloading works only from 10pm to 2pm or smth like this.
      But whatever, I did it. Lets see, what I have to do next.

    2. Combine parts of a video in right order and adjust them so that the end of the previous part match the beginning of the next one. Looks like they don't match - sometimes beginning repeats the ending. I'm going to use Avisynth to process and encode video, but it doesn't allow me to edit audio losslessly like VirtualDub. So I had to edit cuepoints in VD, export audio, add these points to AVScript and pray that audio will match video.

    3. Decide, what to do with commented videos and last parts. I like nicovideo but there is one thing I hate - overlay comments. They can be turned off. But excuse me for saying that, man, who recorded the show without turning them off, you are stupid ><. It looks awful:
      New0000
      Should I try to wipe them out, or leave as is, or exclude commented parts from the compilation? I hate taking decisions, really.
      In addition, last parts of compilation are only 320x240 and have very LQ auido. I can do nothing to recover audio (working with audio is much more difficult than with video) but seems like I have to upscale 320 to 400 in order to match overall resolution.

    4. Now what I should do is to increase quality of the video: deblock, maybe denoise, sharpen, but first of all - correct gamma and color. As I already said, video have strong bluish tint and is very dark. Don't know yet how I will do it, especially because editing low-res video is painful..

    5. In order to complete work, I should encode and compress video. There is another issue: how high the bitrate should be? Original video was encoded in 400 kbps with low-quality codec VP6F, but I'm using HQ x264 (best codec ever, remember it). Should I leave bitrate unchanged or increase/decrease it? Leaving unchanged will produce filesize about 500 Mbs and (I hope) don't decrease quality very much. Moreover, there is a fake 29.97fps - due to low capture speed video is jerky and if I decrease fps I can make bitrate lower.. maybe I should use Dup or GetDup filters (Avisynth). But I'm going to upload result of my work to some online services in order to share such a recording with everybody. Uploading such a big file is quite painful when you have only 112kbit of internet speed.. T_T.

    Lets imagine that I did all of the above successfully. Now I'm going to share results via net using torrents, filehosting and youtube. The first two is easy enough, but youtube allows only 10 minutes per video.. I don't like to split video which I've just combined from lots of pieces. So, my patient reader, could you help me by answering some questions?
    • How to upload long files to youtube without splitting? I found files which were 25-30 minutes long, so it is possible.

    • Which bitrate should I use for encoding video 400x300, 29.97 (actually 15-20) fps, almost static picture? You can assess the video here: (3 minutes of preview version made by me)

    • How to increase quality? (Quite rhetoric question heh)

    As for the end, I'm going to show you some official photos to compare with the video I have.
    mr
    The one thing I'm dreaming now is to find the original videorecording from this event with the quality like this pictures..
  • Give eProps (?)

  • New! You can now edit your comments for 15 minutes after submitting.

About this Entry

Who recommended?