[mythtv-users] Transcode to my cell phone (PPC-6700)?
Ian Forde
ian at duckland.org
Fri Mar 24 09:57:19 UTC 2006
On Fri, 2006-03-24 at 04:09 -0500, Maverick wrote:
> Are your scripts publicly available? If they are, I'd like to take a
> look at them and see how the ffmpeg you mention works. Sounds about
> like what I need to do, essentially the same as the treo I bet.
Well, to convert to treo, here's the listing:
#!/bin/sh
# This script converts a file from Myth to be played on the Treo 650.
INFILE=$1
OUTFILE=$2
/usr/bin/mencoder -o "${OUTFILE}" \
-aspect 4:3 \
-ovc lavc \
-lavcopts
vcodec=mpeg4:mbd=2:turbo:vbitrate=300:aspect=4/3:acodec=mp3:abitrate=96
\
-oac lavc \
-vf-pre pp=lb \
-vf scale=320:200 \
-af volnorm \
"${INFILE}"
(note that there's a space, not a line break between "lavcopts" and
"vcodec")
And for converting to psp, I have:
#!/bin/sh
# This script converts a file from Myth to be played on the PSP.
INFILE=$1
OUTFILE=$2
ffmpeg-psp -y -i "${INFILE}" -bitexact -f psp -s 320x240 -vcodec xvid -r
29.97 -b 384 -acodec aac -ac 2 -vol 150 -ar 24000 -ab 64 -muxvb 768
"${OUTFILE}"
# Then the thumbnail.
ffmpeg-psp -y -i "${INFILE}" -f singlejpeg -ss 5 -vframes 1 -s 160x120
-an "${OUTFILE}.THM"
And that's that!
-I
More information about the mythtv-users
mailing list