<FL33TW00D>
The only command I need to run is: ffmpeg -nostdin -threads 0 -i <input> -f s16le -ac 1 -acodec pcm_s16le -ar 16000 output.pcm
<FL33TW00D>
The output I see with `-loglevel debug` is as follows: Output pad "default" with type audio of the filter instance "Parsed_anull_0" of anull not connected to any destination Error reinitializing filters! Failed to inject frame into filter network: Invalid argument
<FL33TW00D>
Unsure which component I am missing, I'm not even using `anull` filtering
microchip_ has quit [Quit: There is no spoon!]
microchip_ has joined #ffmpeg
fossdd has quit [Ping timeout: 256 seconds]
<JEEB>
FL33TW00D: ffmpeg command line utilizes libavfilter
<furq>
you need the aresample filter for -ac
<JEEB>
oh you have specific filters enabled
<JEEB>
aresample apparently is enabled
<furq>
oh so it is
<furq>
do you need to enable swresample separately
<FL33TW00D>
When compiling with emcc I do: -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavutil -Llibswresample -Llibswscale -lavcodec -lavdevice -lavfilter -lavformat -lavutil -lswresample -lswscale
<JEEB>
furq: I'd hope aresample adds a dep on that :)
<furq>
yeah it does
<furq>
FL33TW00D: i guess pastebin the log somewhere
<furq>
you can use -report if stderr is going somewhere awkward
<BtbN>
if you just clone the repo, it's very unlikely you will end up on an exact version anyway
<furq>
if you didn't specifically check out a tag then you're not on an exact version
<BtbN>
git describe is not fully accurate for ffmpeg. There's a script somewhere in the repo to produce the exact ffmpeg version
<FlorianBad>
is it still stable though?
<CounterPillow>
define what you mean by "stable"
<BtbN>
We don't typically push broken stuff, if that's the question.
<furq>
by definition no but it's still recommended to use git master
<FlorianBad>
CounterPillow, ^^ :)
FL33TW00D has quit [Remote host closed the connection]
<FlorianBad>
ok
<furq>
if you specifically want 6.1.1 then run git checkout n6.1.1
<furq>
but you probably don't
<FlorianBad>
ok
minimal has joined #ffmpeg
fossdd has quit [Ping timeout: 255 seconds]
microchip_ is now known as OfficerPendejo
facefamousee has joined #ffmpeg
<facefamousee>
hi
<facefamousee>
im not sure if there is a filter returning the rgb levels of a video, which can then be used with the *colorcorrect* filter.
<facefamousee>
im hoping there is if anyone can help please.
<facefamousee>
thank you for your work, it is top-tier.
<BtbN>
What are "the rgb levels of a video"?
<facefamousee>
red green blue
<facefamousee>
0 to 255
<BtbN>
Those are the values of a singular pixel in rgb
<BtbN>
What do you mean by "of a video"?
<facefamousee>
is there a filter that returns those values?
<FlorianBad>
I'm having some trouble building rav1e with `cbuild` (as opposed to just `build` which works fine) Is it actually needed to also do a cbuild?
<BtbN>
FlorianBad: yes, ffmpeg can't talk to rust APIs.
<facefamousee>
the colorcorrect filter is under video filters in the documentation so i figured that language would be understandable
<FlorianBad>
BtbN, ok, "no such command: cbuild" ...
<psykose>
you need cargo-c installed for cbuild
<BtbN>
facefamousee: I have no idea what "rgb values of a video" are, or what it would even begin to mean or refer to.
<psykose>
and yes it's required to get the solib for ffmpeg
<FlorianBad>
BtbN, rustup cannot provide that?
<psykose>
cargo install cargo-c might work
<BtbN>
It's a third party tool, so why would it?
<facefamousee>
ok my bad
<facefamousee>
if i may ask the question correctly
<BtbN>
The colorcorrect filter has some under-documented analyze-mode, but it just filters directly, and does not return any values either.
fossdd has joined #ffmpeg
<facefamousee>
is there a filter returning the information about the rl,bl,rh,bh,saturation of a pixel?
<noobaroo>
All of the stuff I can find for HE-AACv2 is talking about bitrates below 64k. I'm using it at 128k, is that okay? It seems to work fine but I was hoping for some experience / technical insight
<facefamousee>
yea@BtbN
<BtbN>
noobaroo: HE-AAC is specifically meant for low bitrate stuff, you're better of with just AAC-LC
OfficerPendejo has quit [Ping timeout: 260 seconds]
microchip_ is now known as OfficerPendejo
Kruppt has quit [Quit: Leaving]
fossdd has quit [Ping timeout: 255 seconds]
lucasta has quit [Quit: Leaving]
OfficerPendejo has quit [Quit: There is no spoon!]
microchip_ has joined #ffmpeg
Flabb has joined #ffmpeg
Flabb has quit [Client Quit]
<noobaroo>
BtbN I play videos on my PC so I was hoping to use the highest performance rather than highest compatibility. Does that make Opus my best choice then?
<BtbN>
Nothing wrong with either aac or opus really
<BtbN>
the differences only matter when it gets to super low bitrate scenarios these days
<BtbN>
Even good old mp3 is fine if you don't care about needing 150+ kbit/s per channel
hamzah has quit [Quit: Client closed]
dionisis has quit [Ping timeout: 256 seconds]
Starz0r has quit [Ping timeout: 272 seconds]
emanuele6 has quit [Read error: Connection reset by peer]
Haripesch has quit [Quit: Client closed]
Haripesch has joined #ffmpeg
fossdd has joined #ffmpeg
Muimi_ has joined #ffmpeg
Starz0r has joined #ffmpeg
Haripesch has quit [Quit: Client closed]
<FlorianBad>
Any reason why rav1e >= 0.5.0 would not be found despite its file being in /usr/lib64/pkgconfig showing 0.7.0 and $PKG_CONFIG_PATH pointing to that dir?
Haripesch has joined #ffmpeg
hamzah has joined #ffmpeg
<psykose>
run `pkg-config --cflags rav1e` and see what it says
<psykose>
or similar
<FlorianBad>
ah I see, great. It points to /usr/local/include/... instead of /usr/include/... I'll just put a link then
<psykose>
you forgot to do --prefix /usr
<psykose>
for cbuild/cinstall
<psykose>
though i guess that is normally fine and the .pc should be fine anyway
<FlorianBad>
no I actually have --prefix=/usr in the cbuild command
<ARnonym123>
Hi, I am a bit lost currently. I do remember using a txt file to mass download m3u8 streams using ffmpeg. It had a format like "inputlink.m3u8 out=output1 ...". Sadly I cannot find anything about this in the documentation anymore. Am I remembering something wrongly or is this not a feature of FFMPEG anymore?
iive has joined #ffmpeg
<ARnonym123>
Nevermind. My bad, I figured out that what I was thinking about was the input format of aria2.
ARnonym123 has quit [Quit: Client closed]
fossdd has quit [Ping timeout: 272 seconds]
microchip_ has quit [Quit: There is no spoon!]
microchip_ has joined #ffmpeg
darkapex has quit [Remote host closed the connection]
darkapex has joined #ffmpeg
user23 has joined #ffmpeg
junaid_ has quit [Remote host closed the connection]
elastic_dog has quit [Ping timeout: 268 seconds]
Ox7C5 has quit [Quit: Lost terminal]
elastic_dog has joined #ffmpeg
microchip_ has quit [Quit: There is no spoon!]
microchip_ has joined #ffmpeg
microchip_ has quit [Client Quit]
microchip_ has joined #ffmpeg
echelon has quit [Remote host closed the connection]
echelon has joined #ffmpeg
Kruppt has joined #ffmpeg
Kruppt has quit [Remote host closed the connection]
fossdd has joined #ffmpeg
microchip_ has quit [Quit: There is no spoon!]
microchip_ has joined #ffmpeg
MisterMinister has joined #ffmpeg
<MisterMinister>
Greetings and Salutations! Would anyone point me towards technical specs please that outline now MPEG2TS is packaged into UPD transport please? Are UDP packets bound by frame boundaries at all, can it be enabled, or disabled?
<BtbN>
There is no spec for that. If you specify a raw udp output, it will just write it straight to the socket
rv1sr has quit []
microchip_ has quit [Quit: There is no spoon!]
microchip_ has joined #ffmpeg
<JEEB>
H.222 is the MPEG-TS spec (check the 2021 ed, that's available for free at ITU), and then for UDP you just use a UDP packet size that is within your MTU and multiple of the MPEG-TS packet size