N 770





edit SideBar

N 770

N770 - Portable media player

Capabilities

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
Recent Changes (All) | Edit SideBar Page last modified on 04 July 2008, at 12:05 AM UTC Edit Page | Page History
Powered by PmWiki