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
grepfor has joined #ffmpeg
Mister_Magister has quit [Quit: bye]
Mister_Magister has joined #ffmpeg
Sketch has joined #ffmpeg
<user982374> I have just downloaded google-chrome-stable and the behavior is not occurring with google chrome, however is occurring on firefox
grepfor has quit [Quit: Client closed]
<aaabbb> there are so many layers of abstraction between firefox's libavcodec and firefox actually playing the video that i truly doubt libavcodec is to blam
user982374 has quit [Ping timeout: 244 seconds]
minimal has quit [Quit: Leaving]
Icedream has quit [Quit: A lol made me boom.]
Icedream has joined #ffmpeg
waleee has quit [Ping timeout: 272 seconds]
phantomics has quit [Ping timeout: 248 seconds]
phantomics has joined #ffmpeg
Kei_N has quit [Read error: Connection reset by peer]
Kei_N_ has joined #ffmpeg
Tinos has quit [Remote host closed the connection]
Tinos has joined #ffmpeg
Sketch has quit [Ping timeout: 244 seconds]
Sketch has joined #ffmpeg
Tinos has quit [Remote host closed the connection]
Tinos has joined #ffmpeg
Tinos has quit [Remote host closed the connection]
Suchiman has quit [Quit: Connection closed for inactivity]
lucasta has quit [Quit: Leaving]
yans has quit [Remote host closed the connection]
Tinos has joined #ffmpeg
aljazmc has joined #ffmpeg
aljazmc has quit [Quit: Leaving]
KombuchaKip has quit [Quit: Leaving.]
memset has quit [Remote host closed the connection]
memset has joined #ffmpeg
KombuchaKip has joined #ffmpeg
Tinos has quit [Ping timeout: 256 seconds]
FH_thecat has quit [Ping timeout: 255 seconds]
Juest has quit [Ping timeout: 255 seconds]
Juesto has joined #ffmpeg
Juesto is now known as Juest
<vlt> DHE: Yes, that’s why I mentioned +faststart explicitly. Could’t reproduce it with a complete "-codec copy" and "+faststart" and will try to re-encode and see. Maybe I can recognize a pattern.
MrZeus has quit [Ping timeout: 272 seconds]
jtgd has quit [Quit: WeeChat 4.4.1]
jtgd has joined #ffmpeg
coldfeet has joined #ffmpeg
Tinos has joined #ffmpeg
cmc has quit [Remote host closed the connection]
cmc has joined #ffmpeg
dreamon has joined #ffmpeg
YuGiOhJCJ has joined #ffmpeg
Sketch has quit [Ping timeout: 255 seconds]
Sketch has joined #ffmpeg
evilscreww has joined #ffmpeg
xx has joined #ffmpeg
FlorianBad has quit [Remote host closed the connection]
FH_thecat has joined #ffmpeg
Suchiman has joined #ffmpeg
alexherbo2 has joined #ffmpeg
lavaball has joined #ffmpeg
Blacker47 has joined #ffmpeg
solomoncyj has joined #ffmpeg
<solomoncyj> hlep?
EmleyMoor has quit [Ping timeout: 260 seconds]
rsx has joined #ffmpeg
solomoncyj has quit [Quit: Connection closed]
lavaball has quit [Remote host closed the connection]
Tinos has quit [Remote host closed the connection]
memset has quit [Ping timeout: 260 seconds]
stolen has joined #ffmpeg
MrZeus has joined #ffmpeg
five618480339 has quit [Remote host closed the connection]
five618480339 has joined #ffmpeg
minimal has joined #ffmpeg
memset has joined #ffmpeg
CarlFK has quit [Ping timeout: 248 seconds]
CarlFK has joined #ffmpeg
nasso has joined #ffmpeg
Kei_N_ has quit [Ping timeout: 255 seconds]
Kei_N has joined #ffmpeg
YuGiOhJCJ has quit [Ping timeout: 260 seconds]
sentriz has joined #ffmpeg
dreamon has quit [Ping timeout: 252 seconds]
yans has joined #ffmpeg
Tinos has joined #ffmpeg
shibboleth has joined #ffmpeg
dreamon has joined #ffmpeg
dreamon has quit [Ping timeout: 246 seconds]
dreamon has joined #ffmpeg
Lantizia has joined #ffmpeg
<Lantizia> how possible is it to make a perfectly loopable mp4 video?
<Lantizia> I got a song as an mp3, gave it to audjust.com and it spit out another mp3 audio file which *perfect* loops the song if played with ffplay -loop ... you can't tell there is a gap at all
<Lantizia> so I thought I'd go one better :) I downloaded the music video off youtube... and thought I'd cut out the bits I don't need and swap the audio for the one from audjust.com
<Lantizia> however no matter what I do I can't get the resulting file to be exactly a duration of 00:03:05.23 ... instead it wants to be either 00:03:05.16 or 00:03:05.24
dreamon has quit [Ping timeout: 248 seconds]
<Lantizia> ffmpeg -ss 10.1 -i youtube-music-video.mp4 -i audjust-loopable-music.mp3 -c:a copy -map 0:v:0 -map 1:a:0 -t 00:03:05.23 output.mp4
<Lantizia> ffmpeg -ss 10.1 -i youtube-music-video.mp4 -i audjust-loopable-music.mp3 -c:a copy -map 0:v:0 -map 1:a:0 -shortest output.mp4
<Lantizia> but 'ffprobe output.mp4' will always show the duration is off and it doesn't loop properly with ffplay
evilscreww has quit [Quit: Leaving]
Tinos has quit [Ping timeout: 256 seconds]
dreamon has joined #ffmpeg
<vlt> Lantizia: Can you try putting "-ss" *after* "-i"?
alexherbo2 has quit [Remote host closed the connection]
<Lantizia> vlt, which? the first -i ?
<Lantizia> i read somewhere it has to go before the input you want to apply it to
<Lantizia> yeah doing that mucks things up more
<Lantizia> the video and audio are in sync just fine the way it was - it's just that the overall output file isn't exactly the right length (matching the audio) to be perfectly loopable with ffplay without a tiny gap
<vlt> Lantizia: To simplify things, can you work with the video first and then mux the audio later?
anticw has quit [Remote host closed the connection]
anticw has joined #ffmpeg
<vlt> Lantizia: You could try `ffmpeg -i youtube-music-video.mp4 -ss 10.1 -t 00:03:05.23 ... -map 0:v:0 output.mp4`
<vlt> Lantizia: Later: `ffmpeg -i output.mp4 -i audjust-loopable-music.mp3 -map 0:v:0 -map 1:a:0 -codec:v copy final_output.mp4`
<Lantizia> yeah that's how I did it originally
<vlt> Lantizia: I’m not entirely sure if the codec from you audio file is supported by the -mp4 container format.
<Lantizia> then realised I could just combine them
shibboleth has quit [Quit: shibboleth]
FlorianBad has joined #ffmpeg
Kei_N has quit [Remote host closed the connection]
Kei_N has joined #ffmpeg
<Lantizia> i think the issue is ffplay
<militantorc> hi
<militantorc> how to parallelize minterpolate
lavaball has joined #ffmpeg
coldfeet has quit [Ping timeout: 244 seconds]
billchenchina- has joined #ffmpeg
five618480339 has quit [Remote host closed the connection]
five618480339 has joined #ffmpeg
alexherbo2 has joined #ffmpeg
rv1sr has joined #ffmpeg
waleee has joined #ffmpeg
ndh has quit [Ping timeout: 244 seconds]
coldfeet has joined #ffmpeg
ndh has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
jagannatharjun has joined #ffmpeg
memset has quit [Ping timeout: 260 seconds]
dreamon has quit [Ping timeout: 252 seconds]
memset has joined #ffmpeg
System_Error has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
<vlt> Hello. Is there a filter to measure the average "brightness" of a frame (or area) and then increase or decrease it to a target value?
memset has quit [Ping timeout: 260 seconds]
chiselfuse has quit [Ping timeout: 260 seconds]
System_Error has quit [Ping timeout: 260 seconds]
chiselfuse has joined #ffmpeg
memset has joined #ffmpeg
coldfeet has quit [Remote host closed the connection]
<nasso> vlt: someting like `tonemap`?
<nasso> libplacebo also has a tone-mapping algorithm
Tano has quit [Quit: WeeChat 4.3.2]
coldfeet has joined #ffmpeg
<vlt> nasso: Thank, I’ll have a look at those.
billchenchina- has quit [Quit: Leaving]
memset has quit [Ping timeout: 260 seconds]
<vlt> Hmm, going back to extracted frames, Python and Pillow.
Dagger has quit [Ping timeout: 260 seconds]
Dagger has joined #ffmpeg
Dagger has quit [Ping timeout: 244 seconds]
Dagger has joined #ffmpeg
memset has joined #ffmpeg
namazso has quit [Ping timeout: 265 seconds]
litheum has quit [Ping timeout: 265 seconds]
namazso has joined #ffmpeg
litheum has joined #ffmpeg
EmleyMoor has joined #ffmpeg
PanamaCity3003_ has joined #ffmpeg
void09_ has joined #ffmpeg
Derlg_ has joined #ffmpeg
bleb has quit [Ping timeout: 265 seconds]
PanamaCity3003 has quit [Ping timeout: 265 seconds]
Derlg has quit [Ping timeout: 265 seconds]
void09 has quit [Ping timeout: 265 seconds]
Dotz0cat has quit [Ping timeout: 252 seconds]
bleb has joined #ffmpeg
Dotz0cat has joined #ffmpeg
System_Error has joined #ffmpeg
jemius has joined #ffmpeg
memset has quit [Remote host closed the connection]
memset has joined #ffmpeg
FlorianBad has quit [Remote host closed the connection]
FlorianBad has joined #ffmpeg
Juest has quit [Ping timeout: 276 seconds]
Juest has joined #ffmpeg
Dotz0cat has quit [Ping timeout: 265 seconds]
Rena has quit [Ping timeout: 255 seconds]
rvalue- has joined #ffmpeg
Dotz0cat has joined #ffmpeg
memset has quit [Ping timeout: 260 seconds]
rvalue has quit [Ping timeout: 272 seconds]
HerbY_NL has joined #ffmpeg
rvalue- is now known as rvalue
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skorphil24 has joined #ffmpeg
Rena has joined #ffmpeg
<skorphil24> hi,
<skorphil24> i'm trying to run this on Apple m1:
<skorphil24> ffmpeg -i input.MP4 -c:v hevc_videotoolbox -b:v 2000000 -s 1280x720 output.mp4
<skorphil24> and ffmpeg returning error:
<skorphil24> Stream mapping:
<skorphil24>   Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_videotoolbox))
<skorphil24>   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
<skorphil24> Press [q] to stop, [?] for help
<skorphil24> [hevc_videotoolbox @ 0x7fa5bf815000] Error: cannot create compression session: -12908
<skorphil24> [hevc_videotoolbox @ 0x7fa5bf815000] Try -allow_sw 1. The hardware encoder may be busy, or not supported.
<skorphil24> Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
<skorphil24> Any way to fix this? Do i need to install additional packages or what can i do? It works only if i not specify c:v
<skorphil24> ffmpeg -hwaccels and ffmpeg -encoders | grep videotoolbox both mention they have videotoolbox
memset has joined #ffmpeg
<skorphil24>  -tag:v hcv1 not helping either
<another|> full output?
skorphil24 has quit [Quit: Connection closed]
FlorianBad has quit [Remote host closed the connection]
FlorianBad has joined #ffmpeg
skorphil has joined #ffmpeg
<skorphil> hmm i lost my message somehow
Juest has quit [Ping timeout: 265 seconds]
<skorphil> i'm trying to run this on Apple m1:
<skorphil> ```
<skorphil> ffmpeg -i input.MP4 -c:v hevc_videotoolbox -b:v 2000000 -s 1280x720 output.mp4
<skorphil> ```
<skorphil> and ffmpeg returning error:
<skorphil> ```
<skorphil> Stream mapping:
<skorphil>   Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_videotoolbox))
<skorphil>   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
<skorphil> Press [q] to stop, [?] for help
<skorphil> [hevc_videotoolbox @ 0x7fa5bf815000] Error: cannot create compression session: -12908
<skorphil> [hevc_videotoolbox @ 0x7fa5bf815000] Try -allow_sw 1. The hardware encoder may be busy, or not supported.
<skorphil> Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
<skorphil> ```
<skorphil> Any way to fix this? Do i need to install additional packages or what can i do?
<skorphil> It works only if i not specify `c:v`
<skorphil> ---
<skorphil> `ffmpeg -hwaccels` and `ffmpeg -encoders | grep videotoolbox` both mention they have videotoolbox
Juest has joined #ffmpeg
emanuele6 has quit [Ping timeout: 246 seconds]
HerbY_NL has joined #ffmpeg
<another|> skorphil: Full output. use a pastebin
HerbY_NL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<skorphil> `ffmpeg -loglevel debug -i in.MP4 -c:v hevc_videotoolbox -b:v 2000000 output.mp4` https://gist.github.com/skorphil/d7ccb3d66089008cb32b90ba783f9171
<skorphil> another| ^
<another|> that is not the full output
<skorphil> another| how do i make full output?
jemius has quit [Quit: Leaving]
<another|> Not leaving out stuff?
<another|> Is there a reason you're not using HW decoding?
<skorphil> another| i'm new to this. i want to reduce file size of a given video. I used these settings cuz i found examples with them. If there is a way to make hw encoding work, i will be happy to use any additional parameters
<another|> ffmpeg -hwaccel videotoolbox -i ....
<skorphil> another| `Not leaving out stuff?` sorry, didnt get this. Is there another command i can use to make full output?
waleee has quit [Ping timeout: 265 seconds]
<skorphil> another| `ffmpeg -hwaccel videotoolbox -i ....` unfortunately - returns same error
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
<skorphil> Maybe my ffmpeg version does not support this:
<skorphil> ```
<skorphil> ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
<skorphil> built with clang version 14.0.6
<skorphil> configuration: --prefix=/Users/philipp/miniconda3 --cc=x86_64-apple-darwin13.4.0-clang --ar=x86_64-apple-darwin13.4.0-ar --nm=x86_64-apple-darwin13.4.0-nm --ranlib=x86_64-apple-darwin13.4.0-ranlib --strip=x86_64-apple-darwin13.4.0-strip --disable-doc --enable-swresample --enable-swscale --enable-openssl --enable-libxml2 --enable-libtheora
<skorphil> --enable-demuxer=dash --enable-postproc --enable-hardcoded-tables --enable-libfreetype --enable-libharfbuzz --enable-libfontconfig --enable-libdav1d --enable-zlib --enable-libaom --enable-pic --enable-shared --disable-static --disable-gpl --enable-version3 --disable-sdl2 --enable-libopenh264 --enable-libopus --enable-libmp3lame --enable-libopenjpeg
<skorphil> --enable-libvorbis --enable-pthreads --enable-libtesseract --enable-libvpx --enable-librsvg
<skorphil> libavutil      58. 29.100 / 58. 29.100
<skorphil> libavcodec     60. 31.102 / 60. 31.102
<skorphil> libavformat    60. 16.100 / 60. 16.100
<skorphil> libavdevice    60.  3.100 / 60.  3.100
<skorphil> libavfilter     9. 12.100 /  9. 12.100
<skorphil> libswscale      7.  5.100 /  7.  5.100
<skorphil> libswresample   4. 12.100 /  4. 12.100
<skorphil> ```
<skorphil> Yeah, seems so. I tried to uninstall this from conda and install new from homebrew. Seems it is working now
<skorphil> another| thanks for help!
emanuele6 has joined #ffmpeg
Haxxa has quit [Quit: Haxxa flies away.]
Haxxa has joined #ffmpeg
waleee has joined #ffmpeg
CarlFK has quit [Ping timeout: 244 seconds]
waleee has quit [Ping timeout: 246 seconds]
rsx has quit [Quit: rsx]
HarshK23 has quit [Quit: Connection closed for inactivity]
waleee has joined #ffmpeg
ChocolateArmpits has joined #ffmpeg
ChocolateArmpits has quit [Remote host closed the connection]
skorphil has quit [Quit: Connection closed]
CarlFK has joined #ffmpeg
yans has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #ffmpeg
Dotz0cat_ has joined #ffmpeg
Dotz0cat has quit [Ping timeout: 246 seconds]
stolen has quit [Quit: Connection closed for inactivity]
Dotz0cat_ is now known as Dotz0cat
lavaball has quit [Quit: lavaball]
coldfeet has quit [Remote host closed the connection]
Traneptora has quit [Ping timeout: 245 seconds]
jagannatharjun has quit [Quit: Connection closed for inactivity]
tranzistor has quit [Quit: Ping timeout (120 seconds)]
tranzistor has joined #ffmpeg
tranzistor has quit [Quit: Ping timeout (120 seconds)]
tranzistor has joined #ffmpeg
rv1sr has quit []
TheSilentLink has quit [Ping timeout: 260 seconds]
TheSilentLink_ has joined #ffmpeg
TheSilentLink_ is now known as TheSilentLink
alexherbo2 has quit [Remote host closed the connection]
finsternis has joined #ffmpeg
<finsternis> hello, I used this: --> ffmpeg -i input.avi -vcodec libx265 -crf 10 output.mp4 to compress the .avi video and got the .mp4 one, and it worked, but the output video has two *white* side bars, whereas in the original .avi they were *black*. I want to keep them black, how?
Tinos has joined #ffmpeg
SuicideShow has quit [Ping timeout: 260 seconds]
SuicideShow has joined #ffmpeg
BtbN has quit [Ping timeout: 252 seconds]
CarlFK has quit [Ping timeout: 248 seconds]
BtbN has joined #ffmpeg
prekk has joined #ffmpeg
prekk has quit [Read error: Connection reset by peer]
darkapex_ has quit [Remote host closed the connection]
darkapex_ has joined #ffmpeg
xx has quit [Ping timeout: 260 seconds]