[Libav-user] ffmpeg threading

Ierum Shanaya ierumshanaya85 at gmail.com
Mon Oct 27 11:38:33 CET 2014


Hi,

I am trying to run ffmpeg video decoding by creating multiple threads. The
problem i am facing is that only one thread is created, irrespective of
setting the thread_count to 0 or any no like say 2 , 4 etc.

I did check the config as below:

*it doesnt have --enable pthreads things.. Is this the issue??. *
If so, how to set the --enable pthread again in ffmpeg?? Can someone please
help me understand.

I have Ubuntu 12.4 on my system(64 bit)

*Output:*
-----------------------------------------------------------------

ierumshanaya at ubuntu:~/ffmpeg_sources/ffmpeg$ ffmpeg
ffmpeg version git-2014-01-05-f5f6e59 Copyright (c) 2000-2014 the FFmpeg
developers
  built on Jan 22 2014 19:00:25 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  *configuration*: --prefix=/home/ierumshanaya/ffmpeg_build/lib/pkgconfig
--extra-cflags=-I/home/ierumshanaya/ffmpeg_build/include
--extra-ldflags=-L/home/ierumshanaya/ffmpeg_build/lib
--bindir=/home/ierumshanaya/bin --extra-libs=-ldl --enable-gpl
--enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
--enable-x11grab
  libavutil      52. 60.100 / 52. 60.100
  libavcodec     55. 47.100 / 55. 47.100
  libavformat    55. 22.102 / 55. 22.102
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  0.103 /  4.  0.103
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options]
outfile}...
Thanks,
Ierum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20141027/52754630/attachment.html>


More information about the Libav-user mailing list