google / gif-for-cli

https://opensource.googleblog.com/2018/06/tenor-gif-for-cli.html
Apache License 2.0
2.93k stars 161 forks source link

--export does not work with local files #21

Open dtantsur opened 5 years ago

dtantsur commented 5 years ago

It seems to me that this should be possible:

$ gif-for-cli file://test.json --export test.gif
Processed 24/24 frames...
Exported to:
/home/dtantsur/test.gif

However, the resulting file has no relationship to test.json and is probably a trending gif on your website.

SeanHayes commented 5 years ago

We don't handle JSON input, we should probably output an error instead of using a trending GIF.

dtantsur commented 5 years ago

Oops, sorry. I think I saw you talking about gif-for-cli compatible with asciinema files, I guess I got you wrong. Anyway, I think the current behavior is wrong.