<avc1657> Command im using: ffmpeg -y -i file.mkv -init_hw_device vulkan -vf format=yuv420p10le,hwupload,libplacebo=normalize_sar=true:custom_shader_path=shader.glsl,hwdownload,format=yuv420p10le -b_ref_mode 0 -map 0:v -c:v hevc_nvenc -map 0:a:0 -c:a:0 aac -b:a 1ffmpeg -y -i file.m2ts -init_hw_device vul60k -map 0:s? -c:s copy -map 0:t? -c:t copy -preset:v p7 -tune:v hq -rc:v vbr -cq:v 25 -b:v 0 output.mkv
<avc1657> oh, the text glitched, sry. ffmpeg -y -i file.m2ts -init_hw_device vulkan -vf format=yuv420p10le,hwupload,libplacebo=normalize_sar=true:custom_shader_path=shader.glsl,hwdownload,format=yuv420p10le -b_ref_mode 0 -map 0:v -c:v hevc_nvenc -map 0:a:0 -c:a:0 aac -b:a 160k -map 0:s? -c:s copy -map 0:t? -c:t copy -preset:v p7 -tune:v hq -rc:v vbr -cq:v 25 -rc-lookahead 20 -b:v 0 output.mkv
<avc1657> Guess ill just downgrade to ffmpeg 6.0 again
<avc1657> -------> [hwdownload @ 000001bc68f71e00] Invalid output format yuv420p10le for hwframe download.
ivanich has quit [Remote host closed the connection]
Capstan has quit [Ping timeout: 250 seconds]
hays has quit [Ping timeout: 245 seconds]
<BtbN> I don't think Vulkan supports that format, or ever did
emmanuelux has quit [Quit: au revoir]
<avc1657> well, i downgraded to ffmpeg 6.0, now the command works again
waleee has quit [Ping timeout: 260 seconds]
avc1657 has quit [Remote host closed the connection]
<BtbN> that seems rather unlikely. It probably falls back to something else
buhman has quit [Ping timeout: 268 seconds]
_whitelogger_ has quit [Ping timeout: 268 seconds]
Ram-Z has quit [Ping timeout: 268 seconds]
jdek has quit [Ping timeout: 268 seconds]
llyyr has quit [Ping timeout: 268 seconds]
_whitelogger has joined #ffmpeg
<nurupo> i thought it was erroring and exiting, but it just warns and keeps running treating "./foo:bar/foo:bar_2023-11-26.ts" as a file path
<nurupo> that works
DHE has joined #ffmpeg
alexherbo2 has quit [Ping timeout: 250 seconds]
termos has joined #ffmpeg
buhman has joined #ffmpeg
hardwire has joined #ffmpeg
Mister_Magister has quit [Quit: bye]
Mister_Magister has joined #ffmpeg
thilo has quit [Ping timeout: 276 seconds]
thilo has joined #ffmpeg
haihao has quit [Ping timeout: 264 seconds]
lolok has joined #ffmpeg
Muimi has joined #ffmpeg
drizztbsd has quit [Quit: ZNC 1.8.2 - https://znc.in]
timothy has joined #ffmpeg
qaph has joined #ffmpeg
lexano has quit [Ping timeout: 264 seconds]
kron has quit [Ping timeout: 252 seconds]
<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 ?
Vonter has quit [Ping timeout: 260 seconds]
Vonter has joined #ffmpeg
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg
ircgpk has quit [Quit: Quit]
luva6 has quit [Quit: Ping timeout (120 seconds)]
luva6 has joined #ffmpeg
luva6 has quit [Quit: Ping timeout (120 seconds)]
luva6 has joined #ffmpeg
luva6 has quit [Ping timeout: 256 seconds]
luva6 has joined #ffmpeg
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))]
synapt has joined #ffmpeg
<galad> bcn: the -hwaccel option is for decoders, https://trac.ffmpeg.org/wiki/HWAccelIntro
<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]
LimeOn has quit [Quit: Quit]
klotzhauer has quit [Quit: ZNC 1.8.2 - https://znc.in]
[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
<TheDcoder> `pv -L 8000 fox.pcm | ffmpeg -v verbose -ac 1 -ar 16000 -f s16le -i pipe:`
lusciouslover has joined #ffmpeg
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
Tano has joined #ffmpeg
navi has joined #ffmpeg
Xaldafax has joined #ffmpeg
foul_owl has quit [Ping timeout: 276 seconds]
foul_owl has joined #ffmpeg
pah is now known as pa
Traneptora_ has quit [Quit: Quit]
Traneptora has joined #ffmpeg
ircgpk has joined #ffmpeg
ircgpk has quit [Client Quit]
Dotz0cat has quit [Ping timeout: 276 seconds]
Dotz0cat has joined #ffmpeg
madwoota has quit [Ping timeout: 244 seconds]
Haxxa has quit [Ping timeout: 264 seconds]
BetweenUs has quit [Quit: Leaving]
madwoota has joined #ffmpeg
Haxxa has joined #ffmpeg
chaoticryptidz has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
chaoticryptidz has joined #ffmpeg
Haxxa has quit [Ping timeout: 256 seconds]
madwoota has quit [Ping timeout: 245 seconds]
madwoota has joined #ffmpeg
ivanich has joined #ffmpeg
Haxxa has joined #ffmpeg
ivanich has quit [Remote host closed the connection]
ivanich has joined #ffmpeg
ivanich has quit [Remote host closed the connection]
madwoota has quit [Ping timeout: 245 seconds]
stolen has joined #ffmpeg
Haxxa has quit [Ping timeout: 255 seconds]
madwoota has joined #ffmpeg
Capstan has joined #ffmpeg
a0z has joined #ffmpeg
Tano has quit [Quit: WeeChat 4.0.4]
Haxxa has joined #ffmpeg
Kruppt has joined #ffmpeg
ivanich has joined #ffmpeg
Kruppt has quit [Quit: Leaving]
ivanich has quit [Remote host closed the connection]
Vonter has quit [Ping timeout: 260 seconds]
Vonter has joined #ffmpeg
Muimi has joined #ffmpeg
Vonter has quit [Ping timeout: 252 seconds]
Vonter has joined #ffmpeg
waleee has joined #ffmpeg
hightower3 has quit [Ping timeout: 255 seconds]
rsx has quit [Quit: rsx]
ivanich has joined #ffmpeg
ivanich has quit [Remote host closed the connection]
lavaball has quit [Remote host closed the connection]
blb has quit [Quit: brb]
lucasta has joined #ffmpeg
blb has joined #ffmpeg
navi has quit [Ping timeout: 255 seconds]
navi has joined #ffmpeg
navi has quit [Ping timeout: 255 seconds]
navi has joined #ffmpeg
a0z has quit [Quit: Leaving]
Kruppt has joined #ffmpeg
Tano has joined #ffmpeg
Teraii has quit [Read error: Connection reset by peer]
Teraii_ has joined #ffmpeg
hightower2 has joined #ffmpeg
Teraii_ is now known as Teraii
ircgpk has joined #ffmpeg
lavaball has joined #ffmpeg
ttys000 has joined #ffmpeg
rv1sr has quit [Ping timeout: 268 seconds]
ircgpk has quit [Quit: Quit]
rv1sr has joined #ffmpeg
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
manwithluck has quit [Quit: THE END]
manwithluck has joined #ffmpeg
Haxxa has quit [Quit: Haxxa flies away.]
Haxxa has joined #ffmpeg
cristian_c has joined #ffmpeg
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
stolen has quit [Quit: Connection closed for inactivity]
rv1sr has quit []
jagannatharjun has quit [Quit: Connection closed for inactivity]
lusciouslover has joined #ffmpeg
five618480 has quit [Remote host closed the connection]
five618480 has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
lucasta has quit [Quit: Leaving]
lavaball has quit [Remote host closed the connection]
Capstan has quit [Quit: Client closed]
Capstan has joined #ffmpeg
Capstan has quit [Quit: Client closed]
Capstan has joined #ffmpeg
ivanich has joined #ffmpeg
yazooq has joined #ffmpeg
five618480 has quit [Remote host closed the connection]
five618480 has joined #ffmpeg
jess has quit []
\\Mr_C\\ has joined #ffmpeg
kron has quit [Read error: Connection reset by peer]
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
kron has joined #ffmpeg
lemourin has joined #ffmpeg
ivanich has quit [Remote host closed the connection]
YuGiOhJCJ has joined #ffmpeg
thomas_D8 has quit [Ping timeout: 255 seconds]
five618480 has quit [Remote host closed the connection]
five618480 has joined #ffmpeg
thomas_D8 has joined #ffmpeg
lucasta has joined #ffmpeg
Capstan has quit [Ping timeout: 250 seconds]
function1 has quit [Quit: ZNC 1.8.2 - https://znc.in]
function1 has joined #ffmpeg
LimeOn has quit [Ping timeout: 264 seconds]
luva6 has quit [Ping timeout: 268 seconds]
kurosu has quit [Quit: Connection closed for inactivity]
luva6 has joined #ffmpeg