Forums » Tutorial and setups »
Using x265/x264 transcoding and building with Autobuild
Added by Acid Rain about 9 years ago
Hi!
I don't know much about Linux, and I'm using Linux only for TVHeadEnd and watching TV over Kodi... ;(
Can someone tell me, how to use Autobuild, to build TVHeadEnd and have x264/x265 codec for transcoding available?
Currently I'm using Autobuild only with:
AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static ./Autobuild.sh -t Debian
I thought, to use x264/x265 codec, I just have to add Parameters like:
AUTOBUILD_CONFIGURE_EXTRA="--enable-libffmpeg_static --enable-libx264_static --enable-libx265_static --enable-libav" ./Autobuild.sh -t Debian
But this is not working. :(
Streaming Profile only accepts Container: WEBM/built-in and codec: libvpx: libvpx VP8
Every other Option causes error.
Regards
Acid
Replies (5)
RE: Using x265/x264 transcoding and building with Autobuild - Added by Prof Yaffle about 9 years ago
What do you mean by "causes error"?
I don't use transcoding, so I can't really check - but I build with ffmpeg just in case, and both x264 and x265 are in my drop-downs, and I can select them. No idea if they work, though...
RE: Using x265/x264 transcoding and building with Autobuild - Added by Prof Yaffle about 9 years ago
Actually... there is no "enable-libx264_static" or "enable-libx265_static" option, is there? Isn't it just "enable-libx264" and "enable-libx265"?
RE: Using x265/x264 transcoding and building with Autobuild - Added by Acid Rain about 9 years ago
Hi!
It's a error like:
2015-11-25 16:03:56.178 capmt: OSCam CamdSocket: Starting CAPMT server for service "13th Street HD" on adapter 3 seq 0x0001 2015-11-25 16:03:56.178 subscription: 005D: "HTTP" subscribing on channel "13th Street HD", weight: 100, adapter: "CXD2843 DVB-C/C2 DVB-T/T2 : DVB-C #1", network: "KabelBW", mux: "770MHz", provider: "Unitymedia", service: "13th Street HD", profile="Test", hostname=".....", username="...", client="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0" 2015-11-25 16:03:56.611 descrambler: 13th Street HD even stream key is not valid 2015-11-25 16:03:57.037 transcode: 0001: 1:H264 1920x1080 ==> H264 682x384 (libx264) 2015-11-25 16:03:57.037 transcode: 0001: 2:AC3 ==> VORBIS (libvorbis) 2015-11-25 16:03:57.147 libav: using SAR=1/1 2015-11-25 16:03:57.148 libav: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2 2015-11-25 16:03:57.158 libav: profile High, level 3.0 2015-11-25 16:03:57.158 libav: 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=4 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=4 sliced_threads=1 slices=4 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=1 keyint=25 keyint_min=2 scenecut=40 intra_refresh=0 rc=crf mbtree=0 crf=15.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 2015-11-25 16:03:57.633 libav: forced frame type (5) at 1 was changed to frame type (3) 2015-11-25 16:03:57.641 libav: forced frame type (5) at 2 was changed to frame type (3) 2015-11-25 16:03:57.658 libav: forced frame type (5) at 4 was changed to frame type (3) 2015-11-25 16:03:57.666 libav: forced frame type (5) at 5 was changed to frame type (3) 2015-11-25 16:03:57.683 libav: forced frame type (5) at 7 was changed to frame type (3) 2015-11-25 16:03:57.690 libav: forced frame type (5) at 8 was changed to frame type (3) 2015-11-25 16:03:57.705 libav: forced frame type (5) at 10 was changed to frame type (3) 2015-11-25 16:03:57.713 libav: forced frame type (5) at 11 was changed to frame type (3) 2015-11-25 16:03:57.729 libav: forced frame type (5) at 13 was changed to frame type (3) 2015-11-25 16:03:57.737 libav: forced frame type (5) at 14 was changed to frame type (3) 2015-11-25 16:03:57.757 libav: forced frame type (5) at 16 was changed to frame type (3) 2015-11-25 16:03:57.766 libav: forced frame type (5) at 17 was changed to frame type (3) 2015-11-25 16:03:57.837 libav: forced frame type (5) at 19 was changed to frame type (3) 2015-11-25 16:03:57.889 libav: forced frame type (5) at 20 was changed to frame type (3) 2015-11-25 16:03:57.996 libav: forced frame type (5) at 22 was changed to frame type (3) 2015-11-25 16:03:58.028 libav: forced frame type (5) at 23 was changed to frame type (3) 2015-11-25 16:03:58.130 libav: forced frame type (5) at 25 was changed to frame type (3) 2015-11-25 16:03:58.182 libav: forced frame type (5) at 26 was changed to frame type (3) 2015-11-25 16:03:58.198 libav: forced frame type (5) at 28 was changed to frame type (3) 2015-11-25 16:03:58.207 libav: forced frame type (5) at 29 was changed to frame type (3) 2015-11-25 16:03:58.309 libav: forced frame type (5) at 31 was changed to frame type (3) 2015-11-25 16:03:58.339 libav: forced frame type (5) at 32 was changed to frame type (3) 2015-11-25 16:03:58.426 libav: forced frame type (5) at 34 was changed to frame type (3) 2015-11-25 16:03:58.446 libav: forced frame type (5) at 35 was changed to frame type (3) 2015-11-25 16:03:58.526 libav: forced frame type (5) at 37 was changed to frame type (3) 2015-11-25 16:03:58.578 libav: forced frame type (5) at 38 was changed to frame type (3) 2015-11-25 16:03:58.660 libav: forced frame type (5) at 40 was changed to frame type (3) 2015-11-25 16:03:58.715 libav: forced frame type (5) at 41 was changed to frame type (3) 2015-11-25 16:03:58.820 libav: forced frame type (5) at 43 was changed to frame type (3) 2015-11-25 16:03:58.938 libav: forced frame type (5) at 44 was changed to frame type (3) 2015-11-25 16:03:58.993 libav: forced frame type (5) at 46 was changed to frame type (3) 2015-11-25 16:03:59.002 libav: forced frame type (5) at 47 was changed to frame type (3) 2015-11-25 16:03:59.039 libav: forced frame type (5) at 49 was changed to frame type (3) 2015-11-25 16:03:59.143 libav: forced frame type (5) at 50 was changed to frame type (3) 2015-11-25 16:03:59.206 libav: forced frame type (5) at 52 was changed to frame type (3) 2015-11-25 16:03:59.247 libav: forced frame type (5) at 53 was changed to frame type (3) 2015-11-25 16:03:59.354 libav: forced frame type (5) at 55 was changed to frame type (3) 2015-11-25 16:03:59.411 libav: forced frame type (5) at 56 was changed to frame type (3) 2015-11-25 16:03:59.439 libav: forced frame type (5) at 58 was changed to frame type (3) 2015-11-25 16:03:59.452 libav: forced frame type (5) at 59 was changed to frame type (3) 2015-11-25 16:03:59.566 subscription: 005D: "HTTP" unsubscribing from "13th Street HD", hostname="....", username="...", client="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0" 2015-11-25 16:03:59.574 libav: forced frame type (5) at 61 was changed to frame type (3) 2015-11-25 16:03:59.583 libav: 43 frames left in the queue on closing 2015-11-25 16:03:59.583 libav: frame I:5 Avg QP: 0.54 size: 4655 2015-11-25 16:03:59.583 libav: frame P:57 Avg QP: 2.56 size: 273 2015-11-25 16:03:59.583 libav: mb I I16..4: 95.3% 0.0% 4.7% 2015-11-25 16:03:59.583 libav: mb P I16..4: 0.1% 0.0% 0.1% P16..4: 0.8% 0.0% 0.0% 0.0% 0.0% skip:99.0% 2015-11-25 16:03:59.583 libav: 8x8 transform intra:0.0% inter:10.1% 2015-11-25 16:03:59.583 libav: coded y,uvDC,uvAC intra: 5.2% 4.5% 4.0% inter: 0.4% 0.3% 0.1% 2015-11-25 16:03:59.583 libav: i16 v,h,dc,p: 84% 0% 16% 0% 2015-11-25 16:03:59.583 libav: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 50% 0% 25% 0% 0% 0% 0% 0% 25% 2015-11-25 16:03:59.583 libav: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 23% 25% 6% 5% 6% 4% 4% 4% 2015-11-25 16:03:59.583 libav: i8c dc,h,v,p: 98% 1% 1% 0% 2015-11-25 16:03:59.583 libav: Weighted P-Frames: Y:8.8% UV:3.5% 2015-11-25 16:03:59.583 libav: ref P L0: 88.1% 11.9% 2015-11-25 16:03:59.583 libav: kb/s:125.27 2015-11-25 16:03:59.584 capmt: OSCam CamdSocket: Removing CAPMT Server from service "13th Street HD" on adapter 3
And Webplayer says: An unknown error occured
Same error when I use Container: WEBM/built-in
Regards
RE: Using x265/x264 transcoding and building with Autobuild - Added by Acid Rain about 9 years ago
Nobody an idea?
RE: Using x265/x264 transcoding and building with Autobuild - Added by Remi Os almost 9 years ago
when i look at https://github.com/tvheadend/tvheadend/blob/master/configure the --enable-libav seems redundant
and the libx264_static and libx265_static are enabled by default
libav:if enabled libffmpeg_static; then
enable libav
has_libav=true
Options:
OPTIONS=(
...
...
"libav:auto"
"libffmpeg_static:no"
"libx264_static:yes"
"libx265:no"
"libx265_static:yes"
...
...