ChanServ changed the topic of #ffmpeg to: Welcome to the FFmpeg USER support channel | Development channel: #ffmpeg-devel | Bug reports: https://ffmpeg.org/bugreports.html | Wiki: https://trac.ffmpeg.org/ | This channel is publically logged | FFmpeg 7.1.1 is released
five618480339176 has quit [Ping timeout: 252 seconds]
shibboleth has quit [Quit: shibboleth]
halloy5771 has quit [Read error: Connection reset by peer]
simpl_e has quit [Ping timeout: 248 seconds]
jmcantrell has joined #ffmpeg
vincejv has quit [Ping timeout: 244 seconds]
prekk has quit []
vincejv has joined #ffmpeg
<JesusGod-Pope666>
Thought the new computer would do better in AVIF files.
<JesusGod-Pope666>
It is faster but.... It still takes long time.
<JesusGod-Pope666>
I was kinda to.....
<JesusGod-Pope666>
But overall it still takes time but okay.
<JesusGod-Pope666>
It is faster.
<JesusGod-Pope666>
I wonder, I guess the video compression will be heavy job.
<aaabbb>
avif uses av1 i-frames, and av1 is pretty slow
<JesusGod-Pope666>
Yes 32 threads working now on my new computer.
<JesusGod-Pope666>
Yea it sure take some time to encode.
<JesusGod-Pope666>
Decoding don't seem bad
<JesusGod-Pope666>
But the encoding is heavy
<JesusGod-Pope666>
Although not sure the computer is doing it's max here on linux
<JanC>
AV1 speed probably depends on availability of a hardware(-assisted) implementation also
<aaabbb>
i frames are intra-frames, the type of frames in a video that include the entire picture (as opposed to only encoding the difference between it and other frames)
<JesusGod-Pope666>
Roger aaabbb
<aaabbb>
usually there's an i frame every few hundred non-i frames. with avif, it's always an i frame, since it's a picture
<JesusGod-Pope666>
Yea not sure if one can use the graphic card to encode the images.
<JanC>
well, it's like a 1-frame video :)
<aaabbb>
graphics cards produce inferior encoding results than software
<JesusGod-Pope666>
Yea makes sense.
<JesusGod-Pope666>
aaabbb: roger
<JesusGod-Pope666>
Subtitles?
<aaabbb>
what about subtitles?
<JesusGod-Pope666>
I wonder if software or hardware is better but that is another branch
<aaabbb>
subtitles aren't handled by hardware
<aaabbb>
unless you mean burning subs onto a video using hardsubbing, in which case it's just encoding so hardware encoding is still inferior
<JanC>
well, they can be, in a way
<JesusGod-Pope666>
Well AI seems to be able to us it for making subtitles
<aaabbb>
well that's just hardware doing speech to text, that's different from subtitles
<JesusGod-Pope666>
Well I need to sort out some good settings for AVI to mp4 still the ball is up in the air on that. But AV1 and Opus Is my direction.
<aaabbb>
you should generally not be re-encoding unless you need to, or unless you have a mezzanine
<aaabbb>
but yes av1 and opus would be ideal in terms of maximizing compression efficiency
<JesusGod-Pope666>
Mezzanine?
<aaabbb>
a mezzanine, or intermediate, format is one which is super high bitrate, usually i-frame only, and is used for editing and raw capturing
<aaabbb>
like prores and dnxhd
<JesusGod-Pope666>
Well if AV1 is going to do the same as the images it might lift it up with the right settings.
<aaabbb>
it's meant to be super fast when seeking, super high quality, super fast to encode and decode, and resistant to generation loss
<aaabbb>
av1 can never improve something, it can only minimize the damage
<JesusGod-Pope666>
I'll take the 50% slimming even with some quality loss.
<aaabbb>
that's fair, but generally it's better to just have a bigger drive, at least if you're removing the originals
<JesusGod-Pope666>
Website.
<aaabbb>
if you re-encode i would suggest svt-av1-psy at preset 3 or 4
<JesusGod-Pope666>
Ffmpeg?
<aaabbb>
ffmpeg can use the svt-av1-psy library. you can either build it like that, or download a pre-build version with it
<aaabbb>
by default ffmpeg only uses regular svt-av1 without svt-av1-psy. the latter has some psychovisual improvements as well as much better defaults (the former has crappy defaults)
<JesusGod-Pope666>
Okay
<aaabbb>
the -psy fork does enable-qm by default for example, also variance boost, and has an improved tune based on ssim
<aaabbb>
it's made by some svt-av1 devs, and is basically a staging ground for superior psychovisual improvements
<JesusGod-Pope666>
I will need to make some test
<aaabbb>
testing is difficult, because you need to turn off most psychovisual optimizations to use test methodology like psnr or ssim
<aaabbb>
but -psy is definitely superior
cryptic has joined #ffmpeg
minimal has quit [Quit: Leaving]
halloy5771 has joined #ffmpeg
vincejv- has joined #ffmpeg
vincejv has quit [Ping timeout: 268 seconds]
vincejv- is now known as vincejv
maxim_d33 has quit [Ping timeout: 260 seconds]
maxim_d33 has joined #ffmpeg
JesusGod-Pope666 has quit [Ping timeout: 276 seconds]
damian101_ has joined #ffmpeg
down200 has quit [Ping timeout: 276 seconds]
down200- has joined #ffmpeg
cantelope has quit [Quit: Connection closed for inactivity]
damian101 has quit [Ping timeout: 272 seconds]
damian101__ has joined #ffmpeg
Fiji_ has quit [Ping timeout: 260 seconds]
damian101_ has quit [Ping timeout: 244 seconds]
damian101 has joined #ffmpeg
damian101__ has quit [Ping timeout: 244 seconds]
blb has joined #ffmpeg
halloy5771 has quit [Read error: Connection reset by peer]
<johnjaye>
is there a distinction between reencoding from hevc to hevc vs from hevc to libx264?
<johnjaye>
or in both cases there is loss from transcoding?
<furq>
there is always loss from transcoding
<johnjaye>
and using something like ffmpeg -i file.mp4 -ss 5 -t 5 -c:v copy out.mp4 isn't reliable to prevent it? i think it loses frames
<furq>
with -c copy you should see Stream #0:0 -> #0:0 (copy)
<johnjaye>
ah ok. i thought if i did a -ss/-t combo with -c copy it would drop some frames or something bad
<furq>
but you can only cut a video stream on keyframes when copying
<johnjaye>
arrrrrrgh
<johnjaye>
ok.
<johnjaye>
thanks that clears it up
<furq>
so it might drop or gain frames at the start or end
<furq>
if you're not copying then there's no benefit to using the same codec, it won't magically detect settings from the input stream etc
<johnjaye>
right. by the way is there only a single x265 encoder? there's a stackoverflow answer i got on google talking about ancient ffmpeg version where there were multiple ones
<furq>
well there are several but x265 is the only software one
<furq>
i don't think any other software hevc encoder is worth bothering with
<johnjaye>
ok
<furq>
the only reason there's more than one h264 encoder is because openh264 is royalty-free
<furq>
it's nowhere near as good as x264 by any metric
<JesusGod-Pope666>
Give me the options for AV1?
minimal has joined #ffmpeg
<iconoclasthero>
I'm trying to split files in a bash script (with some python FP math):
<iconoclasthero>
ffmpeg fails when "$m4bin" contains a colon (or an equals) and neither using "${m4bin@Q}" nor m4bin="${m4bin//:/\\:}" worked... any other suggestions short of renaming the file.
Teraii has joined #ffmpeg
foamy has quit [Ping timeout: 248 seconds]
snek has quit [Ping timeout: 248 seconds]
Evil-Bob has quit [Ping timeout: 248 seconds]
englishm has quit [Ping timeout: 268 seconds]
Ekho has quit [Ping timeout: 252 seconds]
DauntlessOne496 has joined #ffmpeg
Teraii has quit [Read error: Connection reset by peer]
DauntlessOne49 has quit [Ping timeout: 272 seconds]
DauntlessOne496 is now known as DauntlessOne49
<another|>
file:$filename
Evil-Bob has joined #ffmpeg
englishm has joined #ffmpeg
Teraii has joined #ffmpeg
snek has joined #ffmpeg
<another|>
ref: ffmpeg-protocols(1)
<furq>
i don't know why files with = wouldn't work
<furq>
also if you're trying to split by chapter then probably just use mkvmerge --split chapters:all and then remux back to m4a if you need to
Ekho has joined #ffmpeg
EmleyMoor has joined #ffmpeg
<iconoclasthero>
They're being split to convert to opus. I was trying to limit the number of utilities required for this by using ffmpeg to split...
<iconoclasthero>
Also, this is for unindexed m4bs which will be split into n=<threads> pieces.
Shuriko has quit [Ping timeout: 248 seconds]
furq has quit [Read error: Connection reset by peer]
kylophone has quit [Ping timeout: 268 seconds]
furq has joined #ffmpeg
CheckMyBrain has quit [Ping timeout: 268 seconds]
astlep5504018066 has quit [Read error: Connection reset by peer]
<iconoclasthero>
thanks @another| file:"$m4bin" worked (though somewhat unexpectedly, file:"${m4bin@Q}" didn't)
sdc has quit [Ping timeout: 272 seconds]
meinside has joined #ffmpeg
sam113101 has quit [Read error: Connection reset by peer]
natto17 has joined #ffmpeg
foamy has joined #ffmpeg
ossifrage has quit [Ping timeout: 276 seconds]
anticw has quit [Ping timeout: 276 seconds]
HarshK23 has quit [Ping timeout: 248 seconds]
anticw has joined #ffmpeg
sm1999 has quit [Ping timeout: 252 seconds]
sdc has joined #ffmpeg
foul_owl has quit [Ping timeout: 276 seconds]
cantelope has joined #ffmpeg
kilobyte_ch has quit [Ping timeout: 272 seconds]
mindfreeze has joined #ffmpeg
sam113101 has joined #ffmpeg
Kobaz has joined #ffmpeg
sm1999 has joined #ffmpeg
kilobyte_ch has joined #ffmpeg
realies9 has quit [Ping timeout: 248 seconds]
realies9 has joined #ffmpeg
ndufresne has joined #ffmpeg
astlep5504018066 has joined #ffmpeg
csavinovich_ has joined #ffmpeg
<another|>
yes, because you're quoting an already quoted argument
Traneptora has joined #ffmpeg
low-key has joined #ffmpeg
bertieb has joined #ffmpeg
foul_owl has joined #ffmpeg
HarshK23 has joined #ffmpeg
<iconoclasthero>
i'd thought about that and tried it without the 2x quotes around the {} but it still didn't work. oh well, i've got something that does and that satisfices.
lavaball has joined #ffmpeg
Krusher has quit [Read error: Connection reset by peer]
fling has quit [Remote host closed the connection]
fling has joined #ffmpeg
manwithluck has joined #ffmpeg
devinheitmueller has joined #ffmpeg
luva has quit [Quit: Ping timeout (120 seconds)]
luva has joined #ffmpeg
<johnjaye>
will having different number of audio channels affect a concat operation of 2 files? one has 6 channels. it says 5.1 in the output
<johnjaye>
apparently it's unsupported. hrm
<johnjaye>
i guess -ac 2 is pretty smart. i don't hear any difference
relue has joined #ffmpeg
minimal has quit [Read error: Connection reset by peer]
minimal has joined #ffmpeg
devinheitmueller has quit [Quit: devinheitmueller]
devinheitmueller has joined #ffmpeg
devinheitmueller has quit [Ping timeout: 276 seconds]
devinheitmueller has joined #ffmpeg
microlappy has joined #ffmpeg
microlappy has quit [Quit: Konversation terminated!]
jmcantrell has joined #ffmpeg
user_oreloznog has quit [Ping timeout: 244 seconds]
relue has quit [Read error: Connection reset by peer]
user_oreloznog has joined #ffmpeg
relue has joined #ffmpeg
minimal has quit [Read error: Connection reset by peer]
minimal has joined #ffmpeg
Shuriko has joined #ffmpeg
YuGiOhJCJ has joined #ffmpeg
Shine_ has quit [Read error: Connection reset by peer]
wobbol has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
HarshK23 has quit [Quit: Connection closed for inactivity]