Hello,
Please ,I need some help .
It is possible to play a video inside Maya or not?
in another word Is it possible to use mel scripts to design UI with a button command for calling a movie ?
I tried to find a command to import a movie and show it but I couldn’t find such a command .
I am trying to design 3D instructional simulation for physics experiments using mel scripts.
If yes Is it possible to print the result of experiment on the movie during the show or on it ?
[QUOTE=svenneve;24732]The only thing that i could think of would be using PyQt or PySide to do the GUI and use the Phonon module for the video part.[/QUOTE]
Hello ,
Thank you very much … I appreciate your immediate answer
[QUOTE=passerby;24737]ya i dont see any way possible with mel, really best you could do is launch a 3rd party video player, and not have it integrated with the UI[/QUOTE]
Thank you for your advice .
Yes, I saw this in a tutorial on youtube.
I hoped in another solution .
[QUOTE=TheMaxx;24739]Has anyone got phonon to work reliably inside maya?[/QUOTE]
Sorry ,What do you mean? I do not understand your question.
I do not understand what it mean your Comment
Is it question or conclusion ??
Sorry , but for me ,your comment somewhat weird
@Learn, his question was more directed at me, and the others that mentioned the use of pyQT or pySide and using python. Phonon is the media system of QT 4.x whcih dosnt come as part of maya but can be compiled to work with maya i hear.
Since your useing mel, your only real option is to just call up videos in a external video player.
FYI for the people looking into phonon, it does work inside Maya once you get the back-end library built. There was a previous discussion about how to get it working here.
So mostly a matter of getting it compiled for the version of python shipped with maya and the right vsc, once that is done, free sailing.
[QUOTE=Warheart;24745]FYI for the people looking into phonon, it does work inside Maya once you get the back-end library built. There was a previous discussion about how to get it working here.[/QUOTE]
It’s only a Qt dll that you need to build (nothing from PyQt/PySide) so python version won’t matter. But yes, it’s just a case of building the Qt version which matches your Maya version with the same vsc. The Qt build also has system specific requirements to allow it to build the phonon back-end library. e.g on windows you need the directX SDK installed and added to your LIB and INCLUDE paths before building. If you don’t have what it needs it’ll build the rest of Qt but skip building the phonon back-end dll.
[QUOTE=passerby;24744]@Learn, his question was more directed at me, and the others that mentioned the use of pyQT or pySide and using python. Phonon is the media system of QT 4.x whcih dosnt come as part of maya but can be compiled to work with maya i hear.
Since your useing mel, your only real option is to just call up videos in a external video player.[/QUOTE]
Thank you for your explanation
I am so sorry
He did not mention any names .