VideoTools/vendor/github.com/fyne-io/oksvg
Stu Leak 68df790d27 Fix player frame generation and video playback
Major improvements to UnifiedPlayer:

1. GetFrameImage() now works when paused for responsive UI updates
2. Play() method properly starts FFmpeg process
3. Frame display loop runs continuously for smooth video display
4. Disabled audio temporarily to fix video playback fundamentals
5. Simplified FFmpeg command to focus on video stream only

Player now:
- Generates video frames correctly
- Shows video when paused
- Has responsive progress tracking
- Starts playback properly

Next steps: Re-enable audio playback once video is stable
2026-01-07 22:20:00 -05:00
..
.gitignore Fix player frame generation and video playback 2026-01-07 22:20:00 -05:00
definitions.go Fix player frame generation and video playback 2026-01-07 22:20:00 -05:00
draw.go Fix player frame generation and video playback 2026-01-07 22:20:00 -05:00
icon_cursor.go Fix player frame generation and video playback 2026-01-07 22:20:00 -05:00
LICENSE Fix player frame generation and video playback 2026-01-07 22:20:00 -05:00
path_cursor.go Fix player frame generation and video playback 2026-01-07 22:20:00 -05:00
path_style.go Fix player frame generation and video playback 2026-01-07 22:20:00 -05:00
public.go Fix player frame generation and video playback 2026-01-07 22:20:00 -05:00
README.md Fix player frame generation and video playback 2026-01-07 22:20:00 -05:00
svg_icon.go Fix player frame generation and video playback 2026-01-07 22:20:00 -05:00
svg_path.go Fix player frame generation and video playback 2026-01-07 22:20:00 -05:00
utils.go Fix player frame generation and video playback 2026-01-07 22:20:00 -05:00

Go API Reference Latest Release

oksvg

Oksvg is a rasterizer for a partial implementation of the SVG2.0 specification in Go.

Although many SVG elements will not be read by oksvg, it is good enough to faithfully produce thousands, but certainly not all, SVG icons available both for free and commercially. A list of valid and invalid elements is in the doc folder.

The package can be installed by running:

go get github.com/fyne-io/oksvg@latest

Oksvg uses the rasterx rasterizer package which implements full SVG2.0 path functions, including the newer 'arc' join-mode.

arcs and caps

Extra non-standard features

In addition to 'arc' as a valid join mode value, oksvg also allows 'arc-clip' which is the arc analog of miter-clip and some extra capping and gap values. It can also specify different capping functions for line starts and ends.

Rasterizations of SVG to PNG from creative commons 3.0 sources

Example renderings of unedited open source SVG files by oksvg and rasterx are shown below.

Thanks to Freepik from Flaticon Licensed by Creative Commons 3.0 for the example icons shown below, and also used as test icons in the testdata folder.

Jupiter

lander

mountains

bus