this post was submitted on 01 Jun 2026
25 points (93.1% liked)

Ask Lemmy

39804 readers
1199 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, toxicity and dog-whistling are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 3 years ago
MODERATORS
 

Any ideas how to do that, preferably in a GUI program? I'm not good at CLI or scripts.

CONTEXT

I uploaded a video in Matroska mkv format (~1gb) to Internet Archive. IA added its own converted mp4 of much lower video quality (~500mb) & that's the only video it will stream. The mkv only available by downloading.

As I'd prefer streaming availability, I used Handbrake (on Linux) to convert the mkv to mp4 myself, hoping to make a better quality mp4 that IA would stream.

Seems successful, plays fine locally, much better quality than IA's mp4, & smaller file size (~800mb) than original mkv.

But I can't upload it to IA as I get an error

There is a network problem

400 Bad Data

BadContent

Uploaded content is unacceptable.

Resource>video file has improper extension, try one of these: .mpv .mkv

you are viewing a single comment's thread
view the rest of the comments
[โ€“] IcedRaktajino@startrek.website 10 points 1 day ago (1 children)

I usually do everything from CLI.

Are you wanting to re-encode it to a different codec or just change the container from mkv to mp4?

To remux the file (change the container format), you can simply do:

# The -f mp4 is technically optional as it can deduce it from the extension, but I like to be explicit
ffmpeg -i file.mkv -f mp4 file.mp4

That should go very fast as it's just copying the streams as-is into a new container.

If you want to re-encode it to a different codec, then you'll need to use a more complex ffmpeg command.

[โ€“] SatyrSack@quokk.au 2 points 1 day ago

CLI can be scary, but this is such a simple command to run. It should not be too intimidating.

If someone really needs a GUI, I believe VLC's file conversion capability is basically just running an FFMPEG command like that in the background.