[ffmpeg] HEVC (x265) codec not enabled

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

[ffmpeg] HEVC (x265) codec not enabled

Postby crashmaster » Fri Apr 11, 2014 1:05 am

Hi,
it would be nice to see this new h265 codec enabled.
At the moment I try a rebuild adding "--enable-libx265" to PKGBUILD. (ffmpeg version 2.2.1).
It needs x265 pkg.

EDIT:
Ok, seems not so simple (for me) as i thought at first:
$this->bbcode_second_pass_code('', '
libavcodec/libx265.c: In Funktion »libx265_encode_init«:
libavcodec/libx265.c:124:16: Fehler: »x265_param« hat kein Element namens »bEnableVuiParametersPresentFlag«
ctx->params->bEnableVuiParametersPresentFlag = 1;
libavcodec/libx265.c:125:16: Fehler: »x265_param« hat kein Element namens »bEnableAspectRatioIdc«
ctx->params->bEnableAspectRatioIdc = 1;
libavcodec/libx265.c:126:16: Fehler: »x265_param« hat kein Element namens »aspectRatioIdc«
ctx->params->aspectRatioIdc = 255;
libavcodec/libx265.c:127:16: Fehler: »x265_param« hat kein Element namens »sarWidth«
ctx->params->sarWidth = sar_num;
libavcodec/libx265.c:128:16: Fehler: »x265_param« hat kein Element namens »sarHeight«
ctx->params->sarHeight = sar_den;
common.mak:49: recipe for target 'libavcodec/libx265.o' failed
')

:cry:
crashmaster
 
Posts: 119
Joined: Wed Mar 13, 2013 1:00 am

Re: [ffmpeg] HEVC (x265) codec not enabled

Postby crashmaster » Fri Apr 11, 2014 10:31 pm

In the meanwhile i commented these lines in libx265.c (what's not defined cannot be initialized :) ). The ffmpeg pkg was built fine then. It runs and some video frames were coded in x265 like it should be, but after a few secs it always breaks with a segmentation violation. :|
crashmaster
 
Posts: 119
Joined: Wed Mar 13, 2013 1:00 am


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 6 guests