vysheng / tg

telegram-cli
GNU General Public License v2.0
6.48k stars 1.53k forks source link

mp4 to gif converter??? #943

Open admoure opened 8 years ago

admoure commented 8 years ago

Recently, videos in mp4 format that I usually send from a lua script with 'send_video(...)' function, arrive converted to an animated gif. How can I avoid this?.

ingria commented 8 years ago

You can use send_document() instead.

admoure commented 8 years ago

It doesn't work. Sometimes it sends a video and sometimes sends an animated gif. I think it could be because of the size of the file, if the video is small (less than 1MB) it sends an animated gif but if it is a larger video it sends the mp4 file.

Lotykun commented 7 years ago

Is there any solution about this?? I have the same problem. Where is the file in which is defined the size limit for turning into a gif file, as has mentioned admoure?

Thanks