InDashPC.org Forum Index InDashPC.org
In Dash Car PC forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Get your video back after you have it as pictures

 
Post new topic   Reply to topic    InDashPC.org Forum Index -> Software -> PyMedia Tutorials
View previous topic :: View next topic  
Author Message
Nathanieljla



Joined: 12 Sep 2007
Posts: 4

PostPosted: Wed Sep 12, 2007 9:57 am    Post subject: Get your video back after you have it as pictures Reply with quote

I'm getting a typeError in "Get your video back after you have it as pictures" tutorial when trying to write the encoded info to file.

d= e.encode( yuvFrame )

fw.write( d )

TypeError: argument 1 must be string or read-only buffer, not pymedia.video.vcodec.VFrame
I'm using the 1.3.7.3 for python 2.5 which was compiled by someone here. ANyone else run into not being able to write out your d to file?
Or if someone's had success with the tutorial, what version of pyMedia were you using?

Thanks,
Nathaniel
Back to top
View user's profile Send private message
Nathanieljla



Joined: 12 Sep 2007
Posts: 4

PostPosted: Wed Sep 12, 2007 10:05 am    Post subject: Reply with quote

Ahhh. I found someone had a similar problem. It should be d.data, not d like written in the tutorial.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    InDashPC.org Forum Index -> Software -> PyMedia Tutorials All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group