Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clip videos are too large to share to Mastodon #2641

Open
1 task done
quinncomendant opened this issue Jan 15, 2025 · 0 comments
Open
1 task done

Clip videos are too large to share to Mastodon #2641

quinncomendant opened this issue Jan 15, 2025 · 0 comments
Labels
clip sharing Issues related to clip sharing feature [Type] Bug Used for issues where something is not functioning as intended.

Comments

@quinncomendant
Copy link

Description

I tried to Share a Clip to Mastodon that is 3m31s long; the Mastodon server rejected the post with a HTTP error code 413 request too large:

Image

The video file created is 116 MB, which is more than the 99 MB limit of the mastodon.social server. This is a huge file, considering the size of the entire original audio file is only 3.3 MB. 😞

The output video from Pocket Casts is a H.264 video with a 4091 kb/s bitrate + AAC audio with 246 kb/s bitrate.

I experimented with recompressing the output video from Pocket Casts and was able to maintain the same quality with a 238 kb/s bitrate H.264 resulting in a total output file size of 10.1 MB. That's 9% the size of the file generated by Pocket Casts.

I suggest the easiest fix is just to use a lower bitrate on the video created to ensure the output is not more than 3 MB per minute.

Step-by-step reproduction instructions

  1. Create a 3m30s clip of the Techmeme Ride Home podcast.
  2. Try to share it to your account on mastodon.social.
  3. Get a 413 request too large error.
  4. Save the video file to, e.g., the Files app and see how freaking large it is.

Screenshots or screen recording

Here's the link to the clip delivered via the pocket casts web service:

https://pca.st/episode/66825708-0518-4b7c-a9bd-4166179e7ede?t=470.6866213151927,681.5384570670215

Did you search for existing bug reports?

  • I have searched for existing bug reports.

Device, Operating system, and Pocket Casts app version

iPhone 13 mini, iOS 18.2, Pocket Casts version 7.79.1.0.

Can someone please attach this image to the Reimagine Sharing Project #1910 task? Thanks!

@quinncomendant quinncomendant added the [Type] Bug Used for issues where something is not functioning as intended. label Jan 15, 2025
@danielebogo danielebogo added the clip sharing Issues related to clip sharing feature label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clip sharing Issues related to clip sharing feature [Type] Bug Used for issues where something is not functioning as intended.
Projects
None yet
Development

No branches or pull requests

2 participants