jpsdr
7th April 2017, 10:34
I'm trying to continue to make t_mod version of x264.
If i'm using ffmpeg 2.8.6, everything works fine.
If i'm trying to use ffmpeg 3.x (3.2.4 now), i've several issues, i don't know how to solve, because i have no knowledge of ffmpeg and related stuff.
The first issue is the following :
output/avi.c:135:18: error: 'PIX_FMT_YUV420P' undeclared (first use in this function)
c->pix_fmt = PIX_FMT_YUV420P;
^~~~~~~~~~~~~~~
output/avi.c:135:18: note: each undeclared identifier is reported only once for each function it appears in
output/avi.c:137:19: error: 'CODEC_ID_H264' undeclared (first use in this function)
c->codec_id = CODEC_ID_H264;
I've tried to see if i was able to figure out the new names, but include call include call include... not been able to find out.
I've tried to build disabling avi output. Everything compile (better), but error during link...
input/audio/lavf.o:lavf.c:(.text+0x68d): undefined reference to `avcodec_decode_audio3'
audio/encoders/enc_lavc.o:enc_lavc.c:(.text+0x599): undefined reference to `avcodec_alloc_frame'
audio/encoders/enc_lavc.o:enc_lavc.c:(.text+0x5f7): undefined reference to `avcodec_default_get_buffer'
collect2.exe: error: ld returned 1 exit status
make: *** [Makefile:247: x264.exe] Error 1
I can stay with 2.8.6, but i think it could be nice if could update for 3.x. So, if someone can tell me what i have to change for, it would be nice. With luck, the update may be easy for someone who know the ffmpeg stuff.
If i'm using ffmpeg 2.8.6, everything works fine.
If i'm trying to use ffmpeg 3.x (3.2.4 now), i've several issues, i don't know how to solve, because i have no knowledge of ffmpeg and related stuff.
The first issue is the following :
output/avi.c:135:18: error: 'PIX_FMT_YUV420P' undeclared (first use in this function)
c->pix_fmt = PIX_FMT_YUV420P;
^~~~~~~~~~~~~~~
output/avi.c:135:18: note: each undeclared identifier is reported only once for each function it appears in
output/avi.c:137:19: error: 'CODEC_ID_H264' undeclared (first use in this function)
c->codec_id = CODEC_ID_H264;
I've tried to see if i was able to figure out the new names, but include call include call include... not been able to find out.
I've tried to build disabling avi output. Everything compile (better), but error during link...
input/audio/lavf.o:lavf.c:(.text+0x68d): undefined reference to `avcodec_decode_audio3'
audio/encoders/enc_lavc.o:enc_lavc.c:(.text+0x599): undefined reference to `avcodec_alloc_frame'
audio/encoders/enc_lavc.o:enc_lavc.c:(.text+0x5f7): undefined reference to `avcodec_default_get_buffer'
collect2.exe: error: ld returned 1 exit status
make: *** [Makefile:247: x264.exe] Error 1
I can stay with 2.8.6, but i think it could be nice if could update for 3.x. So, if someone can tell me what i have to change for, it would be nice. With luck, the update may be easy for someone who know the ffmpeg stuff.