From: Ewan M. <mr...@mr...> - 2006-08-26 15:07:55
|
Hello, I've updated the NSMovieView.as Looping playback works and the correct aspect ratio of the movie is maintained. Could somebody check it and put it in the repository, thanks. Using the code below m_video = (new NSMovie()).initWithContentsOfURL("../../../video/ 0-1-3-360_TheGame.flv"); m_videoView = new NSMovieView(); m_videoView.initWithFrame(frame); m_videoView.showControllerAdjustingSize(false,true); m_videoView.gotoBeginning(this); m_videoView.setMovie(m_video); m_videoView.start(); I expected the movie to start playing. It doesn't because the NSMovie.netStreamHanleStatus function pauses the video the first time it is called. Is this the desired behaviour? If it is what is the suggested way to start a movie with no controller (some sort of notification?). Also when the video is first loaded it is full of 'decompression' artifacts (see game0.jpg). They are not in the video file. When I play back the video using the code I originally wrote for this program before porting it to actionstep no such degradation of the video was apparent and when the video loops it is no longer there after the first loop (see game1.jpg). Does anybody have any idea what could be causing this? Cheers, Ewan |
From: Scott H. <sc...@af...> - 2006-08-26 23:53:00
|
I'll update it and take a look tomorrow when I get home. Thanks, Scott On 26/08/06, Ewan McDougall <mr...@mr...> wrote: > Hello, > > I've updated the NSMovieView.as > > Looping playback works and the correct aspect ratio of the movie is > maintained. > Could somebody check it and put it in the repository, thanks. > > Using the code below > > m_video = (new NSMovie()).initWithContentsOfURL("../../../video/ > 0-1-3-360_TheGame.flv"); > m_videoView = new NSMovieView(); > m_videoView.initWithFrame(frame); > m_videoView.showControllerAdjustingSize(false,true); > m_videoView.gotoBeginning(this); > m_videoView.setMovie(m_video); > m_videoView.start(); > > I expected the movie to start playing. It doesn't because the > NSMovie.netStreamHanleStatus function pauses the video the first time > it is called. Is this the desired behaviour? If it is what is the > suggested way to start a movie with no controller (some sort of > notification?). > > Also when the video is first loaded it is full of 'decompression' > artifacts (see game0.jpg). They are not in the video file. When I > play back the video using the code I originally wrote for this > program before porting it to actionstep no such degradation of the > video was apparent and when the video loops it is no longer there > after the first loop (see game1.jpg). Does anybody have any idea what > could be causing this? > > > > Cheers, > > Ewan > > > > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > actionstep-core mailing list > act...@li... > https://lists.sourceforge.net/lists/listinfo/actionstep-core > > > > |
From: Scott H. <sc...@af...> - 2006-08-27 18:39:23
|
I checked in your changes, and I made a change that might help you out. I'm still not home, so it's a bit hard to do any tests. It doesn't look like I'll get back today, so it will have to be tomorrow to look at that artifacts issue (that I have actually noticed). Do you have any thoughts on what it might be? I have a feeling that it will just be a trial and error fix. Scott On 26/08/06, Scott Hyndman <sc...@af...> wrote: > I'll update it and take a look tomorrow when I get home. > > Thanks, > Scott > > On 26/08/06, Ewan McDougall <mr...@mr...> wrote: > > Hello, > > > > I've updated the NSMovieView.as > > > > Looping playback works and the correct aspect ratio of the movie is > > maintained. > > Could somebody check it and put it in the repository, thanks. > > > > Using the code below > > > > m_video = (new NSMovie()).initWithContentsOfURL("../../../video/ > > 0-1-3-360_TheGame.flv"); > > m_videoView = new NSMovieView(); > > m_videoView.initWithFrame(frame); > > m_videoView.showControllerAdjustingSize(false,true); > > m_videoView.gotoBeginning(this); > > m_videoView.setMovie(m_video); > > m_videoView.start(); > > > > I expected the movie to start playing. It doesn't because the > > NSMovie.netStreamHanleStatus function pauses the video the first time > > it is called. Is this the desired behaviour? If it is what is the > > suggested way to start a movie with no controller (some sort of > > notification?). > > > > Also when the video is first loaded it is full of 'decompression' > > artifacts (see game0.jpg). They are not in the video file. When I > > play back the video using the code I originally wrote for this > > program before porting it to actionstep no such degradation of the > > video was apparent and when the video loops it is no longer there > > after the first loop (see game1.jpg). Does anybody have any idea what > > could be causing this? > > > > > > > > Cheers, > > > > Ewan > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > _______________________________________________ > > actionstep-core mailing list > > act...@li... > > https://lists.sourceforge.net/lists/listinfo/actionstep-core > > > > > > > > > |
From: Ewan M. <mr...@mr...> - 2006-08-27 18:41:32
Attachments:
NSMovieView.as
|
Hello, The 'decompression' artifacts were caused by the video being played before it had finished initialising. Now I start the movie after it has finished initialising using a notification. However this shows up a bug in the changes made to NSMovieView.as , please see the fix Cheers, Ewan |
From: Scott H. <sc...@af...> - 2006-08-27 20:01:47
|
Nice! Thanks for helping me out with this. ASMovieControllerView should be done soon if you're interested. It's looking much nicer. Scott On 27/08/06, Ewan McDougall <mr...@mr...> wrote: > Hello, > > The 'decompression' artifacts were caused by the video being played > before it had finished initialising. Now I start the movie after it > has finished initialising using a notification. > > However this shows up a bug in the changes made to NSMovieView.as , > please see the fix > > Cheers, > > Ewan > > > > > > On 27 Aug 2006, at 00:52, Scott Hyndman wrote: > > > I'll update it and take a look tomorrow when I get home. > > > > Thanks, > > Scott > > > > On 26/08/06, Ewan McDougall <mr...@mr...> wrote: > >> Hello, > >> > >> I've updated the NSMovieView.as > >> > >> Looping playback works and the correct aspect ratio of the movie is > >> maintained. > >> Could somebody check it and put it in the repository, thanks. > >> > >> Using the code below > >> > >> m_video = (new NSMovie()).initWithContentsOfURL("../../../video/ > >> 0-1-3-360_TheGame.flv"); > >> m_videoView = new NSMovieView(); > >> m_videoView.initWithFrame(frame); > >> m_videoView.showControllerAdjustingSize(false,true); > >> m_videoView.gotoBeginning(this); > >> m_videoView.setMovie(m_video); > >> m_videoView.start(); > >> > >> I expected the movie to start playing. It doesn't because the > >> NSMovie.netStreamHanleStatus function pauses the video the first time > >> it is called. Is this the desired behaviour? If it is what is the > >> suggested way to start a movie with no controller (some sort of > >> notification?). > >> > >> Also when the video is first loaded it is full of 'decompression' > >> artifacts (see game0.jpg). They are not in the video file. When I > >> play back the video using the code I originally wrote for this > >> program before porting it to actionstep no such degradation of the > >> video was apparent and when the video loops it is no longer there > >> after the first loop (see game1.jpg). Does anybody have any idea what > >> could be causing this? > >> > >> > >> > >> Cheers, > >> > >> Ewan > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> --------------------------------------------------------------------- > >> ---- > >> Using Tomcat but need to do more? Need to support web services, > >> security? > >> Get stuff done quickly with pre-integrated technology to make your > >> job easier > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache > >> Geronimo > >> http://sel.as-us.falkag.net/sel? > >> cmd=lnk&kid=120709&bid=263057&dat=121642 > >> > >> _______________________________________________ > >> actionstep-core mailing list > >> act...@li... > >> https://lists.sourceforge.net/lists/listinfo/actionstep-core > >> > >> > >> > >> > > > > ---------------------------------------------------------------------- > > --- > > Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make your > > job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as-us.falkag.net/sel? > > cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > actionstep-core mailing list > > act...@li... > > https://lists.sourceforge.net/lists/listinfo/actionstep-core > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > actionstep-core mailing list > act...@li... > https://lists.sourceforge.net/lists/listinfo/actionstep-core > > > > |