#webm's are being weird

81 messages · Page 1 of 1 (latest)

old void
#

pictured is the same webm file being played in yarg vs in clone hero

muted wedge
#

try to use .mp4

#

.mp4 it's working great with me

old void
#

i dont want to use mp4 but thanks

muted wedge
#

sorry...

old void
#

No worries, just "use mp4" doesn't solve the root issue

#

I use jloe's webm files for gh2 and they work fine. I am trying to replicate those settings, however it is just weird that this one is working fine in ch but not yarg
I am adjusting my encoding settings, just wanted to bring it up

gray umbra
#

I was about to say, I'm not finding anything on visual glitches with video files in unity so it must be an underlying encoding issue

#

i wonder what ch does differently to combat it 🤔

old void
#

yeah very strange
and I agree, its likely my encoding so im not too pressed about it, it was just very odd that ch took it just fine

#

if my next encode does the same im going to dm jloe about it to ask their settings, but figured what I was doing was pretty basic
C:\tools\ffmpeg\ffmpeg.exe -i "%%G" -c:v libvpx -crf 10 -b:v 12M -c:a libvorbis "C:\tools\ffmpeg\output%%~nG.webm"

#

yeah no actual clue
I used this same script before to make video highways for ch 🤷‍♂️

gray umbra
#

wtf lol

mighty latch
#

Yeah other people have had this

#

No clue the cause

old void
#

shoot

#

yeah, talked to jloe, he uses a non cli workflow to make webm, but that program uses ffmpeg as a backend for encoding
and then comparing a video of his to a video of mine, im not seeing anything jumping out at me as an issue
left is jloe, right is mine

gray umbra
#

yeah outside of writing application/library and yours being more up to date I can't really pin point any issue

#

that's really odd

old void
gray umbra
#

His aren't like this?

old void
#

nope

gray umbra
#

wtf lol

#

oo

#

one thing i do want to point out that is very odd to me

old void
#

at least not his gh2 stuff

gray umbra
#

under video on his side i don't see "bit rate" listed except for overrall bitrate under general whilst on your side i see overall bitrate under general and "bit rate" under video listed

old void
#

yeah that is odd

#

Tomorrow I’ll try to poke at it more. I’m like 99% sure it’s not the webm itself

tranquil stratus
#

I have the same graphical issue on some of my background videos that are webm as well

swift pine
#

His doesn't list limited RGB like yours, I'd expect that to be the other way around though and be giving you issues if you used full RGB rather than limited

#

The bug does kinda look like those pixels would be at the 0-16 range, if it was full RGB

old void
#

Yeah I was kinda thinking in that ballpark. It appears to only really affect the darkest black parts of the scene
Perhaps somehow ch chooses to clamp the range somehow or something and treat anything below as black

tranquil stratus
#

It was doing it for all Beatles videos for me

swift pine
#

But if yours is limited range there should be nothing in 0-16 (or 235-255 for that matter)

summer hill
old void
#

Perhaps yarg internally is treating all videos as full range? Resulting in the artifacting noise from data that isnt there?

#

Very odd. I’ll try and dig into Unity tomorrow, cause yeah if it’s more widespread than just my videos, something is definitely wrong

spare aurora
old void
#

Because jloes has audio, so why not

swift pine
#

how dare you cargo cult video encoding :tim:

old void
#

I don’t understand what you mean tbh

swift pine
#

:steve:

old void
mighty latch
swift pine
#

yea yea flaunt it, you're only a traitor if you actually give them money yourself for it lmao

#

😆

swift pine
#

🖕

old void
#

Ima be so sad when this runs out tho nglsadge

swift pine
#

and imma be there to cackle in delight 😏

swift pine
#

looking at the provided webm, it certainly looks properly limited when loaded into avisynth and ran through Histogram()

old void
#

so it's def something to do with YARG itself

mighty latch
# old void works fine

I don't have YARG open but can you check where the videoplayer is placed in the scene? Does it use a render texture to display onto the screen?

#

I have a feeling it could be some render texture jank

old void
#

I’ll do some digging in that soon. About to go grab some caffeine

#

oh

#

yeah its to a render texture

#

bruh it was that easy

#

lemme commit this

#

thanks @mighty latch

#

PR'd

mighty latch
#

yeah thought it would be some render texture bullshit

#

Starting to notice more and more that they fucking suck lol

old void
#

Glad it was an easy fix and not my renders that have been going and are still going from last night lmao

mighty latch
#

yeah other people have highlighted the problem before

#

so it's a big fix

old void
#

Hell yeah

swift pine
#

made the change myself and can verify it works fine, good work

summer hill
# old void Because jloes has audio, so why not

I keep the audio cus some people make their own videos with them, like comparisons or other things. Also, when I checked how much space is saved by removing the audio, it was only a few megabytes, so I couldn't be bothered to do it for everything. In short, I'm lazy.

old void
#

and i totally agree with that
audio is minimal in comparison to the video stream
it's not worth removing it

#

if you keep audio, then the video given is complete in isolation for literally any purpose

summer hill
#

I get it can save a bit of space if someone's downloading hundreds of them, but I figure if you're downloading that many, you already have a pretty sizeable drive, so it doesn't really matter much.