android
Prev Previous Post   Next Post Next
  #2  
Old 01-28-2009, 11:06 PM
maeks84 maeks84 is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Default Photos, Video, and Music

Photos
It seems that the OF can't understand the JPEG format. (RB does fine.) The OF needs a 16-bit (R5 G6 B5) BMP sized to 176x224. GIMP will create these find, just choose advanced options when saving, but it's a pain if you want to do very many. Below is a script that will rotate and convert your images, then place them onto your player along with thumbnail files. It will create Albums with the name of Folder 001, Folder 002, Folder 003...

I couldn't figure out a way to make the thumbnails appear with the correct orientation. I think the 1.03 firmware ignores the thumbnails folder and creates it's own each time. I couldn't figure out how to override this. The script has some code in it for creating thumbnails, but it's all commented out.

First, you must install ImageMagick. You can find the instructions here. I suggest installing MacPorts first.

Next grab the Photo Converter script from here.

You must also download the bmp16 script found under Photos on Grant's website, here. Save this as bmp16.py and place in the same folder as the Photo Converter.

Now, when you drag photos onto the Photo Converter, they will be converted and placed onto your player.

Videos
I use Rockbox for my videos, since the format Rockbox uses takes up well under half of the space compared to the OF format and also works from the SD card. I did figure out how to get videos on the OF side of things though.

Original Firmware
Quicktime Pro is required and if you wish to convert WMV files, the paid version of Flip4Mac is required as well. To do it manually, open the video in Quicktime. If you need to rotate the video, go to Window > Show Movie Properties (Command-J), select the Video Track, Visual Settings tab, and click on the rotate button. Next, export the movie (File > Export) and choose Movie to Quicktime Movie and click on options. Set the Compression Type to Photo - JPEG, Framerate to 15 fps, Depth to Color, Quality to Best, and click OK. Under Size, choose Custom and set it to 176 x 224, check Preserve Aspect Ratio, select Letterbox, and click OK. Under the sound settings, set Format to Linear PCM, Channels to Stereo (L R), Rate to 44.100 kHz, uncheck Little Endian, and click OK. Click OK again and then save.

Yep, pain in the neck... Download the script here and the settings file here. Place both in the same folder. Each video you drag onto it will be converted and placed onto your Sansa.

Rockbox
For this, mencoder is required. Install MacPorts, if you didn't earlier, and run sudo port install mplayer in the terminal. Next run

mencoder /file/input.avi -of mpeg -oac lavc -lavcopts acodec=mp2:abitrate=96:vmax_b_frames=16:vb_strateg y=2 -af resample=44100:0:0 -ovc nuv -lavcopts vcodec=mpeg2video:vbitrate=370 -vf scale=224:176 -ofps 25 -o /file/output.mpg


in the terminal. Be sure to change the paths. Thanks to cpchan who showed me the correct options in his script here. I'm pretty sure that this could be modified to convert videos to the OF format, but I haven't messed with that yet. If you have trouble converting certain types of files, try installing the Binary Codec Package from here.

And, of course, the drag and drop script is located here. This one creates a folder called Rockbox Video and places your videos in it.

Music
I haven't messed with playlists yet. Anything that's already in MP3 format, I just drag and drop into the Music folder on the player. Album Art seems to work fine.

That's all I've got for now. Hopefully it helps someone out.
Reply With Quote

 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 07:27 PM.