3 ms·
Twitter regularly changes the location of source videos because as X they now charge for the ability to download them directly. I've also noticed on iOS, if you
by longtimelistnr 2y ago
Twitter regularly changes the location of source videos because as X they now charge for the ability to download them directly. I've also noticed on iOS, if you attempt to screen record a video the app essentially crashes or glitches the video player.
- rozap 2y agoAs with many things, the solution is ffmpeg. After I got that upsell thing when I tried to download a video about a week ago, I found the correct ffmpeg incantation, mostly out of spite for Twitter. If you find the m3u8 request in devtools on a tweet, you can use something like the following: ffmpeg -i 'https://video.twimg.com/ext_tw_video/1846357395959615488/pu/pl/ecNx-sTzYA9doHYO.m3u8' -analyzeduration 5G -codec:a libmp3lame -b:a 96k output.mp4 (if anyone runs that command...you're welcome for the meme, unfortunately I don't know where it came from)
- neckro23 2y agoYou probably get the same result in the end, but yt-dlp can also do this if you point it at the m3u8 file. (Actually I just checked and it also supports downloading Twitter videos directly.)