* [PATCH] gnu: icecat: Add ffmpeg support.
@ 2017-01-09 21:28 Mathieu OTHACEHE
2017-01-09 21:56 ` Danny Milosavljevic
2017-01-10 0:38 ` Mark H Weaver
0 siblings, 2 replies; 5+ messages in thread
From: Mathieu OTHACEHE @ 2017-01-09 21:28 UTC (permalink / raw)
To: guix-devel
* gnu/packages/gnuzilla.scm (icecat)[inputs]: Add ffmpeg.
[libxul-linked-libraries]: Add avcodec and avutil libraries (provided by
ffmpeg).
Signed-off-by: Mathieu OTHACEHE <m.othacehe@gmail.com>
---
Hi,
Thanks to this patch, icecat is able to use ffmpeg to
decode various codecs previously unhandled.
Mathieu
gnu/packages/gnuzilla.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 07ed2af0b..0698d0bcc 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -423,6 +423,7 @@ standards.")
("libxcomposite" ,libxcomposite)
("libxt" ,libxt)
("libffi" ,libffi)
+ ("ffmpeg" ,ffmpeg)
("libvpx" ,libvpx)
("icu4c" ,icu4c)
("pixman" ,pixman)
@@ -544,7 +545,7 @@ standards.")
(("^# This needs to be last")
"OS_LIBS += [
'GL', 'gnome-2', 'canberra', 'Xss', 'cups', 'gssapi_krb5',
- 'gstreamer-1.0', 'gstapp-1.0', 'gstvideo-1.0' ]\n\n"))
+ 'gstreamer-1.0', 'gstapp-1.0', 'gstvideo-1.0', 'avcodec', 'avutil']\n\n"))
#t))
(replace
'configure
--
2.11.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] gnu: icecat: Add ffmpeg support.
2017-01-09 21:28 [PATCH] gnu: icecat: Add ffmpeg support Mathieu OTHACEHE
@ 2017-01-09 21:56 ` Danny Milosavljevic
2017-01-10 0:38 ` Mark H Weaver
1 sibling, 0 replies; 5+ messages in thread
From: Danny Milosavljevic @ 2017-01-09 21:56 UTC (permalink / raw)
To: Mathieu OTHACEHE; +Cc: guix-devel
Hi,
On Mon, 9 Jan 2017 22:28:39 +0100
Mathieu OTHACEHE <m.othacehe@gmail.com> wrote:
> * gnu/packages/gnuzilla.scm (icecat)[inputs]: Add ffmpeg.
> [libxul-linked-libraries]: Add avcodec and avutil libraries (provided by
> ffmpeg).
What advantage does using both gstreamer and ffmpeg in the same program bring to just using gstreamer? Aren't they both multimedia frameworks?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gnu: icecat: Add ffmpeg support.
2017-01-09 21:28 [PATCH] gnu: icecat: Add ffmpeg support Mathieu OTHACEHE
2017-01-09 21:56 ` Danny Milosavljevic
@ 2017-01-10 0:38 ` Mark H Weaver
2017-01-10 14:19 ` Mathieu OTHACEHE
1 sibling, 1 reply; 5+ messages in thread
From: Mark H Weaver @ 2017-01-10 0:38 UTC (permalink / raw)
To: Mathieu OTHACEHE; +Cc: guix-devel
Mathieu OTHACEHE <m.othacehe@gmail.com> writes:
> * gnu/packages/gnuzilla.scm (icecat)[inputs]: Add ffmpeg.
> [libxul-linked-libraries]: Add avcodec and avutil libraries (provided by
> ffmpeg).
icecat is already configured to use 'gstreamer', and we have the
'gst-libav' package that provides access to ffmpeg codec via gstreamer.
Have you tried installing 'gst-libav' in your profile? That's what I
do, and I'm able to watch videos in icecat that use those codecs.
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gnu: icecat: Add ffmpeg support.
2017-01-10 0:38 ` Mark H Weaver
@ 2017-01-10 14:19 ` Mathieu OTHACEHE
2017-01-10 23:51 ` Mark H Weaver
0 siblings, 1 reply; 5+ messages in thread
From: Mathieu OTHACEHE @ 2017-01-10 14:19 UTC (permalink / raw)
To: Mark H Weaver; +Cc: guix-devel
> Have you tried installing 'gst-libav' in your profile? That's what I
> do, and I'm able to watch videos in icecat that use those codecs.
Yes I tried but I'm still not able to read videos from dailymotion or
vimeo for instance. With this patch, it seems to work.
Youtube also report support for H.264 and MSE & H.264 is problematic
with current icecat (with or without gst-libav), but working with this
patch.
See: https://www.youtube.com/html5
Do you share the same observations ?
Thanks,
Mathieu
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gnu: icecat: Add ffmpeg support.
2017-01-10 14:19 ` Mathieu OTHACEHE
@ 2017-01-10 23:51 ` Mark H Weaver
0 siblings, 0 replies; 5+ messages in thread
From: Mark H Weaver @ 2017-01-10 23:51 UTC (permalink / raw)
To: Mathieu OTHACEHE; +Cc: guix-devel
Mathieu OTHACEHE <m.othacehe@gmail.com> writes:
>> Have you tried installing 'gst-libav' in your profile? That's what I
>> do, and I'm able to watch videos in icecat that use those codecs.
>
> Yes I tried but I'm still not able to read videos from dailymotion or
> vimeo for instance. With this patch, it seems to work.
>
> Youtube also report support for H.264 and MSE & H.264 is problematic
> with current icecat (with or without gst-libav), but working with this
> patch.
>
> See: https://www.youtube.com/html5
>
> Do you share the same observations ?
Indeed, you're right. For some reason, our current IceCat package
doesn't acknowledge the existence of the H.264 decoder in gst-libav,
although 'totem' is able to play such files via gstreamer and gst-libav.
It would be preferable to find out why the gstreamer approach is not
working properly. I see at least three disadvantages of depending on
ffmpeg directly:
1. Every time ffmpeg is updated, IceCat would need to be recompiled.
2. Users who wish to avoid codecs under threat by patent holders would
have no easy recourse, whereas currently they can simply avoid
installing 'gst-libav'.
3. Supporting all of the codecs in ffmpeg entails a security risk,
because it contains a large number of codecs, some of which surely
have security flaws. An attacker can find an obscure codec in there
that nobody uses and exploit it. At present, users can greatly
mitigate this risk by installing only 'gst-plugins-good'.
For multiple reasons, it would be best to isolate patent-encumbered
codecs to optional plugins, rather than "baking them in" to our
packages.
What do you think?
Thank you for looking into this.
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-01-10 23:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-09 21:28 [PATCH] gnu: icecat: Add ffmpeg support Mathieu OTHACEHE
2017-01-09 21:56 ` Danny Milosavljevic
2017-01-10 0:38 ` Mark H Weaver
2017-01-10 14:19 ` Mathieu OTHACEHE
2017-01-10 23:51 ` Mark H Weaver
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).