⚠️ De site vereist een werkende browser met JavaScript & DOM-ondersteuning voor het beste resultaat.

How to convert .mkv to .mp4 that Internet Archive will accept & stream?

#1 klu9
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



😎
#2 IcedRaktajino
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:

```bash
# 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.
#3 akunohana
Afbeelding
#4 zabadoh
Not necessarily, but it does require a lot of computing power to decode in real time.

But good point, h.265 encoded video is not accessible for much of the world.
#5 solrize
You can do it with ffmpeg (CLI) and I can give you the incantation for that if you want, but the IA's transcoding pipeline should really do it automatically and I'm surprised if it doesn't do it already. I wonder if it's supposed to and something is going wrong. I assume you used .mkv extension and still got that error. So that sounds like a bug. Otherwise, try renaming the file and re-uploading.

If it's a bug, you could try contacting the IA and asking what's up. They do read the emails they get, though obviously a software fix is likely to take a while if they pursue it. 🔗https://archive.org/about/contact
#6 zabadoh
According to: 🔗https://help.archive.org/help/movies-and-videos-a-basic-guide/

What encoding specifications are best for .mp4 files?


For your original mp4 to work in the online player we currently require the file to have:

audio: aac
video: h.264
moov atom: front
pixel format: yuv420p

FFS, they're not even on h.265 yet. Ugh.
#7 SatyrSack
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.
#8 Kolanaki
I am not sure file formats are like religions. I mean, some of them are cross compatible. Totally unlike religion.
#9 akunohana
![mUzJZ5xfnU7iNF1.webp](https://piefed.cdn.blahaj.zone/posts/mU/zJ/mUzJZ5xfnU7iNF1.webp)
#10 zabadoh
According to: https://help.archive.org/help/movies-and-videos-a-basic-guide/

> What encoding specifications are best for .mp4 files?

> For your original mp4 to work in the online player we currently require the file to have:
audio: aac
video: h.264
moov atom: front
pixel format: yuv420p

FFS, they're not even on h.265 yet. Ugh.

🔗 Related topics

spacer
Shoutbox 0
💬 Shoutbox
Mayumi: Very nice, daddy!
webmastahh: From now on, this website is expanding to an international audience!! 🙂😄
Webmastahhh: Joined a random match in krunker, got destroyed instantly, left
Webmastahhh: “just one match”... 3 hours later. 🙁
Webmastahhh: So I’ve got Paralives, new James Bond, No Man’s Sky and Final Fantasy XIV on my list…What should I start with first?
Webmastahhh: Stay cool, stay hydrated, and keep stacking those wins. Whether you're chilling in the shade or battling online, today is a perfect day to game! ️Who's playing right now?
beep: PlayStation had decided that you can't play your purchased games offline and Xbox is deep in it's enshittification. Quick somebody call an ambulance!
The Picard Maneuver: People are saying not enough eyes either. Sad.
7101334: What happened to good destruction-physics focused games?
CaptainBasculin: A really creative way to ask getting into a playtest
ragingHungryPanda: My friend said this yesterday, so I made it a meme
cannedtuna: Just got my first Steam Machine and I’m excited to try it out. Just love that clear purple casing.
The Picard Maneuver: The horror!
The Picard Maneuver: Problem solved
Steelkrill Studio: I’m a solo developer creating a detective horror game where you search for victims by a boat, inspired by the real-life Island of the Dolls in Mexico. I’d really appreciate any feedback!
cannedtuna: The bestest boy will always be by your side. ALWAYS.
Paradachshund: With as few spoilers as possible, how early access is subnautica 2?
QuentinCallaghan: The Original Doom Soundtrack Is Officially In The Library Of Congress
cannedtuna: Publisher CEO for Subnautica asked ChatGPT how to avoid paying out bonuses

250 tekens over
smile grin sad wink tongue out surprised confused laughing XD heart
🏠 Start 👾 News 💾 Downloads 💬 Community Profile Profile