Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 7/7] package/tvheadend: Add transcoding support by ffmpeg
Date: Thu, 30 Oct 2014 22:58:12 +0100	[thread overview]
Message-ID: <20141030225812.166745c6@free-electrons.com> (raw)
In-Reply-To: <XnsA3D546EC787EEberndkuhlsPkbjNfxxIA@bernd-kuhls.de>

Dear Bernd Kuhls,

On Wed, 29 Oct 2014 06:58:20 +0100, Bernd Kuhls wrote:
> [posted and mailed]
> 
> Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8
> @public.gmane.org> wrote in news:20141028221104.35a56dd4 at free-electrons.com:
> 
> >> +      --disable-libffmpeg_static          \
> > 
> > Maybe I haven't looked properly, but I don't see this option supported
> > by tvheadend configure script. Can you check?
> 
> Hi,
> 
> you will find the option here:
> https://github.com/tvheadend/tvheadend/blob/master/configure#L36

Aah, yes, it's there. Presumably I was going at the tvheadend code
prior to the recent bump.

However, it's not clear to me what this option does, and therefore was
is the impact on tvheadend.

Also, the code:

+ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE)$(BR2_PACKAGE_FFMPEG_SWSCALE),yy)
+TVHEADEND_DEPENDENCIES += ffmpeg
+TVHEADEND_CONF_OPTS += --enable-libav
+else
+TVHEADEND_CONF_OPTS += --disable-libav
+endif

Means that the user needs to know that both the avresample and swscale
suboptions of ffmpeg have to be enabled in order to have ffmpeg support
in tvheadend. Not easy to know. Should we do something like:

	select BR2_PACKAGE_FFMPEG_AVRESAMPLE if BR2_PACKAGE_FFMPEG
	select BR2_PACKAGE_FFMPEG_SWSCALE if BR2_PACKAGE_FFMPEG

in the tvheadend/Config.in file? This way the user would only have to
enable BR2_PACKAGE_FFMPEG to get ffmpeg support in tvheadend. And the
condition could be simplified to just test BR2_PACKAGE_FFMPEG.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2014-10-30 21:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-14 18:28 [Buildroot] [PATCH v3 1/7] package/libdvbcsa: New package Bernd Kuhls
2014-10-14 18:28 ` [Buildroot] [PATCH v3 2/7] package/ffmpeg: Enable support for libavresample Bernd Kuhls
2014-10-28 18:35   ` Thomas Petazzoni
2014-10-14 18:28 ` [Buildroot] [PATCH v3 3/7] package/tvheadend: Needs iconv() Bernd Kuhls
2014-10-28 21:02   ` Thomas Petazzoni
2014-10-14 18:28 ` [Buildroot] [PATCH v3 4/7] package/tvheadend: Add support for libdvbcsa Bernd Kuhls
2014-10-28 21:10   ` Thomas Petazzoni
2014-10-14 18:28 ` [Buildroot] [PATCH v3 5/7] package/tvheadend: Enable bundled build Bernd Kuhls
2014-10-14 18:28 ` [Buildroot] [PATCH v3 6/7] package/tvheadend: Bump version to current git master Bernd Kuhls
2014-10-14 18:28 ` [Buildroot] [PATCH v3 7/7] package/tvheadend: Add transcoding support by ffmpeg Bernd Kuhls
2014-10-28 21:11   ` Thomas Petazzoni
2014-10-29  5:58     ` Bernd Kuhls
2014-10-30 21:58       ` Thomas Petazzoni [this message]
2014-10-27 22:13 ` [Buildroot] [PATCH v3 1/7] package/libdvbcsa: New package Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141030225812.166745c6@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox