silicontrip / lavtools

mjpeg utils and avcodec frame based video editing tools and ffmpeg filters
15 stars 3 forks source link

Support libav-10 #23

Closed Nikoli closed 10 years ago

Nikoli commented 10 years ago
make -j9 libav-bitrate 
x86_64-pc-linux-gnu-gcc -march=corei7-avx -O2 -pipe -I/usr/include/mjpegtools -I/usr/include/freetype2 -D__STDC_CONSTANT_MACROS  -c -o libav-bitrate.o libav-bitrate.c
x86_64-pc-linux-gnu-gcc -march=corei7-avx -O2 -pipe -I/usr/include/mjpegtools -I/usr/include/freetype2 -D__STDC_CONSTANT_MACROS  -c -o progress.o progress.c
progress.c: In function 'progress_loadBar':
progress.c:129:2: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'off_t' [-Wformat]
libav-bitrate.c: In function 'main':
libav-bitrate.c:243:38: error: 'AVStream' has no member named 'r_frame_rate'
libav-bitrate.c:244:30: error: 'AVStream' has no member named 'r_frame_rate'
libav-bitrate.c:245:40: error: 'AVStream' has no member named 'r_frame_rate'
libav-bitrate.c:301:2: warning: 'avcodec_alloc_frame' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3114) [-Wdeprecated-declarations]
make: *** [libav-bitrate.o] Error 1
make: *** Waiting for unfinished jobs....
silicontrip commented 10 years ago

which version of libav causes this?

Nikoli commented 10 years ago

https://libav.org/releases/libav-10.tar.xz

silicontrip commented 10 years ago

Just pushed a new commit that compiles. I couldn't link it however because of a problem installing the libraries from libav-10.tar.xz. Let me know if there are still problems.

Nikoli commented 10 years ago

Thanks, it builds and works fine now. May be you can add git tag?