Page 1 of 1

error: 'AV_PIX_FMT_YVYU422' undeclared here

Posted: 19 Aug 2016 10:32
by KimGwanyoung
Hi all.

I am trying make the vlc player.
(But I don't know the vlc version. Let me know how I get the version.)

I encountered error message "codec/avcodec/chroma.c:128:22: error: 'AV_PIX_FMT_YVYU422' undeclared here (not in a function)".

I found the definition into the "/opt/ffmpeg/include/libavutil/pixfmt.h".
So, I modified the chroma.c
libavutil/pixfmt.h -> /opt/ffmpeg/include/libavutil/pixfmt.h

But, I encounted error too.
/usr/include/libavcodec/avcodec.h:612:5: error: redeclaration of enumerator "AVCHROMA_LOC_NB"

What can I do?

Best regards,
KimGwanyoung.

Re: error: 'AV_PIX_FMT_YVYU422' undeclared here

Posted: 21 Aug 2016 05:14
by RĂ©mi Denis-Courmont
Your version of FFmpeg is probably too old for your version of VLC.

Re: error: 'AV_PIX_FMT_YVYU422' undeclared here

Posted: 25 Aug 2016 03:06
by KimGwanyoung
Your version of FFmpeg is probably too old for your version of VLC.
Hi Denis,

I checked the ffmpeg version.
But it is up to date.

What should I check?

Best regards,
Gwanyoung Kim.

Re: error: 'AV_PIX_FMT_YVYU422' undeclared here

Posted: 25 Aug 2016 04:41
by KimGwanyoung
Your version of FFmpeg is probably too old for your version of VLC.
Hi Denis.

Thanks for your concern.
I downloaded an official release version(2.2.4).
So the error is not occurred.

I had downloaded from git.

Best regards,
Gwanyoung Kim.