﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
8469	Error streaming FLV over mythweb,  Frame size must be a multiple of 2	Jesse Chilcott <jesse.chilcott+mythtv@…>	Rob Smith	"I have noticed since I upgraded to 0.23 I have not been able to stream recorded shows in mythweb.

I am running Ubuntu 10.04.  The recorded shows are in 16.9 aspect.

I traced the problem to:

http://svn.mythtv.org/svn/branches/release-0-23-fixes/mythplugins/mythweb/modules/stream/stream_flv.pl

It seems that it was generating this call:

/usr/bin/ffmpeg -y -i '/mnt/recordings/recordings//1099_20100518123000.mpg' -s '480x393' -g 30 -r 24 -f flv -deinterlace -ac 2 -ar 11025 -ab '64k' -b '384k' /dev/stdout 2>/dev/null |

running from the shell I got this error: ""Frame size must be a multiple of 2""

In the shell I changed '480x393' to '480x394' and it started running with out error.  I then traced up to line 54:

$height = round_even($width * ($y/$x));

I think this is supposed to return an even integer.  I logged the output of this line and I ended up with 393--an odd number.  The same number that was causing ffmpeg to fail.
"	defect	closed	minor	0.24	Plugin - MythWeb	0.23-fixes	medium	fixed	mythweb		0
