[FFmpeg-user] libutvideo causes Segmentation fault

Peter B. pb at das-werkstatt.com
Mon Mar 11 00:24:21 CET 2013


On 03/10/2013 06:17 PM, Johann Rekowski wrote:
> On 3/10/2013 4:52 PM, Peter B. wrote:
>> In case you're using the ut-video codec to capture lossless, is there
>> any reason for not using FFv1 for that purpose?
> I thought that FFv1 is deprecated and not able to use multithreading.
> I wanted to record a game play with utvideo without extremely
> exhausting CPU Core #0 and still being able to play my game smoothly.
> I did this already on Windows with Dxtory, but on Linux this is
> completely different. Please understand that I am no expert in ffmpeg
> and utvideo development, I have just recently started out with Arch
> Linux to learn more about GNU/Linux overall, and then slowly switch to
> it, leaving Windows one day.

Well, FFv1 is everything but deprecated. Version 3 should be out any
time soon (*) - which supports multithreading.
Within FFmpeg you can already use FFv1.3 (=FFv1 version 3) if you add
the "-strict experimental" flag as commandline argument.

Here's a rough "FFv1 101" I've put together a while ago:
http://download.das-werkstatt.com/pb/mthk/ffv1/

You can tune the performance mostly by adjusting how many slices and
threads to use.
The commandline arguments are:
"-slices" and "-threads"

On my quad-core Intel i7, using "-slices 24 and -threads 8" gave quite
good results.
For example, with FFv1.3 I was able to play a 1080p25 RGB24 (so no
subsampling) Film-scan in realtime.


Regards,
Pb

(*) It's actually my fault that it ain't out yet, because of incredible
lack of time for testing... :(


More information about the ffmpeg-user mailing list