Ruben Laguna's blog

Mar 17, 2007 - 1 minute read - Comments - macro macros microsoft select tables windows word

How to select all tables in a Microsoft Word Document

It seems it’s impossible to do it from the user interface. But I found here that it could be done using a VB Macro: Sub ChangeAllTablesToNormal() Dim myTable As Table For Each myTable In ActiveDocument.Tables myTable.Select Selection.Style = ActiveDocument.Styles("Normal") Next myTable ActiveDocument.Repaginate End Sub You may try to change ActiveDocument.Styles("Normal") to ActiveDocument.Styles("Tables Normal") as suggested by Abhishek if it doesn’t work for you.

Mar 10, 2007 - 2 minute read - Comments - files http psp rss server tranfer Uncategorized wifi wireless

Perl RSS server for the Sony PSP

I created this little perl program that creates an RSS feed from a set of video files (.mp4). This is useful to wirelessly transfer files to the PSP. The files will be saved in the VIDEO folder of the PSP. You’ll need to install MP4::Info and HTTP::Daemon from CPAN first. #!/usr/bin/perl -w# this small program starts a http daeomon listening on port 1111 and provides a RSS feed# to all .

Mar 10, 2007 - 1 minute read - Comments - 3gp avc converter folder manager media mp4 mpeg4 psp pss video

Sony PSP mpeg-4, avc and the video folder

I realized that the PSP refuses to play all my .MP4 files from the root VIDEO folder. If I move them to MP_ROOT/100ANV01 it will work but if I put them in the VIDEO folder PSP says that they are not compatible data. After investigating a little bit, it seems that it only refuses to play AVC encoded files all other are fine. Well, if fact only MPEG-4 320x240 files can be played from the video folder whereas AVC 480x272 is fine if I put them in MP_ROOT/100ANV01.

Mar 7, 2007 - 1 minute read - Comments - 503 propfind proxy service subversion svn troubleshooting unavailable windows

Subversion error: 503 Service unavailable

If you faced the following subversion message in windows: svn: PROPFIND request failed on '/repos/demosystemeic' svn: PROPFIND of '/repos/demosystemeic': 503 Service Unavailable (http://x.x.x.x) Probably the problem is caused because you are proxying your request via a proxy that doesn’t support HTTP methods like PROPFIND, etc. If you don’t really need the proxy to access the repository edit the file c:\Documents and Settings_username_\Application Data\Subversion\servers (Note: Subversion directory is hidden) and comment out the following items

Feb 28, 2007 - 1 minute read - Comments - encoder info mp4 perl psp sony tag title Uncategorized

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"$filetitle:%s encoder: %s\n", $tag~~<span style="NAM;text-align:right;">, $tag</span>~~>{TOO}; see my related post

Feb 27, 2007 - 1 minute read - Comments - mp4 mtdt psp sony tag title Uncategorized usmt uuid

Support for Sony PSP format in MP4::Info

Today I opened a new feature request ( 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 you can read the title of an PSP MP4 file using the following code snippet: useMP4::Info;my$file='MAQ12033.MP4';my$tag=get_mp4tag($file)ordie"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=newMP4::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.

Feb 25, 2007 - 2 minute read - Comments - metadata mp4 mpeg-4 mtdt NAM psp sony tag title usmt

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.

Feb 25, 2007 - 1 minute read - Comments - avc filename memory mp4 mpeg-4 ms playstation portable psp sony stick

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).