<bcn>
Is it normal of me to want to test each hwaccel option and benchmark them to use the fastest one or should I just pick based on the name? or is there a -usethebesthwaccell option that does that automagically?
qaph is now known as kron
<bcn>
I've got dozens of 8 hour video files I stiched together from 1 minute wyzecam clips on the wyzecam sdcards, and I want to trim out moments of non-motion
<bcn>
where should I add -hwaccel? the command I've been using is ffmpeg -i 20231103-p2of3-withaudio.mp4 -vf "select='gt(scene,${i})'" -c:a copy0 20231103-p2of3-withaudio.s${i}.mp4
navi has quit [Quit: WeeChat 4.0.4]
qaph has joined #ffmpeg
ircgpk has joined #ffmpeg
kron has quit [Ping timeout: 256 seconds]
Kruppt has quit [Quit: Leaving]
qaph is now known as kron
<bcn>
also why do some hw accelerators get enabled by -hwaccel <name> and others by -codec:v name ?
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Muimi has joined #ffmpeg
rsx has joined #ffmpeg
\\Mr_C\\ has quit [Remote host closed the connection]
<aaabbb>
bcn: use hardware acceleration if that's your use case. usually, hardware accelerated codecs will be at lower quality for the same bitrate than the pure software codec
<aaabbb>
so just because something is faster doesn't mean it's better (depending on how your definition of better)
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
bnchs has joined #ffmpeg
jagannatharjun has joined #ffmpeg
Muimi has joined #ffmpeg
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Muimi has joined #ffmpeg
kurosu has joined #ffmpeg
nate has quit [Killed (iridium.libera.chat (Nickname regained by services))]
<galad>
then you'll need to select an hardware encoder
<aaabbb>
(hardware decoders aren't lower quality in general btw, only encoders, although often the speed more than makes up for the quality issues if you got a lot to encode)
<galad>
and if the filter is run on the cpu, hwdownload and hwupload will be required. too
bnchs is now known as Cindy
furq_ has joined #ffmpeg
CoreX has quit [Ping timeout: 246 seconds]
linjie has quit [Read error: Connection reset by peer]
[R]x has quit [Quit: One of God's own prototypes : a high powered mutant of some kind never even considered for mass production. Too weird to live and too rare to die.]
moviuro has quit [Quit: Reboot? Or did my jail(8) just die?]
rom1v_ has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
klotzhauer has joined #ffmpeg
tomaw_ has joined #ffmpeg
DarkG_ has joined #ffmpeg
moviuro has joined #ffmpeg
furq has quit [Ping timeout: 260 seconds]
[R]x has joined #ffmpeg
Fusl has quit [Ping timeout: 260 seconds]
tomaw has quit [Read error: Connection reset by peer]
tomaw_ is now known as tomaw
DarkG has quit [Read error: Connection reset by peer]
tp_ has quit [Ping timeout: 260 seconds]
fling has quit [Read error: Connection reset by peer]
fling_ has joined #ffmpeg
upekkha has quit [Read error: Connection reset by peer]
tp_ has joined #ffmpeg
lusciouslover has quit [Ping timeout: 276 seconds]
upekkha has joined #ffmpeg
lusciouslover has joined #ffmpeg
CoreX has joined #ffmpeg
fling_ is now known as fling
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
Traneptora_ has joined #ffmpeg
Traneptora has quit [Ping timeout: 255 seconds]
Jan\ has quit [Ping timeout: 264 seconds]
vlm has joined #ffmpeg
AbleBacon has quit [Read error: Connection reset by peer]
Ogobaga has joined #ffmpeg
TheDcoder has joined #ffmpeg
<TheDcoder>
Hi, is it possible to play a stream of PCM data in ffplay? I am able to pipe it but playback only starts after the stdin is fully written
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
lusciouslover has quit [Ping timeout: 268 seconds]
<JEEB>
I'd expect something like that to be possible
<TheDcoder>
JEEB: me too... just need to figure out how
<JEEB>
since raw PCM has no headers or whatever
<TheDcoder>
exactly
LimeOn has joined #ffmpeg
<aaabbb>
TheDcoder: do you know the sample format, sample rate, and channel layout?
<aaabbb>
if you do then you can play it
<TheDcoder>
aaabbb: I do, I am already able to play it
<TheDcoder>
but I am unable to stream the data
<TheDcoder>
ffplay waits for EOF
<JEEB>
and the input is pipe?
<JEEB>
anyways, does `ffmpeg -v verbose -your_pcm_params_here -i pipe: -f null` work differently?
<TheDcoder>
JEEB: At least one output file must be specified
<TheDcoder>
It also waits for the entire data to be flushed to the pipe/stdin
<JEEB>
yea, pipe: at the end I forgot :)
<TheDcoder>
the input is piped to stdin
<TheDcoder>
JEEB: why set -f to null?
<JEEB>
that sounds like you are only writing data at the end?
<JEEB>
TheDcoder: output to nowhere
<TheDcoder>
JEEB: nope, I'm sure that the data is being written
<TheDcoder>
well, how do I specify the input -f then?
<TheDcoder>
pretty sure I can't use it twice before -i
<TheDcoder>
Anyway, I removed your null -f and result is still the same
<TheDcoder>
waits for the entire piped to be flushed
lusciouslover has quit [Ping timeout: 268 seconds]
BetweenUs has joined #ffmpeg
Tano has quit [Quit: WeeChat 4.0.4]
<bcn>
aaabbb: galad: what I'm trying to do is "trans coding"? right? since I want to read out of one encoded file, process it, and write out into another encoded file? do I just add -hwupload and -hwdownload on the commandline, somewhere in the middle? how do I select a hw encod... ah -codec specifies the encoder.. to bad it's not -encoder and -decoder for symmetry in syntax
<aaabbb>
transcoding is converting from one codec to another. for the hw encoder, you use -vcodec or -c:v, and select the hw accelerated encoder you want
<aaabbb>
just know that hw encoders are usually of lesser quality than pure sw
lavaball has joined #ffmpeg
BetweenUs has quit [Read error: Connection reset by peer]
BetweenUs has joined #ffmpeg
ivanich has joined #ffmpeg
lexano has joined #ffmpeg
ivanich has quit [Remote host closed the connection]
Blacker47 has joined #ffmpeg
rv1sr has joined #ffmpeg
<bcn>
aaabbb: so "-vcodec vulkan" to select vulkan? I'm fine with lesser quality. My intention is to preserve the original, but use ths product of this to be confident that I'm aware of all motion events during the video, and if they're of interest i'll watch them in the original video files for highest quality. I have several dozen, 8hr long 1080p videos of mostly nothing, but the occasional car driving by. An incident happened and I am curious if there was any suspiciou
<bcn>
I can't just sit down and watch all of the hours of all of the camera angles though. even at 10x speed it would take days
<aaabbb>
bcn: no, vulkan is not the name of a codec i don't think
<aaabbb>
i don't use hw acceleration anyway so i'm not the right one to ask