Tinos has quit [Remote host closed the connection]
Tinos has joined #ffmpeg
Vonter has quit [Ping timeout: 268 seconds]
rvalue has joined #ffmpeg
Vonter has joined #ffmpeg
MisterMinister has quit [Ping timeout: 268 seconds]
MisterMinister has joined #ffmpeg
iive has quit [Quit: They came for me...]
deetwelve has quit [Quit: null]
deetwelve has joined #ffmpeg
ivanich has quit [Remote host closed the connection]
e^pi-1 has joined #ffmpeg
xx has quit [Ping timeout: 260 seconds]
Tinos has quit [Ping timeout: 250 seconds]
e^pi-1 has quit [Quit: WeeChat 4.2.1]
e^pi-1 has joined #ffmpeg
evilscreww has joined #ffmpeg
evilscreww has quit [Ping timeout: 250 seconds]
evilscreww has joined #ffmpeg
<evilscreww>
aaabbb:
<evilscreww>
Converting from one lossy codec to another always loses data. They are not an evolution where you can apply better compression, they are completely different codec that work in very different ways. As a result the frames are completely decoded and then re-encoded. Converting from h.264 to h.265 will result in generation loss even if you try to keep the same "quality".
<evilscreww>
If you don't want to lose quality then leave your files as is. If you need better quality in a smaller size then you need to convert using higher quality original masters. You can change the container such as mkv or mp4 without losing data. If you are using a particularly inefficient container format then you might save a small amount of space that way, but it is going to be insignificant com
<evilscreww>
lossy -> lossy = lossy.
<aaabbb>
evilscreww: that's correct
<aaabbb>
this is why you should give youtube the highest quality master. they will keep it, and will transcode it into the best codec of the time. so if av2 replaces av1, they will not transcode from the av1 source, but will delete it and transcode again from the master
minimal has quit [Quit: Leaving]
<evilscreww>
quick vernacular check - transcode just means going from one codec to another right?
LimeOn has quit [Ping timeout: 252 seconds]
CoreX has quit [Ping timeout: 252 seconds]
CoreX has joined #ffmpeg
<evilscreww>
aaabbb: - wait a minute, do the youtube servers save everyones masters?
<evilscreww>
so if a better codec comes along 5 years from now it will re-code it
<evilscreww>
or is it our responsiblity to handle that side of things
<aaabbb>
evilscreww: the youtube servers save everyone's masters
<aaabbb>
then they use the content, resolution, quality, dimensions, and maybe other factors to determine how to encode it for distribution. and they encode it several times in several formats at several resolutions and bitrates so that it can optimally support all devices at any network speed
<aaabbb>
there is a trick to improve the 1080p quality of your 1080p video on youtube, by upscaling it. youtube is known to starve 1080p content of bitrate, so if you upscale it, the algorithm assumes you must have lots of detail that has to be preserved so when it downscales it to the 1080p version, it gives it a higher bitrate
luser1 has quit [Ping timeout: 252 seconds]
luser1 has joined #ffmpeg
<aaabbb>
so my recommendation if you are uploading a 1080p video to youtube from your phone: max out the quality, even though the compression efficiency will be crap. then use ffmpeg to upscale it but keep the bitrate ridiculously high (use a very low crf). this is not efficient and it bloats the filesize but there is minimal quality loss. then upload that to youtube
<ShaedS>
mamn I am having such a hard time with this basic funtion
<ShaedS>
i'm looking to just crop 35 px off the bottom of this video, and add a black bar at the top of 35px
<ShaedS>
can someone pelase help me with this syntax?
rvalue has quit [Ping timeout: 264 seconds]
<aaabbb>
ShaedS: i'm sure there's a more professional way, but what i would do is crop, and then generate a black 35px rectangle with the "color" filter and use vstack on it
whatsupdoc has quit [Quit: Connection closed for inactivity]
e^pi-1 has quit [Quit: WeeChat 4.2.1]
Tinos has quit [Remote host closed the connection]
Tinos has joined #ffmpeg
e^pi-1 has joined #ffmpeg
Vonter has quit [Ping timeout: 268 seconds]
Vonter has joined #ffmpeg
zumba_addict has quit [Ping timeout: 250 seconds]
<evilscreww>
13:17 <aaabbb> so my recommendation if you are uploading a 1080p video to youtube from your phone: max out the quality, even though the compression efficiency will be crap. then use ffmpeg to upscale it but keep the bitrate ridiculously high (use a very low crf). this is not efficient and it bloats the filesize but there is minimal quality loss. then upload that to youtube
<evilscreww>
thank you !
<evilscreww>
crf = constant rate factor
<aaabbb>
right
<evilscreww>
when i shoot on my phone i dont think there is such an option to change this however there are several other quality options such as hdr10, 4k etc
<evilscreww>
if there are any "open source" cameras for samsung, id be glad to hear suggestions
<evilscreww>
some pro cameras let you manipulate settings that are otherwise unchangeable and in fact on the s3 ultra edition i think you can change vfr to cfr
<aaabbb>
i have no idea if there are. if you want actual good quality then you'll want a dslr
<evilscreww>
aaabbb: btw, i know you dont use android, but there are several app store apps that use ffmpeg under the lesser GPL
<evilscreww>
in case you wanted to know
<evilscreww>
i have a dslr but its getting a bit long in the tooth
<evilscreww>
but it might be worth taking another look at it.
<aaabbb>
beware that there are always trade offs. going to 4k might reduce the quality of other things (might reduce bitrate, i know on some phones it goes from full colorspace to limited when you do 4k)
<evilscreww>
thats a point
<evilscreww>
so much to consider lol but yeh these manufacturers assume everyone is stupid and never tell anyone about these things
<evilscreww>
i have an app also that tells me the average bit rate
<evilscreww>
of my individual clips so i could just test
<evilscreww>
if the goal is to maintain the highest bit-rate possible
<aaabbb>
not the very highest possible, but keep it high because compression efficiency isn't the goal
<evilscreww>
fair call
AbleBacon has quit [Read error: Connection reset by peer]
<evilscreww>
i noticed youtube now has a new "1080p premium high bitrate" mode
<evilscreww>
that you need to pay for in some instances
<aaabbb>
that just gives you a higher bitrate encode. the upscaling trick is just a way to fool youtube into giving you slightly higher bitrate for free
hussein1 has quit [Remote host closed the connection]
hussein1 has joined #ffmpeg
<evilscreww>
oh i see. ill just have to look into methods of filming with a higher bitrate.
<evilscreww>
this app for android that can "merge" clips using ffmpeg, it doesnt work with all clips. im unsure what circumstances needs to be met for it to be able to lossless concat but it seems to have no apparent reason to me atm, but when i use ffmpeg on windows - it works just fine so long as the usual conditions are met.
<aaabbb>
if you're recording with your phone, you don't need to go crazy about quality. the point is just that you can use a higher bitrate to minimize generation loss
<aaabbb>
if you record in a mezzanine format like prores (which i think you can do with apple), then it will do that for you
<evilscreww>
oh ok. ill keep that in mind for whenever i get an apple device (never)
<evilscreww>
id love to know what ffmpeg CLI version can do with concat that the gui version seems to be unable - or struggle to do
<evilscreww>
and how it does it
<evilscreww>
when i use the gui version the clips need to be much more similar than the regular parameters like resolution/codec etc. i think the time-base needs to match too
<evilscreww>
aaabbb: - oh i forgot to ask another thing about youtube
<evilscreww>
is there some special information that needs to be placed at the head of the file instead of the end
<evilscreww>
to speed up the http request process
<aaabbb>
you mean faststart (moving the moov atom of an mp4 from the end to the front)? that's not necessary for youtube because they transcode anyway
<evilscreww>
understood
<evilscreww>
yeh i think its the moov atom or something
<evilscreww>
i read about it the other day when i was reading up on how to make a picture slideshow with ffmpeg
<evilscreww>
never knew about it till then.
<aaabbb>
it is data which is needed to decode the rest of the video. officially it's supposed to be at the end but if you are streaming online, you can move it to the front and it lets video start decoding right away, even though the decoder can't seek to the end to get the moov
Marth64 has joined #ffmpeg
mrelcee has quit [Quit: I want Waffles!]
mrelcee has joined #ffmpeg
<evilscreww>
aaabbb: that makes sense. so should i apply it as good practise or dont bother if im uploading to youtube or vimeo
<aaabbb>
don't bother
<furq>
mp4 will process faster on youtube if it's faststart
JanC_ has joined #ffmpeg
JanC is now known as Guest1376
Guest1376 has quit [Killed (zirconium.libera.chat (Nickname regained by services))]
JanC_ is now known as JanC
<aaabbb>
ah, i guess youtube starts encoding before the video is even finihed uploading...
<aaabbb>
evilscreww: so i change my statement, do use faststart haha
<furq>
or don't use mp4
<evilscreww>
furq: what should i use then
<furq>
mkv
<evilscreww>
*do use* fast start?
<evilscreww>
youtube likes mkv?
<furq>
youtube likes anything
<evilscreww>
why is mkv *better* though and is the command: -movflags faststart
<evilscreww>
i noticed mkv can give mixed results during playback on older hardware
<Marth64>
replace hardware
<evilscreww>
choppiness/laggyness
<Marth64>
j/k
<aaabbb>
that's a problem with the software then not the harware
<evilscreww>
or a bit of both
<evilscreww>
or reframes or things that require more overhead and processing power
<evilscreww>
im sure theres a way to make mkv more compatible tho
<aaabbb>
mkv is eithr correctly supported or not. something like vlc or mkv will support it on any hardware
<evilscreww>
yes i know vlc plays mkv no problems i just remember the headaches i had back in the day with playing mkv on ps3
<evilscreww>
even when you have mkv's with 100 subtitles in them - can cause laggyness
<evilscreww>
take them out or all but one now all of a sudden its playing better on samsung tv
<evilscreww>
samsung tv's will also play mkv but give me "the run around"
<evilscreww>
lots of problems sometimes not even play in the first place
<aaabbb>
that's not old hardware problem, that's crappy software
<evilscreww>
so it just comes down to software - ?
<aaabbb>
yep
<evilscreww>
i thought you needed some hardcore graphics processing power to play big mkv files
<aaabbb>
not at all
<evilscreww>
or high bitrate i should say
<aaabbb>
you won't need more processing power to play the same video in mkv as mp4
<evilscreww>
im at the mercy of whatever software samsung puts on there
<evilscreww>
unlesss someone comes up with some sort of tv root or sammy tv custom software
<evilscreww>
for my particular television
<aaabbb>
4k 60hz 10bit yuv422p hevc at stupid high bitrate is gonna struggle on a smart tv with softwre decoding no matter what container it's in
<aaabbb>
smart tvs are known not to implement matroska support correctly especially older ones
<aaabbb>
but it's 100% software fault
Marth64 has quit [Remote host closed the connection]
tyzoid has quit [Ping timeout: 255 seconds]
chiselfuse has quit [Ping timeout: 260 seconds]
tyzoid has joined #ffmpeg
chiselfuse has joined #ffmpeg
<ShaedS>
aaabbb: yeah I figured that what you described was the exact steps one needed to taie to achieve this, i have one more step after i do that though which is merge two files, which i have the syntax for but it does it at 50% opacity, idk if changing the .5 to .15 will give it 15% opacity or which layer this .5 is talking about
<ShaedS>
-i foo.mov -i bar.mp4 -lavfi blend=all_opacity=0.5 baz.mkv does the blend-all happen on BOTH files or just the first??
fling has quit [Remote host closed the connection]
fling has joined #ffmpeg
fling has quit [Read error: Connection reset by peer]
Ox7C5_ has joined #ffmpeg
ivanich has joined #ffmpeg
ivanich has quit [Remote host closed the connection]
evilscreww has quit [Remote host closed the connection]
evilscreww has joined #ffmpeg
chainik1 has quit [Quit: (╯°□°)╯︵ ┻━┻]
chainik1 has joined #ffmpeg
evilscreww has quit [Remote host closed the connection]
Tinos has quit [Remote host closed the connection]
e^pi-1 has quit [Ping timeout: 260 seconds]
e^pi-1 has joined #ffmpeg
sonicrules1234 has quit [Ping timeout: 240 seconds]
sonicrules1234 has joined #ffmpeg
five61848033 has quit [Remote host closed the connection]
jtgd has joined #ffmpeg
five61848033 has joined #ffmpeg
beaver has joined #ffmpeg
hamzah has joined #ffmpeg
hamzah has quit [Client Quit]
todi has joined #ffmpeg
rv1sr has joined #ffmpeg
Tinos has joined #ffmpeg
beaver has quit [Remote host closed the connection]
flotwig_ has joined #ffmpeg
flotwig has quit [Ping timeout: 268 seconds]
evilscreww has joined #ffmpeg
e^pi-1 has quit [Quit: WeeChat 4.2.1]
e^pi-1 has joined #ffmpeg
MisterMinister has quit [Ping timeout: 264 seconds]
evilscreww has quit [Remote host closed the connection]
rsx has joined #ffmpeg
evilscreww has joined #ffmpeg
<ShaedS>
does blend_all affect foo or bar? -i foo.mov -i bar.mp4 -lavfi blend=all_opacity=0.5 baz.mk
<ShaedS>
this is tricky when i want to blend the two at not exactly 50%
lavaball has joined #ffmpeg
mrelcee has quit [Quit: I want Waffles!]
mrelcee has joined #ffmpeg
beaver has joined #ffmpeg
<Traneptora>
ShaedS: you'd have to use an expression
<Traneptora>
for example -lavfi blend=all_expr=0.15*A+0.85*B
<Traneptora>
(don't forget to quote properly for your shell)
evilscreww has quit [Remote host closed the connection]
beaver has quit [Remote host closed the connection]
xx has joined #ffmpeg
noobaroo has joined #ffmpeg
Tinos has quit [Remote host closed the connection]
Tinos has joined #ffmpeg
Tinos has quit [Remote host closed the connection]
Tinos has joined #ffmpeg
alexandre37 has joined #ffmpeg
vlm has joined #ffmpeg
ffc0 has joined #ffmpeg
<ffc0>
Hi everyone, having some problem since 16 march to build ffmpeg against libbluray, do someone have encountered same issue, something changed into fftools seems to be the cause any hint?
lavaball has quit [Remote host closed the connection]
<JEEB>
ffc0: yea that is a static library only issue, where libbluray has the same non-static function defined
<JEEB>
I think there were discussions regarding that on ffmpeg-devel
<JEEB>
(the ML)
alexandre37 has quit [Ping timeout: 250 seconds]
e^pi-1 has quit [Quit: WeeChat 4.2.1]
wyre has joined #ffmpeg
<ffc0>
@JEEB Indeed, so to have some more hints that's where i need to be i guess.. Thanks
<JEEB>
you have system issues, you have mixed multiple reopsitories
<itai>
there is also snap - and that works
<JEEB>
yea, but that has nothing to do with official FFmpeg
<itai>
how to solve these issues?
nobiz has joined #ffmpeg
<JEEB>
you should move to somewhere closer to #ubuntu since we do not have a debian/ubuntu APT repository. but you should probably just move all packages installed from a 3rd party repository to your system one
<JEEB>
then you can remove that repository and hopefully your issue is gone :P
<JEEB>
it has nothing to do with FFmpeg itself, we do not have apt repositories
<itai>
thanks ;)
evilscreww has joined #ffmpeg
e^pi-1 has quit [Quit: WeeChat 4.2.1]
psylity has joined #ffmpeg
psylity has quit [Client Quit]
psylity has joined #ffmpeg
<psylity>
Hi all! I have a very noisy camera but the noise is fixed (video sample https://youtu.be/pl1V9rpm3MM) is there any way to extract and filter out this noise using ffmpeg filters?
itai has quit [Quit: leaving]
evilscreww has quit [Ping timeout: 250 seconds]
Starz0r has quit [Ping timeout: 272 seconds]
e^pi-1 has joined #ffmpeg
<noobaroo>
So for h264_vaapi the only setting I have found that works is "-qp" crf and preset don't work
<noobaroo>
Is there an alternative for preset?
<ShaedS>
Traneptora: are A and B specific or just generic for this example?
<ShaedS>
what needs quotes?
<noobaroo>
I have tried "-compression_level 29" from https://trac.ffmpeg.org/wiki/Hardware/VAAPI And the encoder says only 0 to 7 are supported, so I tried some of those but they don't seem to have any effect on speed, quality, or file size