QuantumBadger / QuantumBadger/RedReader
Gyfycat always opens mp4 even though it's largest option.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2.7k
- Forks
- 527
- Avg merge
- 20d 10h
- Merged PRs (30d)
- 3
Description
It's doing this for some reason that I don't understand. Yes the full size mp4 is ~3x the bitrate but this is a gif file that's being viewed the webm is more than enough for a 1280x720 screen plus the built in video player I imagine plays webm's just fine.
So if not possible to just do the webm make an option to chose default format for gyfycat as I don't have the time to sit around for a 10MB gif to download(yes it'sa video but still) for 15s of video.
tl;dr
15s of video for 10MiB is insane and isn't worth the wait time. Switch to webm as it's more than enough bitrate ~1.8Mb/s and this is a gif not a movie the whole point is to save download time not make it wait almost as long as gifs would have previously.
P.S.
The original gif is 12MB the mp4 is 10MB the webm meanwhile is 3.5MB
Here is another example.
https://gfycat.com/LargeLoneBlueandgoldmackaw
.gif is 5.4MB
.mp4 is 7.1MB
.webm is 3.4MB
here's yet one more
macarthur@sager-laptop:~$ youtube-dl -F https://gfycat.com/SentimentalSarcasticGaur
[Gfycat] SentimentalSarcasticGaur: Downloading video info
[info] Available formats for SentimentalSarcasticGaur:
format code extension resolution note
gif gif 2560x1440 60fps, 11.23MiB
webm webm 2560x1440 60fps, 14.40MiB
mp4 mp4 2560x1440 60fps, 35.96MiB (best)
that's an example of one where the resolution lies though I have manually downlaoded each of the files via my browser and the file sizes match up the gif though is only 445x240
the examples speak the truth when it comes to gfycat the mp4 is largest(always) webm is much smaller and almost usually smaller than the gif. I think I found a weird outlier but then again the mp4/webm is ~34 times as large in terms of pixels in the frames than the gif.
the webms are vp9 and I don't know if the redreader itself supports it but the webms do play
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating RedReader's Gfycat handling and checking how it selects and plays MP4, WebM, and GIF responses. Done means Gfycat content can use WebM by default, or users can choose the default format, without breaking playback.
Written by the indexing model from the issue text.
Assessment
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100