Sony Ericsson K750 USB charging

If you’re frustated trying to charge your K750 from USB with no luck. Try to install the drivers first, it actually makes a difference. The K750 wont recharge the battery if the drivers are not installed. At least that worked for me in Windows 2000.

May 31, 2007

MP4::Info fixed

Jonathan Harris has just released a new version of MP4::Info adding support for Sony PSP title and encoder. Movie title and the encoder used are now accessible under $tag->{NAM} and $tag->{TOO} use MP4::Info; my $file = 'MAQ12331.MP4'; my $tag = get_mp4tag($file) or die "No TAG info"; printf "$file title:%s encoder: %s\n", $tag~~<span style="NAM;text-align:right;">, $tag</span>~~>{TOO}; see my related post

February 28, 2007

Support for Sony PSP format in MP4::Info

Today I opened a new feature request (http://rt.cpan.org/Ticket/Display.html?id=25178) on MP4::Info perl module to include my patch to read the title in a Sony PSP files. Read this post to know more about the way title is encoded in PSP Mp4 files. With the following patch mp4infopatch.txt (applied to Info.pm) you can read the title of an PSP MP4 file using the following code snippet: use MP4::Info; my $file = 'MAQ12033.MP4'; my $tag = get_mp4tag($file) or die "No TAG info"; printf "$file title is %s\n", $tag->{NAM}; my $info = get_mp4info($file); printf "$file title is %s\n", $info->{NAM}; my $mp4 = new MP4::Info $file; printf "$file title is %s\n", $mp4->title; UPDATE: Jonathan Harris has released a new version of MP4::Info with support for Sony’s PSP files. more info

February 27, 2007

Example of title encoded in a Sony PSP MP4 file

Here I included an example of a custom uuid USMT->MTDT block in a Sony PSP MP4 file 06A55450 75 75 69 64 55 53 4D 54 21 D2 4F CE BB 88 69 5C uuidUSMT!.O...i\ 06A55460 FA C9 C7 40 00 00 00 90 4D 54 44 54 00 04 00 0C ...@....MTDT.... 06A55470 00 00 00 0B 55 C4 00 00 02 1C 00 22 00 00 00 04 ....U......".... 06A55480 15 C7 00 01 00 50 00 53 00 50 00 20 00 56 00 69 .....P.S.P. .V.i 06A55490 00 64 00 65 00 6F 00 20 00 39 00 00 00 26 00 00 .d.e.o. .9...&.. 06A554A0 00 01 2A 0E 00 01 00 54 00 68 00 65 00 20 00 67 ..*....T.h.e. .g 06A554B0 00 6F 00 64 00 66 00 61 00 74 00 68 00 65 00 72 .o.d.f.a.t.h.e.r 06A554C0 00 00 00 32 00 00 00 03 55 C4 00 01 00 32 00 30 ...2....U....2.0 06A554D0 00 30 00 37 00 2F 00 30 00 32 00 2F 00 32 00 33 .0.7./.0.2./.2.3 06A554E0 00 20 00 32 00 30 00 3A 00 33 00 31 00 3A 00 33 . .2.0.:.3.1.:.3 06A554F0 00 34 00 00 .4.. The title “The godfather” is encoded in UTF-16 at position 06A554A7. To know a little bit more about the Sony PSP way of storing titles read this.

February 25, 2007

How to read title in Sony PSP MP4 files

If you had tried to read the title of a Sony PSP MP4 file with Ruby’s mp4info or Perl’s MP4::Info you probably noticed that the title is not stored in the NAM tag where it should be. Those two libraries cannot access the title info in Sony PSP files because title info is stored in a propierary way in a custom uuid atom called USMT (User Media Tags). Inside this atom there is child atom called MTDT (Meta Data) that lists meta data entries, one of them is the title. I found all this information in the movenc.c file from ffmpeg ...

February 25, 2007

Sony PSP MP4 filenames

If you’re new to the PSP you must remember when copying files video files (created with 3GP converter or PSP Video 9) to your PSP that M4Vxxxxx.MP4 files go to the MP_ROOT/100MNV01 dir of the Memory Stick and the MAQxxxxx.MP4 files go to MP_ROOT/101ANV01 dir. M4Vxxxxx files are conventional MPEG-4 files and MAQxxxxx are MPEG-4 files using AVC codec (recommended).

February 25, 2007