RLR-grab Mark Knopfler & Emmylou Harris
Real Live Roadrunning
letterbox format
LINH-grab Pat Benatar
Live In New Haven
from NTSC 720x480

Creating Video Files

Video on the H300 uses the Xvid codec. The video must have a resolution of 220x176 with a frame rate of 10 frames per second and a maximum bitrate of 500. The audio is MP3, 128kb/s, 44.1kHz. Files suitable for the H300 can be created using mencoder, and mplayer can be used to create files for mencoder to convert (from DVD's, for example).

To convert a video that already has 4:3 aspect ratio, use:

  mencoder <input> -o <output> \
  -oac mp3lame -lameopts mode=2:cbr:br=128 \
  -ovc xvid -xvidencopts bitrate=475:max_bframes=0 \
  -vf scale=220:176,dsize=220:176,harddup,pp=lb \
  -af resample=44100 -ofps 10 -srate 44100 

To convert a video that has 16:9 aspect ratio into letterbox format (black borders top and bottom), use:

  mencoder <input> -o <output> \
  -oac mp3lame -lameopts mode=2:cbr:br=128 \
  -ovc xvid -xvidencopts bitrate=475:max_bframes=0 \
  -vf scale=220:-2,dsize=220:-2,expand=:-52,harddup,pp=lb \
  -af resample=44100 -ofps 10 -srate 44100 

The 52 extra pixels are needed because the size of a reduced 16:9 aspect ratio video is 220x124. For other aspect ratios, a different value will be needed (for example, -10 for a 720x480 NTSC video).

To crop a video that has 16:9 aspect ratio, use:

  mencoder <input> -o <output> \
  -oac mp3lame -lameopts mode=2:cbr:br=128 \
  -ovc xvid -xvidencopts bitrate=475:max_bframes=0 \
  -vf scale=220:176,dsize=220:176,crop=:220:176,harddup,pp=lb \
  -af resample=44100 -ofps 10 -srate 44100 

Other useful options include:

  -aid <num> 

to select the audio track to use, and:

  -info name=<value>
  -info artist=<value>
  -info subject=<value> 

to add (for example) title, artist and track information. Note, that it's not possible to use the ':' character in these strings.

It's also possible to clip tracks using the -ss and -endpos options. Note, that the value given to mplayer is the absolute position from the DVD, whilst the value given to mencoder is the relative position from the start of the track.

Play List Files

The H300 uses Winamp simple m3u files to hold play lists. The format is simply lines of the form:

  \dir_1\sub_dir_1\music_file_1.ogg
  \dir_2\sub_dir_2\music_file_2.ogg 

All the lines in the file must end with <CR><LF>, otherwise the file will not be recognised as valid.

Note

The above applies to H300's running firmware 1.31.


-^- Up to my notes page -^-