userLayladcancel

7,110 Commits over 3,531 Days - 0.08cph!

1 Year Ago
Impl VideoPlayer.HasAudio
1 Year Ago
Impl VideoPlayer.Muted
1 Year Ago
Fix VideoPlayer.IsPaused flicking on and off when seeking (stream will temporarily unpause when seeking)
1 Year Ago
Fix video player Duration and PlaybackTime
1 Year Ago
Don't create tools triangle list for runtime meshes for now to investigate crash
1 Year Ago
It's not audio at fault
1 Year Ago
Play audio using stream.play but disable for now to see if it's cause of crash
1 Year Ago
VideoPlayer: Default input format to mp4 if no ext specified in url
1 Year Ago
Perform texture streaming when in main thread render block. We used to return early because we'd get crashes but now we're getting hangs with it, so disable for now and see how we get on.
1 Year Ago
Check for texture last used before running task
1 Year Ago
Decode texture frames on background thread
1 Year Ago
Fix crash in attached audio stream due to uninitialized callback
1 Year Ago
Fuck avataranimated: off and just load the animated version if they have it for avatar: (big and small versions are static)
1 Year Ago
Avatar loader supports animated steam avatars. Example: url( avataranimated:@Friend.Id )
1 Year Ago
Update texture frames when needed from bitmap, much safer than pissing around with texture handles (and less vram usage)
1 Year Ago
VideoPlayer: Stop using unique ptr for things that don't need it
1 Year Ago
ShaderGraph: Palette only displays shader nodes
1 Year Ago
Animated Images (#1074) Image loader now supports gif and webp ideally used for small animated images like icons, avatars, effects.
1 Year Ago
Delete test webp
1 Year Ago
Http image loader uses Image.Load so we don't have two image loading paths and so gif and webp work from url
1 Year Ago
Remove ui test
1 Year Ago
Image loader creates textures for multiple frames if they exist. Whitelist gif and webp. Swap out texture handles for the current frame. https://files.facepunch.com/layla/1b0711b1/sbox-dev_rCZwXFIzD1.mp4 Make Texture.Animation a class not a struct Add super simple ui test that shows an animated image Remove texture animation from list when texture isn't being used anymore Make sure frame texture strong handles are destroyed ImageAnimation -> AnimatedImages Default 100 ms frame time when not frame timings available
1 Year Ago
Refactor video read thread
1 Year Ago
Remove unused functions from video player provider
1 Year Ago
VideoPlayer: Use swscale instead of filter bullshit
1 Year Ago
Default 100 ms frame time when not frame timings available
1 Year Ago
ImageAnimation -> AnimatedImages
1 Year Ago
Make sure frame texture strong handles are destroyed
1 Year Ago
Remove texture animation from list when texture isn't being used anymore
1 Year Ago
Add super simple ui test that shows an animated image
1 Year Ago
Make Texture.Animation a class not a struct
1 Year Ago
VideoPlayer: Refactor to remove audio filtering bullshit, resample at 44100 2 channels
1 Year Ago
Pass in video ext from managed so we can check that for input format
1 Year Ago
Image loader creates textures for multiple frames if they exist. Whitelist gif and webp. Swap out texture handles for the current frame. https://files.facepunch.com/layla/1b0711b1/sbox-dev_rCZwXFIzD1.mp4
1 Year Ago
Avoid threading assert in audio thread
1 Year Ago
VideoPlayer: Fix repeat not working when user doesn't output sound on a video with sound
1 Year Ago
Fix video player not playing from filesystem path
1 Year Ago
Whitelist mp4 and webm to avoid going any further than we have to
1 Year Ago
Limit input formats to mp4 and webm
1 Year Ago
VideoPlayer.Play that takes a url checks if it's actually a url
1 Year Ago
Modeldoc: Compile skeleton with ALL bones no matter if they're used in skinning or not
1 Year Ago
Fix func_voxelsurface to the new way of getting the surface face
1 Year Ago
ShaderGraph: Fix formatting on generated code
1 Year Ago
Add blendmodes.hlsl until shadergraph just generates these functions
1 Year Ago
ShaderGraph: Fix NRE when identing generated code procedural.hlsl isnt in common anymore
1 Year Ago
ShaderGraph: Only find nodes derived from ShaderNode
1 Year Ago
ShaderGraph: common/proceedural ->common/procedural
1 Year Ago
Video player (#1050) VideoPlayer class that decodes mp4 and webm from paths or urls and provides the texture and audio.
1 Year Ago
Fix issues after rebase
1 Year Ago
Initial support for playing video Bind resolve shaders and textures directly instead of going through renderable pass, avoids it being used across frame boundaries Initial support for audio playback Get rid of event wait shit for audio, ExecuteOnMainThread handles this Support seeking Fix streaming from url not working Init, shutdown and run frame for video playback in a service so we don't have to do it manually Give video player the managed object so we can call back to it Tell managed when texture has been created, we don't know until first frame has been decoded Bind all the functions of video player Pass video events down to managed Add Duration and CurrentPlaybackTime Documentation Call OnTextureCreated after new texture has been rendered to Add clear to audio stream interface, clear the resample buffer instead of having to recreate the whole stream Add use_doppler sound op to stack, disable it on attached streams (doppler is no good on streams because it pitches) Start allowing video audio stream to attach to sound events to change how audio is played Allow audio stream to be attached to multiple sound events Add SoundStream.Play (returns a sound handle, can be called multiple times), obsolete Sound.CreateStream (this was all ass backwards) Add VideoPlayer.PlayAudio, called when audio is ready, can be called multiple times for multiple sound sources Add public constructor for SoundStream, this is allowed now it doesn't depend on having a Sound Add more properties to video player Turns out sound stream can't have multiple sound sources, at least for now Add qt video widget example https://files.facepunch.com/layla/1b2911b1/sbox_tueAgFGKr8.mp4 Remove ui test that doesn't exist Remove libogg, libvorbis, libpvx, all unused Add ffmpeg to thirdparty video.vpc Force push ffmpeg dlls video app system bullshit Force push ffmpeg libs Test reading a single frame directly with ffmpeg network init on video system init Test video decoding in a threaded job Stop decoding and wait till job has finished when video stops Take off decoding time from sleep time Attempt to decode audio but doesn't sync yet Get rid of video64.dll usage, we're in control now video -> videosystem Free audio output on video stop Try to keep video in sync Break out of audio and video threads when there's no more packets to read Read packets, decode audio and video in separate threads, sync video to external clock Allow videos to repeat or not Adjust frame queue size, using way too much memory Pass video frame data to managed so pixmap can be created when texture isn't ideal to use in Qt New ffmpeg video player Delete old libav binaries Add VideoPlayer IsPaused and TogglePause Add example videoplayers for native rendering and pixmap rendering Use BGRA for video filter if the player wants pixel data Add VideoPlayer.Play that takes a filesystem Create a 1x1 placeholder texture, swap out with first decoded frame so we always have a texture available. Invoke event when video has loaded. Add Width and Height of video. Explain that OnTextureData will provide pixel data instead of rendering to texture