You are not logged in.

#1 2011-04-02 01:28:56

mmbossoni
Member
Registered: 2011-01-10
Posts: 21

mencoder using libavcodec to encode ac3 produces slow video

Hi,

I use ps3mediaserver as dlna server and it encodes using mencoder with the following options:

mencoder -ss 0 -quiet /home/user/data/temp/video1.mp4 -quiet -quiet -oac lavc -of mpeg -quiet -quiet -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -lavdopts debug=0:threads=4 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=256:threads=4:keyint=1:vqscale=1:vqmin=2:vrc_maxrate=30000:vrc_buf_size=1835 -ass-color ffffff00 -ass-border-color 00000000 -ass-font-scale 1.0 -ass-force-style FontName=Arial,Outline=1,Shadow=1,MarginV=10 -quiet -quiet -subdelay 20000 -quiet -quiet -ofps 24000/1001 -quiet -quiet -mc 0.1 -quiet -af lavcresample=48000 -srate 48000 -o /tmp/javaps3media/mencoder1301695142450


where video1.mp4 has mov container, aac audio and h264 720p video, a typical hd video.

If I change the acodec=ac3 to acodec=libmp3lame everything works like a charm.

Any idea why ac3 is so buggy?

Offline

Board footer

Powered by FluxBB