Hi,
I downloaded the "recompose video" file on the website. When i launch
it, i get the following message:
$ ./recompose_video.py %d.bmp windu.avi mpeg1video
open /dev/sequencer: No such file or directory
1.bmp
Setting codec to {'bitrate': 2700000, 'gop_size': 12,
'frame_rate_base': 125, 'max_b_frames': 0, 'height': 288, 'width': 384,
'frame_rate': 2997, 'deinterlace': 0, 'type': 0, 'id': 1}
***<type 'pymedia.video.vcodec.VFrame'>***
Traceback (most recent call last):
File "./recompose_video.py", line 63, in ?
makeVideo( sys.argv[ 1 ], sys.argv[ 2 ], sys.argv[ 3 ] )
File "./recompose_video.py", line 49, in makeVideo
fw.write( d )
TypeError: argument 1 must be string or read-only buffer, not
pymedia.video.vcodec.VFrame
Well, the "d" var is a vcodec.Encoder.encode(vcodec.VFrame). So
according to the documentation, it should be an encoded string....
But it seems not, as the printing of the type (line between "***"
above) confirms it.
So..any help might be useful.
Thanks, Francois.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pymedia-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pymedia-users