Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No window under mac #2

Open
captainjtx opened this issue Mar 2, 2016 · 10 comments
Open

No window under mac #2

captainjtx opened this issue Mar 2, 2016 · 10 comments
Labels

Comments

@captainjtx
Copy link

Hi, This is Tianxiao Jiang. I was searching for a real-time video palyer for matlab like yours that can run any platform for a while . I was planning to play back the video synchronized with some data. On windows I can easily achieve this by ActiveX control. But Mac OS is currently a dead end for me.
I was trying to run this on my Mac Computer. The problem of your package is that everything seems to be playing at the background. I can see the frame number changed. However there is no visual output, no window that show the video being played. I discovered that, in your note, you said there is some problem with mac. You developed a helper library using Objective C. I am not sure how it works. Could you please described a bit more on what can I do with it ? I am not familiar with Objective-C. I am good at C++/C Matlab Java(kind of). If there is an alternative to do this, I would also like to hear. Thank you !

@durka
Copy link
Owner

durka commented Mar 2, 2016

Hm, this is quite strange. Can I ask what versions of OSX, VLC, and Matlab you are using? The Objective-C part of this library is a tiny OSX application that opens a window, that's pretty much it. It should be automatically built by my build_mac.sh script if you have XCode installed. Did you get any errors from build_mac.sh?

@durka durka added the bug label Mar 2, 2016
@captainjtx
Copy link
Author

I am using OS X EL Capitan 10.11.2 , Matlab 2015b and VLC 2.2.2. All of them are the most updated I guess. There was compiler error problem before with Matlab 2015b but I fixed it. Apart from it, there is no error message from build_mac.sh.

@durka
Copy link
Owner

durka commented Mar 2, 2016

I haven't tested under El Capitan. It's possible something changed. I'll
try to track down a machine for testing.
On Mar 2, 2016 5:17 PM, "Tianxiao Jiang" [email protected] wrote:

I am using OS X EL Capitan 10.11.2 , Matlab 2015b and VLC 2.2.2. All of
them are the most updated I guess. There was compiler error problem before
with Matlab 2015b but I fixed it. Apart from it, there is no error message
from build_mac.sh.


Reply to this email directly or view it on GitHub
#2 (comment).

@captainjtx
Copy link
Author

Thanks, I have tested under my win7+matlab2015b. It works pretty well.

On Mar 2, 2016, at 5:31 PM, Alex Burka [email protected] wrote:

I haven't tested under El Capitan. It's possibly something changed. I'll
try to track down a machine for testing.
On Mar 2, 2016 5:17 PM, "Tianxiao Jiang" [email protected] wrote:

I am using OS X EL Capitan 10.11.2 , Matlab 2015b and VLC 2.2.2. All of
them are the most updated I guess. There was compiler error problem before
with Matlab 2015b but I fixed it. Apart from it, there is no error message
from build_mac.sh.


Reply to this email directly or view it on GitHub
#2 (comment).


Reply to this email directly or view it on GitHub #2 (comment).

@bradmonk
Copy link

I'm having the same problem on OS X El Capitan (10.11.6). No build errors. Everything works fine. I can hear the video playing but there is no visual interface. Either the video interface is zero pixels, is showing up somewhere off screen, or is not being displayed at all. Great work on everything else btw. This would be exactly what I'm looking for if it displayed video. Cheers.

@Pradyumna94
Copy link

Pradyumna94 commented Feb 22, 2017

Hi,

I am building a video annotator and found that this piece of software suites perfectly for me. However, I am facing an issue in Ubuntu 16.04+Matlab2016b+VLC-2.2.2

When I run the command: vp = vlc_wrapper('open',vh,'movie.avi') as in the example, I receive a message:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Error using vlc
Could not stat video file: No such file or directory

Error in vlc_wrapper (line 14)
[varargout{1:nargout}] = vlc(i, varargin{:});
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

I have followed the installation in order and have indeed run the build_linux.sh script prior to using the software.
When I run the 'build_linux.sh' script I obtain the message:
"Building with 'g++'.
MEX completed successfully."

So, I don't know where I am going wrong.
Hence, please let me know what the issue might be.

I really need this piece of software integrated in my project.

Thank You

@durka
Copy link
Owner

durka commented Feb 22, 2017 via email

@Pradyumna94
Copy link

I am using Ubuntu16.04+MATLAB2016b+vlc2.2.2
Previously I did not have the video in current folder. Now I do have the video file in current folder. However, I receive an error when I run the command: vp = vlc_wrapper('open',vh,'movie.avi')
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Error using vlc
Not a VLC instance

Error in vlc_wrapper (line 14)
[varargout{1:nargout}] = vlc(i, varargin{:});
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

What does "Not a VLC instance" mean?

Thank You

@durka
Copy link
Owner

durka commented Feb 22, 2017 via email

@Pradyumna94
Copy link

Thank You for helping me out. It works perfectly now!

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

No branches or pull requests

4 participants