FedStoa / moa

A Mastodon, Twitter, and Instagram Cross-poster
https://moa.party
MIT License
356 stars 19 forks source link

Mastodon GIF --> Twitter doesn't work #113

Closed alexgleason closed 5 years ago

alexgleason commented 5 years ago

I uploaded a webm to Mastodon. The webm had no audio, so Mastodon converted it into a GIF.

With Moa hooked up, the video doesn't show on Twitter. The post text and hashtags do, but not the video.

alexgleason commented 5 years ago

I tried an .mp4 with audio this time. It showed up as a video both on Mastodon and on Twitter.

This issue only affects videos without audio.

foozmeat commented 5 years ago

Thanks, I appreciate the followup. I'll try to look into this soon.

foozmeat commented 5 years ago

@alexgleason Would you be able to provide a link to the webm file that you used above?

alexgleason commented 5 years ago

Sure, here's a public link: https://matrix.org/_matrix/media/v1/download/matrix.org/CgPDvkZDmoAPHSDttwzyXukP

The original filename is Screencast from 2019-04-30 12.09.39.webm

foozmeat commented 5 years ago

There's seems to be several potential problems with video cross-posting

In your masto post it's labeled as a GIF but the video location is still webm which makes me wonder if it's a bug in the masto video player. It would explain why it didn't cross-post.

foozmeat commented 5 years ago

I think I'll have to use ffmpeg to convert webm to mp4 if its detected.

foozmeat commented 5 years ago

webms should should be working now