OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: urielka on November 08, 2005, 10:29:03 am
-
i just encoded some movies and when i play them on the PC it works fine but when i play the same file on my C1K i get the Audio not sync with Video.
this is how i encoded the movie:
mencoder $1 -srate 24000 -vop scale=320:240 -o z.$1 -ovc xvid -xvidencopts bitrate=320 -sws 2
-oac mp3lame -lameopts preset=64:mode=3
it is working realy fast on 416Mhz and looks the same like if i was using full res but it is a lot smaller
plz help me solve this.
Uriel
-
i just encoded some movies and when i play them on the PC it works fine but when i play the same file on my C1K i get the Audio not sync with Video.
this is how i encoded the movie:
mencoder $1 -srate 24000 -vop scale=320:240 -o z.$1 -ovc xvid -xvidencopts bitrate=320 -sws 2
-oac mp3lame -lameopts preset=64:mode=3
it is working realy fast on 416Mhz and looks the same like if i was using full res but it is a lot smaller
plz help me solve this.
Uriel
[div align=\"right\"][a href=\"index.php?act=findpost&pid=102848\"][{POST_SNAPBACK}][/a][/div]
Maybe try a different mpeg4 codec ffmpeg or divx? xvid, much as i like it, has caused me sync problems on my z (though not in pdax, as I have been encoding with diffferent codecs). Maybe mplyer has a hard time, or uses a lot of floating point to do xvid?
-
i dunno about FP but i runs smooth just it is not synced to the audio but i will try divx it is to bad that i cant play xvid.
-
Here are my mencoder options, i encode in 2 pass, the file is smaller for same quality
i've no problem for sound or image
for file
mencoder /home/sna/file.avi -ovc xvid -xvidencopts bitrate=150:me_quality=4:vhq=0:pass=1 -lameopts mode=3:cbr:br=64 -vf scale=320:168 -oac mp3lame -o temp.avi -ofps 15 -sws 2
mencoder temp.avi -ovc xvid -xvidencopts bitrate=150:me_quality=4:vhq=0:pass=2 -vf scale=320:168 -oac copy -o /datas/File.avi -ofps 15 -sws 2
for DVD
mencoder dvd://2 -ovc xvid -xvidencopts bitrate=150:me_quality=4:vhq=0:pass=1 -lameopts mode=3:cbr:br=64 -vf scale=320:180 -oac mp3lame -o temp.avi -aid 129 -ofps 15 -sws 2
mencoder temp.avi -ovc xvid -xvidencopts bitrate=150:me_quality=4:vhq=0:pass=2 -vf scale=320:180 -oac copy -o /datas/WestWing4-21.avi -ofps 15 -sws 2
-aid is for language
Have fun
-
also, I tend to use avidemux and/or dvd::rip rather than mencoder.
-
i used this options and it run ok:
mencoder $1 -srate 24000 -vop scale=320:240 -o z.$1 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=320:vhq:acodec=mp3:abitrate=64 -sws 2 -oac lavc
the same quality and same size that xvid encoded but run fine so maybe it is my xvid decoder on the Z?
the size is 111MB for 42Minutes in DVD-RIP quality this is ok?
i will try 2 passes(one pass takes 15-20 Minutes on my Pentium 4B 2.4 Ghz).
does 150 bitrate is good? i want only DVD-RIP quality(and i use 25FPS).(got a 1GB SD).
off-topic question:can it be that my SD card(133x) is faster than the NAND memory?
-
i tried two pass but it is the same size just a bit worse quality, i used this:
#!/bin/bash
mencoder $1 -srate 24000 -vop scale=320:240 -o temp.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=320:vhq:acodec=mp3:abitrate=64:vpass=1 -sws 2 -oac lavc
echo "pass 1 done"
mencoder temp.avi -srate 24000 -vop scale=320:240 -o z.$1 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=320:vhq:vpass=2 -sws 2 -oac copy
rm temp.avi
echo "finnished"
what is the problem?
-
what are your mplayer settings for playing?
if your file is coded like that it must be working, i watch movies every day
mine is for full screen
#!/bin/bash
mplayer -framedrop -ac mad -ao oss -vo bvdd:rotate=-1 -vm -really-quiet -nortc "$1"
xrefresh