Project

General

Profile

Transcoding debunked v4.1.x

Added by Ahmed Nabil over 9 years ago

Hi gents,

i was trying to build tvheadend 4.1.x with transcoding enabled.

So after hours and days of searching for what i should do before i do it, i've reached this post

https://tvheadend.org/boards/4/topics/13635

but i'm working on ubuntu 15.04 "vivid" also no builds are available yet, so i've used Autobuild.sh -t trusty-amd64, when compiling from source.

everything looking good, and to be honest by building in this way you'll be able to get all the transcoding features in tvheadend web panel.

then i wanted to build it again so,
i've tried installing ffmpeg from this link
http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

and everything went fine
but when i try to build using these options
AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static,libiconv,ccache,bundle,dvbcsa,kqueue,tsdebug,gtimer_check ./Autobuild.sh -t trusty-amd64

i get these options as failed
Checking support/features
checking for ffmpeg libraries ... fail

Options
libffmpeg_static no
libffmpeg_static_x264 yes
inotify yes
epoll yes
uriparser yes
ccache no
tvhcsa yes
bundle no
dvbcsa no
dvben50221 no
kqueue no
dbus_1 yes
android no
tsdebug no
gtimer_check no

can someone please illustrate why??

i want libffmpeg_static to be on, also the other options "which i really don't know what they are doing"

please can someone illustrate why the static ffmpeg isn't working? and what are all these options.

Thanks very much and best regards


Replies (7)

RE: Transcoding debunked v4.1.x - Added by Ahmed Nabil over 9 years ago

Hello anyone?? :D :D, i really searched a lot, some help please :)

RE: Transcoding debunked v4.1.x - Added by Mark Clarkstone over 9 years ago

Ahmed Nabil wrote:

Hi gents,

i was trying to build tvheadend 4.1.x with transcoding enabled.

So after hours and days of searching for what i should do before i do it, i've reached this post

https://tvheadend.org/boards/4/topics/13635

but i'm working on ubuntu 15.04 "vivid" also no builds are available yet, so i've used Autobuild.sh -t trusty-amd64, when compiling from source.

everything looking good, and to be honest by building in this way you'll be able to get all the transcoding features in tvheadend web panel.

then i wanted to build it again so,
i've tried installing ffmpeg from this link
http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

and everything went fine
but when i try to build using these options
AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static,libiconv,ccache,bundle,dvbcsa,kqueue,tsdebug,gtimer_check ./Autobuild.sh -t trusty-amd64

i get these options as failed
Checking support/features
checking for ffmpeg libraries ... fail

Options
libffmpeg_static no
libffmpeg_static_x264 yes
inotify yes
epoll yes
uriparser yes
ccache no
tvhcsa yes
bundle no
dvbcsa no
dvben50221 no
kqueue no
dbus_1 yes
android no
tsdebug no
gtimer_check no

can someone please illustrate why??

i want libffmpeg_static to be on, also the other options "which i really don't know what they are doing"

please can someone illustrate why the static ffmpeg isn't working? and what are all these options.

Thanks very much and best regards

AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static,libiconv,ccache,bundle,dvbcsa,kqueue,tsdebug,gtimer_check ./Autobuild.sh -t trusty-amd64

Won't work, you need to remove the commas, replace with escaped spaces and get the options correct, so..

AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static\ --disable-avahi\ --disable-dbus_1 ./Autobuild.sh 

etc..

RE: Transcoding debunked v4.1.x - Added by Ahmed Nabil over 9 years ago

Mark Hunting can you please illustrate what are these parameters? and what they do?

RE: Transcoding debunked v4.1.x - Added by Mark Clarkstone over 9 years ago

Ahmed Nabil wrote:

Mark Hunting can you please illustrate what are these parameters? and what they do?

See ./configure --help.

TBH if you don't know what they are then I'd leave them, you just want transcoding so I'd just run.

AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static ./Autobuild.sh 

RE: Transcoding debunked v4.1.x - Added by Ahmed Nabil over 9 years ago

ok Thanks a lot, one last thing is it enough to use the dependencies for transcoding mentioned in the topic https://tvheadend.org/boards/4/topics/13635
or is it better to install from here http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu ??

RE: Transcoding debunked v4.1.x - Added by Mark Clarkstone over 9 years ago

Ahmed Nabil wrote:

ok Thanks a lot, one last thing is it enough to use the dependencies for transcoding mentioned in the topic https://tvheadend.org/boards/4/topics/13635
or is it better to install from here http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu ??

Autobuild.sh will sort out the dependencies & pull those in, they'll be built into the tvheadend binary..

If you run the command in my last post, you should see the script pull in all it requires to build Tvheadend with transcoding built-in.

RE: Transcoding debunked v4.1.x - Added by Ahmed Nabil over 9 years ago

Thanks a lot Mark.

    (1-7/7)