[plumi-discuss] memcoder video quality

andy nicholson andy at engagemedia.org
Sat May 9 13:23:59 EST 2009


Hi Roland

Have a look at the latest version of indytube released for plumi 0.2.x
http://plumi.org/browser/indytube/tags/plumi-0.2.3-rc3
in particular the latest example conf
http://plumi.org/browser/indytube/tags/plumi-0.2.3-rc3/indytube.conf

the mencoder options in particular, are:

# for newer versions of MEncoder, we dont need the "lavfopts" line
above, plus we add in a higher bitrate, and a sync option
MENCODER_OPTIONS=-really-quiet -of lavf -oac mp3lame -lameopts abr:br=64
-ovc lavc -lavcopts
vcodec=flv:keyint=25:vbitrate=260:mbd=2:mv0:trell:v4mv:cbp:last_pred=3
-vf harddup,expand=:::::4/3,scale=320:240  -srate 22050 -ofps 25 -mc
0/10

---

Notice that in the example indytube conf, the vbitrate param to the
vcodec param (sent to mencoder) got lifted to 260, from 150. You can
make it what you like to adjust the size/quality trade-off, and also for
instance, you could change the "320:240" scaling if you like - you would
just need to make the same weight/height corresponding change in the
flowplayer template.

Also, as mentioned in the indytube.conf at the above link, at some
version MEncoder stopped supporting the
"i_certify_that_my_video_stream_does_not_use_b_frames" flag and wont
transcode files if its used. Upgrading MEncoder to the latest version
should work easily though.


cheers
andy


On Fri, 2009-05-08 at 13:38 +0200, roland fasching wrote:
> hi!
> 
> i am running the www.screensessions.com website and the project runs  
> great for more than one year.
> the only complaints we receive targets to video quality.
> is there a way to improve it?
> 
> thank you!
> 
> roland
> ---
> 
> my indytube.conf:
> 
> [encoder]
> BE_HOW_NICE=18
> CONVERT_THESE 
> =['.avi','.qt','.mov','.mpeg','.mp4','.mpg','.asf','.wmv','.3gp']
> DO_ENCODING=True
> NUMBER_OF_PARALLEL_ENCODERS=20
> ENCODER_LOCKFILE_BASE=/var/lib/zope29/screensessions/Products/indytube/ 
> plumidemo-encoder.lock
> POLLTIME=60
> 
> [mencoder]
> MENCODER_LOCATION=/usr/bin/mencoder
> MENCODER_OPTIONS=-really-quiet -of lavf -lavfopts  
> i_certify_that_my_video_stream_does_not_use_b_frames -oac mp3lame - 
> lameopts abr:br=56 -ovc lavc -lavcopts  
> vcodec=flv:keyint=50:vbitrate=150:mbd=2:mv0:trell:v4mv:cbp:last_pred=3  
> -vf scale=425:344 -srate 22050
> 
> [ffmpeg2theora]
> CORTADO_LOCATION=http://demo.plumi.org/flowplayer/cortado-ovt-debug-0.2.2.jar
> FFMPEG2THEORA_COMMAND=ffmpeg2theora
> 
> [flvtool2]
> FLVTOOL_LOCATION=/usr/bin/flvtool2
> 
> [paths]
> VIDEO_FILE_DIRECTORY=/var/lib/zope29/screensessions/var/files/Members
> FLV_FILE_DIRECTORY=/var/lib/zope29/screensessions/static/flv-files
> INCLUDE_FILE_DIRECTORY=/var/lib/zope29/screensessions/var/files/Members
> INCLUDE_FILE_SUFFIX=.flv.inc
> INCLUDE_TEMPLATE=/var/lib/zope29/screensessions/Products/indytube/ 
> screensessions.template
> 
> [urls]
> FLOWPLAYER_LOCATION=http://www.screensessions.com/static/FlowPlayerWhite.swf
> VIDEO_SERVER_URL=http://flv.screensessions.com
> SPLASH_IMAGE_BASE=http://www.screensessions.com/static
> SPLASH_IMAGE_FILE=play-button-328x240.jpg
> 
> [logging]
> LOG_FILE=/var/lib/zope29/screensessions/Products/indytube/plumi- 
> wetube.log
> LOG_LEVEL=logging.INFO
> 
> 
> _______________________________________________
> Discuss mailing list
> Discuss at lists.plumi.org
> http://lists.plumi.org/listinfo/discuss
-- 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.plumi.org/pipermail/discuss/attachments/20090509/b9122a9f/attachment.pgp>


More information about the Discuss mailing list