hello, i just installed mediatomb on my box and so far it's working well for a lot of stuff but i'm having trouble getting mkv transcoding working. All my mkv files are h264 videos and i'd like to be able to play them on the ps3. I followed some guides i found online but i keep getting "data is corrupted" error on the ps3. I was able to do transcoding before on linux with a different program but i haven't been able to get it working on freebsd yet. If anyone knows how to do this please let me know.
edit:
ok, i've got transcoding working with this script:
but i have anopther problem now, maybe someone else can help:
i can't pause, fast forward or rewind.
edit:
ok, i've got transcoding working with this script:
Code:
#!/usr/local/bin/bash
FFMPEG_PATH="/usr/local/bin/ffmpeg"
INPUT="$1"
OUTPUT="$2"
VIDEO_CODEC="mpeg2video"
VIDEO_BITRATE="4096k"
VIDEO_FRAMERATE="25"
AUDIO_CODEC="mp2"
AUDIO_BITRATE="192k"
AUDIO_SAMPLERATE="48000"
AUDIO_CHANNELS="2"
FORMAT="dvd"
exec "${FFMPEG_PATH}" -i "${INPUT}" -vcodec ${VIDEO_CODEC} -b ${VIDEO_BITRATE} \
-r ${VIDEO_FRAMERATE} -acodec ${AUDIO_CODEC} -ab ${AUDIO_BITRATE} -ar ${AUDIO_SAMPLERATE} \
-ac ${AUDIO_CHANNELS} -f ${FORMAT} - > "${OUTPUT}" 2>/dev/null
but i have anopther problem now, maybe someone else can help:
i can't pause, fast forward or rewind.