[mythtv-commits] Ticket #8469: Error streaming FLV over mythweb, Frame size must be a multiple of 2

MythTV mythtv at cvs.mythtv.org
Tue May 18 08:28:20 UTC 2010


#8469: Error streaming FLV over mythweb,  Frame size must be a multiple of 2
--------------------------------------------------------------+-------------
 Reporter:  Jesse Chilcott <jesse.chilcott+mythtv@…>          |       Owner:  kormoc    
     Type:  defect                                            |      Status:  new       
 Priority:  minor                                             |   Milestone:  unknown   
Component:  Plugin - MythWeb                                  |     Version:  0.23-fixes
 Severity:  medium                                            |     Mlocked:  0         
--------------------------------------------------------------+-------------
 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.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8469>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list