Posts

Showing posts from October, 2006

FC6 LiVES amr_nb amr_wb audio

I was trying to connect a couple video clips from my daughter's Halloween party. My home computer has Fedora Core 6 Linux. The video editing tool is LiVES . Under the hood, it's using mplayer to load my videos. But with my installed mplayer options, the amr_nb audio wasn't enabled. It's time for source code digging. Into the libavcodec directory of mplayer, noticed the amr.c file, it says: This code implements amr-nb and amr-wb audio encoder/decoder through external reference code from www.3gpp.org. The licence of the code from 3gpp is unclear so you have to download the code separately. Two versions exists: One fixed-point and one with floats. For some reason the float-encoder is significant faster atleast on a P4 1.5GHz (0.9s instead of 9.9s on a 30s audio clip at MR102). Both float and fixed point is supported for amr-nb, but only float for amr-wb. --AMR-NB-- The fixed-point (TS26.073) can be downloaded from: http://www.3gpp.org/ftp/Specs/archive/26_series/26.073

Fedora core 6 update

Image
First snow of 2006 Edmonton. Noticed that the Fedora 6 was out when I had the "baseurl" yum error. So I just could not stop myself from downloading a copy. Started Bittorrent and run out for a whole day. After my daughter's halloween party, the dvd iso downloading is complete. Did not stop the seeding until I have the DVD burned. That was about 11:00pm. Try to give something back instead only taking. That's what p2p about. I did not use yum to upgrade my home machine from 5 to 6, because when I tried yum, it met some dependency issues. I also don't have time to figure it out. My wife is always checking our financial status on this machine. There are some instructions about using yum to upgrade from other FC to FC5. Haven't seen one talking about 5 to 6 yet. Had the machine booted from the new dvd. Selected "upgrade" instead of install a new system. Then it's the waiting game. I went to bed to catch some sleep. All my family had not enough sleep f

UTstarcom

Image
This is a photo I took a couple days ago using an UTstartcom pocket PC. Finally I had a Pocket PC. UTstarcom, 3 years contract with Telus. I have played with it for two weeks now. Nice device. Runs Microsoft Windows Mobile 5.0. OS dead twice. Had it resetted once. I guess it's what MS famouse about. I like it very much. Tried wireless network, worked perfectly. So I can surf the Internet while I am on the toilet. Downloaded WordNet CE version. It's a free dictionary. It works, only crushes from time to time. Didn't bother to buy a dictionary. Downloaded PocketPutty , the cvs nightly build version. Worked very well. Only thing I don't like is that it doesn't work with ssh port higher then 9999. I am really excited about being able to connect to my machines from anywhere at any moment. Although I doublt that I will use it for a real situations. I had this photo taken a couple minutes ago. I am going to have it on my profile. 8-]

Mplayer mencoder converting videos to flv files

The website I worked on is a casual game and video type website. Lately I have got a chance to revisit the back end media conversion engine we built half year ago. Instead of using ffmpeg, this time I used mplayer project to do the trick. I like mencode better. FFmpeg is good, does everything, except did not give me enough options, switches to adjust. I did not find a middle way to have the quality and the size of the flv meet our needs. In our environment, I have faac, faad2, lame installed. Faac and faad2 are a little trouble-some. I downloaded their release first, the source code just would not compile. So I tried their cvs version. It worked perfectly. I think I was too cautious. Here is the mencode command I used: #mencoder $1 -o $2 -ofps 15 -of lavf \ -oac mp3lame -lameopts abr:br=64 -srate 22050 -ovc lavc \ -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames \ -lavcopts vcodec=flv:keyint=25:vbitrate=300:mbd=2:mv0\ :trell:v4mv:cbp:la