So far, so doable. But I have no PCLinuxOS, and I don't run KDE, but XFCe.These are the steps to make HTML5 audio and video work in Pale Moon on PCLinuxOS (with KDE):
- Set the preference media.gstreamer.enabled in about:config to "true".
- Install the "gstreamer1.0-libav" package.
- Make sure the following packages are installed as well:
- ffmpeg
- gstreamer0.10-ffmpeg
- x264
While I am working on tweaking the tzm into xzm's, I have no clue of how to do the next part:
I first tried following this thread Enable Media Source Extensions, MSE & H.264, Firefox, Opera and realized that when running a current x86-64 palemoon, you have none of the mentioned setting Boolean value existing, so first I tried enabling them all, but it still failed. Then I looked into the palemoon forum and found the above solution.Open the PCLinuxOS Control Center, click Hardware > Sound Configuration, enable the "Glitch-Free mode", and click "Ok".
Any ideas how to do that settings "Control Center, click Hardware > Sound Configuration, enable the "Glitch-Free mode", and click "Ok"" when running XFCe?
Why does the XFCe settings manager has no "sound" or "hardware" config part anyway?
Searching the XFCe menu for either "sound" or "hardware" also gives me no entries.
UPDATE
After rebooting, I try it again in a fresh system.
For now, I created and activated the following modules:
ffmpeg-2.6.4-x86_64_custom-1ponce.xzm
gst-ffmpeg-0.10.13-x86_64-2ponce.xzm
gst1-plugins-ugly-1.4.5-x86_64-1ponce.xzm
gstreamer1-1.4.5-x86_64-1ponce.xzm
x264-20150223-x86_64-1ponce.xzm
According to the PM forum article (linked above), I only created the boolean media.gstreamer.enabled
Seems, some stuff ismissing but I have no clue why,or where to find it. Also no clue if it's even needed:
Code: Select all
root@porteus:/# gst-inspect-1.0
(gst-plugin-scanner:5185): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgsta52dec.so': libgstaudio-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:5185): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstamrnb.so': libgstaudio-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:5185): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstamrwbdec.so': libgstaudio-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:5185): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstasf.so': libgstriff-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:5185): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstcdio.so': libgstaudio-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:5185): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstdvdlpcmdec.so': libgstaudio-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:5185): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstdvdsub.so': libgstvideo-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:5185): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstlame.so': libgstaudio-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:5185): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstmad.so': libgstaudio-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:5185): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstmpeg2dec.so': libgstvideo-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:5185): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstrmdemux.so': libgstrtsp-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:5185): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgsttwolame.so': libgstaudio-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:5185): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstx264.so': libgstvideo-1.0.so.0: cannot open shared object file: No such file or directory
coreelements: valve: Valve element
coreelements: multiqueue: MultiQueue
coreelements: typefind: TypeFind
coreelements: tee: Tee pipe fitting
coreelements: filesink: File Sink
coreelements: queue2: Queue 2
coreelements: queue: Queue
coreelements: output-selector: Output selector
coreelements: input-selector: Input selector
coreelements: identity: Identity
coreelements: funnel: Funnel pipe fitting
coreelements: filesrc: File Source
coreelements: fdsink: Filedescriptor Sink
coreelements: fdsrc: Filedescriptor Source
coreelements: fakesink: Fake Sink
coreelements: fakesrc: Fake Source
coreelements: downloadbuffer: DownloadBuffer
coreelements: capsfilter: CapsFilter
xingmux: xingmux: MP3 Xing muxer
dvdread: dvdreadsrc: DVD Source
staticelements: bin: Generic bin
staticelements: pipeline: Pipeline object
Total count: 17 plugins (13 blacklist entries not shown), 22 features
Code: Select all
rava@porteus:/mnt/live/memory/images$ ffplay
ffplay: error while loading shared libraries: libjack.so.0: cannot open shared object file: No such file or directory
Code: Select all
rava@porteus:/mnt/live/memory/images$ ldd /usr/bin/ffplay|grep not
libjack.so.0 => not found
libdc1394.so.22 => not found
libopenal.so.1 => not found
libcaca.so.0 => not found
libvidstab.so.0.9 => not found
libopencv_core.so.2.4 => not found
libopencv_imgproc.so.2.4 => not found
libflite_cmu_us_awb.so.1 => not found
libflite_cmu_us_kal.so.1 => not found
libflite_cmu_us_kal16.so.1 => not found
libflite_cmu_us_rms.so.1 => not found
libflite_cmu_us_slt.so.1 => not found
libflite_usenglish.so.1 => not found
libflite_cmulex.so.1 => not found
libflite.so.1 => not found
libssh.so.4 => not found
libsmbclient.so.0 => not found
librtmp.so.1 => not found
libquvi.so.7 => not found
libmodplug.so.1 => not found
libzvbi.so.0 => not found
libx265.so.59 => not found
libschroedinger-1.0.so.0 => not found
libilbc.so.2 => not found
libfdk-aac.so.1 => not found
libcelt0.so.2 => not found
UPDATE 2
Now I also have jack-audio-connection-kit-0.124.1-x86_64-1ponce.xzm
The missing dependencies of ffplay are not really that much better:
Code: Select all
rava@porteus:/mnt/live/memory/images$ ldd /usr/bin/ffplay|grep not
libdc1394.so.22 => not found
libopenal.so.1 => not found
libcaca.so.0 => not found
libvidstab.so.0.9 => not found
libopencv_core.so.2.4 => not found
libopencv_imgproc.so.2.4 => not found
libflite_cmu_us_awb.so.1 => not found
libflite_cmu_us_kal.so.1 => not found
libflite_cmu_us_kal16.so.1 => not found
libflite_cmu_us_rms.so.1 => not found
libflite_cmu_us_slt.so.1 => not found
libflite_usenglish.so.1 => not found
libflite_cmulex.so.1 => not found
libflite.so.1 => not found
libssh.so.4 => not found
libsmbclient.so.0 => not found
librtmp.so.1 => not found
libquvi.so.7 => not found
libmodplug.so.1 => not found
libzvbi.so.0 => not found
libx265.so.59 => not found
libschroedinger-1.0.so.0 => not found
libilbc.so.2 => not found
libfdk-aac.so.1 => not found
libcelt0.so.2 => not found
Code: Select all
root@porteus:/x/porteus/HTML5# jackd --realtime --driver=alsa
jackd 0.124.1
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
could not open driver .so '/usr/lib64/jack/jack_net.so': libcelt0.so.2: cannot open shared object file: No such file or directory
JACK compiled with System V SHM support.
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 2 periods for playback
Illegal instruction
Code: Select all
rava@porteus:/mnt/live/memory/images$ ffplay
ffplay version 2.8 Copyright (c) 2003-2015 the FFmpeg developers
built with gcc 4.8.2 (GCC)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/doc/ffmpeg-2.8 --mandir=/usr/man --enable-gnutls --enable-gpl --enable-version3 --enable-avfilter --enable-avresample --enable-libass --enable-libdc1394 --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-postproc --enable-runtime-cpudetect --enable-vaapi --enable-vdpau --enable-memalign-hack --enable-pthreads --enable-x11grab --enable-bzlib --enable-zlib --enable-shared --enable-static --disable-debug --arch=x86_64 --enable-pic --extra-cflags='-I/tmp/build/tmp-ffmpeg/ffmpegdeps/usr/include -I/tmp/build/tmp-ffmpeg/ffmpegdeps/usr/include/SDL -DRUNTIME_CPUDETECT' --extra-ldflags='-L/tmp/build/tmp-ffmpeg/ffmpegdeps/usr/lib64 -ldl -lssl -lcrypto -lz -lusb' --pkg-config-flags=--static
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Simple media player
usage: ffplay [options] input_file
An input file must be specified
Use -h to get full help or, even better, run 'man ffplay'
Code: Select all
[mp3 @ 0x7fa71c000900] Skipping 0 bytes of junk at 310. 0B f=0/0
Input #0, mp3, from '/my/path/to.mp3':
Metadata:
major_brand : dash
minor_version : 0
compatible_brands: iso6mp41
encoder : Lavf54.29.104
Duration: 00:55:08.75, start: 0.025057, bitrate: 213 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 213 kb/s
16.63 M-A: 0.000 fd= 0 aq= 23KB vq= 0KB sq= 0B f=0/0
