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
lusciouslover has quit [Ping timeout: 248 seconds]
lusciouslover has joined #ffmpeg
lucasta has joined #ffmpeg
Hackerpcs has joined #ffmpeg
CarlFK has joined #ffmpeg
Hackerpcs has quit [Max SendQ exceeded]
<Peetz0r>
Hey. I have a bunch of plain old wave files with the wrong sample rate in their file headers. Is there an easy way to change the sample rate metadata without resampling everything?
kushal__ has quit [Read error: Connection reset by peer]
<aaabbb>
Peetz0r: it's a simple enough format that you could do it with a python script or smoething. do you know what the correct sampe rate is?
<Peetz0r>
yeah the files claim to be 16000 but I thought they're either 12000 or 11025
<aaabbb>
you're 100% sure they're not 16khz?
<Peetz0r>
but then I noticed that sox could do it easily. so I tried both, and 12000 sounds correct
<Peetz0r>
yes I'm 100% sure
<Peetz0r>
there's a bunch of files in 2 categories, converted from some weird propotary embedded format with a tool that is probably the wrong version. all of the files claim to be 16 khz. that's correct for one category, but the other one is very clearly wrong
<Peetz0r>
either that or everyone was slurping helium during recording :p
<aaabbb>
so i'm not sure if ffmpeg can do that, but you can certainly do it with a simple script
<aaabbb>
actually
<aaabbb>
no ffmpeg can do it easily
<Peetz0r>
yeah I found that sox can just do it with `sox -r 12000 in.wav out.wav`
<aaabbb>
just export it to raw pcm, then import (and convet to wave) with whatever the ight rate is
kasper93 has quit [Remote host closed the connection]
kasper93 has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
arbitercoin has joined #ffmpeg
alexherbo2 has joined #ffmpeg
lavaball has joined #ffmpeg
SystemError has quit [Remote host closed the connection]
fling has joined #ffmpeg
Dagger has quit [Ping timeout: 265 seconds]
sugoi has joined #ffmpeg
Dagger has joined #ffmpeg
lucasta has joined #ffmpeg
sugoi has quit [Ping timeout: 272 seconds]
jagannatharjun has joined #ffmpeg
minimal has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 252 seconds]
EmleyMoor has joined #ffmpeg
SystemError has joined #ffmpeg
Suchiman has quit [Quit: Connection closed for inactivity]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
fling has quit [Remote host closed the connection]
fling has joined #ffmpeg
lavaball has quit [Quit: lavaball]
Tinky-Winky has joined #ffmpeg
rex has quit [Ping timeout: 246 seconds]
rex has joined #ffmpeg
Traneptora has joined #ffmpeg
vlm has quit [Quit: vlm]
sugoi has joined #ffmpeg
vlm has joined #ffmpeg
sugoi has quit [Ping timeout: 260 seconds]
Suchiman has joined #ffmpeg
Tinky-Winky has quit [Quit: Tinky-Winky]
rmaw has joined #ffmpeg
<rmaw>
hi, new to using libav and am setting up an AVCodeContext. I want to set some encoder specific options using av_opt_set_xx. The header for the encoder I am using defines some AVOptions of AV_OPT_TYPE_CONST, and they have a name (https://pastebin.com/di8Ak7wP)
<rmaw>
in the above, how can I set "profile" using the name, am I meant to av_opt_get() first to get the value from the const and then set them using av_opt_set_int using that value? or is there something i'm missing to be able to set the option by name of const value?
<rmaw>
av_opt_set(codec_context,"profile","1",0) works
<travisghansen>
Anyone hang out around here that does professional services/consulting around ffmpeg?
Hikaru_ has joined #ffmpeg
kasper93 has quit [Remote host closed the connection]
<Hikaru_>
i got an amd ryzen 9950x chip, and i no longer max out the cpu with when encoding to x264
<Hikaru_>
what is the bottle neck?
<Hikaru_>
it's like 49% cpu utilisation
<kepstin>
probably a combination of size of the video and using encoding options that don't require a lot of cpu time per thread.
<kepstin>
video encoding doesn't scale well to very large core counts - you're better off encoding multiple videos in parallel to use a big cpu like a 9950x
kasper93 has joined #ffmpeg
<Hikaru_>
thats a good idea, i will try run multiple jobs
rv1sr has quit []
SystemError has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]