Giter Club home page Giter Club logo

inthistweet's Introduction

inthistweet

Open in StackBlitz Open with CodeSandbox Upvote on ProductHunt Follow on Twitter

in-this-tweet light logo in-this-tweet dark logo

✨ Futuristic ✨ twitter image, gif and video downloader. Enter a Tweet URL, click search, and download the image/videos in it to share, create a meme, and/or to store, the world is your oyester.

Note: You can download images and videos for gallary tweets, quote tweets, normal image and video posts and even the preview images for links, inthistweet.app can handle it all.

inthistweet.app

🚀 Project Structure

Inside of your Astro project, you'll see the following folders and files:

/
├── public/
│   ├── ...
│   └── favicon.svg
├── src/
│   ├── components/
│   │   └── search.svelte
│   ├── icons/
│   │   └── logo.svg
│   ├── layouts/
│   │   └── Layout.astro
│   ├── pages/
│   │   ├── api/
│   │   │   └── twitter.ts
│   │   └── index.astro
│   ├── scripts/
│   │   └── measure.ts
│   └── utils.ts
└── package.json

Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.

There's nothing special about src/components/, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.

Any static assets, like images, can be placed in the public/ directory.

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:3000
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro preview
npm run astro --help Get help using the Astro CLI

👀 Want to learn more?

Feel free to check out the Astro documentation or jump into our the Astro Discord server.

License

MIT - © 2022 Okiki Ojo

inthistweet's People

Contributors

okikio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

inthistweet's Issues

M3U8 to MP4 broken

.m3u8 files which I can convert with FFmpeg from the command line cannot be converted here. I'll add that they're from twitter and I actually had to prepend https://video.twimg.com before each link in the m3u8 file itself since it wouldn't work otherwise, but after that it works.

Example Link: https://video.twimg.com/dm_video/1764737084227534848/pl/avc1/720x1280/NpkjnUNEEYnrPQd3FtKKlbt0iRjzhtGqWnrknkvYjDE.m3u8?container=cmaf

FFmpeg playground does produce an output file, but it's a 262 byte file with a black screen when the input was a 32 second video. Here's my console log, which admittedly does not look super helpful. I have my own project which does the conversion correctly if you'd like to use my methods. I just don't have the time to go through this codebase and make the changes myself.

[fferr] [mov,mp4,m4a,3gp,3g2,mj2 @ 0x105c140] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none(tv), 720x1280): unspecified pixel format
ffmpeg.min.GWVwatVC.js:1 [fferr] Consider increasing the value for the 'analyzeduration' and 'probesize' options
ffmpeg.min.GWVwatVC.js:1 [fferr] Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.m3u8':
ffmpeg.min.GWVwatVC.js:1 [fferr]   Metadata:
ffmpeg.min.GWVwatVC.js:1 [fferr]     major_brand     : iso5
ffmpeg.min.GWVwatVC.js:1 [fferr]     minor_version   : 1
ffmpeg.min.GWVwatVC.js:1 [fferr]     compatible_brands: iso6iso5cmf2dash
ffmpeg.min.GWVwatVC.js:1 [fferr]     creation_time   : 2024-03-04T19:38:34.000000Z
ffmpeg.min.GWVwatVC.js:1 [fferr]     encoder         : GPAC-2.2.1-revrelease
ffmpeg.min.GWVwatVC.js:1 [fferr]   Duration: N/A, bitrate: N/A
ffmpeg.min.GWVwatVC.js:1 [fferr]     Stream #0:0(und): Video: h264 (avc1 / 0x31637661), none(tv), 720x1280, SAR 1:1 DAR 9:16, 9000k tbr, 9000k tbn, 18000k tbc (default)
ffmpeg.min.GWVwatVC.js:1 [fferr]     Metadata:
ffmpeg.min.GWVwatVC.js:1 [fferr]       handler_name    : Twitter-vork muxer
ffmpeg.min.GWVwatVC.js:1 [fferr] Output #0, mp4, to 'video.mp4':
ffmpeg.min.GWVwatVC.js:1 [fferr]   Metadata:
ffmpeg.min.GWVwatVC.js:1 [fferr]     major_brand     : iso5
ffmpeg.min.GWVwatVC.js:1 [fferr]     minor_version   : 1
ffmpeg.min.GWVwatVC.js:1 [fferr]     compatible_brands: iso6iso5cmf2dash
ffmpeg.min.GWVwatVC.js:1 [fferr]     encoder         : Lavf58.45.100
ffmpeg.min.GWVwatVC.js:1 [fferr]     Stream #0:0(und): Video: h264 (avc1 / 0x31637661), none(tv), 720x1280 [SAR 1:1 DAR 9:16], q=2-31, 9000k tbr, 9000k tbn, 9000k tbc (default)
ffmpeg.min.GWVwatVC.js:1 [fferr]     Metadata:
ffmpeg.min.GWVwatVC.js:1 [fferr]       handler_name    : Twitter-vork muxer
ffmpeg.min.GWVwatVC.js:1 [fferr] Stream mapping:
ffmpeg.min.GWVwatVC.js:1 [fferr]   Stream #0:0 -> #0:0 (copy)
ffmpeg.min.GWVwatVC.js:1 [fferr] frame=    0 fps=0.0 q=-1.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    
ffmpeg.min.GWVwatVC.js:1 [fferr] video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
ffmpeg.min.GWVwatVC.js:1 [ffout] FFMPEG_END
ffmpeg.min.GWVwatVC.js:1 [info] run FS.readFile video.mp4
ffmpeg.min.GWVwatVC.js:1 [Program terminated with exit(0)] undefined

Is this still working?

I went to the site and none of the samples work. All of them say "invalid url", can you confirm this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.