Bug 13536

Summary: The video in free FLV player is always 120 pixels high
Product: swfdec Reporter: Pavel Roskin <proski>
Component: libraryAssignee: swfdec ml <swfdec>
Status: RESOLVED FIXED QA Contact: swfdec ml <swfdec>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
URL: http://flv-player.net/players/normal/
Whiteboard:
i915 platform: i915 features:

Description Pavel Roskin 2007-12-05 10:50:50 UTC
The popular FLV Player (player_flv.swf) shows videos compressed vertically.  The height is always 120 instead of the usual 240.  I made the size 640x480, and it seems to be just above 120 pixels high (perhaps 120 plus the toolbar height):
http://red-bean.com/proski/swf/drama.html

The issue can be reproduced locally without plugin:

wget http://red-bean.com/proski/swf/player_flv.swf
wget http://red-bean.com/proski/swf/drama.flv
swfplay -v flv=./drama.flv player_flv.swf

SWFDEC: WARN : swfdec_movie_asprops.c(281): mc_height_set: trying to set height to a non-finite value, ignoring
SWFDEC: WARN : swfdec_movie_asprops.c(83): mc_y_set: trying to move video._y to a non-finite value, ignoring
[skipping messages like "Add decoder xxx please"]
SWFDEC: WARN : swfdec_movie_asprops.c(281): mc_height_set: trying to set height to a non-finite value, ignoring
SWFDEC: WARN : swfdec_movie_asprops.c(83): mc_y_set: trying to move video._y to a non-finite value, ignoring
SWFDEC: WARN : swfdec_movie_asprops.c(281): mc_height_set: trying to set height to a non-finite value, ignoring
SWFDEC: WARN : swfdec_movie_asprops.c(83): mc_y_set: trying to move video._y to a non-finite value, ignoring
SWFDEC: WARN : swfdec_movie_asprops.c(281): mc_height_set: trying to set height to a non-finite value, ignoring
SWFDEC: WARN : swfdec_movie_asprops.c(83): mc_y_set: trying to move video._y to a non-finite value, ignoring
Comment 1 Pekka Lampila 2007-12-11 23:30:12 UTC
Confirmed
Comment 2 Pekka Lampila 2008-02-15 04:55:42 UTC
Needs support for NetStream onMetaData event
Comment 3 Benjamin Otte 2008-02-15 11:55:22 UTC
You should make unfounded claims more often, that motivates me into looking at the problem. And no, it's not onMetaData. The FLV parser parses invoke calls fine and executes the onMetaData call inside the provided FLV happily.

What is missing is the video.width and video.height properties. So there!
Comment 4 Pekka Lampila 2008-02-16 11:25:18 UTC
True. Although it executed the onMetaData calls happily with bogus values, since there was an error in AMF number parsing. But for most videos here it was about the width and height properties on Video object.

Anyway, since 1414736db7ad5a9a45dd2608073fc903c8d831e9 both things are fixed.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.