error: 'AV_PIX_FMT_YVYU422' undeclared here

*nix specific usage questions
KimGwanyoung
Blank Cone
Blank Cone
Posts: 18
Joined: 19 Aug 2016 10:10

error: 'AV_PIX_FMT_YVYU422' undeclared here

Postby KimGwanyoung » 19 Aug 2016 10:32

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: error: 'AV_PIX_FMT_YVYU422' undeclared here

Postby Rémi Denis-Courmont » 21 Aug 2016 05:14

Your version of FFmpeg is probably too old for your version of VLC.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

KimGwanyoung
Blank Cone
Blank Cone
Posts: 18
Joined: 19 Aug 2016 10:10

Re: error: 'AV_PIX_FMT_YVYU422' undeclared here

Postby KimGwanyoung » 25 Aug 2016 03:06

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.

KimGwanyoung
Blank Cone
Blank Cone
Posts: 18
Joined: 19 Aug 2016 10:10

Re: error: 'AV_PIX_FMT_YVYU422' undeclared here

Postby KimGwanyoung » 25 Aug 2016 04:41

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.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests