N770
N770 - Portable media player
Capabilities
- Native resolution 800x480
- Limited to ~800 kbps or 352x288
- 288x160@25fps
- 44.1kHz audio
- ~1.52 Mpix/s
- UPnP player app
- Video Encoding
- http://gentoo-wiki.com/HOWTO_MediaTomb#Using_FFmpeg
- Note, I removed -acodec from the args taken from the Gentoo guide
- Supports muxed subtitles (SRT)
Audio
Transcoding
#!/bin/bash
INPUT="$1"
OUTPUT="$2"
AUDIO_CODEC="mp3"
AUDIO_BITRATE="192k"
AUDIO_SAMPLERATE="44100"
AUDIO_CHANNELS="2"
FORMAT="mp3"
exec /usr/bin/ffmpeg -i "${INPUT}" -ab ${AUDIO_BITRATE} \
-ar ${AUDIO_SAMPLERATE} -ac ${AUDIO_CHANNELS} -f ${FORMAT} - > "${OUTPUT}" 2>/dev/null
Album Art
Supports only embedded art
Video
Transcoding
#!/bin/bash
INPUT="$1"
OUTPUT="$2"
A_CODEC="mp3"
A_SAMPLERATE="44100"
A_BITRATE="64k"
A_CHANNELS="2"
V_CODEC="mpeg4"
V_TAG="DIVX"
V_FPS="25"
SCALE="352x288"
#SCALE="176x144"
BITRATE="400k"
#FORMAT="avi"
exec /usr/bin/ffmpeg -i "${INPUT}" \
-vcodec "${V_CODEC}" -vtag "${V_TAG}" \
-acodec "${A_CODEC}" -ac "${A_CHANNELS}" -ar "${A_SAMPLERATE}" -ab "${A_BITRATE}" \
-r "${V_FPS}" -s "${SCALE}" -b "${BITRATE}" \
-f "${FORMAT}" "${OUTPUT}" 2>/dev/null
Applications
Canola
- Portable media centre - DAAP and UPnP
Mediastreamer
Vegalume
Distributions
- 2.0 Mistral
- 2.1 Scirocco
- 2.2 Gregale