Marth64 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 is released
iive has quit [Quit: They came for me...]
System_Error has quit [Remote host closed the connection]
linext has joined #ffmpeg
System_Error has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
YUiNA has quit [Ping timeout: 244 seconds]
linext has quit [Quit: Client closed]
xx has quit [Quit: xx]
blb has quit [Quit: brb]
blb has joined #ffmpeg
ariedro has joined #ffmpeg
ariedro has quit [Client Quit]
ariedro has joined #ffmpeg
five618480339176 has quit [Ping timeout: 260 seconds]
ariedro has quit [Quit: WeeChat 3.8]
ariedro has joined #ffmpeg
ariedro has quit [Quit: WeeChat 3.8]
ariedro has joined #ffmpeg
minimal has quit [Quit: Leaving]
^Neo has quit [Ping timeout: 252 seconds]
treefrob has quit [Ping timeout: 244 seconds]
ariedro has quit [Quit: WeeChat 3.8]
function1_ has quit [Remote host closed the connection]
function1 has joined #ffmpeg
treefrob has joined #ffmpeg
Vonter has quit [Quit: WeeChat 4.5.1]
Vonter has joined #ffmpeg
coldfeet has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
beastd has quit [Ping timeout: 248 seconds]
EmleyMoor has quit [Ping timeout: 248 seconds]
evilscreww has joined #ffmpeg
kasper93_ has joined #ffmpeg
EmleyMoor has joined #ffmpeg
kasper93 has quit [Ping timeout: 260 seconds]
kasper93_ is now known as kasper93
beastd has joined #ffmpeg
evilscreww has quit [Ping timeout: 240 seconds]
pyre has quit [Remote host closed the connection]
pyre has joined #ffmpeg
emanuele6 has joined #ffmpeg
moviuro has quit [Ping timeout: 265 seconds]
moviuro_ has joined #ffmpeg
Wallboy has joined #ffmpeg
Wallboy has left #ffmpeg [Leaving]
dreamon has joined #ffmpeg
Wallboy has joined #ffmpeg
moviuro_ has quit [Quit: Reboot? Or did my jail(8) just die?]
moviuro has joined #ffmpeg
nrg has quit [Quit: ZNC - https://znc.in]
nrg has joined #ffmpeg
olndrxyz has joined #ffmpeg
olndrxyz has quit [Client Quit]
olndrxyz has joined #ffmpeg
mhykol has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
mhykol has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
makidoll has quit [Quit: https://maki.cafe]
makidoll has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
lavaball has joined #ffmpeg
emanuele6 has quit [Read error: Connection reset by peer]
emanuele7 has joined #ffmpeg
emanuele7 is now known as emanuele6
rsx has joined #ffmpeg
SuicideShow has quit [Ping timeout: 268 seconds]
Sketch has quit [Remote host closed the connection]
wobbol has quit [Ping timeout: 244 seconds]
Shine has joined #ffmpeg
SuicideShow has joined #ffmpeg
Sketch has joined #ffmpeg
Shuriko has quit [Ping timeout: 248 seconds]
wobbol has joined #ffmpeg
pyre has quit [Remote host closed the connection]
pyre has joined #ffmpeg
jtgd has quit [Ping timeout: 276 seconds]
phantomics has joined #ffmpeg
phantomics_ has quit [Ping timeout: 245 seconds]
^Neo has joined #ffmpeg
^Neo has joined #ffmpeg
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg
Shine has quit [Read error: Connection reset by peer]
^Neo has quit [Ping timeout: 248 seconds]
foul_owl has quit [Ping timeout: 248 seconds]
Sketch has quit [Quit: ZNC - http://znc.in]
Sketch has joined #ffmpeg
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg
foul_owl has joined #ffmpeg
xx has joined #ffmpeg
Some_Person has quit [Quit: ZNC 1.8.2 - https://znc.in]
Some_Person has joined #ffmpeg
olndrxyz has quit [Quit: Quit]
olndrxyz has joined #ffmpeg
jtgd has joined #ffmpeg
Shine has joined #ffmpeg
Vonter has quit [Ping timeout: 260 seconds]
Vonter has joined #ffmpeg
Vonter has quit [Ping timeout: 252 seconds]
Vonter has joined #ffmpeg
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg
deetwelve has quit [Quit: null]
deetwelve has joined #ffmpeg
dreamon has quit [Ping timeout: 272 seconds]
pyre has quit [Remote host closed the connection]
pyre has joined #ffmpeg
yans has quit [Ping timeout: 268 seconds]
^Neo has joined #ffmpeg
^Neo has joined #ffmpeg
dreamon has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
Mirarora has quit [Quit: Mirarora encountered a fatal error and needs to close]
dreamon has quit [Ping timeout: 252 seconds]
olndrxyz has quit [Ping timeout: 248 seconds]
olndrxyz has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
^Neo has quit [Ping timeout: 246 seconds]
dreamon has joined #ffmpeg
olndrxyz has quit [Ping timeout: 252 seconds]
emanuele6 has quit [Quit: moo you later]
coldfeet has quit [Quit: Lost terminal]
sewn has quit [Remote host closed the connection]
sewn has joined #ffmpeg
YUiNA has joined #ffmpeg
f0x_303369127 has quit [Ping timeout: 248 seconds]
f0x_303369127 has joined #ffmpeg
f0x_303369127 has quit [Read error: Connection reset by peer]
f0x_303369127 has joined #ffmpeg
someone1 has joined #ffmpeg
<someone1> Greetings. I write to report an issue configuring ffmpeg with cuda support using next parameters: NVIDIA-DRIVER: 550.144.03 and CUDA 12.8
<someone1> the trace error of config log ffbuild/conf shows nvcc -gencode arch=compute_60,code=sm_60 -O2 -std=c++11 -m64 -ptx -c -o /tmp/ffconf.257COYYl/test.o /tmp/ffconf.257COYYl/test.cu
<someone1> nvcc warning : Support for offline compilation for architectures prior to '<compute/sm/lto>_75' will be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
<someone1> /usr/include/c++/14/type_traits(1610): error: "__is_nothrow_new_constructible" is not a function or static data member
<someone1> constexpr bool __is_nothrow_new_constructible
<someone1> ^
<someone1> /usr/include/c++/14/type_traits(1610): error: "constexpr" is not valid here
<someone1> constexpr bool __is_nothrow_new_constructible
<someone1> ^
<someone1> 2 errors detected in the compilation of "/tmp/ffconf.257COYYl/test.cu".
<someone1> ERROR: failed checking for nvcc.
<someone1> may you give me some feedback in order to solve this issue :D
<someone1> Kind Regards.
<JEEB> I think for a long time for cuda stuff using clang has been recommended
<JEEB> since it's open source and works just as well
Juesto has joined #ffmpeg
odrling has quit [Read error: Connection reset by peer]
odrling has joined #ffmpeg
mrelcee has quit [Remote host closed the connection]
mrelcee has joined #ffmpeg
busy has quit [Ping timeout: 260 seconds]
<someone1> JEEB: then are you saying that It should compile retiring the flag --enable-cuda-nvcc from ./configure --enable-nonfree --enable-cuda-nvcc --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --disable-static --enable-shared ?
Juest has quit [Ping timeout: 265 seconds]
Juesto is now known as Juest
<JEEB> someone1: also for most use cases you don't want the npp stuff
<JEEB> generally you only require clang (autodetected), and the nvidia codec headers (https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git;a=summary)
<someone1> JEEB: Thank you guy!!! I'm going to try :D
f0x_303369127 has quit [Read error: Connection reset by peer]
f0x_303369127 has joined #ffmpeg
busy has joined #ffmpeg
olndrxyz has joined #ffmpeg
elvis_a_presley has quit [Quit: smoke-bomb ; grapple-hook]
elvis_a_presley has joined #ffmpeg
someone1 has quit [Remote host closed the connection]
f0x_303369127 has quit [Read error: Connection reset by peer]
f0x_303369127 has joined #ffmpeg
f0x_303369127 has quit [Read error: Connection reset by peer]
f0x_303369127 has joined #ffmpeg
rsx has quit [Quit: rsx]
wobbol has quit [Ping timeout: 252 seconds]
f0x_303369127 has quit [Read error: Connection reset by peer]
Muimi has joined #ffmpeg
f0x_303369127 has joined #ffmpeg
wobbol has joined #ffmpeg
sm1999 has quit [Quit: WeeChat 4.5.1]
sm1999 has joined #ffmpeg
f0x_303369127 has quit [Read error: Connection reset by peer]
rvalue- has joined #ffmpeg
rvalue has quit [Ping timeout: 248 seconds]
f0x_303369127 has joined #ffmpeg
rvalue- is now known as rvalue
johnjaye has joined #ffmpeg
<johnjaye> does -ss not take a negative argument?
<johnjaye> i want to process the video from 5 seconds before the end to the end
<johnjaye> oh i see -sseof... but it says it takes negative values
f0x_303369127 has quit [Read error: Connection reset by peer]
HarshK23 has quit [Quit: Connection closed for inactivity]
f0x_303369127 has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 260 seconds]
HerculesHD has quit [Ping timeout: 260 seconds]
EmleyMoor has joined #ffmpeg
f0x_303369127 has quit [Read error: Connection reset by peer]
f0x_303369127 has joined #ffmpeg
minimal has joined #ffmpeg
f0x_303369127 has quit [Read error: Connection reset by peer]
Shine has quit [Read error: Connection reset by peer]
f0x_303369127 has joined #ffmpeg
ryoskzypu has quit [Ping timeout: 264 seconds]
Shine has joined #ffmpeg
ryoskzypu has joined #ffmpeg
dreamon has quit [Ping timeout: 260 seconds]
System_Error has quit [Remote host closed the connection]
emmanuelux has quit [Read error: Connection reset by peer]
JavaBean has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
f0x_303369127 has quit [Read error: Connection reset by peer]
dreamon has joined #ffmpeg
System_Error has joined #ffmpeg
f0x_303369127 has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
iive has joined #ffmpeg
f0x_303369127 has quit [Read error: Connection reset by peer]
f0x_303369127 has joined #ffmpeg
Marth64[m] has joined #ffmpeg
sewn has quit [Ping timeout: 252 seconds]
Marth64 has quit [Ping timeout: 260 seconds]
sewn has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
^Neo has joined #ffmpeg
^Neo has joined #ffmpeg
f0x_303369127 has quit [Read error: Connection reset by peer]
f0x_303369127 has joined #ffmpeg
wobbol has quit [Ping timeout: 260 seconds]
sewn has quit [Ping timeout: 248 seconds]
Shine has quit [Read error: Connection reset by peer]
wobbol has joined #ffmpeg
sewn has joined #ffmpeg
Marth64[m] has quit [Remote host closed the connection]
f0x_303369127 has quit [Read error: Connection reset by peer]
f0x_303369127 has joined #ffmpeg
olndrxyz has quit [Quit: Quit]
olndrxyz has joined #ffmpeg
Exa has joined #ffmpeg
sewn has quit [Ping timeout: 246 seconds]
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
Vonter has quit [Ping timeout: 248 seconds]
Vonter has joined #ffmpeg
sewn has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
f0x_303369127 has quit [Read error: Connection reset by peer]
f0x_303369127 has joined #ffmpeg
quietvoid has joined #ffmpeg
tomaw| has joined #ffmpeg
<quietvoid> hello, is there a way to control whether ffmpeg adds container extradata (parameter sets) to a bitstream?
<quietvoid> i'm ending up with duplicate parameter sets when going mkv -> hevc
tomaw has quit [Killed (lithium.libera.chat (Nickname regained by services))]
tomaw| is now known as tomaw
f0x_303369127 has quit [Read error: Connection reset by peer]
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
f0x_303369127 has joined #ffmpeg
<quietvoid> it seems even with `-bsf:v remove_extra=freq=all` on the output, the extradata remains
<BtbN> I don't think a raw hevc bitstream dump has any way to save most extradata? What exactly do you mean?
<quietvoid> currently i'm doing "ffmpeg -i video.mkv -c:v copy -f hevc out.hevc"
<quietvoid> and the output has duplicate extra data in the bitstream (parameter sets, user data SEI)
<quietvoid> so the bitstream looks like this now:
<quietvoid> AUD, parameter sets, SEI prefix, duplicate parameter sets, slices
<quietvoid> most likely the mkv frames still have inband extradata but ffmpeg is also adding those from codec private
<BtbN> it probably already had that before then
<quietvoid> the duplicates?
<quietvoid> they aren't present in the original stream
<BtbN> yeah, most likely in the form you said
f0x_303369127 has quit [Read error: Connection reset by peer]
<quietvoid> they are added by ffmpeg
<quietvoid> when demuxing the mkv
<BtbN> if the original mkv has two sets of them, so will the resulting file
<BtbN> and having them as container level extradata and then again in the bitstream still means it has them twice
<quietvoid> i guess there's a different default behaviour vs. mkvextract
<BtbN> not sure what mkvextract is, but it probably just ignores the mkv extradata
f0x_303369127 has joined #ffmpeg
<quietvoid> it's from mkvtoolnix tools
<quietvoid> anyways what i'm looking for is a way to also ignore the mkv extradata, i suppose
dreamon has quit [Ping timeout: 272 seconds]
<BtbN> That would probably break on the next file over that does not have that oddity
<quietvoid> not sure i'd call ti an oddity when it's the behaviour of the most used mkv tools (mkvmerge)
<BtbN> A file having the same parameter sets twice is an oddity
de-facto has joined #ffmpeg
<de-facto> Hi how can i tell ffmpeg to use for output format the same as it detected from input format?
<de-facto> i want to use it in pipe e.g. between STDIN and STDOUT
<de-facto> without specifying output format, it should know from input data guessing
<quietvoid> i guess i'll have to dedupe them myself
f0x_303369127 has quit [Read error: Connection reset by peer]
<BtbN> de-facto: just... don't have ffmpeg in between?
<BtbN> What is the ultimate goal?
<BtbN> also keep in mind that most muxers, and a lot of demuxers, do not work properly if they can't seek
f0x_303369127 has joined #ffmpeg
<de-facto> im trying to use it as image compressor from python subprocess pipe without touching the disk
<de-facto> e.g. all in memory
<BtbN> There is no way for it to infer from the input being a jpeg or png that the output should also be that
<BtbN> You'd need to do that in the shell script around it
<de-facto> it does do that though e.g. ffmpeg -i - -f mjpeg -
<de-facto> detects input format correctly, but required -f outputformat
<BtbN> It obviously detect the input format
<BtbN> but the output format is not influenced by that
<de-facto> hence my question
<BtbN> Well, I answered the question
<de-facto> is there a way to determine which codec should be specified for output format?
<BtbN> not easily I'm afraid
<de-facto> e.g. what it would use for files?
<BtbN> the default for files stems from the extension used
<de-facto> there are so many options, id like it to pick one automatically
<BtbN> It has nothing to work with when the output is a pipe
<de-facto> like -f auto or -f same or such
<BtbN> that's the default
<BtbN> and it works fine if the output is a file with a common extension
<de-facto> how to tell it an extension?
<BtbN> "out.png" <- .png
<BtbN> If you use a pipe, there is no such thing. So you need to use -f png instead.
<de-facto> yes but which argument tells it the output extension, e.g. without specifying a file (since i use "pipe:"
<BtbN> The literal filename
beastd has quit [Ping timeout: 268 seconds]
<de-facto> yeah that does not exist
<BtbN> Yes, that's the point
<BtbN> that's why with a pipe, you need -f
<de-facto> when using it with files i see from the logs it using the output codecs: Lavc58.134.100 mjpeg or Lavc58.134.100 png
<de-facto> hence -f mjpeg or -f png are the defaults?
s55 has quit [Quit: ZNC 1.9.1 - https://znc.in]
<furq> for images it's -f image2 and -c changes
<furq> or for most common image formats anyway
s55 has joined #ffmpeg
<de-facto> whtas -c changes?
<furq> -c:v mjpeg or -c:v png
<BtbN> That's still inferred from the output side though, not the input
<de-facto> oh so image2 is the container and -c the codec?
<furq> right
<BtbN> For all I'm aware, what you're asking is simply not possible
<BtbN> image2 is the muxer
<de-facto> so like this? ffmpeg -i - -f image2 -c:v png -
<furq> right
<furq> ffmpeg isn't particularly good at compressing jpg or png though
<furq> i don't think you'd gain anything over just using pillow
<de-facto> can it put metadata like JPEG comments or PNG text?
<de-facto> i am using pillow right now, i want to compare results
<furq> well for png you'll want -compression_level 9 -pred mixed
beastd has joined #ffmpeg
<de-facto> and for mjpeg?
f0x_303369127 has quit [Read error: Connection reset by peer]
f0x_303369127 has joined #ffmpeg
s55 has quit [Quit: ZNC 1.9.1 - https://znc.in]
s55 has joined #ffmpeg
sihloo has quit [Quit: ZNC 1.9.1 - https://znc.in]
Shuriko has joined #ffmpeg
f0x_303369127 has quit [Read error: Connection reset by peer]
olndrxyz has quit [Quit: Quit]
f0x_303369127 has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
<de-facto> the mjpeg codec looks pretty good
<de-facto> is this here somehow correct use of the options? https://bpa.st/IRWQ