Usdx: [Bug] Video artefacts on the right edge of the video

Created on 29 Dec 2016  路  8Comments  路  Source: UltraStar-Deluxe/USDX

Sometimes I see artefacts on the right edge of the video, both in the editor
bildschirmfoto 2016-12-29 um 02 17 17
and in the sing screen (notice the yellowish bar of few pixels width from the bottom to about half the screen height)
bildschirmfoto 2016-12-29 um 02 17 25
First, I thought the video width was maybe not divisible by two or four (not the codec expert though), but obviously, it is a multiple of four
bildschirmfoto 2016-12-29 um 02 17 54
When playing the video with e.g. VLC, there are no artefacts:
bildschirmfoto 2016-12-29 um 11 19 08

Any ideas of what could be the reason?

bug

Most helpful comment

plays nicely here. no artifacts.
Anyways, handbreak is known to produce not fully standards compliant output, depending on what settings you use when encoding the video. To achieve the low latency playback (and be in sync with audio), many automatic error correction features are disabled in USDX.

All 8 comments

Can you share the sample with us, somehow?

plays nicely here. no artifacts.
Anyways, handbreak is known to produce not fully standards compliant output, depending on what settings you use when encoding the video. To achieve the low latency playback (and be in sync with audio), many automatic error correction features are disabled in USDX.

Thanks for the feedback, @basisbit. I didn't know that handbrake may produce not fully standards compliant output. I pretty much use standard settings (Preset: Legacy --> Normal), and I have only noticed these artefacts in less than a handful of videos.
What could be the reason that it plays nicely for you (USDX 1.3.5b on Windows, I assume?) and not for me (1.3.5b on Mac)? Again differences in ffmpeg between Win and Mac (as with playing ogg files and audio tracks of video files for #MP3)?

I seem to have narrowed it down to older videos that use anamorphic resolution. While I kind of understand the idea of anamorphism for videos, I have not quite understood the details when reencoding with handbrake (and how to get rid of anamorphic encoding). It seems to be dependent of the actual screen/game resolution if the video has artefacts or not.
Removing two pixels from one edge (repeatedly if necessary) seem to solve the issue.

I have also noticed that this seems to be a resolution-dependent issue. A video with this issue may show these artefacts on my Mac (using a certain game resolution) while there are no artefacts with the same video on a different machine (with different game resolution).

Please test with the current master branch.

@s09bQ5 Thanks for putting time and efforts into this. My workaround so far was to reencode the videos in question while cutting of 2 pixels on either side (if needed, repetetively), so now I can't test with the current master branch because I don't know which videos would still be affected. Should I come across another video with artefacts, I will report here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

basisbit picture basisbit  路  10Comments

RattleSN4K3 picture RattleSN4K3  路  5Comments

miathedev picture miathedev  路  8Comments

BenHamrick picture BenHamrick  路  8Comments

natowi picture natowi  路  4Comments