Opened 20 years ago

Closed 20 years ago

#373 closed patch (fixed)

lost patch for software encode multithreading.

Reported by: anonymous Owned by: Isaac Richards
Priority: trivial Milestone: unknown
Component: mythtv Version: 0.18.1
Severity: low Keywords:
Cc: Ticket locked: no

Description

Here's a patch that got lost about a year ago probably. FFmpeg supports threads, very well infact. This enables it and allows you to adjust the number of threads used to encode in software to make better use of SMP or HT.

Attachments (1)

avcodecthreadsnew.diff (4.4 KB) - added by anonymous 20 years ago.

Download all attachments as: .zip

Change History (2)

Changed 20 years ago by anonymous

Attachment: avcodecthreadsnew.diff added

comment:1 Changed 20 years ago by danielk

Resolution: fixed
Status: newclosed

(In [7507]) Closes #373, by applying patch + some editing.

Parts of this patch had already made it into SVN, plus I've made this multi-threaded software encoding default to being disabled. Those that want to experiment with it can pass "--enable-ffmpeg-pthreads" to ./configure. You then need to "make clean" before recompiling.

I haven't added this to the --help text for ./configure for now.

Note: See TracTickets for help on using tickets.