BtbN 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.0 is released
kasper93 has quit [Ping timeout: 244 seconds]
kasper93 has joined #ffmpeg
System_Error has joined #ffmpeg
CarlFK has joined #ffmpeg
sugoi1 has joined #ffmpeg
sugoi has quit [Ping timeout: 276 seconds]
sugoi1 is now known as sugoi
lusciouslover has quit [Read error: Connection reset by peer]
lusciouslover has joined #ffmpeg
<uuuuu_> furq: what switch enabled msvideo1?
<uuuuu_> nevermind I see where and how
Muimi has joined #ffmpeg
System_Error has quit [Ping timeout: 260 seconds]
System_Error has joined #ffmpeg
emanuele6 has quit [Ping timeout: 255 seconds]
emanuele6 has joined #ffmpeg
uuuuu_ has quit [Ping timeout: 252 seconds]
xx has quit [Ping timeout: 260 seconds]
kasper93 has quit [Read error: Connection reset by peer]
kasper93 has joined #ffmpeg
sugoi has quit [Ping timeout: 255 seconds]
minimal has quit [Quit: Leaving]
emanuele6 has quit [Ping timeout: 260 seconds]
kasper93 has quit [Read error: Connection reset by peer]
kasper93 has joined #ffmpeg
five6184803391 has quit [Remote host closed the connection]
five6184803391 has joined #ffmpeg
jarthur_ has quit [Quit: jarthur_]
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
lec_thege8042726 has joined #ffmpeg
farter has joined #ffmpeg
sugoi has joined #ffmpeg
KDDLB has quit [Quit: The Lounge - https://thelounge.chat]
KDDLB has joined #ffmpeg
hightower2 has joined #ffmpeg
sugoi has quit [Ping timeout: 246 seconds]
<farter> a little finding: wondered whether i should use AVERROR(EOF) or AV_ERROR_EOF, searched the code, found that all uses the latter while https://ffmpeg.org/doxygen/trunk/api-flac-test_8c_source.html#l00200 here is the only AVERROR(EOF), which might be wrong
Suchiman has quit [Quit: Connection closed for inactivity]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
Muimi has joined #ffmpeg
lec_thege8042726 has quit [Ping timeout: 264 seconds]
whatsupdoc has quit [Quit: Connection closed for inactivity]
lec_thege8042726 has joined #ffmpeg
zsoltiv_ has quit [Ping timeout: 264 seconds]
DauntlessOne has joined #ffmpeg
iconoclasthero has quit [Ping timeout: 260 seconds]
jagannatharjun has joined #ffmpeg
namazso has quit [Remote host closed the connection]
namazso has joined #ffmpeg
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
rv1sr has joined #ffmpeg
figboot is now known as \
\ is now known as bigfoot547
noobaroo has joined #ffmpeg
<noobaroo> hi, i downloaded a file but it got interrupted 95% of the way. so i stream copied into a new container so the timestamps or whatever are fixed. It worked fine but im curious about before or after i for this use case, on trac.ffmpeg.org, the difference is only mentioned for seeking mid-video
<noobaroo> The hashes come out different but the sizes are exactly the same amount of bytes
<noobaroo> First i did `-i $V -t 03:06:05 -c copy` and second I did `-t 03:06:05 -i $V -c copy` the output is exact same size
<noobaroo> But unlike compiling stuff I don't think ffmpeg puts any sort of unique identifier or marker on a job, does it? I think before the result is usually the same hash if the sizes are the same, so something must be different here
<noobaroo> im just curious thats all
Muimi has joined #ffmpeg
Traneptora has quit [Quit: Quit]
uuuuu has joined #ffmpeg
Muimi has quit [Remote host closed the connection]
sugoi has joined #ffmpeg
sugoi has quit [Ping timeout: 265 seconds]
Renb has quit [Ping timeout: 248 seconds]
emanuele6 has joined #ffmpeg
Some_Person has quit [Ping timeout: 245 seconds]
uuuuu has quit [Read error: Connection reset by peer]
Some_Person has joined #ffmpeg
uuuuu has joined #ffmpeg
lavaball has joined #ffmpeg
thomas_D88 has quit [Ping timeout: 265 seconds]
uuuuu_ has joined #ffmpeg
uuuuu has quit [Ping timeout: 248 seconds]
uuuuu_ is now known as uuuuu
rbdr has joined #ffmpeg
CarlFK has quit [Ping timeout: 260 seconds]
Suchiman has joined #ffmpeg
dkh has quit [Ping timeout: 252 seconds]
xx has joined #ffmpeg
dkh has joined #ffmpeg
luc4 has joined #ffmpeg
luc4 has quit [Client Quit]
HerbY_NL has joined #ffmpeg
luc4 has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
uuuuu_ has joined #ffmpeg
uuuuu has quit [Ping timeout: 252 seconds]
uuuuu_ is now known as uuuuu
System_Error has joined #ffmpeg
jagannatharjun has quit [Quit: Connection closed for inactivity]
sentriz has joined #ffmpeg
sugoi has joined #ffmpeg
celmor has quit [Quit: Client closed]
alexherbo2 has joined #ffmpeg
sugoi has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Remote host closed the connection]
celmor has joined #ffmpeg
five6184803391 has quit [Remote host closed the connection]
five6184803391 has joined #ffmpeg
emmanuelux has quit [Quit: au revoir]
Blacker47 has joined #ffmpeg
alexherbo2 has joined #ffmpeg
celmor has quit [Quit: Client closed]
Rena has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
HerbY_NL has quit [Read error: Connection reset by peer]
HerbY_NL has joined #ffmpeg
farter has quit [Ping timeout: 256 seconds]
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
HerbY_NL has joined #ffmpeg
MoC has joined #ffmpeg
HerbY_NL has quit [Client Quit]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
rbdr has quit [Quit: (Zzz)]
jagannatharjun has joined #ffmpeg
rbdr has joined #ffmpeg
iconoclasthero has joined #ffmpeg
five6184803391 has quit [Quit: The Lounge - https://thelounge.chat]
jarrhed has quit [Ping timeout: 260 seconds]
jarrhed has joined #ffmpeg
uuuuu_ has joined #ffmpeg
uuuuu has quit [Ping timeout: 265 seconds]
uuuuu_ is now known as uuuuu
rbdr has quit [Quit: (Zzz)]
rbdr has joined #ffmpeg
ttys000 has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
minimal has joined #ffmpeg
Blacker47 has joined #ffmpeg
ifreund has quit [Read error: Connection reset by peer]
atrius has quit [Write error: Connection reset by peer]
RetroPunk has quit [Read error: Connection reset by peer]
tsujp has quit [Read error: Connection reset by peer]
noelle has quit [Read error: Connection reset by peer]
atrius has joined #ffmpeg
ifreund_ has joined #ffmpeg
tsujp has joined #ffmpeg
noelle has joined #ffmpeg
ifreund_ is now known as ifreund
lockywolf has quit [Quit: ZNC 1.8.2 - https://znc.in]
lockywolf has joined #ffmpeg
lockywolf has quit [Ping timeout: 276 seconds]
lockywolf_ has joined #ffmpeg
lockywolf_ is now known as lockywolf
HerbY_NL has joined #ffmpeg
ttys000 has quit [Ping timeout: 245 seconds]
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lucasta has joined #ffmpeg
coldfeet has joined #ffmpeg
coldfeet has quit [Remote host closed the connection]
xpilot has joined #ffmpeg
<xpilot> I am streaming to twitch.tv using x11grab but the stream is very choppy. My command is "ffmpeg -report -f x11grab -i :99 -f alsa -ac 2 -i default -c:v h264_nvenc -g 60 -preset fast -b:v 3000k -maxrate 3000k -bufsize 6000k -c:a aac -ar 44100 -f flv". Is there anything I can do to make it smoother?
pa has quit [Ping timeout: 264 seconds]
Kadigan has joined #ffmpeg
<Kadigan> Hey all. Can I build ffmpeg for old macOS (10.12.6 in this case) using e.g. Linux? I can't seem to build ffmpeg since about mid-2023 because some change was made and the Mac is no longer able to satisfy the process.
theobjectivedad has quit [Remote host closed the connection]
<Kadigan> (something about tagging enum for AVMedia-something or other, don't have the exact error returned at build)
theobjectivedad has joined #ffmpeg
<BtbN> There are no cross compiler to target Apple-Stuff. They are doing everything they can to prevent that.
<BtbN> So you need OSX to build for OSX, which means you need Apple-Hardware.
<BtbN> xpilot: x11grab just isn't very efficient, specially if the stuff being displayed is hardware accelerated like video playback or OpenGL/Vulkan
<vlt> xpilot: "-pix_fmt yuv420p" could save a few bits.
<BtbN> That sounds unrelated to the issue
<Kadigan> BtbN: I do have apple hardware, it's just that I can't have the newer macOS because my GPU is not compatible.
<BtbN> I don't think twitch would even accept non-420 content
<BtbN> Kadigan: I think you are straight up out of luck then
<BtbN> using such an old OS without any security updates is a bad idea anyway
theobjectivedad has quit [Remote host closed the connection]
<Kadigan> Yeah, I'll upgrade when they send me a new GPU. :/
<Kadigan> Thanks anyway.
Kadigan has left #ffmpeg [Bye.]
<BtbN> What Apple-Hardware can you even upgrade the GPU in?
probie has quit [Ping timeout: 252 seconds]
tsujp has quit [Ping timeout: 260 seconds]
theobjectivedad has joined #ffmpeg
lockywolf has quit [Ping timeout: 246 seconds]
ninjin has quit [Ping timeout: 252 seconds]
jmcantrell has quit [Ping timeout: 252 seconds]
ifreund has quit [Ping timeout: 260 seconds]
theobjectivedad has quit [Remote host closed the connection]
brocellous has quit [Ping timeout: 272 seconds]
ursa-major has quit [Ping timeout: 252 seconds]
noelle has quit [Ping timeout: 276 seconds]
atrius has quit [Ping timeout: 276 seconds]
theobjectivedad has joined #ffmpeg
<xpilot> BtbN: ah interesting. Yes in my case it is accelerated using I believe Vulkan
<xpilot> I'm curious how does OBS do it then? I know it uses ffmpeg under the hood
theobjectivedad has quit [Remote host closed the connection]
<BtbN> OBS does not use ffmpeg for much of anything. They went NIH on most things, even the encoders.
<BtbN> No idea how OBS does efficient screen capture on Linux. For individual windows on X11 it can pretend to be a compositor and get textures handed to it
theobjectivedad has joined #ffmpeg
lockywolf has joined #ffmpeg
theobjectivedad has quit [Remote host closed the connection]
<xpilot> hm I see. is there any better way to do it with ffmpeg?
theobjectivedad has joined #ffmpeg
iconoclasthero has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
iconoclasthero has joined #ffmpeg
<BtbN> Merge that patch for Wayland-Magic-Dbus-Screencapture and use Wayland
lockywolf has quit [Client Quit]
<xpilot> interesting, can I read more about this somewhere?
nd has quit [Quit: bye]
<xpilot> for more context, I am running on a headless server with xvfb
<BtbN> Yeah, that won't work there
<BtbN> And you won't have hardware acceleration with that either, so of course it lags
lockywolf has joined #ffmpeg
ninjin has joined #ffmpeg
celmor has joined #ffmpeg
RetroPunk has joined #ffmpeg
ursa-major has joined #ffmpeg
jmcantrell has joined #ffmpeg
samhza has joined #ffmpeg
probie has joined #ffmpeg
nd has joined #ffmpeg
<xpilot> hm apparently people are suggesting to use vglrun to enable hardware acceleration
<BtbN> Doesn't that just redirect it elsewhere?
<BtbN> "The main use-case is to enable server-side hardware-accelerated 3D rendering for remote desktop set-ups where the X server that handles the application is either on the other side of the network"
Traneptora has joined #ffmpeg
ifreund has joined #ffmpeg
tsujp has joined #ffmpeg
brocellous has joined #ffmpeg
noelle has joined #ffmpeg
celmor78 has joined #ffmpeg
celmor78 has quit [Client Quit]
atrius has joined #ffmpeg
<xpilot> maybe, I'm a bit clueless about this stuff. I was following this question: https://stackoverflow.com/questions/69671382/how-to-run-chrome-in-xvfb-with-gpu-nvidia-supported
<BtbN> I've never messed with that stuff, but you need a proper X server somewhere for hardware acceleration
stolen has joined #ffmpeg
uuuuu has quit [Ping timeout: 252 seconds]
Harzilein has joined #ffmpeg
<Harzilein> hi
<Harzilein> so
<Harzilein> usually people ask about keyframe _extraction_ for processing with third party tools
<Harzilein> can i have ffmpeg assemble a "picture show" with the same duration as the source video instead? ideally avoiding reencoding?
<DHE> it can be done, but I'm not sure if it can be done without reencoding. at least not without doing it from an API standpoint...
<DHE> a quick search of the man page comes up with "-discard nokey" which might work...
sugoi has joined #ffmpeg
theobjectivedad has quit [Remote host closed the connection]
theobjectivedad has joined #ffmpeg
mven97 has quit [Quit: Goodbye.]
sugoi has quit [Ping timeout: 252 seconds]
noobaroo has quit [Quit: noobaroo]
<Harzilein> trying that
mven97 has joined #ffmpeg
<Harzilein> googling with that gives me hope. initial test with just that and -codec copy and outputfile.same_type_as_input didn't change anything at all. so maybe it silently refuses to make something unsuitable. the post i found makes it a two step process
xpilot has quit [Remote host closed the connection]
mven979 has joined #ffmpeg
<Harzilein> hmm
<Harzilein> second attempt also results (at least) in same size file
mven97 has quit [Ping timeout: 260 seconds]
mven979 is now known as mven97
pah has joined #ffmpeg
ttys000 has joined #ffmpeg
HarshK23 has quit [Quit: Connection closed for inactivity]
Sketch has quit [Ping timeout: 248 seconds]
pah is now known as pa
<Harzilein> so with
<Harzilein> ffmpeg -discard nokey -i input_with_h264_video.mkv -c copy output.h264 # and
<Harzilein> ffmpeg -r 23 -i output.h264 -c copy output.mkv # from the search results
<Harzilein> (which would of course still pose a problem with the accuracy of "same length result file")
<Harzilein> i get
<Harzilein> [matroska @ 0x56384de67ec0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
<Harzilein> oh
<Harzilein> and
<Harzilein> [matroska @ 0x56384de67ec0] Can't write packet with unknown timestamp
<Harzilein> av_interleaved_write_frame(): Invalid argument
<Harzilein> if i mux to mp4 i get the same warnings, but no error
theobjectivedad has quit [Remote host closed the connection]
<Harzilein> [mp4 @ 0x560a77f5dec0] pts has no value56kB time=00:31:48.08 bitrate=9673.1kbits/s speed= 347x
<Harzilein> Last message repeated 2892 times
<Harzilein> :D
theobjectivedad has joined #ffmpeg
MoC has quit [Quit: Konversation terminated!]
<Harzilein> but still the same filesize and no real difference apart from my rounding down the fps
uuuuu has joined #ffmpeg
sihloo has quit [Quit: ZNC 1.9.1 - https://znc.in]
sugoi has joined #ffmpeg
xpilot has joined #ffmpeg
<xpilot> BtbN: I ended up following the virtualgl solution and it seems to have worked!
sugoi has quit [Ping timeout: 260 seconds]
sihloo has joined #ffmpeg
Sketch has joined #ffmpeg
Traneptora has quit [Quit: Quit]
coldfeet has joined #ffmpeg
minimal has quit [Quit: Leaving]
HerbY_NL has joined #ffmpeg
luc4 has quit [Ping timeout: 260 seconds]
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<BtbN> So you also have a full on desktop X11 on that machine?
Dagger has quit [Ping timeout: 260 seconds]
<xpilot> no, there's currently no display attached
<xpilot> although I think I did have to install xorg while setting up virtualgl so maybe yes?
Dagger has joined #ffmpeg
<xpilot> hm actually the video quality is still kind of choppy -- still better than before though
<BtbN> Cause all virtualgl does it forward OpenGL (and maybe vulkan these days?) calls to another X server
<BtbN> *is
lexano has quit [Ping timeout: 248 seconds]
iconoclasthero has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
iconoclasthero has joined #ffmpeg
lexano has joined #ffmpeg
Brocker has quit [Quit: ZNC 1.8.2 - https://znc.in]
Brocker has joined #ffmpeg
lucasta has quit [Remote host closed the connection]
Traneptora has joined #ffmpeg
kasper93 has quit [Remote host closed the connection]
sugoi has joined #ffmpeg
kasper93 has joined #ffmpeg
Sketch has quit [Read error: Connection reset by peer]
coldfeet has quit [Remote host closed the connection]
Sketch has joined #ffmpeg
Juest has quit [Ping timeout: 272 seconds]
five6184803391 has joined #ffmpeg
uuuuu has quit [Quit: uuuuu]
five6184803391 has quit [Quit: The Lounge - https://thelounge.chat]
Juest has joined #ffmpeg
rbdr has quit [Quit: (Zzz)]
five6184803391 has joined #ffmpeg
Juest has quit [Ping timeout: 265 seconds]
Juest has joined #ffmpeg
five6184803391 has quit [Quit: The Lounge - https://thelounge.chat]
<iconoclasthero> `[flac @ 0x623070e39440] Picture block too big 35900978 >= 16777216` if it's too big, how did it get in there in the first place?
<iconoclasthero> `ffmpeg -hide_banner -nostdin -i "$flac24" -af aresample=osf=s16:dither_method=triangular_hp -n -ar "$Hz" "$flac16"`
<iconoclasthero> Hz=48000 or 41000
minimal has joined #ffmpeg
five6184803391 has joined #ffmpeg
<furq> no idea but that is part of the spec
jemius has joined #ffmpeg
<furq> you can try metaflac --remove --block-type=PICTURE foo.flac
auri has quit [Ping timeout: 246 seconds]
auri has joined #ffmpeg
HerbY_NL has joined #ffmpeg
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Juest has quit [Ping timeout: 248 seconds]
Juesto has joined #ffmpeg
Juesto is now known as Juest
MetaNova has quit [Ping timeout: 276 seconds]
MetaNova has joined #ffmpeg
Muimi has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 252 seconds]
EmleyMoor has joined #ffmpeg
rvalue- has joined #ffmpeg
rvalue has quit [Ping timeout: 252 seconds]
Offspring has quit [Quit: ZNC - https://znc.in]
Traneptora has quit [Quit: Quit]
Offspring has joined #ffmpeg
Vonter has quit [Ping timeout: 252 seconds]
Offspring has quit [Client Quit]
Offspring has joined #ffmpeg
Vonter has joined #ffmpeg
rvalue- is now known as rvalue
Juesto has joined #ffmpeg
Juest has quit [Ping timeout: 260 seconds]
Juesto is now known as Juest
HerbY_NL has joined #ffmpeg
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iive has joined #ffmpeg
Traneptora has joined #ffmpeg
stolen has quit [Quit: Connection closed for inactivity]
Juest has quit [Ping timeout: 260 seconds]
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
Juest has joined #ffmpeg
Muimi has joined #ffmpeg
Vonter has quit [Quit: WeeChat 4.4.1]
sugoi1 has joined #ffmpeg
sugoi has quit [Ping timeout: 246 seconds]
sugoi1 is now known as sugoi
Vonter has joined #ffmpeg
HerbY_NL has joined #ffmpeg
javabean has quit [Ping timeout: 248 seconds]
javabean_ has joined #ffmpeg
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
javabean_ is now known as JavaBean
celmor has quit [Quit: Client closed]
odrling has joined #ffmpeg
Sakura`Kinomoto has quit [Ping timeout: 248 seconds]
Sakura`Kinomoto has joined #ffmpeg
Harzilein has quit [Remote host closed the connection]
jarthur has joined #ffmpeg
wyatt8740 has quit [Ping timeout: 245 seconds]
wyatt8740 has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
jagannatharjun has quit [Quit: Connection closed for inactivity]
rbdr has joined #ffmpeg
rbdr has quit [Client Quit]
rbdr has joined #ffmpeg
rbdr has quit [Client Quit]
jemius has quit [Quit: Leaving]
rv1sr has quit []
five6184803391 has quit [Remote host closed the connection]
five6184803391 has joined #ffmpeg
SuicideShow has quit [Ping timeout: 248 seconds]
SuicideShow has joined #ffmpeg
sugoi1 has joined #ffmpeg
sugoi has quit [Ping timeout: 252 seconds]
sugoi1 is now known as sugoi
kasper93 has quit [Ping timeout: 246 seconds]
kasper93 has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
nitroxis has quit []
lexano has quit [Ping timeout: 265 seconds]
psykose has quit [Remote host closed the connection]
psykose has joined #ffmpeg
lexano has joined #ffmpeg
sugoi has quit [Ping timeout: 260 seconds]
sugoi has joined #ffmpeg