is there any way to attach an audio to an image without re-encoding either

no matter what i do, the image goes fuzzy when i put an audio on it. anyone know how to make either shotcut or kdenlive output losslessly and in a 1:1 ratio. sorry i know this sounds dumb but im trying

23 points · 11 comments · view on lemmy.world

11 Comments

db2@lemmy.world · 34 pts · 2y (2 replies)

Use ffmpeg, -acodec copy -vcodec copy

pixelscience@sh.itjust.works · 18 pts · 2y (1 reply)

This is the way if you want to ensure your video is 100% untouched.

cypherpunks@lemmy.ml · 0 pts · 2y

gila@lemm.ee · 5 pts · 2y (1 reply)

mkvtoolnix-gui

lx_linux@mastodon.social · 1 pts · 2y

@gila @jackpot so cool mkvtoolnix.

gnuhaut@lemmy.ml · 3 pts · 2y (3 replies)

Haven't tried it myself, but there's lossless-cut:

https://github.com/mifi/lossless-cut

SteveTech@programming.dev · 2 pts · 2y

I believe avidemux will work for OP (with replacing audio), and it's what I normally use (usually only for cutting though), but lossless-cut does look way more featureful.

jackpot@lemmy.ml · 0 pts · 2y (1 reply)

is that for only trimming?

gnuhaut@lemmy.ml · 4 pts · 2y

No. It says right there on the github, it can do all sorts of stuff. It can replace audio tracks.

yardy_sardley@lemmy.ca · 2 pts · 2y

Depending what format of audio, you can embed the image into the metadata

LaggyKar@programming.dev · 2 pts · 2y

What do you mean by "attach an audio to an image"?