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
nasso has quit [Remote host closed the connection]
Sketch has quit [Ping timeout: 260 seconds]
HerbY_NL has joined #ffmpeg
HerbY_NL_ has quit [Ping timeout: 244 seconds]
nasso has joined #ffmpeg
Sketch has joined #ffmpeg
coldfeet has quit [Remote host closed the connection]
odrling has quit [Remote host closed the connection]
odrling has joined #ffmpeg
SystemError has joined #ffmpeg
travisghansen9 has joined #ffmpeg
travisghansen has quit [Read error: Connection reset by peer]
travisghansen9 is now known as travisghansen
lavaball has quit [Quit: lavaball]
yans has quit [Ping timeout: 248 seconds]
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Sl4yer has joined #ffmpeg
l4yer has quit [Ping timeout: 272 seconds]
Sl4yer has quit [Ping timeout: 246 seconds]
lexano has quit [Ping timeout: 246 seconds]
lexano has joined #ffmpeg
HerbY_NL has joined #ffmpeg
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
slobodan has joined #ffmpeg
Magissia has quit [Ping timeout: 272 seconds]
<slobodan>
Hi guys how can I set constant bit rate for my MPEG video I tried -b:v 624k -maxrate 624k -bufsize 624k but Im getting cpb: bitrate max/min/avg: 9000000/0/0
<slobodan>
MPEG2 video *
coldfeet has joined #ffmpeg
zmt01 has joined #ffmpeg
coldfeet has quit [Remote host closed the connection]
lavaball has joined #ffmpeg
zmt00 has quit [Ping timeout: 276 seconds]
minimal has joined #ffmpeg
kron has quit [Quit: kron]
kron has joined #ffmpeg
Traneptora has quit [Quit: Quit]
Traneptora has joined #ffmpeg
beaver has joined #ffmpeg
lucasta has joined #ffmpeg
swamp_ has joined #ffmpeg
koi has quit [Ping timeout: 276 seconds]
koi has joined #ffmpeg
jagannatharjun has quit [Ping timeout: 276 seconds]
Manouchehri has quit [Ping timeout: 276 seconds]
zmt01 has quit [Ping timeout: 276 seconds]
Manouchehri has joined #ffmpeg
jagannatharjun has joined #ffmpeg
Magissia has joined #ffmpeg
Sketch has quit [Ping timeout: 272 seconds]
King_DuckZ has joined #ffmpeg
<King_DuckZ>
hey all, any devs around? I'm trying to fix a playback problem and I'd like to ask some questions, it's about libavformat/udp.c
<JEEB>
for internals, possibly -devel is better
<znf>
Can I rely on "Main (10)" to _always_ be present in a HEVC encoded file, when it's 10 bit?
<King_DuckZ>
JEEB: thanks!
King_DuckZ has left #ffmpeg [See you later]
<JEEB>
znf: there are other profiles that allow 10bit
<znf>
I know there's different pixel formats, so I can't always look for that
<znf>
aw damn
<JEEB>
it will not be main of course since that doesn't support 10bit, but you can just look at the list of profiles in H.265
<znf>
then how can I figure out if a video is 10bit from ffprobe's json output?
Sketch has joined #ffmpeg
<JEEB>
also main 10 allows for example for both 8 and 10 bit coding, but of course most utilize that profile to actually code 10 bits
<JEEB>
in the worst case show -show_frames and limit to 1 decoded frame or so?
<NoImNotNineVolt>
BtbN: if there are such errors, then it can't decode that portion of the file, but eventually there's a keyframe, and it works fine from that point. but that's in the context of playback.
<NoImNotNineVolt>
but presumably seeking is another matter, unless ffmpeg can still compute time deltas for delta frames
<NoImNotNineVolt>
in which case that'd be the same as slow seeking, right?
<JEEB>
znf: and thus the pixel format is the least bad way of figuring it out. in API there is a mapping to a structure that then gives you the details of a specific identifier, but I don't think that's available as a cli thing (see libavutil/pixdesc.c where you can find it by name and then it will have the bit depth for each of the three planes [10, 10, 10])
HerbY_NL has joined #ffmpeg
Sketch has quit [Ping timeout: 276 seconds]
beaver has quit [Remote host closed the connection]
<furq>
ffmpeg -pix_fmts
coldfeet has joined #ffmpeg
stolen has joined #ffmpeg
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Sketch has joined #ffmpeg
jlc has quit [Ping timeout: 248 seconds]
jlc has joined #ffmpeg
FlorianBad has quit [Remote host closed the connection]
FlorianBad has joined #ffmpeg
Jiggy has quit [Read error: Connection reset by peer]
Sketch has quit [Ping timeout: 276 seconds]
<znf>
not directly related - but is there any way of swapping IDs of video cards (cuda devices)?
<znf>
specifically: I want to add a 2nd GPU to a system, but when I do that, the *new* device added gets seen as cuda:0, and I would really prefer it to be cuda:1
Sketch has joined #ffmpeg
Jiggy has joined #ffmpeg
jarthur has joined #ffmpeg
Sketch has quit [Ping timeout: 276 seconds]
lavaball has quit [Remote host closed the connection]
Tinos has quit [Remote host closed the connection]
Tinos has joined #ffmpeg
Sketch has joined #ffmpeg
slobodan has quit [Read error: Connection reset by peer]
lucasta has quit [Remote host closed the connection]
Sketch has quit [Ping timeout: 265 seconds]
Sketch has joined #ffmpeg
evilscreww has joined #ffmpeg
MrZeus has joined #ffmpeg
<CounterPillow>
Ask nvidia's support, device numbering is usually handled by the kernel module
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
lavaball has joined #ffmpeg
MrZeus_ has joined #ffmpeg
vampirefrog has quit [Ping timeout: 260 seconds]
MrZeus has quit [Ping timeout: 252 seconds]
Sketch has quit [Read error: Connection reset by peer]
Tinos has quit [Ping timeout: 256 seconds]
Sketch has joined #ffmpeg
HerbY_NL has joined #ffmpeg
evilscreww has quit [Quit: Leaving]
<BtbN>
pretty sure that's just physical device numbering
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Sketch has quit [Remote host closed the connection]
Sketch has joined #ffmpeg
vincejv has quit [Remote host closed the connection]
jarthur has quit [Quit: jarthur]
johnjaye has joined #ffmpeg
<johnjaye>
i'm trying to increase the relative volume of an audio file and then use it in an output along with the video of another file. but i don't think i'm doing it right
<johnjaye>
actually i just realized it's because the audio splicing itself failed before
<johnjaye>
nevermind
kasper93 has joined #ffmpeg
<johnjaye>
i'm still fumbling a bit with the filter_complex syntax.
<vlt>
johnjaye: It was quite straightforward for me once I had seen a worling example :D
<johnjaye>
what am i doing wrong here? ffmpeg -i x.mp3 -i y.mp3 -filter_complex amix=inputs=2:duration=longest;[1:a]volume=1.2 output.mp3
<johnjaye>
the intention is to mix the 2 files but boost the volume of the 2nd one
<vlt>
johnjaye: Then do that first.
<vlt>
Before mixing.
<johnjaye>
vlt: the wiki had some examples but I didn't see how to select the inputs and combine them correctly
<johnjaye>
ok. i thought filter complex could do it
<vlt>
johnjaye: Move the volume part to the front and assign output labels that you pick up later in the chain.
<johnjaye>
ah i thought variables was a more advanced feature. do you have a good tutorial for filter_complex?
<DHE>
it's not that complex.... just as sequence of [input1][input2] filtername=options [output1][output2]; repeat
<DHE>
where filtername comes from the usual -vf and -af filters... inputs are either things like [0:v], [1:2] etc, or you can set your own names where an input matches an output to make a connection.
<DHE>
and finally, outputs not used are available for output files with -map [output3] etc to pull the resulting data
<johnjaye>
0:v meaning the same as with -map I take it?
<DHE>
yes
makidoll has quit [Read error: Connection reset by peer]
makidoll has joined #ffmpeg
<johnjaye>
what happens if send the audio from the first file, then again from the second file? does it overwrite or displace the first one?
<johnjaye>
meaning, i need to send both files to the amix filter and send that to the output
<DHE>
..? if you mean -map 0:a -map 1:a it means ffmpeg will try to make an output file with 2 discrete audio streams
<DHE>
(not to be confused with left and right channels in a single audio stream)
<vlt>
johnjaye: You can take the first audio, increase the volume and assign a label to be used later: "[0:a]volume=1.2[louder_one];" Then mix both streams: "[louder_one][1:a]amix=duration=longest". You could add a final "[ao]" and use that in "-map" but in my experience you can omit the last one.
stolen has quit [Quit: Connection closed for inactivity]
l4yer has joined #ffmpeg
l4yer has quit [Max SendQ exceeded]
jemius has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
sm1999_ has quit [Quit: WeeChat 4.4.0-dev]
sm1999 has joined #ffmpeg
kasper93 has quit [Remote host closed the connection]
l4yer has joined #ffmpeg
kasper93 has joined #ffmpeg
lemourin4 has joined #ffmpeg
lemourin has quit [Killed (lithium.libera.chat (Nickname regained by services))]
lemourin4 is now known as lemourin
emanuele6 has quit [Ping timeout: 245 seconds]
jemius has quit [Quit: Leaving]
emanuele6 has joined #ffmpeg
coldfeet has quit [Remote host closed the connection]
jagannatharjun has quit [Quit: Connection closed for inactivity]
vincejv has joined #ffmpeg
lemoniter has quit [Quit: lemoniter]
rsx has quit [Quit: rsx]
<johnjaye>
yes i ultimately did that. i'll have to study the filter_complex syntax a little more, it seems to be the standard
squeaktoy has quit [Remote host closed the connection]
squeaktoy has joined #ffmpeg
rv1sr has quit []
<intrac>
before I try this; does anyone know if I can calculate the stabilisation data using vidstab on a lower resolution proxy, then apply the result to the full res video?
<intrac>
is the vidstab transform data stored as some normalised coordinates, or is it locked/referenced to the frame resolution?
sihloo_ has joined #ffmpeg
HerbY_NL has joined #ffmpeg
lavaball has quit [Quit: lavaball]
jarthur has joined #ffmpeg
jarthur has quit [Client Quit]
SuicideShow has quit [Ping timeout: 272 seconds]
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SuicideShow has joined #ffmpeg
* intrac
will try anyway
jarthur has joined #ffmpeg
jarthur has quit [Client Quit]
MrZeus_ has quit [Read error: Connection reset by peer]
<intrac>
ok, that didn't work unfortunately
<intrac>
is there any way to 'scale' the transforms.trf up, if it was calculated with a reduced-size video?
Kei_N has quit [Read error: Connection reset by peer]