Solution to mplayer playing voice and picture out of sync
Summary: solution(maybe) to the Your system is too slow to play this! or some wired voice and picture out of sync problem.
 raspberryPi

when i was playing with mplayer in my ras pi. I found that it always appear warning "Your system is too slow to play this". And voice often play faster than the video.

after some modifying with config and option, i found nothing was helpful.

(Btw, you should tune the speed of lcd screen at least 48000000, but you may find some strange colour behaviour appear lol)

So, finally, i tried to re encode my video.

result turns out that we can simply solve this problem by encode the video into the older encoding format like mpg or ogg.

don't use format like mp4 or flv

Result:

mplayer -nolirc -vo fbdev2:/dev/fb1 -fs -zoom -x 480 -y 320 ~/Videos/BadApple.mpg

ogg format: ogg.JPG

mpg format: mpg.JPG

flv format: flv.JPG

Look at the a-v, You can see a significant difference between the mpg and flv.

Which means flv always face sync problem while mpg not.

Update:

add -lavdopts skipframe=nonref:skiploopfilter=all may helo

Latest Updated Time:2019-05-20 10:04:17