> On Nov 3, 2015, at 6:17 PM, Ian Coolidge <[email protected]> wrote: > > I actually tried that already. Didn't work. > > Passing LD_LIBRARY_PATH=/usr/lib/chromium doesn't work either.
hmmm, so if it moves to same folder as chromium itself I should look at if we could change > > On Tue, Nov 3, 2015 at 6:13 PM, Khem Raj <[email protected]> wrote: > >> >>> On Nov 3, 2015, at 5:50 PM, Ian Coolidge <[email protected]> >> wrote: >>> >>> It looks like it is statically set within the code in the function >>> InitializeMediaLibrary(module_dir) >>> >>> Doing a `grep -r -B 5 -A 5 "initializeMediaLibrary" *` of the chromium >> code >>> shows a few places looking in DIR_EXE for the library instead of >> DIR_MODULE. >>> >>> In particular, I see webmediaplayer_factory.cc initializing the media >>> library and looking in DIR_EXE. Is this what would play videos from an >> html >>> <video> tag? >>> >>> I'm finding chromium looking in DIR_EXE for libffmpegsumo.so when >> chromium >>> is launched with this script: >> >> for tests can you put library in /usr/lib/chromium-browser and see if it >> finds it >> >>> >>> #!/bin/sh >>>> export DISPLAY=:0 >>>> export HOME=/tmp/chromium >>>> export GOOGLE_API_KEY=ZZZZ >>>> export GOOGLE_DEFAULT_CLIENT_ID=XXXX >>>> export GOOGLE_DEFAULT_CLIENT_SECRET=YYYY >>>> export CHROME_DEVEL_SANDBOX=/usr/sbin/chrome-devel-sandbox >>>> export CHROME_EXTRA_ARGS=" \ >>>> --user-data-dir=/tmp/chromium \ >>>> --data-path=/tmp/chromium \ >>>> --disk-cache-dir=/tmp/chromium \ >>>> --disk-cache-size=16777216 \ >>>> --use-gl=egl \ >>>> --gpu-no-context-lost \ >>>> --start-fullscreen \ >>>> --enable-logging=stderr \ >>>> --no-first-run \ >>>> --disable-touch-drag-drop \ >>>> --enable-file-cookies \ >>>> " >>>> /usr/bin/chromium/chrome ${CHROME_EXTRA_ARGS} $@ >>> >>> >>> and with this simple vid.html as the page source: >>> >>> <html> >>>> <div id="showvideo" style="display: none"> >>>> <video id="myVideo" height="240" autoplay loop> >>>> <source src="/app/test.mp4" type="video/mp4"> >>>> </video> >>>> </div> >>>> </html> >>>> >>> >>> Thoughts? >>> Thanks! >>> -Ian >>> >>> >>> >>> >>> On Tue, Nov 3, 2015 at 5:26 PM, Khem Raj <[email protected]> wrote: >>> >>>> >>>>> On Nov 3, 2015, at 5:12 PM, Ian Coolidge <[email protected]> >>>> wrote: >>>>> >>>>> Hello, >>>>> >>>>> In the chromium recipe, there is a package chromium-codecs-ffmpeg which >>>>> puts libffmpegsumo.so in /usr/lib/chromium/. However, it only seems to >>>> work >>>>> when placed in /usr/bin/chromium/. >>>>> >>>>> Is there a flag I can pass to chromium to look in /usr/lib/chromium/ >> for >>>>> that library? What step am I missing here? >>>>> >>>> >>>> can you check the chromium script and see if it needs the lib path to be >>>> specified there ? >>>> >>>>> Thanks! >>>>> -Ian Coolidge >>>>> -- >>>>> _______________________________________________ >>>>> Openembedded-devel mailing list >>>>> [email protected] >>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel >>>> >>>> >>>> -- >>>> _______________________________________________ >>>> Openembedded-devel mailing list >>>> [email protected] >>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel >>>> >>>> >>> -- >>> _______________________________________________ >>> Openembedded-devel mailing list >>> [email protected] >>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel >> >> >> -- >> _______________________________________________ >> Openembedded-devel mailing list >> [email protected] >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel >> >> > -- > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
