1 Reply Latest reply on Sep 28, 2011 2:01 AM by tarnic86

    VideoDisplay stream not showed

    tarnic86

      Hi,

      I'm working with Flex 4.5.

       

      I created a new project, put a VideoDisplay component, source video stream, nothing else.

       

      <s:VideoDisplay source="rtmp://flashserver/videoondemand/MP4:/path/to/video" />

       

      I have only audio, no video. After a while that it is playing, it suddenly appears, let's say after 30secs.

      If I pause, play, seek than it is immediately showed. If I go back to seek(0), the video is stuck, audio ok.

       

      Tested with another stream server, same thing.

      If I use FLV files (smaller files) instead MP4, then it works correctly!

       

      Exception:

      TypeError: Error #1009: Cannot access a property or method of a null object reference.

       

      at video_test/init()[C:\flashbuilder-workspace\video_test\src\video_test.mxml:18]

      at video_test/___video_test_Application1_creationComplete()[C:\flashbuilder-workspace\video_ test\src\video_test.mxml:4]

      at flash.events::EventDispatcher/dispatchEventFunction()

      at flash.events::EventDispatcher/dispatchEvent()

      at mx.core::UIComponent/dispatchEvent()[E:\dev\hero_private\frameworks\projects\framework\sr c\mx\core\UIComponent.as:13128]

      at mx.core::UIComponent/set initialized()[E:\dev\hero_private\frameworks\projects\framework\src\mx\core\UIComponent.a s:1818]

      at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\hero_private\frameworks\project s\framework\src\mx\managers\LayoutManager.as:842]

      at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\hero_private\frameworks \projects\framework\src\mx\managers\LayoutManager.as:1180]

       

       

      I tried to download OSMF v.16, the latest, nothing works, this exception in the console

       

      VerifyError: Error #1014: Class org.osmf.media::MediaFactory could not be found.

      at video_test/_video_test_Array1_c()

      at mx.core::DeferredInstanceFromFunction/getInstance()[E:\dev\hero_private\frameworks\projec ts\framework\src\mx\core\DeferredInstanceFromFunction.as:108]

      at spark.components::SkinnableContainer/createDeferredContent()[E:\dev\hero_private\framewor ks\projects\spark\src\spark\components\SkinnableContainer.as:1049]

      at spark.components::SkinnableContainer/createContentIfNeeded()[E:\dev\hero_private\framewor ks\projects\spark\src\spark\components\SkinnableContainer.as:1078]

      at spark.components::SkinnableContainer/createChildren()[E:\dev\hero_private\frameworks\proj ects\spark\src\spark\components\SkinnableContainer.as:885]

      at spark.components::Application/createChildren()[E:\dev\hero_private\frameworks\projects\sp ark\src\spark\components\Application.as:1274]

      at mx.core::UIComponent/initialize()[E:\dev\hero_private\frameworks\projects\framework\src\m x\core\UIComponent.as:7624]

      at spark.components::Application/initialize()[E:\dev\hero_private\frameworks\projects\spark\ src\spark\components\Application.as:1259]

      at video_test/initialize()

      at mx.managers.systemClasses::ChildManager/childAdded()[E:\dev\hero_private\frameworks\proje cts\framework\src\mx\managers\systemClasses\ChildManager.as:189]

      at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\hero_private\fr ameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:359]

      at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\hero_private\frameworks\proj ects\framework\src\mx\managers\SystemManager.as:3063]

      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\SystemManage r.as:2849]

      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\hero_private\frameworks\projects\framework\src\mx\man agers\SystemManager.as:2729]

      at flash.events::EventDispatcher/dispatchEventFunction()

      at flash.events::EventDispatcher/dispatchEvent()

      at mx.preloaders::Preloader/timerHandler()[E:\dev\hero_private\frameworks\projects\framework \src\mx\preloaders\Preloader.as:542]

      at flash.utils::Timer/_timerDispatch()

      at flash.utils::Timer/tick()

       

       

      Any idea?

      Thank you