I seem to not get answers on the forum so I thought I'd try the list.
My last forum post:

I'm working on posting full output to pastebin. The configure output
is at https://pastebin.com/8xuQeUUg The compiler output is at
https://pastebin.com/tc4LB5uD but that may have a private tag because
it tripped something in their spam detector, so I emailed them, it may
be fixed already. I'm building on a 64 bit ARM machine, a chromebook
actually, which may be a little unusual.

I've known about Lives and used it sometimes for years, never built
from source or posted about it.  Just sticking in the deb (Debian
Bullseye) didn't quite cut it so I decided to build from source
(3.2.0).  I've built lots of stuff before but this isn't working yet.
I did a fresh ffmpeg just before, that works.  I've plinked around
most of a week trying to find and install stuff I've seen mentioned in
the README, I think I've got it all but one or two things maybe.  But
it still looks like something's missing.  I've tried the git version
and the zip tarball, with and without installing libweed first.  I
also tried the multilib changes once.

This is from the zip version, no libweed, no multilib.  Looking again,
most of the errors seem related to AVStream, hmm.

In file included from libav_stream.c:33:
../../decoders/libav_helper.h: In function ‘av_set_pts_info’:
../../decoders/libav_helper.h:91:3: warning: implicit declaration of
function ‘av_codec_set_pkt_timebase’ [-Wimplicit-function-declaration]
   91 |   av_codec_set_pkt_timebase(s->codec, new_tb);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
../../decoders/libav_helper.h:91:30: error: ‘AVStream’ has no member
named ‘codec’
   91 |   av_codec_set_pkt_timebase(s->codec, new_tb);
      |                              ^~
libav_stream.c: In function ‘module_check_init’:
libav_stream.c:114:3: warning: implicit declaration of function
‘av_register_all’ [-Wimplicit-function-declaration]
  114 |   av_register_all();
      |   ^~~~~~~~~~~~~~~
libav_stream.c: In function ‘add_stream’:
libav_stream.c:441:10: warning: assignment discards ‘const’ qualifier
from pointer target type [-Wdiscarded-qualifiers]
  441 |   *codec = avcodec_find_encoder(codec_id);
      |          ^
libav_stream.c:465:10: error: ‘AVStream’ has no member named ‘codec’
  465 |   ost->st->codec = ost->enc = c;
      |          ^~
libav_stream.c: In function ‘init_screen’:
libav_stream.c:588:30: error: ‘AVStream’ has no member named ‘codec’
  588 |   ostv.enc = encctx = vStream->codec;
      |                              ^~
libav_stream.c:610:10: error: ‘AVStream’ has no member named ‘codec’
  610 |   vStream->codec->time_base = vStream->time_base;
      |          ^~
libav_stream.c:612:10: error: ‘AVStream’ has no member named ‘codec’
  612 |   vStream->codec->width = width;
      |          ^~
libav_stream.c:613:10: error: ‘AVStream’ has no member named ‘codec’
  613 |   vStream->codec->height = height;
      |          ^~
libav_stream.c:614:10: error: ‘AVStream’ has no member named ‘codec’
  614 |   vStream->codec->pix_fmt = avpalette;
      |          ^~
libav_stream.c:619:10: error: ‘AVStream’ has no member named ‘codec’
  619 |   vStream->codec->bit_rate = maxvbitrate;
      |          ^~
libav_stream.c:631:14: error: ‘AVStream’ has no member named ‘codec’
  631 |       vStream->codec->qmin = 10;
      |              ^~
libav_stream.c:632:14: error: ‘AVStream’ has no member named ‘codec’
  632 |       vStream->codec->qmax = 51;
      |              ^~
libav_stream.c:652:12: error: ‘AVStream’ has no member named ‘codec’
  652 |     vStream->codec->max_b_frames = 2;
      |            ^~
libav_stream.c:658:12: error: ‘AVStream’ has no member named ‘codec’
  658 |     vStream->codec->mb_decision = 2;
      |            ^~
libav_stream.c:681:33: error: ‘AVStream’ has no member named ‘codec’
  681 |     osta.enc = aencctx = aStream->codec;
      |                                 ^~
libav_stream.c: In function ‘render_audio_frame_float’:
libav_stream.c:875:11: warning: implicit declaration of function
‘avcodec_encode_audio2’; did you mean ‘avcodec_encode_subtitle’?
[-Wimplicit-function-declaration]
  875 |     ret = avcodec_encode_audio2(c, &pkt, NULL, &got_packet);
      |           ^~~~~~~~~~~~~~~~~~~~~
      |           avcodec_encode_subtitle
libav_stream.c: In function ‘render_frame_yuv420’:
libav_stream.c:988:11: warning: implicit declaration of function
‘avcodec_encode_video2’; did you mean ‘avcodec_encode_subtitle’?
[-Wimplicit-function-declaration]
  988 |     ret = avcodec_encode_video2(c, &pkt, ostv.frame, &got_packet);
      |           ^~~~~~~~~~~~~~~~~~~~~
      |           avcodec_encode_subtitle
libav_stream.c: In function ‘exit_screen’:
libav_stream.c:1090:26: error: ‘AVStream’ has no member named ‘codec’
 1090 |     avcodec_close(vStream->codec);
      |                          ^~
libav_stream.c:1095:26: error: ‘AVStream’ has no member named ‘codec’
 1095 |     avcodec_close(aStream->codec);
      |                          ^~
make[4]: *** [Makefile:828: libav_stream_la-libav_stream.lo] Error 1


-- 
-------------
Education is contagious.


_______________________________________________
Lives-users mailing list
Lives-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lives-users

Reply via email to