Thanks Michel-Patfick.
Regarding the first one, older versions of libav should use enum
PixelFormat whilst newer versions use enum AVPixelFormat. To decide which
to use the header checks to see if FF_API_PIX_FMT is defined (yes = older,
no = newer). So it appears that on your system the symbol is defined but
it's not finding the enum.
Looking further I see:
/usr/include/x86_64-linux-gnu/libavutil/version.h:#define
FF_API_PIX_FMT (LIBAVUTIL_VERSION_MAJOR < 55)
and also: #define LIBAVUTIL_VERSION_MAJOR 54
so it seems like the check is not correct, since
in /usr/include/x86_64-linux-gnu/libavutil/pixfmt.h I find the definition
of enum AVPixelFormat.
however all is OK, since there is also:
/usr/include/x86_64-linux-gnu/libavutil/pixfmt.h:#define PixelFormat
AVPixelFormat
So please take a look at libavutil/version.h and libavutil/pixfmt.h on your
system. It appears that checking for FF_API_PIX_FMT is not the correct way
to dermine the changeover point.
Regarding point 2. Are you able to load other clips without crashing ? The
clip which causes the crash - is it in an existing set or are you opening
it as a new clip ? Do you see any other info on the terminal which would
indicate which decoder (if any) is being used to try to open the clip ?
Regards,
Gabriel.
http://lives-video.com
https://www.openhub.net/accounts/salsaman
On Wed, Mar 14, 2018 at 6:02 AM, Michel-Patrick Lutz <
cont...@miniprogslane.com> wrote:
> Bonjour Gabriel,
>
> Thank you again for this work.
>
> I have 2 small problems with version 2.8.8.
>
> 1 - On my Debian Stretch workstation, I have a compilation error.
>
> **************************************************
> ******************************************
> In file included from libav_stream.c: 28: 0:
> /usr/include/weed/weed-compat.h:598:50: error: parameter 1 ('pix_fmt')
> has incomplete type
> int avi_pix_fmt_to_weed_palette (PixelFormat Enum pix_fmt, int * clamped)
> {
> **************************************************
> ******************************************
>
> Can you tell me where it came from?
>
> Attached message: pb-compile-dedian-stretch.txt
>
> 2 - The machine that I use for video work is an Ubuntu Studio and Lives
> 2.8.8 compiles well but I crash when I load an old clip that works well in
> 2.8.6:
>
>
> **************************************************
> **************************************************
> ***************************
> * Linux video 4.13.0-37-lowlatency # 42 ~ 16.04.1-Ubuntu SMP PREEMPT Wed
> Mar 7 17:14:26 UTC 2018 x86 x64 x86_64 x86_64 GNU / Linux
> ##################################################
> ##################################################
> ###########################
>
> [Thread 0x7fffb3188700 (LWP 4544) exited]
> **
> Gtk: ERROR: /build/gtk+3.0-2Ut_nl/gtk+3.0-3.18.9 /./ gtk /
> gtkprogressbar.c: 611: tick_cb: assertion failed: (priv-> pulse2> priv->
> pulse1)
>
> Thread 1 "lives-exe" received signal SIGABRT, Aborted.
> 0x00007ffff4c6a428 in __GI_raise (sig = sig @ entry = 6) at
> ../sysdeps/unix/sysv/linux/raise.c:54
> 54 ../sysdeps/unix/sysv/linux/raise.c: No file or folder of this type.
> (Gdb)
>
> **************************************************
> **************************************************
> ***************************
>
> The crash occurs with only one of the set's clips.
>
> Can you tell me where it came from?
>
> cordially
>
>
> --
> Michel-Patrick Lutz
> +336 72 17 44 74
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Lives-users mailing list
> Lives-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lives-users
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Lives-users mailing list
Lives-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lives-users