Skip to content

Conversation

gcasa
Copy link
Member

@gcasa gcasa commented Mar 20, 2022

implementation for NSMovie and NSMovieView. The tests for this are here:
https://github.com/gcasa/NSMovie_test
https://github.com/gcasa/apps-videoplayer

@gcasa gcasa force-pushed the NSMovie_branch branch from 0ba3345 to 9664cd4 Compare May 25, 2025 20:29
@gcasa
Copy link
Member Author

gcasa commented May 26, 2025

Completely revamped and simplified.

@gcasa gcasa requested a review from rfm September 12, 2025 17:30
@gcasa
Copy link
Member Author

gcasa commented Sep 12, 2025

@rfm Please take a look at this one as well.

@gcasa gcasa requested a review from Copilot September 13, 2025 01:57
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR creates comprehensive NSMovie and NSMovieView implementation using FFmpeg as the underlying multimedia framework. The implementation adds video playback functionality with synchronized audio/video rendering and proper build system integration.

  • Adds complete NSMovie and NSMovieView classes with FFmpeg-based video/audio decoding capabilities
  • Implements GSMovieView as a subclass providing the actual playback functionality with audio-video synchronization
  • Integrates FFmpeg dependencies into the build system with proper configuration and library detection

Reviewed Changes

Copilot reviewed 17 out of 18 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
configure.ac Adds FFmpeg library detection and build configuration for NSMovie/NSMovieView
config.make.in Defines build variables for movie and sound library support
Source/NSSound.m Updates NSSound implementation with improved memory management
Source/NSMovieView.m Basic NSMovieView implementation with stubs for most functionality
Source/NSMovie.m NSMovie class implementation with data handling and codec integration
Source/GSMovieView.m Complete video player implementation with FFmpeg integration
Source/GSAudioPlayer.* Audio player class for synchronized audio playback
Source/GSAVUtils.* Utility functions for AVPacket/NSDictionary conversion
Headers/AppKit/NSMovie*.h Public API headers with comprehensive documentation

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@gcasa
Copy link
Member Author

gcasa commented Sep 15, 2025

I think this is as close to done as I can get it. It works. I would like others to have the opportunity to look at and fix the code on this. Please review and approve if you can @rfm or @fredkiefer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants