$ mkdir -p beaglelfs/{sources,rootfs_install,boot_mnt,rootfs_mnt}
Download the latest i686 Binary TAR of the ARM GNU/Linux (glibc-based) Lite Toolchain:
Open Computing Language (OpenCL) is a language and framework for writing computationally intensive kernels that run accross heterogenious platforms, including GPUs, CPUs, and perhaps other more esoteric devices.
Intel provides an OpenCL implementation for Intel CPUs, but there's not a lot of instructions on how to get it set up. Here's what I did.
intel_sdk_for_ocl_applications_2013_xe_sdk_3.0.67279_x64.tgz
When you call addSourceBuffer
on a MediaSource
, you need to pass in a string that is the MIME type for the codec. If this isn't correct, the video won't play. (You can also pass this to the MediaSource
's isTypeSupported
function, though there seems to be a gap between what it thinks it can play and what it will play.)
The string looks like this:
video/mp4; codecs="avc1.42E01E, mp4a.40.2"
The values required in that string can be obtained by running the mp4file tool from mp4v2 on a video file, like so:
mp4file --dump movie.mp4
#!/usr/bin/env bash | |
# set -x | |
if [[ $EUID -ne 0 ]]; then | |
echo "You must be root to run this script" | |
exit 1 | |
fi | |
# Returns all available interfaces, except "lo" and "veth*". |