El 20/07/16 a las 18:58, Puneet Kapoor escribió:

If you could share some examples of multi-threaded libav user code, it would be helpful.

Thanks

Google for "dranger ffmpeg". The original page is a tutorial page, but it is a tad out of date. Some other repositories contain updated code.

Some demuxers may support multithreaded operation, albeit for most operations you gain little. For that, you can use:

  AVDictionary* info = NULL;
  av_dict_set(&info, "threads", "auto", 0);

  avcodec_open2( video_ctx, video_codec, &info );

--
Gonzalo GarramuƱo
[email protected]

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to