<muffincookie>
Is the ffprobe necessary you think?
<MS-7C95>
Only if you're don't know the duration and codecs
<MS-7C95>
If you put the input first does that make a difference? I usually start everything with -i
<MS-7C95>
The -to command would allow you to crop the last ten seconds if you knew the duration ahead of time. That's how I would do it. I haven't used the -sseof command yet
<muffincookie>
Thing is I dont know the length
<muffincookie>
and it's the last 15 seconds I need, not the first
<MS-7C95>
That's why I do ffprobe first
<muffincookie>
adding ffprobe didnt help
<MS-7C95>
Oh, so it would be ffprobe -i Input.flv | Duration example 00:01:20 | ffmpeg -i Input.flv -ss 00:01:10 -c copy Output.flv
<muffincookie>
wasnt -ss with reference to the start?
<MS-7C95>
You don't add it, ffprobe is it's own command, lets you see duration, metadata and codecs.
<muffincookie>
oh, right
<MS-7C95>
Yeah, but if you start at the last 10 seconds, it'll copy the last 10 seconds
<muffincookie>
hmm, I'm trying to do this through a script so parsing output from ffprobe might get tricky
ecapi has joined #ffmpeg
<MS-7C95>
Do you have the file stored locally?
<muffincookie>
Yes
<muffincookie>
And it happens to be the output of a stream so it's constantly updated
<MS-7C95>
You're trying to crop the last ten seconds of a stream? Ouch.
<MS-7C95>
What's the steam if you don't mind me asking
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<muffincookie>
One patchwork would be to copy the file using that command once, somehow fixing the timestamps and then running the -sseof again
ecapi_ has joined #ffmpeg
<muffincookie>
It's just an audio-only twitch stream
<MS-7C95>
So what's your end-goal? Why not wait until the stream ends and do your cropping then?
ecapi has quit [Ping timeout: 245 seconds]
<muffincookie>
Well, I'm trying to get it to crop and basically CC the stream
Muimi has joined #ffmpeg
<muffincookie>
the tool for cc doesnt support streams so I'm just hacking up small patches of audio and doing on them
<MS-7C95>
Is this for like, redistribution?
<muffincookie>
naa, just some toy thing I'm fiddling with
<MS-7C95>
That's relatable
<muffincookie>
but alas, if there is some parameter that could "fix" -sseof, it'd be nice
derpydoo has quit [Ping timeout: 240 seconds]
<MS-7C95>
I'll return shortly, hopefully with some potential solutions
<MS-7C95>
I'm sure there's some thing you have to modify, but the general idea is laid out for you
<muffincookie>
hmm segments sounds like it would require knowing the total length, fiddling with different values still output the whole file
ZedHedTed has quit [Ping timeout: 260 seconds]
<muffincookie>
a comment there acctually references -sseof as a parameter
<MS-7C95>
I hate to be 'that guy', but I have some things to do tomorrow, so I have to be off. Feel free to ask the question again, and include the version of ffmpeg that you're using to get better help. Good luck.
MS-7C95 has quit [Quit: Leaving]
<muffincookie>
Yea no problem! Thanks a ton for the help
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
ZedHedTed has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 268 seconds]
TheSilentLink has quit [Quit: Good Bye! My bouncer has probably crashed or lost connection to the internet...]
<muffincookie>
Well, if there's anybody else that could help I'd appreciate
TheSilentLink has joined #ffmpeg
Ischwitch has joined #ffmpeg
Muimi has joined #ffmpeg
Ingvix has quit [Ping timeout: 268 seconds]
Ischwitch is now known as Ingvix
lusciouslover has quit [Ping timeout: 245 seconds]
billchenchina has quit [Remote host closed the connection]
<MS-7C95>
typological: Nope, reading it now, thanks
chainik has quit [Server closed connection]
chainik has joined #ffmpeg
nitroxis has quit [Server closed connection]
nitroxis has joined #ffmpeg
qqq has quit [Quit: leaving]
flotwig has quit [Excess Flood]
flotwig has joined #ffmpeg
flotwig has joined #ffmpeg
flotwig has quit [Changing host]
nd has quit [Ping timeout: 268 seconds]
ecapi_ has quit [Remote host closed the connection]
taupiqueur_shiny has quit [Remote host closed the connection]
manwithluck has quit [Server closed connection]
manwithluck has joined #ffmpeg
taupiqueur_shiny has joined #ffmpeg
dbal_ has joined #ffmpeg
dbal has quit [Ping timeout: 240 seconds]
ecapi has joined #ffmpeg
AbleBacon has joined #ffmpeg
raini_ok has joined #ffmpeg
<MS-7C95>
How bad would a "crippled build" be? It says that nasm/yasm "not found or too old"
<ecapi>
why not just install nasm?
<MS-7C95>
I didn't realize it was that simple to be honest, I figured it was preinstalled on mint 21.2; I just installed it and the error message went away.
durandal_1707 has joined #ffmpeg
<MS-7C95>
does the -j8 syntax or whatever its called apply to both the make and make install command? I just typed make without the -j8 added to it and, it's working, but I imagine the -j8 would make the process faster
<furq>
it only applies to make
<furq>
i guess it would work for make install but that just copies files
<BtbN>
it can make the install process faster, if you have a fast ssd and are using blk-mq
Muimi has joined #ffmpeg
<BtbN>
But if you are worries about the speed of the install process, you very likely don't have that :D
<BtbN>
*worried
<MS-7C95>
Ah, thanks; I did ctrl+c and ran it again with -8, and it's already done. I can't believe I didn't have nasm, lol, what a fool..
<MS-7C95>
Now I have 6.0.1 installed, and I feel like a boss, thanks for the help
<furq>
hopefully you installed it to /usr/local or somewhere that it's not going to trample on your repo install
<MS-7C95>
I believe it does that automatically, at least that's what it said in the documentation
<kepstin>
if you didn't set prefix, /usr/local would be the default yeah
mrelcee has quit [Server closed connection]
mrelcee has joined #ffmpeg
flom84 has joined #ffmpeg
ivanich has quit [Ping timeout: 260 seconds]
<BtbN>
Installing foreign libraries into /usr/local can already break the system
shibboleth has quit [Remote host closed the connection]
<BtbN>
would strongly recommend to never ever run any "make install" as root
shibboleth has joined #ffmpeg
flom84 has quit [Remote host closed the connection]
<furq>
yeah but at least you can fix it with rm
flom84 has joined #ffmpeg
<LimeOn>
i guess making an 'alias' to the ffmpeg binary created after 'make' would be a safe way to not mess with the system
function1 has quit [Ping timeout: 260 seconds]
<MS-7C95>
They didn't really give me much of an option; I had to use sudo for the make install, but I trust the devs, so hopefully my system wouldn't suffer for it.
CoreX has quit [Server closed connection]
CoreX has joined #ffmpeg
mven has joined #ffmpeg
<kepstin>
depends what you're using ffmpeg for it, you might not need to install it at all
<kepstin>
if you're just using the cli tool, and have stuff staticly linked, you can run it straight from the build directory without issue.
<kepstin>
(er, the "staticly linked" there is complicated; doesn't have to be a full static build, just have libav* linked into the ffmpeg cli staticly)
<furq>
probably a good idea to do a full static build or else it'll break every time you apt upgrade
dbal has joined #ffmpeg
<MS-7C95>
I didn't know that, nor do I know how to do that, but I'm just grateful to be running the latest version instead of an outdated build.
<MS-7C95>
I just ran apt update && apt upgrade and it didn't seem to affect ffmpeg whatsoever
dbal_ has quit [Ping timeout: 268 seconds]
flom84 has quit [Quit: Leaving]
function1 has joined #ffmpeg
flom84 has joined #ffmpeg
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
flom84 has quit [Remote host closed the connection]
ocrete has quit [Server closed connection]
flom84 has joined #ffmpeg
ocrete has joined #ffmpeg
samhza has quit [Server closed connection]
samhza has joined #ffmpeg
Ogobaga has quit [Quit: Konversation terminated!]
<BtbN>
You configuring it to install to somewhere in /usr is what forced you to use sudo
Ogobaga has joined #ffmpeg
<BtbN>
the build system does not insist on anything
flom84 has quit [Quit: Leaving]
dgcampea has quit [Remote host closed the connection]
dgcampea has joined #ffmpeg
<MS-7C95>
That's the default output for the vanilla install, so that's what I did. I'm not really an advanced user.
Guestmodinfo has joined #ffmpeg
flom84 has joined #ffmpeg
HarshK23 has quit [Quit: Connection closed for inactivity]
<LimeOn>
remove the ffmpeg package you just have installed
taupiqueur_shiny has quit [Remote host closed the connection]
<LimeOn>
then use it as 'static' ffmpeg6 version, without installing
taupiqueur_shiny has joined #ffmpeg
taupiqueur_shiny has quit [Remote host closed the connection]
taupiqueur_shiny has joined #ffmpeg
<MS-7C95>
Static is from the git right? You should make a tutorial video or link me to an existing one. The 6.0.1 that I installed isn't working for converting to avif
dlfhk has quit [Read error: Connection reset by peer]
Peetz0r has quit [Server closed connection]
Peetz0r has joined #ffmpeg
dlfhk has joined #ffmpeg
<DeHackEd>
One-liner bugfix.... libavfilter/Makefile : vf_cropdetect depends on edge_common.o as well. Affects custom builds with configure --disable-filter[s] abuse
<MS-7C95>
I tried it, isn't doing what I want. Funny how 4.x is already setup to do what I want, it just doesn't have avif support. I'm not sure where I'm supposed to add --enable-libaom
icezolation has quit [Remote host closed the connection]
Guestmodinfo has quit [Ping timeout: 250 seconds]
nd has joined #ffmpeg
taupiqueur_shiny has quit [Remote host closed the connection]
meklu has quit [Server closed connection]
meklu has joined #ffmpeg
taupiqueur_shiny has joined #ffmpeg
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
taupiqueur_shiny has quit [Ping timeout: 250 seconds]
Some_Person has quit [Server closed connection]
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
Some_Person has joined #ffmpeg
swing has quit [Ping timeout: 246 seconds]
odrling has quit [Server closed connection]
odrling has joined #ffmpeg
swing has joined #ffmpeg
Muimi has joined #ffmpeg
swing has quit [Read error: Connection reset by peer]
swing has joined #ffmpeg
TrillionEuroNote has quit [Server closed connection]
TrillionEuroNote has joined #ffmpeg
lexano has quit [Ping timeout: 268 seconds]
<CounterPillow>
in your configure step when building. You don't seem to be building at all but using prebuilt binaries, MS-7C95
txtsd has quit [Server closed connection]
txtsd has joined #ffmpeg
lucasta has joined #ffmpeg
TheSashmo has quit [Read error: Connection reset by peer]
TheSashmo has joined #ffmpeg
pong has quit [Remote host closed the connection]
shibboleth has quit [Remote host closed the connection]
TheSilentLink_ has joined #ffmpeg
shibboleth has joined #ffmpeg
TheSilentLink has quit [Ping timeout: 260 seconds]
shibboleth has quit [Remote host closed the connection]
TheSilentLink_ is now known as TheSilentLink
Haxxa has quit [Quit: Haxxa flies away.]
rick123 has left #ffmpeg [#ffmpeg]
Haxxa has joined #ffmpeg
treefrob has quit [Ping timeout: 264 seconds]
Shine_ has quit [Read error: Connection reset by peer]
wyre has quit [Server closed connection]
wyre has joined #ffmpeg
nurupo has quit [Server closed connection]
nurupo has joined #ffmpeg
brocellous has quit [Server closed connection]
brocellous has joined #ffmpeg
Vonter has quit [Ping timeout: 268 seconds]
Vonter has joined #ffmpeg
Asterisk has quit [Server closed connection]
Asterisk has joined #ffmpeg
Asterisk has joined #ffmpeg
treefrob has joined #ffmpeg
treefrob has quit [Max SendQ exceeded]
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
lexano has joined #ffmpeg
balling has joined #ffmpeg
treefrob has joined #ffmpeg
noelle has quit [Server closed connection]
noelle has joined #ffmpeg
balling79 has joined #ffmpeg
balling79 has quit [Client Quit]
HarshK23 has joined #ffmpeg
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
balling is now known as YourNick
YourNick is now known as balling
balling has quit [Quit: Quit]
balling has joined #ffmpeg
taupiqueur_shiny has joined #ffmpeg
Perflosopher has quit [Server closed connection]
typological has quit [Quit: Connection closed]
raini_ok has quit [Ping timeout: 245 seconds]
Perflosopher has joined #ffmpeg
jagannatharjun has quit [Quit: Connection closed for inactivity]
jemius has joined #ffmpeg
typological has joined #ffmpeg
ZedHedTed has quit [Quit: leaving]
balling has quit [Read error: Connection reset by peer]
taupiqueur_shiny has quit [Remote host closed the connection]
taupiqueur_shiny has joined #ffmpeg
cryptic has quit [Server closed connection]
cryptic has joined #ffmpeg
lucasta has quit [Quit: Leaving]
balling1 has joined #ffmpeg
balling1 has quit [Client Quit]
vulpine has quit [Ping timeout: 252 seconds]
tsujp has quit [Server closed connection]
tsujp has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
ecapi has quit [Remote host closed the connection]
ecapi has joined #ffmpeg
Capstan has quit [Quit: Client closed]
holgersson has quit [Quit: “Format C:........[Done]“]
holgersson has joined #ffmpeg
Capstan has joined #ffmpeg
Nik- has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
carpenter has joined #ffmpeg
flom84 has joined #ffmpeg
raini_ok has joined #ffmpeg
ppw has joined #ffmpeg
raini_ok has quit [Remote host closed the connection]
<ppw>
does libx265 interpret -crf any differently from libx264?
<BtbN>
Even libx264 interprets it different than libx264, depending on settings.
<LimeOn>
yes, but check the value considered as 'default'
staceee has quit [Server closed connection]
<ppw>
yes, I've noticed. I'll be on alert.
staceee has joined #ffmpeg
<BtbN>
A given crf value does not equate to any quality, bitrate or anything is what it means
<BtbN>
The only thing you really know is lower value = better quality
<BtbN>
And usually higher bitrate in return
<BtbN>
THAT behaviour of crf is consistent by anything offering it, or an equivalent
<BtbN>
But the specific values are very much not
<LimeOn>
yes, those values are just a guide
<LimeOn>
you always will have to check the output bitrate and decide
<BtbN>
well, and the quality
balling19 has joined #ffmpeg
<BtbN>
there can be edge cases where even that assumption does not hold
<LimeOn>
but the quality depends on bitrate
balling19 has quit [Client Quit]
<LimeOn>
in most cases you cannot reduce the bitrate from some valies without losing considerabilly the quality
balling has joined #ffmpeg
<LimeOn>
values* , considerably*
<BtbN>
normally, yes. But edge cases exist
<BtbN>
Where some encoder feature switching on/off might turn that seemingly natural assumption around for a certain range
<BtbN>
i.e. a lower bitrate suddenly is a higher quality, cause some more advanced feature got turned on
<kepstin>
keep in mind that the original implementation of crf as made available in x264 is basically an internal detail of their 2-pass rate control mode - i.e. the first pass analytics determine this constant factor applied to the rate such that the result, if encoded using the same settings, would average at the target bitrate.
<BtbN>
I'm still amazed that a singular value like that can hit a target filesize over a multi hour long video
<LimeOn>
oh, i dont know about those details, BtbN
<MS-7C95>
So, would I have to type something along the line of "./configure --enable-libaom-av1" before running make to get the codec working?
<LimeOn>
btw, does using 'slower preset' means that there will be a harder 'charge' into the decoder to watch the video?
balling has quit [Client Quit]
<LimeOn>
i know that slower presets means higher or better compresison
<BtbN>
not nearly as hard as the additional load to encode, but it might get harder to decode as well, as more advanced features are turned on
javabean has quit [Ping timeout: 240 seconds]
<LimeOn>
i see
flom84 has quit [Ping timeout: 260 seconds]
<LimeOn>
there should be a 'limit' in that too, i guess, where higher compression means a lot 'harder' to the decoder, offering just a slightly better size
<LimeOn>
you need libaom? MS-7C95
balling83 has joined #ffmpeg
<LimeOn>
i suggest you to use a 'already made' static build, i just have checked and 'libaom' is enabled in that one
<BtbN>
the slowest preset is called placebo for a reason :D
<LimeOn>
then choose one of the 'release' links
<LimeOn>
lol BtbN
<LimeOn>
i only used slower, just because it should be 'a bit' better
Capstan has quit [Quit: Client closed]
<LimeOn>
theres a graph in the manual thats really good about the topic
<LimeOn>
:D
<BtbN>
There is very little point to using a release version btw.
Capstan has joined #ffmpeg
<BtbN>
all it means you get artificially delayed fixes
<BtbN>
master is rarely if ever in a broken state
<MS-7C95>
LimeOn: Yeah, want it for avif conversion; Plus a few other codecs weren't enabled by default in the 6.0.1 file I downloaded, so I have to enable them all manually I guess.
<LimeOn>
a lot of the most common ones are enabled in the file i have downloaded in there
<LimeOn>
check it out, you can see which ones are enabled going into the folder, and rinning ./ffmpeg
<LimeOn>
have you downloaded one of the static builds?
<LimeOn>
i see a few more options
<LimeOn>
and libaom is present too
<LimeOn>
check them with './ffmpeg -buildconf'
raini_ok has quit [Quit: Leaving]
<MS-7C95>
I just found a static build, appears to be four times smaller than the official release, but it has all the configurations setup properly; I don't think I can install it though, doesn't have a configure or make file ect
<LimeOn>
static builds are 'portable' ones
<LimeOn>
as far as i know
<LimeOn>
as i mentioned earlier, you can create a bash 'alias' to point to that ffmpeg build
<LimeOn>
so you can type, lets say, '6ffmpeg' in terminal or another name, and it will use that version
<MS-7C95>
I'll look into that, thanks; Though I kinda wanna have it installed with everything enabled.
<LimeOn>
you should not install that once, since it will mess with your system version ffmpeg and dependencies
<LimeOn>
it could break other programs, so its discouraged
jemius has quit [Quit: Leaving]
balling83 has quit [Quit: Connection closed]
balling83 has joined #ffmpeg
bitbinge has joined #ffmpeg
<MS-7C95>
I can uninstall 4.x and make a system restore ahead of time
<MS-7C95>
If there's a way to get 4.x to convert to avif I'm all ears
balling83 has quit [Client Quit]
balling83 has joined #ffmpeg
<LimeOn>
if its not present in the 'ffmpeg -buildconf' of the system provided package, i guess you have to compile it using the 4.x version
lusciouslover has quit [Ping timeout: 260 seconds]
<LimeOn>
in that case, i suggest to stick to the stable release, its easier
<MS-7C95>
6.0.1 has a stable release, that's what I downloaded the first time around
balling83 has quit [Client Quit]
prekk has quit [Ping timeout: 252 seconds]
prekk has joined #ffmpeg
Capstan has quit [Quit: Client closed]
Capstan has joined #ffmpeg
iderik has quit [Quit: WeeChat 3.0]
mven has quit [Quit: Goodbye.]
mven has joined #ffmpeg
TheSilentLink_ has joined #ffmpeg
vulpine has joined #ffmpeg
TheSilentLink has quit [Ping timeout: 268 seconds]
PanamaCity3003 has quit [Server closed connection]
bitbinge has quit [Ping timeout: 264 seconds]
PanamaCity3003 has joined #ffmpeg
TheSilentLink_ is now known as TheSilentLink
TheSilentLink has quit [Ping timeout: 260 seconds]
TheSilentLink has joined #ffmpeg
TheSilentLink has quit [Remote host closed the connection]
TheSilentLink has joined #ffmpeg
mven has quit [Quit: Goodbye.]
Kruppt has quit [Quit: Leaving]
Capstan has quit [Ping timeout: 250 seconds]
mven has joined #ffmpeg
balling has joined #ffmpeg
<MS-7C95>
I keep getting the error message "[vost#0:0/libaom-av1 @ 0x7a83880] Overriding packet duration by frame rate, this should not happen" trying to make an animated .avif
ppw has left #ffmpeg [#ffmpeg]
averne has quit [Server closed connection]
averne has joined #ffmpeg
vlm has quit [Ping timeout: 246 seconds]
nd has quit [Ping timeout: 245 seconds]
LuKaRo has quit [Ping timeout: 240 seconds]
LuKaRo_ has joined #ffmpeg
nd has joined #ffmpeg
Ogobaga has quit [Remote host closed the connection]
typological has quit [Quit: Connection closed]
Ogobaga has joined #ffmpeg
Vonter has quit [Ping timeout: 246 seconds]
emmanuelux has joined #ffmpeg
Vonter has joined #ffmpeg
deltab has quit [Ping timeout: 260 seconds]
deltab has joined #ffmpeg
TheSashmo has quit [Remote host closed the connection]
TheSashmo has joined #ffmpeg
cahilnebilir12 has quit [Server closed connection]
TheSashm_ has joined #ffmpeg
TheSashm_ has quit [Remote host closed the connection]