Hi again,
I managed to use the avfoundation plugin, everything seems to work fine but I 
have an issue with a video that was recorded using an iPhone (portrait mode): 
when it is played on a texture, it is rotated by 90 degrees. That same video is 
not rotated if I play it for example on a PC or Mac using other plugins 
different than avfoundation (in particular the quicktime plugin)...other movies 
downloaded from the web are not rotated, as well as any movie recorded by the 
iPhone in landscape mode.

I guess that AVFoundation can find out that the video should be played 
'vertically' so it rotates it automatically (indeed it is played correctly by 
QuickTime on my Mac) and this should be the correct behavior also if playing in 
a media player on iOS, but what do you think the correct behavior should be 
when the movie is applied to a 3D plane as a texture? Just let AVFoundation 
rotate the video or not? If yes, is there a way to avoid this (for instance by 
querying the movie file, just guessing...)?

Thanks.
Alessandro

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51858#51858





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to