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)]
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 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?
<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"
<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]
<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