You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New: support subtitle rendering. Can be embedded or external text/bitmap subtitle tracks. The first embedded subtitle track is enabled by default. Use setActiveTrack(MediaType::Subtitle, ...) to switch embedded subtitle track. External subtitle must be explicitly enabled by user via setMedia(file, MediaType::Subtitle), and must call it at some point after main video setMedia(mainVideoFile). Text subtitle is rendered by libass, only windows desktop and macOS prebuilt libass is provided for now. Linux users can install system libass. Text subtitles must be UTF-8 encoded.
API:
add Player.enqueue(VideoFrame) to draw a frame provided by user
Change frame timestamp precision from millisecond to microsecond
Fix wrong display aspect ratio
Improve redraw for D3D11, Metal and Vulkan
Reduce frame queue in renderer to fix some decoders(MFT) may fail to output frames
VT:
add property "fourcc", "CVPixelFormat" to force an output format
more pixel formats
fix color range error
QSV: support d3d11. add d3d option, can be 11(default for ffmpeg5.0+) or 9.
FFmpeg:
log level for ffmpeg class, for example SetGlobalOption("ffmpeg.log", "trace=tcp")
Check opt availability before set, no more warnings