3 Replies Latest reply: Nov 7, 2014 1:00 AM by Mauro Marenzi RSS

    Director Stage - HD Video performance, need Help !

    Mauro Marenzi Community Member

      Hi all,

       

      im using Director for 3D projects but now i have a client who want to create some multimedia kiosks.

       

      Is the first time i'm creating projector to play videos, and im having very big problems playing videos on the stage ..

       

      The videos im playing are in 1920x1080 ( fullHd ), and i have a lot of troubles with performance.

       

      i add a link to download ( .dir + .exe + .f4v )

       

      http://www.360map.eu/test/test_video.zip

       

      Unfortunatly i tried many video format and compressions, DTS on or off... but all seems to be the same.

       

      Is there a way to improve video quality and smoothness performance ?

       

      Im playing them on my I5 + NVidia gcard, but the videos , even if im not adding lingo code in my "projector.exe", are not smooth as they should be !!

       

      i hope this forum could help me, thanks!

       

      Mauro

        • 1. Re: Director Stage - HD Video performance, need Help !
          Shylock74 Community Member

          On windows machines ONLY MP4.

          • 2. Re: Director Stage - HD Video performance, need Help !
            Mauro Marenzi Community Member

            in my example im using f4v, put ALSO using MP4 H264 i have exactly the same problem !

            No differences!

             

            Thanks

             

            Mauro

            • 3. Re: Director Stage - HD Video performance, need Help !
              Mauro Marenzi Community Member

              Hi all,

               

              i found a solution, maybe somebody with the same trouble could use it, btw if somebody have simpler solutions please let me know

               

               

              my solution:

               

              im using DirectOs Xtra ( www.directxtras.com ) to launch "VLC.exe" video player with a simple configuration that:

               

              1) quit when video is finished

              2) don't show windows interface

              3) fullscreen always even after a double click

              4) no message error window from VLC after closing

               

              then im using another function of DirectOs Xtra to check if the "Windows task bar" is visible , and if YES the program is hiding it.

               

               

               

              the simple example code:

               

              ------------------------------

              on beginSprite

                dosRegister ("yourSerialNumber")

              end

               

               

              on mouseUp

               

                _programPath = "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe "  -- last character is a SPACE " "

               

              -- last character is a SPACE " ", very important: the name should not have SPACE charactes, for example:

               

              _videoPath = "D:\CARLO CRIVELLI.mp4 " -- this is NOT correct

               

              _videoPath = "D:\CARLO_CRIVELLI.mp4 " -- this is correct

               

               

              -- command line using VLC command line config help

               

                _commandLine = "--fullscreen --quiet where --width=0 --height=0 --video-x=0 --video-y=0 --no-video-deco --no-embedded-video vlc://quit --no-video-title"

               

                dosLaunchApp( _programPath & _videoPath & _commandLine, "Normal", 0 )

               

              end

               

               

               

              -- check if the taskBar is visible, if yes this function will hide it

               

              on exitFrame

               

                TopWindows = dosGetTopWindowIDs()

                TaskBarFound = false

                repeat with i=1 to count (TopWindows)

                  CurrWindow = GetAt (TopWindows, i)

                  if (dosGetWindowClassName (CurrWindow) = "Shell_TrayWnd") then

                    TaskBarFound = true

                   

                    -- close taskbar

                    if dosGetWindowState (CurrWindow, "Hidden") then

                      Success = dosSetWindowState (CurrWindow, "Normal")

                    else

                      Success = dosSetWindowState (CurrWindow, "Hidden")

                    end if

                   

                    if (not Success) then

                      put "Can't show or hide the taskbar, error # "&dosGetLastError()

                    end if

                   

                    exit repeat

                  end if

                end repeat

               

              end

              ------------------------------

               

              I'm also playing with VLC preference menu', to hide " error message window " and to use a different Skin interface ( using VLCSkinEditor )

               

              Regards,

               

              Mauro