[Libav-user] libx264 randomly causing image tearing

DeHackEd git at dehacked.net
Wed Jun 15 21:50:35 CEST 2016


On 06/15/2016 03:12 PM, Nicolas George wrote:
> L'octidi 28 prairial, an CCXXIV, DeHackEd a écrit :
>> Everything is working fine except for one anomaly. Occasionally I get this
>> "tearing" effect (screen shot link at bottom of message) for a split
>> second where it looks like the top portion of the frame, usually around
>> 1/3 of it, looks like a frame from another part of the video. It is most
>> noticeable around scene cuts but otherwise doesn't have any pattern. Just
>> a glitch of sorts every few seconds.
> 
>> Switching to ffv1 I don't see any issues in the output so I'm fairly
>> certain it's an libx264 or other encoding side issue.
> 
> I find that very unlikely, x264 is an extensively tested library and the bug
> you describe does not seem subtle.
> 
> It looks like a threading issue to me, in fact: application replacing the
> frame data with the next frame while x264 is still accessing it. Since the
> FFV1 encoder does not do frame threading, it would not trigger the issue.

Yes, I believe it is threading issue now and am troubleshooting it as such. (Wish me luck..)

> 
> Regards,
> 
> 
> 
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
> 





More information about the Libav-user mailing list