On Sat, Dec 29, 2018 at 04:09:21PM -0500, Shaofei Wang wrote: > With new option "-abr_pipeline" > It enabled multiple filter graph concurrency, which bring obvious > improvement in some 1:N scenarios by CPU and GPU acceleration > > Below are some test cases and comparison as reference. > (Hardware platform: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz) > (Software: Intel iHD driver - 16.9.00100, CentOS 7)
breaks build on mingw64
CC fftools/ffmpeg_filter.o
src/fftools/ffmpeg_filter.c: In function ‘init_simple_filtergraph’:
src/fftools/ffmpeg_filter.c:231:39: error: incompatible types when assigning to
type ‘pthread_t’ from type ‘int’
ist->filters[i]->f_thread = 0;
^
make: *** [fftools/ffmpeg_filter.o] Error 1
CC fftools/ffmpeg.o
src/fftools/ffmpeg.c: In function ‘pipeline_reap_filters’:
src/fftools/ffmpeg.c:1534:5: warning: ISO C90 forbids mixed declarations and
code [-Wdeclaration-after-statement]
OutputStream *ost = output_streams[i];
^
src/fftools/ffmpeg.c: In function ‘do_streamcopy’:
src/fftools/ffmpeg.c:2179:5: warning: ‘av_copy_packet_side_data’ is deprecated
(declared at src/libavcodec/avcodec.h:4424) [-Wdeprecated-declarations]
av_copy_packet_side_data(&opkt, pkt);
^
src/fftools/ffmpeg.c: In function ‘filter_pipeline’:
src/fftools/ffmpeg.c:2412:5: warning: ‘return’ with no value, in function
returning non-void [enabled by default]
return;
^
src/fftools/ffmpeg.c: In function ‘send_frame_to_filters’:
src/fftools/ffmpeg.c:2451:42: error: invalid operands to binary == (have
‘pthread_t’ and ‘int’)
if(ist->filters[i]->f_thread == 0) {
^
src/fftools/ffmpeg.c: In function ‘init_output_stream’:
src/fftools/ffmpeg.c:3754:9: warning: ‘avcodec_copy_context’ is deprecated
(declared at src/libavcodec/avcodec.h:4196) [-Wdeprecated-declarations]
ret = avcodec_copy_context(ost->st->codec, ost->enc_ctx);
^
src/fftools/ffmpeg.c:3754:9: warning: ‘codec’ is deprecated (declared at
src/libavformat/avformat.h:878) [-Wdeprecated-declarations]
src/fftools/ffmpeg.c:3800:9: warning: ‘codec’ is deprecated (declared at
src/libavformat/avformat.h:878) [-Wdeprecated-declarations]
ost->st->codec->codec= ost->enc_ctx->codec;
^
src/fftools/ffmpeg.c: In function ‘check_keyboard_interaction’:
src/fftools/ffmpeg.c:4181:13: warning: ‘codec’ is deprecated (declared at
src/libavformat/avformat.h:878) [-Wdeprecated-declarations]
debug = input_streams[0]->st->codec->debug<<1;
^
src/fftools/ffmpeg.c:4204:13: warning: ‘codec’ is deprecated (declared at
src/libavformat/avformat.h:878) [-Wdeprecated-declarations]
input_streams[i]->st->codec->debug = debug;
^
make: *** [fftools/ffmpeg.o] Error 1
make: Target `all' not remade because of errors.
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
