Youtube support not working

Bug #590438 reported by Kevin Bowling
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Lightspark
Fix Released
Undecided
Unassigned

Bug Description

Example URL: http://www.youtube.com/watch?v=FAeznU44L1s

LLVM version is 2.7, OS is Gentoo ~amd64.

Version is latest git --
commit 1b969cec0d2efbc201cbb9f6e19d66c5c3a7b8df
Author: Alessandro <email address hidden>
Date: Sat Jun 5 02:18:41 2010 +0200

./youtube-args-dumper.sh http://www.youtube.com/watch?v=FAeznU44L1s > ../objs/ytargs
cd ../objs/
kev009@kev-ws-aurora ~/lightspark/objs $ ./lightspark -p ytargs watch_as3-vfl169211.swf

Output attached

Revision history for this message
Kevin Bowling (kevin-bowling) wrote :
Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

Is this bug easily reproducible? may you try using verbose output (-l 3)?

Revision history for this message
Kevin Bowling (kevin-bowling) wrote :

I've been following the git repo since the 0.4 announcement and it has never worked. Reproduces with all videos I've tried.

Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

may you run lightspark under gdb and get a backtrace? I'm not able to reproduce the crash locally, please compile in debug mode (-DCMAKE_BUILD_TYPE=Debug) to have more informations from the backtrace.

Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

Have you run make install before running lightspark?

Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

Also check that the ttf-liberation font is installed. I've updated the README with the dependency

Revision history for this message
Kevin Bowling (kevin-bowling) wrote :

Installed liberation fonts and did a make install to ./ls/

kev009@kev-ws-aurora ~/lightspark/objs/ls/ls/bin $ ./lightspark -p ../../../yt/ytargs ../../../yt/watch_as3-vfl169211.swf

Still bombs out. I ran with GDB but am not sure what to look at or break at since there is no segfault.

Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

Hi Kevin,

may you try current git?

Revision history for this message
Kevin Bowling (kevin-bowling) wrote :

Same problem. How does it search for share/lightspark/*? I am unable to render any flash I throw at it, including simple banners.

Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

please post the log. Also check that ttf-liberation is installed in /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Regular.ttf and if not symlink the right file there

Revision history for this message
Kevin Bowling (kevin-bowling) wrote :

Alright, that fixed things. Gentoo stores it in /usr/share/fonts/liberation-fonts/. Is it possible to use a library to abstract the selection and location of fonts?

Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

Support for fontconfig is available in a contributor branch and will be merged soon

Changed in lightspark:
status: New → Fix Committed
Revision history for this message
Alexandre Demers (oxalin) wrote :

Great! I was about to implement fontconfig to LightSpark since I thought it was ok for my skills (I must admit that it's been a while since I last coded in C++ and it was under Windows at the time, so it would have taken a bit of work). That's really a great news.

Changed in lightspark:
milestone: none → lightspark-0.4.2
Changed in lightspark:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.