-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant send Videos.. May wrong ffvideo Version? #1673
Comments
Now, DownloadableMadia use fromBuilder() functions instead. So we need to adapt https://github.com/tgalal/yowsup/blob/master/yowsup/layers/protocol_media/protocolentities/message_media_downloadable_video.py to something like https://github.com/tgalal/yowsup/blob/master/yowsup/layers/protocol_media/protocolentities/message_media_downloadable_image.py |
If I'm not wrong @tanquetav did so in pull request #1564. But this one is open since 2 May... |
please help :) ERROR:yowsup.common.optionalmodules:ffvideo import failedpp.net, 1% |
Please read "BottomNews: Errors" and look at the changed code. |
this worked , thanx !! |
Hey guys. If i'll send a video, i get this error:
`[INFO][2016-07-02 17:54:14,816] [Upload progress]3a23afcfef08bfae95f19691df221e25.mp4 => 49************@s.whatsapp.net, 100%
optionalmodules.py [ERROR][2016-07-02 17:54:14,832] ffvideo import failed
mediauploader.py [ERROR][2016-07-02 17:54:14,832] Error occured at transfer type object DownloadableMediaMessageProtocolEntity' has no attribute 'fromFilePath'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/protocol_media/mediauploader.py", line 138, in run
self.successCallback(sourcePath, self.jid, result["url"])
File "/home/whatsapp/src/utils/media_sender.py", line 91, in
caption)
File "/home/whatsapp/src/utils/media_sender.py", line 105, in _do_send_file
entity = VideoDownloadableMediaMessageProtocolEntity.fromFilePath(file_path, url, self.MEDIA_TYPE, ip, to)
File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/protocol_media/protocolentities/message_media_downloadable_video.py", line 134, in fromFilePath
entity = DownloadableMediaMessageProtocolEntity.fromFilePath(path, url, DownloadableMediaMessageProtocolEntity.MEDIA_TYPE_VIDEO, ip, to, mimeType, preview)
AttributeError: type object 'DownloadableMediaMessageProtocolEntity' has no attribute 'fromFilePath'
`
I used
pip install ffvideo
but still get this Message.The text was updated successfully, but these errors were encountered: