[Papervision3D] streaming video...

Martial / 164 martialou at gmail.com
Sat Apr 18 09:44:01 PDT 2009


Hi Nick

It's a problem of flash security sandbox.

In case of youtube videos, if you're getting the FLV directly, you'll  
not be able to access to the bitmapData because the videos are hosted  
on a lot of diferents server and there's no crossdomain.xml

You can google that and you'll find a lot of posts about this topic.

And papervision needs to access to bitmapData so It's just don't work.

I never found a solution for that, would be happy to know some trick  
though,

Cheers!




El 18/04/2009, a las 17:49, papervision3d-request at osflash.org escribió:

> Send Papervision3D mailing list submissions to
> 	papervision3d at osflash.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> or, via email, send a message with subject or body 'help' to
> 	papervision3d-request at osflash.org
>
> You can reach the person managing the list at
> 	papervision3d-owner at osflash.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Papervision3D digest..."
>
>
> Today's Topics:
>
>   1. Re: streaming video... (Junio Gon?alves Vitorino)
>   2. Re: streaming video... (Stuart Gordon)
>   3. Re: streaming video... (Paul Tondeur)
>   4. Re: streaming video... (fredfoc)
>   5. Re: EnvMapShader and UV map (Paul Tondeur)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 18 Apr 2009 11:58:15 -0300
> From: Junio Gon?alves Vitorino <jgvitorino at gmail.com>
> Subject: Re: [Papervision3D] streaming video...
> To: papervision3d at osflash.org
> Message-ID:
> 	<84ecae140904180758i46b1baddo3184a53c8a2db171 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Nick i had the same problem and i worked around it for days. I not  
> found how
> fix this.
>
> On Sat, Apr 18, 2009 at 11:36 AM, Nick Selvaggio <nickgs1 at gmail.com>  
> wrote:
>
>> This post came at a perfect time! I am currently working in the same
>> problem. I think for a steaming .flv files you have on your web  
>> server
>> VideoMovieMaterial is your tool of choice. There is alot of  
>> examples out
>> there of using that but as Paul mentioned you will have to  
>> implement your
>> own controls.
>>
>> My issue is I want to load Youtube video's onto the plane with  
>> controls and
>> all. I have the Youtube video loading into a MovieClip no problem.  
>> After
>> adding it to my MoveClipMaterial I see the video and plane for a  
>> second and
>> then it disappears. I am thinking that because it is animated we  
>> may need to
>> be calling updateBitmap() on each frame? But I briefly tried this  
>> yesterday
>> with no results. Are you seeing the video content briefly?
>>
>> Thanks.
>>
>> Nick Selvaggio
>> nickgs1 at gmail.com
>> www.nickgs.com
>> (631) 872-1367
>>
>>
>> On Sat, Apr 18, 2009 at 7:03 AM, Stuart Gordon <sav1uk at hotmail.com>  
>> wrote:
>>
>>> Hi There,
>>> I am trying to stream video into a plane, is this a simple  
>>> process?  I am
>>> using MovieMaterial with the video streamed into a container movie  
>>> clip.
>>>
>>> All the streaming works, there are no coding errors, when the  
>>> script is
>>> executed the video seems active with the sound coming through, but  
>>> no video
>>> image?  It doesn't seem to be adding the plane,  when i set the  
>>> transparency
>>> to false to see the plane on screen, nothing. Again no errors  
>>> generated
>>>
>>> Any Ideas!!!  Its doing my head in...
>>>
>>> Cheers
>>>
>>> Stu
>>>
>>> ------------------------------
>>> Windows Live Messenger just got better. Find out more!<http://clk.atdmt.com/UKM/go/134665230/direct/01/ 
>>> >
>>>
>>> _______________________________________________
>>> Papervision3D mailing list
>>> Papervision3D at osflash.org
>>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>>
>>>
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
>>
>
>
> -- 
>
> Atenciosamente, Cordially
>
> Junio Vitorino
> jgvitorino at gmail.com
> http://www.lamiscela.net
> http://www.juniovitorino.com
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090418/ec1d510b/attachment-0001.html 
> >
>
> ------------------------------
>
> Message: 2
> Date: Sat, 18 Apr 2009 15:02:02 +0000
> From: Stuart Gordon <sav1uk at hotmail.com>
> Subject: Re: [Papervision3D] streaming video...
> To: <papervision3d at osflash.org>
> Message-ID: <BAY102-W27956E53A619108C2518F284780 at phx.gbl>
> Content-Type: text/plain; charset="windows-1252"
>
>
>
> Thanks Guys
>
>
>
> i am gonna try VideoMovieMaterial i've also been advised to try  
> BitmapMaterial as well.  I'll let you know how it goes!
>
>
>
> Cheers
>
>
>
> Stu
>
> From: sav1uk at hotmail.com
> To: papervision3d at osflash.org
> Date: Sat, 18 Apr 2009 11:03:10 +0000
> Subject: [Papervision3D] streaming video...
>
>
>
>
>
>
>
>
> Hi There,
> I am trying to stream video into a plane, is this a simple process?   
> I am using MovieMaterial with the video streamed into a container  
> movie clip.
> All the streaming works, there are no coding errors, when the script  
> is executed the video seems active with the sound coming through,  
> but no video image?  It doesn't seem to be adding the plane,  when i  
> set the transparency to false to see the plane on screen, nothing.  
> Again no errors generated
> Any Ideas!!!  Its doing my head in...
> Cheers
> Stu
> Windows Live Messenger just got better. Find out more!
> _________________________________________________________________
> Share your photos with Windows Live Photos ? Free.
> http://clk.atdmt.com/UKM/go/134665338/direct/01/
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090418/0ff5794a/attachment-0001.html 
> >
>
> ------------------------------
>
> Message: 3
> Date: Sat, 18 Apr 2009 17:41:35 +0200
> From: Paul Tondeur <paul at paultondeur.nl>
> Subject: Re: [Papervision3D] streaming video...
> To: papervision3d at osflash.org
> Message-ID: <730634AF-C12B-448A-9F12-9D87A58EFBCD at paultondeur.nl>
> Content-Type: text/plain; charset="windows-1252"; Format="flowed";
> 	DelSp="yes"
>
> Could you send the code that you use? It should work with both
> VideoStreamMaterial and MovieMaterial.
>
> Have you also tried using a WireframeMaterial, to be sure you've added
> your plane and camera correctly to the scene.
>
> Beside, which tool did you use to publish your code? I've seen some
> issues with people trying to play an h264 stream, while working in an
> early not updated version of Flash CS3, which has only the right audio
> codec but not the video codec.
>
> Paul
>
> On Apr 18, 2009, at 5:02 PM, Stuart Gordon wrote:
>
>>
>> Thanks Guys
>>
>> i am gonna try VideoMovieMaterial i've also been advised to try
>> BitmapMaterial as well.  I'll let you know how it goes!
>>
>> Cheers
>>
>> Stu
>>
>> From: sav1uk at hotmail.com
>> To: papervision3d at osflash.org
>> Date: Sat, 18 Apr 2009 11:03:10 +0000
>> Subject: [Papervision3D] streaming video...
>>
>> Hi There,
>>
>> I am trying to stream video into a plane, is this a simple process?
>> I am using MovieMaterial with the video streamed into a container
>> movie clip.
>>
>> All the streaming works, there are no coding errors, when the script
>> is executed the video seems active with the sound coming through,
>> but no video image?  It doesn't seem to be adding the plane,  when i
>> set the transparency to false to see the plane on screen, nothing.
>> Again no errors generated
>>
>> Any Ideas!!!  Its doing my head in...
>>
>> Cheers
>>
>> Stu
>>
>> Windows Live Messenger just got better. Find out more!
>> Share your photos with Windows Live Photos ? Free. Try it Now!
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090418/5f72ed1e/attachment-0001.html 
> >
>
> ------------------------------
>
> Message: 4
> Date: Sat, 18 Apr 2009 17:41:54 +0200
> From: fredfoc <contact at fredfoc.com>
> Subject: Re: [Papervision3D] streaming video...
> To: papervision3d at osflash.org
> Message-ID: <49E9F4C2.5030407 at fredfoc.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> As said before if the videos are not in the same sandbox and that the
> other server doesn't have any policy file that allow your domain to  
> get
> the content then the material can not draw the videos and so can't
> render anything. This is why you get those black plane. I know youtube
> as something in his API that enebales you to integrate this policyfile
> but never tested it.
> Fred
>
> Nick Selvaggio a ?crit :
>> This post came at a perfect time! I am currently working in the same
>> problem. I think for a steaming .flv files you have on your web  
>> server
>> VideoMovieMaterial is your tool of choice. There is alot of  
>> examples out
>> there of using that but as Paul mentioned you will have to  
>> implement your
>> own controls.
>>
>> My issue is I want to load Youtube video's onto the plane with  
>> controls and
>> all. I have the Youtube video loading into a MovieClip no problem.  
>> After
>> adding it to my MoveClipMaterial I see the video and plane for a  
>> second and
>> then it disappears. I am thinking that because it is animated we  
>> may need to
>> be calling updateBitmap() on each frame? But I briefly tried this  
>> yesterday
>> with no results. Are you seeing the video content briefly?
>>
>> Thanks.
>>
>> Nick Selvaggio
>> nickgs1 at gmail.com
>> www.nickgs.com
>> (631) 872-1367
>>
>>
>> On Sat, Apr 18, 2009 at 7:03 AM, Stuart Gordon <sav1uk at hotmail.com>  
>> wrote:
>>
>>
>>> Hi There,
>>> I am trying to stream video into a plane, is this a simple  
>>> process?  I am
>>> using MovieMaterial with the video streamed into a container movie  
>>> clip.
>>>
>>> All the streaming works, there are no coding errors, when the  
>>> script is
>>> executed the video seems active with the sound coming through, but  
>>> no video
>>> image?  It doesn't seem to be adding the plane,  when i set the  
>>> transparency
>>> to false to see the plane on screen, nothing. Again no errors  
>>> generated
>>>
>>> Any Ideas!!!  Its doing my head in...
>>>
>>> Cheers
>>>
>>> Stu
>>>
>>> ------------------------------
>>> Windows Live Messenger just got better. Find out more!<http://clk.atdmt.com/UKM/go/134665230/direct/01/ 
>>> >
>>>
>>> _______________________________________________
>>> Papervision3D mailing list
>>> Papervision3D at osflash.org
>>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>>
>>>
>>>
>>
>>
>>
>> __________ Information provenant d'ESET NOD32 Antivirus, version de  
>> la base des signatures de virus 4009 (20090415) __________
>>
>> Le message a ?t? v?rifi? par ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
>>
>>
>> __________ Information provenant d'ESET NOD32 Antivirus, version de  
>> la base des signatures de virus 4009 (20090415) __________
>>
>> Le message a ?t? v?rifi? par ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Sat, 18 Apr 2009 17:49:01 +0200
> From: Paul Tondeur <paul at paultondeur.nl>
> Subject: Re: [Papervision3D] EnvMapShader and UV map
> To: PV3D <papervision3d at osflash.org>
> Message-ID: <7080AAB9-1DEA-40FF-8864-0495192423A6 at paultondeur.nl>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed";
> 	DelSp="yes"
>
> Hi Junio,
>
> Thanks for your tip. I've tried changing the camera to several
> positions, so that the angle between the object and camera would
> change. Unfortunately the same behaviour occurs.
>
> Paul
>
> On Apr 18, 2009, at 4:41 PM, Junio Gon?alves Vitorino wrote:
>
>> Hi Paul, i'm not very sure for affirm nothing, but analyzing both
>> models (teapot and sphere), i could perceive than in teapot the
>> rotation can be happening of this way, by cause of angle of the
>> camera, i had a similar problem with planes in past, and i fix this
>> changing the camera position, when some planes were in rotation. How
>> told you, maybe your problem could be more complex, but is just a
>> thought than maybe can be useful.
>>
>> Cheers.
>>
>> On Sat, Apr 18, 2009 at 9:22 AM, Paul Tondeur <paul at paultondeur.nl>
>> wrote:
>> I'm still wondering if anybody recognizes this problem and if there
>> are workarounds/best practices to get around this.
>>
>> Thanks in advance,
>>
>> Paul
>>
>>
>> On Apr 17, 2009, at 1:16 AM, Paul Tondeur wrote:
>>
>> Hi,
>>
>> As it seems right now, Papervision3D is having difficulties when
>> using an external model with an UV map. While rotating my model
>> around it's Y axis, the reflection map sometimes rotates. Most of
>> the time that happens just a little bit, but at some angles this
>> happens at high speed. To get an idea of this problem I've posted a
>> demo file online: http://www.paultondeur.com/demos/EnvMapShaderUVProblem/
>> The sphere in this example works fine, so I'm pretty sure it has to
>> be something related to the used UV map.
>>
>> So could anybody confirm that using a UV map might lead to this kind
>> of problem? And, is there some advice how to get around this?
>>
>> Thanks,
>>
>> Paul
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
>>
>>
>> -- 
>>
>> Atenciosamente, Cordially
>>
>> Junio Vitorino
>> jgvitorino at gmail.com
>> http://www.lamiscela.net
>> http://www.juniovitorino.com
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090418/b04c4c9e/attachment.html 
> >
>
> ------------------------------
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
> End of Papervision3D Digest, Vol 31, Issue 62
> *********************************************

MARTIAL GEOFFRE ROULAND
WWW.164-PROD.COM/blog
C/Gravina nº10 - 2-1a - Barcelona
Móvil: +34 687 119 187







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090418/b8a275b9/attachment-0001.html>


More information about the Papervision3D mailing list