ecapi_ has quit [Read error: Connection reset by peer]
hightower3 has joined #ffmpeg
hightower2 has quit [Ping timeout: 260 seconds]
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
deus0ww_ has joined #ffmpeg
deus0ww has quit [Read error: Connection reset by peer]
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg
marcj has quit [Server closed connection]
marcj has joined #ffmpeg
Tano has joined #ffmpeg
lusciouslover has quit [Ping timeout: 258 seconds]
Guest26 has quit [Quit: Client closed]
demon__ has joined #ffmpeg
anotheruser has quit [Ping timeout: 255 seconds]
someuser has quit [Ping timeout: 255 seconds]
someuser has joined #ffmpeg
HerculesHD870 has quit [Remote host closed the connection]
maxim_d33 has quit [Ping timeout: 240 seconds]
zumba_addict has joined #ffmpeg
maxim_d33 has joined #ffmpeg
YuGiOhJCJ has quit [Remote host closed the connection]
YuGiOhJCJ has joined #ffmpeg
phantomcircuit has quit [Server closed connection]
phantomcircuit has joined #ffmpeg
NotFaely is now known as Faely
stolen has joined #ffmpeg
ecapi_ has joined #ffmpeg
ecapi_ has quit [Ping timeout: 255 seconds]
DarkG has quit [Excess Flood]
Lynne has quit [Quit: Lynne]
lusciouslover has joined #ffmpeg
ecapi has quit [Ping timeout: 240 seconds]
derpydoo has quit [Read error: Connection reset by peer]
DarkG has joined #ffmpeg
Coinflipper has quit [Server closed connection]
Coinflipper has joined #ffmpeg
durandal_1707 has quit [Ping timeout: 240 seconds]
Lynne has joined #ffmpeg
durandal_1707 has joined #ffmpeg
ecapi has joined #ffmpeg
Vonter has quit [Ping timeout: 264 seconds]
Vonter has joined #ffmpeg
waleee has quit [Ping timeout: 272 seconds]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ffmpeg
qqq has joined #ffmpeg
Shuriko has quit [Read error: Connection reset by peer]
Shuriko has joined #ffmpeg
lusciouslover has quit [Ping timeout: 245 seconds]
ecapi_ has joined #ffmpeg
tinystoat has quit [Server closed connection]
tinystoat has joined #ffmpeg
microchip_ has quit [Remote host closed the connection]
microchip_ has joined #ffmpeg
AbleBacon has quit [Read error: Connection reset by peer]
ecapi_ has quit [Ping timeout: 240 seconds]
berndj has quit [Server closed connection]
berndj has joined #ffmpeg
FH_thecat has quit [Quit: Leaving]
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
ttys000 has quit [Ping timeout: 252 seconds]
FH_thecat has joined #ffmpeg
ttys000 has joined #ffmpeg
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
kus has joined #ffmpeg
microchip_ has quit [Remote host closed the connection]
microchip_ has joined #ffmpeg
kushal__ has quit [Ping timeout: 248 seconds]
sm1999 has quit [Quit: WeeChat 4.2.0-dev]
sm1999__ has joined #ffmpeg
Ogobaga has quit [Read error: Connection reset by peer]
Ogobaga has joined #ffmpeg
zumba_addict has quit [Quit: Client closed]
jagannatharjun has joined #ffmpeg
beastd has joined #ffmpeg
<aaabbb>
this is a very basic question but if i have a 1080p h264 source video that is yuv420p(tv, bt709), and i'm downscaling it to hevc 720p, should i do anything special to keep the bt709?
<aaabbb>
or does it not matter what it is tagged as because it's going to 720p anyway?
<galad>
ffmpeg will preserve the bt709
<aaabbb>
galad: so no need to retag it even though ffprobe on the output lacks the bt709 tag?
<galad>
which version of ffmpeg?
<aaabbb>
4.3.6-0+deb11u1 (it's debian...)
<galad>
oh that's old
<aaabbb>
yup
<galad>
probably you want to use a more recent version
<aaabbb>
i do, but i have to go with what debian stable has (for now)
<galad>
ffmpeg 4.3 didn't automatically preserve the color tag
<aaabbb>
does 4.3.6 not preserve bt709?
<aaabbb>
ah
<aaabbb>
is it just the tag that is lacking? don't decoders automatically assume bt709 if the source width is 720p?
<galad>
not every decoder
<aaabbb>
so i should manually have it add that tag right?
<galad>
yes
<aaabbb>
ok
<galad>
or compile a more recent ffmpeg version, to avoid working around years old bugs
<galad>
4.3 is more than 3 years old
<aaabbb>
is it as simple as adding colorprim=1:transfer=1:colormatrix=1 to x265-params?
<galad>
that will add it to the video bitstream
<galad>
which is good enough I guess
<aaabbb>
what would the alternative be?
<galad>
adding it to the container too
<galad>
but I have zero knowledge of ffmpeg cli, I can't remember how
<aaabbb>
if the original says "yuv420p(tv, bt709)" then does that mean the original does not have it set on the container?
<aaabbb>
that's what the output file shows when downscaled with colorprim=1:transfer=1:colormatrix=1, so the ffprobe of both the original and output are the same in that respect
stolen has quit [Quit: Connection closed for inactivity]
YuGiOhJCJ has quit [Remote host closed the connection]
YuGiOhJCJ has joined #ffmpeg
Shuriko has quit [Ping timeout: 258 seconds]
<aaabbb>
the ffmpeg -show_streams is identical for downscaling with "-colorspace:v 1 -color_primaries:v 1 -color_trc:v 1" as with "colorprim=1:transfer=1:colormatrix=1"
rv1sr has joined #ffmpeg
wangbin has joined #ffmpeg
dangmoo has quit [Quit: Connection closed for inactivity]
TheSashmo has quit [Read error: Connection reset by peer]
TheSashmo has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
someuser has quit [Write error: Connection reset by peer]
demon__ has joined #ffmpeg
someuser has joined #ffmpeg
Vonter has quit [Ping timeout: 264 seconds]
Ogobaga has quit [Remote host closed the connection]
csavinovich_ has quit [Server closed connection]
csavinovich_ has joined #ffmpeg
Ogobaga has joined #ffmpeg
TheSashm_ has joined #ffmpeg
TheSashmo has quit [Ping timeout: 240 seconds]
Vonter has joined #ffmpeg
ecapi_ has joined #ffmpeg
ecapi_ has quit [Ping timeout: 255 seconds]
demon__ has quit [Read error: Connection reset by peer]
someuser has quit [Read error: Connection reset by peer]
someuser has joined #ffmpeg
demon__ has joined #ffmpeg
wangbin has quit [Quit: Connection closed]
hardwire has quit [Server closed connection]
<furq>
aaabbb: -color_trc etc set it in the bitstream
hardwire has joined #ffmpeg
<furq>
that's just the generic way to do the same thing as those x265 params
<aaabbb>
oh ok
<JEEB>
after FFmpeg 4.4 I plugged in the input color metadata to the output
<JEEB>
so if the information is in the input, it should get passed
<JEEB>
(4.4 was late 2020 so if you are using at all any recent enough FFmpeg it should work)
<aaabbb>
furq: is anything extra needed to set it in the container?
<furq>
that's not really a thing
<JEEB>
if it's set in the codec context it then gets set on the codec parameters for the stream in ffmpeg cli
<JEEB>
and if the muxer supports writing that information, it will get written out
<aaabbb>
oh, galad said i should add it to the container but i couldn't find out how to do that
<JEEB>
(mp4, matroska support it at least with modern versions of FFmpeg)
<JEEB>
pick the master, linux64, gpl and without "shared"
<JEEB>
extract to your homedir, then use full path instead of just "ffmpeg"
<JEEB>
and voila
<JEEB>
you should have an up-to-date FFmpeg
<furq>
or just put ~/bin at the front of your $PATH
<aaabbb>
i'll probably add it to an apt repo to make updates easier
<furq>
which i think is default on debian
<JEEB>
no idea, and I don't expect people to know to add things to PATH manually with #ffmpeg xD
<JEEB>
people of such different levels pop up here
<furq>
it's there on all my boxes but i actually use ~/bin so i don't remember if i did it or not
<JEEB>
aaabbb: main thing is to not touch the directories where you have the normal distro stuff installed; you don't really want to override anything provided by distro file-wise
<JEEB>
you just get a static set of "ffmpeg" and "ffprobe", which are the main bits for command line users
<furq>
yeah installing ffmpeg from other repos is just going to break everything
<furq>
unless you meant somehow wiring those static builds up to apt which seems very unnecessary
<aaabbb>
easy enough to just replace them,, i don't have anything that relies on ffmpeg like chrome
<furq>
what does `apt rdepends libavcodec58` return
<furq>
apt rdepends --installed libavcodec58
<aaabbb>
only stuff related to ffmpeg, like libavformat58 and libavfilter7
<aaabbb>
also audacity, which i forgot i even had installed and don't use
AMM has quit [Ping timeout: 252 seconds]
<aaabbb>
i guess it's easier just to get the static builds
<aaabbb>
so i don't have to edit system files
lavaball has joined #ffmpeg
lullerhaus has quit [Quit: lullerhaus]
jagannatharjun has quit [Quit: Connection closed for inactivity]
Dariusz has joined #ffmpeg
ecapi_ has joined #ffmpeg
ecapi has quit [Ping timeout: 240 seconds]
YuGiOhJCJ has quit [Ping timeout: 256 seconds]
YuGiOhJCJ has joined #ffmpeg
ecapi_ has quit [Remote host closed the connection]
ecapi has joined #ffmpeg
sirmangler has joined #ffmpeg
Blacker47 has joined #ffmpeg
<sirmangler>
Hi! Hoping someone might know about an issue im having with libav/ffmpeg but not gstreamer using the video4linux2 driver. When I run ffplay my usb camera output is locked to 5fps and has a large latency, but gst seems to capture the proper framerate. This only seems to happen with this capture card, so maybe there's some extra setup for the driver im missing? Thanks.
ecapi has quit [Ping timeout: 264 seconds]
dangmoo has joined #ffmpeg
ecapi_ has joined #ffmpeg
<sirmangler>
Interestingly if i try run ffmpeg using the -framerate option to try force it, I get this output "[video4linux2,v4l2 @ 0x562adeabebc0] The driver changed the time per frame from 1/60 to 1/5
<sirmangler>
"
YuGiOhJCJ has quit [Remote host closed the connection]
YuGiOhJCJ has joined #ffmpeg
AMM has joined #ffmpeg
ktwo has quit [Ping timeout: 264 seconds]
elastic_dog has quit [Ping timeout: 260 seconds]
lullerhaus has joined #ffmpeg
iconoclasthero_ has joined #ffmpeg
iconoclasthero_ is now known as iconoclast_hero
elastic_dog has joined #ffmpeg
<another|>
sirmangler: raw video vs mjpeg?
<sirmangler>
another|: I tried via ffplay -vcodec mjpeg, but was getting "no jpeg data found in image"
navi has joined #ffmpeg
<another|>
Not how it works
<sirmangler>
do you mean for me to convert it from rawvideo into mjpeg?
<sirmangler>
Thanks, -input_format mjpeg seems to produce the proper framerate. Now all I need to do is apply this in code.
<sirmangler>
don't suppose you might know why im gettting "Could not find codec parameters for stream 0 (Video: mjpeg, none(bt470bg/unknown/unknown)): unspecified size" when running avformat_find_stream_info after giving av_format_open_input an mjpeg input format
ktwo has joined #ffmpeg
rsx has joined #ffmpeg
ktwo has quit [Client Quit]
<another|>
Nope
<sirmangler>
ah nevermind, the "input_format" argument in av_format_open_input isnt the same as the "input_format" option you can supply to the same function lol
<sirmangler>
thanks for your help
navi has quit [Quit: WeeChat 4.0.4]
navi has joined #ffmpeg
ivanich has joined #ffmpeg
ecapi has joined #ffmpeg
jos1 has quit [Ping timeout: 240 seconds]
MootPoot has quit [Quit: Connection closed for inactivity]
ecapi has quit [Ping timeout: 255 seconds]
Traneptora has quit [Quit: Quit]
lexano has joined #ffmpeg
ZedHedTed has quit [Remote host closed the connection]
ZedHedTed has joined #ffmpeg
jos1 has joined #ffmpeg
dangmoo has quit [Quit: Connection closed for inactivity]
MrZeus_ has joined #ffmpeg
minimal has joined #ffmpeg
iconoclast_hero has quit [Ping timeout: 258 seconds]
iconoclasthero_ has joined #ffmpeg
iconoclasthero_ has quit [Ping timeout: 252 seconds]
FilipSz has joined #ffmpeg
<FilipSz>
Hey! Quick question from a ffmpeg newbie. I am outputing a hls stream, with segment type of mpegts. The output is set to pipe ( - ). What I am trying to do is find a way to get playlist (m3u8) and segment data seperated. The output results in segment and playlist bytes joined, I can see the playlist after the segment's bytes. Is there some reliable
<FilipSz>
way of seperating those two, without saving them to disc, which is what I am trying to avoid? One possible solution now is to scan through the byte output and find where the playlist starts (e.g. searching for #EXTM3U) and slicing the byte array. That seems hacky though. Any ideas?
FilipSz has quit [Quit: Client closed]
odrling has quit [Remote host closed the connection]
termos has quit [Server closed connection]
termos has joined #ffmpeg
odrling has joined #ffmpeg
ZedHedTed has quit [Quit: main is being shut off soon...cya]
Shine has joined #ffmpeg
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
dgcampea has joined #ffmpeg
MrZeus__ has joined #ffmpeg
MrZeus has joined #ffmpeg
MrZeus_ has quit [Ping timeout: 252 seconds]
sirmangler has quit [Quit: Leaving]
MrZeus__ has quit [Ping timeout: 252 seconds]
billchenchina has joined #ffmpeg
Traneptora has joined #ffmpeg
minimal has quit [Quit: Leaving]
Capstan has joined #ffmpeg
waleee has joined #ffmpeg
stolen has joined #ffmpeg
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
Shine has quit [Ping timeout: 255 seconds]
Shine has joined #ffmpeg
waleee has quit [Quit: WeeChat 4.1.0]
JasonSilver has joined #ffmpeg
<JasonSilver>
I imagine this question has been asked a million times, and everyone is tired of hearing it, but recently my ffmpeg install broken on Ubuntu 22, and I cannot get it to run at all.
<JasonSilver>
> ffmpeg: error while loading shared libraries: libfdk-aac.so.1: cannot open shared object file: No such file or directory
<JasonSilver>
I've tried installing it in a myriad different ways, without success. Would love any help you can provide! :)
Muimi has joined #ffmpeg
Capstan has quit [Quit: Client closed]
Capstan has joined #ffmpeg
<another|>
pretty sure canonical does not ship ffmpeg linked against libfdk