Hi Jose: You firstly need to prepare a video clip that is encoded with multiple slices. After that, you should run ffplay *-threads (#_of_threads)* .
Best, Yi-Hung On Mon, Jul 13, 2009 at 10:35 PM, Jose M <[email protected]> wrote: > Does anybody know how to start the h.264 decoder using multiple > threads (ffmpeg 0.5) > > I am doing what ffplay does: > > if(thread_count>1) > avcodec_thread_init(dec_context, thread_count); > dec_context->thread_count= thread_count; > > before opening the codec, but does not work. > > I tested ffmpeg as well with the same results. Is it implemented?? > > > The avcodec libraries are configured with the --enable-pthreads option > > FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al. > configuration: --prefix=/usr --enable-libx264 --enable-gpl > --enable-libfaac --enable-pthreads > libavutil 49.15. 0 / 49.15. 0 > libavcodec 52.20. 0 / 52.20. 0 > libavformat 52.31. 0 / 52.31. 0 > libavdevice 52. 1. 0 / 52. 1. 0 > built on Mar 25 2009 12:26:27, gcc: 4.3.0 20080428 (Red Hat 4.3.0-8) > > Any Ideas. > > Thanks, > > -- Jose > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
