ecapi has joined #ffmpeg
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
w1kl4s has quit [Remote host closed the connection]
w1kl4s has joined #ffmpeg
whupdup has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Arokh has quit [Ping timeout: 255 seconds]
Muimi has joined #ffmpeg
Razor has joined #ffmpeg
Reiko has quit [Ping timeout: 258 seconds]
lavaball has quit [Remote host closed the connection]
lilo_booter has joined #ffmpeg
YuGiOhJCJ has joined #ffmpeg
lusciouslover has joined #ffmpeg
lusciouslover has quit [Ping timeout: 258 seconds]
darkapex has quit [Remote host closed the connection]
darkapex has joined #ffmpeg
thilo has quit [Ping timeout: 260 seconds]
thilo has joined #ffmpeg
_leo___ has quit [Read error: Connection reset by peer]
_leo___ has joined #ffmpeg
Shuriko has joined #ffmpeg
_leo___ has quit [Read error: Connection reset by peer]
Reiko has joined #ffmpeg
jarthur has quit [Quit: jarthur]
Razor has quit [Ping timeout: 255 seconds]
wangbin has joined #ffmpeg
emmanuelux has joined #ffmpeg
Razor has joined #ffmpeg
Reiko has quit [Ping timeout: 255 seconds]
twb has joined #ffmpeg
<twb> Ahhhhh, the reason I can't find stuff in "man ffmpeg" is because there's separate ffmpeg-X manpages, in chapter 1, even though they aren't real commands.
waleee has quit [Ping timeout: 252 seconds]
lexano has quit [Ping timeout: 255 seconds]
Arokh has joined #ffmpeg
lemourin is now known as Guest9946
lemourin6 has joined #ffmpeg
Guest9946 has quit [Killed (erbium.libera.chat (Nickname regained by services))]
<twb> This doesn't seem right...
<twb> $ ffmpeg -i 'rtp://239.255.2.50:1234?localaddr=10.0.0.1'
<twb> Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
<twb> udp UNCONN 0 0 239.255.2.50:1234 0.0.0.0:* users:(("ffmpeg",pid=1497818,fd=3))
maxim_d33 has quit [Ping timeout: 258 seconds]
<twb> I'm trying to deal with running ffmpeg on a host with multiple network interfaces.
<twb> On a separate system, THIS was working OK "ffprobe rtp://172.21.23.167:3333" -- that's unicast (not multicast) and on the single network interface (not a non-default interface)
<twb> I guess I can easily test if this is unicast vs. multicast
<twb> OK, "ffprobe rtp://10.0.0.1:3333" works fine. That's getting the entire stream before dvblast demuxes it and shoves it out over multicast addresses
maxim_d33 has joined #ffmpeg
ZedHedTed has joined #ffmpeg
rvalue has quit [Ping timeout: 245 seconds]
emmanuelux_ has joined #ffmpeg
emmanuelux_ has quit [Client Quit]
emmanuelux has quit [Ping timeout: 240 seconds]
hussein1 has quit [Remote host closed the connection]
hussein1 has joined #ffmpeg
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<Traneptora> barg: -ss before -i should still be accurate, it just seeks to the keyframe before and then starts decoding the remainder
<Traneptora> -ss after -i decodes everything first
rvalue has joined #ffmpeg
whatsupdoc has joined #ffmpeg
ecapi has quit [Remote host closed the connection]
ecapi has joined #ffmpeg
ecapi has quit [Ping timeout: 248 seconds]
Volgaar has quit [Remote host closed the connection]
Volgaar has joined #ffmpeg
<barg> Traneptora: i'd have thought if it goes from the keyframe then that's not as accurate as to the frame?
<Traneptora> it seeks to the keyframe quickly if the input is seekable, and then decodes what it can't seek past
ecapi has joined #ffmpeg
Muimi has joined #ffmpeg
vtorri29 has joined #ffmpeg
ppw has joined #ffmpeg
<ppw> what does the "afterburner" switch do with libfdkaac, anyone know?
Vonter has quit [Ping timeout: 258 seconds]
<furq> Afterburner is "a type of analysis by synthesis algorithm which increases the audio quality but also the required processing power." Fraunhofer recommends to always activate this feature.
<ppw> oh. alright then.
Vonter has joined #ffmpeg
vtorri29 has quit [Ping timeout: 240 seconds]
solonovamax has joined #ffmpeg
<solonovamax> Hi, I am currently having an issue with building the `ffmpeg-full` AUR package.
<solonovamax> oops didn't mean to send, meant to add a new line lol
<solonovamax> when attempting to build it, it errors out with the following message:
<solonovamax> ERROR: nvenc requested but not found
<solonovamax> I'm unsure why this is happening, as it was previously able to build fine for me, and I have not uninstalled any of my nvidia drivers.
ppw has left #ffmpeg [#ffmpeg]
<solonovamax> I have the following packages installed: cuda, cudnn, egl-wayland, lib32-libvdpau, lib32-nvidia-utils, libnvidia-container, libnvidia-container-tools, libvdpau, libxnvctrl, nvidia-container-runtime, nvidia-container-toolkit, nvidia-dkms, nvidia-settings, nvidia-utils, nvtop, opencl-nvidia (I just did `yay -Qs nvidia`)
<solonovamax> is there anything I'm missing?
mven7 has joined #ffmpeg
zsoltiv_ has quit [Ping timeout: 258 seconds]
mven has quit [Ping timeout: 255 seconds]
mven7 is now known as mven
ppw has joined #ffmpeg
<ppw> why does the bit_rate of a FLAC get reported as N/A? how does one extract the bitrate of a FLAC file?
solonovamax has quit [Remote host closed the connection]
Xaldafax has quit [Quit: Bye...]
LRN has joined #ffmpeg
AbleBacon has quit [Read error: Connection reset by peer]
<furq> ppw: probably just use mediainfo
<furq> ffprobe -show_format will show a value for bit_rate but it's just filesize/duration which can be pretty inaccurate
darkapex has quit [Remote host closed the connection]
darkapex has joined #ffmpeg
qqq has joined #ffmpeg
MisterMinister has joined #ffmpeg
billchenchina has joined #ffmpeg
billchenchina- has joined #ffmpeg
billchenchina has quit [Ping timeout: 255 seconds]
<ppw> furq: is mediainfo like a command-line tool?
<furq> yeah
<furq> there's a gui as well but it's usually packaged separately
<ppw> that's why I ask, because I'm familiar with the gui
billchenchina has joined #ffmpeg
<furq> if you just need to do this once then ffmpeg -i foo.flac -c copy -f null -
<furq> and then calculate it from the value of the audio data on the last line of ffmpeg output
<furq> but you can't really script that
billchenchina- has quit [Ping timeout: 255 seconds]
<furq> and also that means you have to decode the whole file
<ppw> no no, I'm actually running a batch script
<ppw> so I need to be aware of the bitrate for each file I process
<ppw> I was successful with ffprobe until I hit FLAC files
<ppw> I don't know why it's nset to N/A
<furq> most formats have it in a header somewhere
<furq> flac doesn't because it's rare that you need to care
<furq> maybe if you're trying to batch recompress to save space but then you can just look at the filesize
<ppw> the bitrate needs to be above a certain threshold to trigger recompression
<ppw> looking at the filesize is unreliable when you're dealing with 45min+ files
<furq> well then the filesize-based approximation you get from ffprobe -show_format
<furq> that's unreliable on short files because of the metadata/cover art/padding overhead
<furq> on long files that should be negligible
MrZeus_ has quit [Ping timeout: 272 seconds]
Dariusz has quit [Remote host closed the connection]
jagannatharjun has joined #ffmpeg
upekkha has quit []
durandal_1707 has quit [Ping timeout: 240 seconds]
billchenchina has quit [Remote host closed the connection]
upekkha has joined #ffmpeg
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
MisterMinister has quit [Ping timeout: 260 seconds]
mrelcee has quit [Quit: I want Waffles!]
rv1sr has joined #ffmpeg
mrelcee has joined #ffmpeg
AlexandrKirilov has joined #ffmpeg
Vonter_ has joined #ffmpeg
Vonter has quit [Read error: Connection reset by peer]
billchenchina has joined #ffmpeg
billchenchina- has joined #ffmpeg
billchenchina has quit [Ping timeout: 240 seconds]
Vonter_ has quit [Ping timeout: 264 seconds]
ppw has left #ffmpeg [#ffmpeg]
Vonter has joined #ffmpeg
billchenchina- has quit [Ping timeout: 240 seconds]
billchenchina has joined #ffmpeg
billchenchina has quit [Remote host closed the connection]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
lotuspsychje has joined #ffmpeg
Volgaar has quit [Ping timeout: 256 seconds]
Capstan has joined #ffmpeg
ivanich has joined #ffmpeg
ivanich has quit [Read error: Connection reset by peer]
Capstan has quit [Ping timeout: 248 seconds]
durandal_1707 has joined #ffmpeg
elastic_dog has quit [Ping timeout: 240 seconds]
mrelcee has quit [Quit: I want Waffles!]
elastic_dog has joined #ffmpeg
mrelcee has joined #ffmpeg
Volgaar has joined #ffmpeg
LuKaRo_ has joined #ffmpeg
LuKaRo has quit [Ping timeout: 240 seconds]
wangbin has quit [Ping timeout: 240 seconds]
billchenchina has joined #ffmpeg
billchenchina- has joined #ffmpeg
billchenchina has quit [Ping timeout: 255 seconds]
durandal_1707 has quit [Ping timeout: 248 seconds]
billchenchina- has quit [Remote host closed the connection]
billchenchina- has joined #ffmpeg
wangbin has joined #ffmpeg
durandal_1707 has joined #ffmpeg
minimal has joined #ffmpeg
Blacker47 has joined #ffmpeg
lavaball has joined #ffmpeg
Glenn18 has joined #ffmpeg
navi has joined #ffmpeg
five61848 has quit [Remote host closed the connection]
five61848 has joined #ffmpeg
<Glenn18> I'm trying to use the sws_scale function to convert a frame of RGB data into a frame of full range YUV data.  I have code that works but only if I set the format of the YUV frame to AV_PIX_FMT_YUVJ420P which is deprecated.  Does anybody know how to get the RGB to YUV conversion to work using AV_PIX_FMT_YUV420P instead (note no J) ?  I tried
<Glenn18> setting the color_range to AVCOL_RANGE_JPEG in the YUV frame but that didn't help.  My converted Y values come out as 16 instead of 0 for black RGB input.
kurosu has joined #ffmpeg
<galad> try to set the color range in the source frames too
MrZeus_ has joined #ffmpeg
billchenchina- has quit [Remote host closed the connection]
durandal_1707 has quit [Ping timeout: 258 seconds]
durandal_1707 has joined #ffmpeg
durandal_1707 has quit [Ping timeout: 245 seconds]
elastic_dog has quit [Ping timeout: 255 seconds]
<BtbN> Google says sws_setColorspaceDetails
elastic_dog has joined #ffmpeg
five61848 has quit [Remote host closed the connection]
five61848 has joined #ffmpeg
durandal_1707 has joined #ffmpeg
Shine_ has joined #ffmpeg
ecapi has quit [Remote host closed the connection]
ZedHedTed has quit [Remote host closed the connection]
ZedHedTed has joined #ffmpeg
ecapi has joined #ffmpeg
Vonter has quit [Ping timeout: 240 seconds]
ecapi has quit [Remote host closed the connection]
Vonter has joined #ffmpeg
ecapi has joined #ffmpeg
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
Estrella has quit [Ping timeout: 260 seconds]
waleee has joined #ffmpeg
Capstan has joined #ffmpeg
<Glenn18> Just tried setting the color range on the source frames to AVCOL_RANGE_JPEG  as well. That made no difference.
<Glenn18> Also tried using sws_getColorspaceDetails, set the dstRange to 1 and then applied with sws_setColorspaceDetails.  That also made no difference.
<Glenn18> Any other ideas ?
<JEEB> I think the details of swscale usage were discussed recently on -devel, so you might want to check the logs for that channel since haasn commented on various gotchas
<haasn> Glenn18: are you using sws_getContext?
<haasn> there is a known bug where using sws_setColorspaceDetails after sws_init_context() does not fix yuv range
<haasn> I have a fix for it, just never pushed because of lack of tsting
<haasn> the work-around is to use setColorspaceDetails before initializing context
<Glenn18> Yes, I call sws_getContext to create the sws context.  I added the call to sws_setColorspaceDetails on the next line.
lexano has joined #ffmpeg
<Glenn18> How can I call sws_setColorspaceDetails before I create the context using sws_getContext ?  Isn't the first argument to sws_setColorspaceDetails the context ?
<haasn> sws_alloc_context -> sws_setColorspaceDetails -> sws_init_context
rick123 has joined #ffmpeg
<haasn> should really just get the fix merged tbh
rick123 has left #ffmpeg [#ffmpeg]
rick123 has joined #ffmpeg
<Glenn18> Okay, I will give that a try.  Thanks for your help.
<JEEB> if it's not dependant on the rest, just highlight it on the ML
<JEEB> Glenn18: just as a detail, haasn is the lastest person giving the task "remove YUVJ from the code base" a try :)
<JEEB> *latest
<Glenn18> I noticed that the frame returned on a decoded JPEG was using the YUVJ420 colorspace so it appears that internally the ffmpeg code is still using those deprecated coplorspaces.
<JEEB> swscale and libavfilter are the two biggest things
<JEEB> swscale because it's 20 years of history
<JEEB> libavfilter because of over 10 years of only using pixel format as the comparison :)
Vonter has quit [Ping timeout: 258 seconds]
<JEEB> so while plenty of stuff does utilize the color range stuff
<JEEB> you have a lot of YUVJ references and stuff
Vonter has joined #ffmpeg
<Glenn18> haasn: I was previously using sws_setColorspaceDetails to get the current details and then only modify the dstRange.  Will I still be able to do that using sws_alloc_context -> sws_setColorspaceDetails -> sws_init_context ? Or will I need to know all the parameters to pass to sws_setColorspaceDetails ?
<haasn> you can still use sws_getColorspaceDetails, vf_scale does this exactly
<haasn> anyway I should hopefully be done with yuvj removal and fixing this bug within the week
<Glenn18> Excellent - that simplifies the code.
ecapi has quit [Remote host closed the connection]
ecapi has joined #ffmpeg
deltab has quit [Ping timeout: 252 seconds]
Shine_ has quit [Ping timeout: 240 seconds]
ecapi has quit [Ping timeout: 260 seconds]
Shine_ has joined #ffmpeg
ecapi has joined #ffmpeg
deltab has joined #ffmpeg
ecapi has quit [Remote host closed the connection]
waleee has quit [Ping timeout: 255 seconds]
waleee has joined #ffmpeg
LionEagle has joined #ffmpeg
LionEagle has left #ffmpeg [Leaving]
ivanich has joined #ffmpeg
ecapi has joined #ffmpeg
ecapi has quit [Remote host closed the connection]
ecapi has joined #ffmpeg
waleee has quit [Ping timeout: 260 seconds]
Shine_ has quit [Ping timeout: 240 seconds]
Shine_ has joined #ffmpeg
mix_vim has joined #ffmpeg
mix_vim has left #ffmpeg [WeeChat 4.1.0]
ivanich has quit [Remote host closed the connection]
mix_vim has joined #ffmpeg
mix_vim has quit [Quit: Leaving]
AlexandrKirilov1 has joined #ffmpeg
AlexandrKirilov has quit [Ping timeout: 264 seconds]
Dotz0cat_ has joined #ffmpeg
Dotz0cat has quit [Ping timeout: 260 seconds]
Dotz0cat_ is now known as Dotz0cat
Hopeful5155 has joined #ffmpeg
<Hopeful5155> Hi, can I ask a question?
<ePirat> Just ask and wait for an answer…
<Hopeful5155> Well, I have a matroska remote input that I'm trying to encode and burn the embedded subtitles in a single pass. the "vf" filter only accepts a "file.mkv" with a certain subtitle index number or a specific "file.srt". Yet no mention of using the piped input (or the http stream) straight from the demuxer that downloads the file.
AlexandrKirilov1 has quit [Remote host closed the connection]
<Hopeful5155> what I don't understand is the demuxer(? i think) knows exactly how to encode the audio and video, yet the subtitle isn't the same. I tried "streaming" the subtitle from the "http://....file.mkv", discard everything except the subs then output the subs only "-f srt pipe) and i'm getting the subtitles line by line even though the full file isn't
<Hopeful5155> downloaded
AlexandrKirilov has joined #ffmpeg
<Hopeful5155> which means ffmpeg doesn't need to download the whole file to access the subtitles. Sorry for the wall of text.
<ePirat> I dont really understand what your question is, maybe someone else more familiar with the topic does though.
deetwelve has quit [Read error: Connection reset by peer]
Capstan has quit [Ping timeout: 248 seconds]
<Hopeful5155> ffmpeg.exe -i "http://../file.mkv" -ss 00:05:00.00 -t 60 -map 0:v:0 -map 0:a:0 -map 0:s:0 -c:a copy -c:v copy -c:s copy -f matroska - | ffmpeg.exe -i - -pix_fmt yuv420p -map 0:0 -map 0:1 -map 0:2 -codec:v:0 h264_nvenc -qp 15 -c:a -b:a 192k -vf subtitles="I want to use the pipe here":si=2
<Hopeful5155> something like this, `-vf subtitles="pipe_name"
deetwelve has joined #ffmpeg
ecapi has quit [Remote host closed the connection]
ecapi has joined #ffmpeg
<durandal_1707> Hopeful5155: your logic is flawed
<durandal_1707> single subtitle file != big file with audio + video + subtitles interleaved
<Hopeful5155> Okay but how do video players that use ffmpeg under the hood "like mpv" able to stream a matroska file containing the subtitles?
<Hopeful5155> yet vf filters requires the subtitle file before encoding
<durandal_1707> becuase subtitle code is hack
<Hopeful5155> Should I just give up? there is no way to encode embedded subtitles on the fly right?
ecapi has quit [Ping timeout: 255 seconds]
<Hopeful5155> On another note, I tried segmenting the file using hls (mapped the audio/video/subtitle) and I got the "out_vtt.m3u8" playlist successfully. I got this error after attempting to play the master playlist that contains (video segments playlist + subtitle segments playlist): https://trac.ffmpeg.org/ticket/7337
billchenchina has joined #ffmpeg
<Hopeful5155> #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subtitle",NAME="subtitle_0",DEFAULT=YES,URI="out_vtt.m3u8"
HarshK23 has quit [Quit: Connection closed for inactivity]
billchenchina has quit [Remote host closed the connection]
billchenchina has joined #ffmpeg
aljazmc has joined #ffmpeg
lusciouslover has joined #ffmpeg
ecapi has joined #ffmpeg
Shine_ has quit [Ping timeout: 255 seconds]
Shine_ has joined #ffmpeg
ecapi has quit [Ping timeout: 258 seconds]
lusciouslover has quit [Ping timeout: 258 seconds]
lavaball has quit [Remote host closed the connection]
aljazmc has quit [Remote host closed the connection]
Tano has quit [Quit: WeeChat 4.0.4]
Capstan has joined #ffmpeg
HarshK23 has joined #ffmpeg
ecapi has joined #ffmpeg
billchenchina- has joined #ffmpeg
Tano has joined #ffmpeg
billchenchina has quit [Ping timeout: 258 seconds]
billchenchina- has quit [Remote host closed the connection]
billchenchina- has joined #ffmpeg
Shine_ has quit [Ping timeout: 258 seconds]
ecapi has quit [Ping timeout: 246 seconds]
billchenchina- has quit [Read error: Connection reset by peer]
___nick___ has joined #ffmpeg
billchenchina has joined #ffmpeg
<Hopeful5155> Thanks for taking time to answer my questions. I apologies if my question wasn't worded correctly, English isn't my first language.
<Hopeful5155> Thanks everyone, have a nice day/evening.
Hopeful5155 has left #ffmpeg [#ffmpeg]
five61848 has quit [Remote host closed the connection]
five61848 has joined #ffmpeg
Glenn18 has quit [Quit: Client closed]
Vonter has quit [Ping timeout: 272 seconds]
Vonter has joined #ffmpeg
Volgaar has quit [Ping timeout: 256 seconds]
ecapi has joined #ffmpeg
rsx has joined #ffmpeg
Capstan is now known as Haripesch
MootPoot has quit [Quit: Connection closed for inactivity]
MrZeus_ has quit [Ping timeout: 245 seconds]
ecapi has quit [Ping timeout: 240 seconds]
lotuspsychje has left #ffmpeg [Leaving]
lavaball has joined #ffmpeg
rsx has quit [Quit: rsx]
junaid_ has joined #ffmpeg
MrZeus_ has joined #ffmpeg
junaid_ has quit [Remote host closed the connection]
taniey has quit [Ping timeout: 258 seconds]
taniey has joined #ffmpeg
whupdup has joined #ffmpeg
five61848 has quit [Remote host closed the connection]
five61848 has joined #ffmpeg
ecapi has joined #ffmpeg
atheken has joined #ffmpeg
ecapi has quit [Ping timeout: 255 seconds]
<atheken> Hey all, I'm pretty new to ffmpeg, and I am trying to get a transcode working on my mac m1. I've done the transcode using handbrake from h264 -> hevc (using videotoolbox), and it produces very good results. Running what I think is a similar conversion via ffmpeg, I'm getting very poor results (lots of video artifacts). This is one variation of
<atheken> several commands I've tried: `ffmpeg -y -threads 8 -i test.mkv -c:v hevc_videotoolbox -preset veryslow test_out.mkv` , can anyone give me some hints on how I can improve this? I can share the handbrake preset and other variations of the ffmpeg command I've tried (including -crf 51, -crf 0, -hwaccel videotoolbox and several other variations, all are
<atheken> producing pretty bad results).
Haripesch has quit [Quit: Client closed]
Haripesch has joined #ffmpeg
AlexandrKirilov has left #ffmpeg [#ffmpeg]
AbleBacon has joined #ffmpeg
jemius has joined #ffmpeg
ecapi has joined #ffmpeg
averne has quit [Ping timeout: 240 seconds]
ecapi has quit [Ping timeout: 240 seconds]
minimal has quit [Quit: Leaving]
a0z has joined #ffmpeg
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
atheken has quit [Ping timeout: 248 seconds]
yazooq has joined #ffmpeg
function1 has quit [Ping timeout: 248 seconds]
ecapi has joined #ffmpeg
<rick123> I want to do this - https://superuser.com/q/1270950 - looking at the answer, i was wondering how do people learn to write such "filter_complex"? do i have to go read ffmpeg manual to learn/understand it?
<rick123> seems complex to me on the look of it
function1 has joined #ffmpeg
Guest39 has joined #ffmpeg
ecapi has quit [Ping timeout: 264 seconds]
<Trel> Makes sense or it'd just be called "filter".
yazooq has quit [Ping timeout: 255 seconds]
MrZeus has joined #ffmpeg
MrZeus_ has quit [Ping timeout: 264 seconds]
Haripesch has quit [Quit: Client closed]
Haripesch has joined #ffmpeg
Guest39 is now known as Hopeful5155
<Hopeful5155> little update, `vf subtitle=url` does indeed accept url input, it downloads the whole file then extract the subtitle data. My mistake was not sanitizing the url.
ecapi has joined #ffmpeg
<Hopeful5155> I still couldn't use a piped input yet. I have given up on that. I'm using FFmpeg incorrectly.
ecapi has quit [Ping timeout: 255 seconds]
five61848 has quit [Remote host closed the connection]
five61848 has joined #ffmpeg
<Trel> How were you telling it to used piped input?
five61848 has quit [Remote host closed the connection]
five61848 has joined #ffmpeg
<Hopeful5155> tried `-vf subtitles='pipe\:0:si=0'`
<Hopeful5155> example: tried `ffmpeg -i http... -map 0 -copy everything -f matroska - | ffmpeg -i pipe:0 -vf subtitles='pipe\:0' ..........`. Encoding works if subtitles filter isn't in the command
Volgaar has joined #ffmpeg
billchenchina has quit [Remote host closed the connection]
ecapi has joined #ffmpeg
textmode has joined #ffmpeg
vtorri10 has joined #ffmpeg
ecapi has quit [Ping timeout: 252 seconds]
wangbin has quit [Quit: Ping timeout (120 seconds)]
TheSilentLink has quit [Ping timeout: 252 seconds]
TheSilentLink has joined #ffmpeg
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ffmpeg
___nick___ has quit [Client Quit]
___nick___ has joined #ffmpeg
Buster__ has joined #ffmpeg
ivanich has joined #ffmpeg
function1 has quit [Ping timeout: 255 seconds]
ivanich has quit [Remote host closed the connection]
function1 has joined #ffmpeg
acovrig60 has quit [Quit: The Lounge - https://thelounge.chat]
ZedHedTed has quit [Quit: leaving]
acovrig60 has joined #ffmpeg
ecapi has joined #ffmpeg
<Trel> What are the subtitles and where do they come from?
ecapi has quit [Ping timeout: 248 seconds]
<Hopeful5155> they're embedded in the .mkv file i'm trying to pipe out
<BtbN> That's just a shortcoming of the subtitles filter. It insists on reading them on its own.
<BtbN> So you got to make a file first, and then a second pass that burns in the subtitles
<BtbN> Not sure why it works that way, but I'd imagine it has its reasons
<BtbN> hm, there might be no way to filter subtitles at all? So that'd be why it works that way.
TheSilentLink has quit [Ping timeout: 260 seconds]
TheSilentLink has joined #ffmpeg
<Hopeful5155> Basically I have to download the desired section of the stream "-ss ... -t " -> save the file -> run another ffmpeg process to encode
rv1sr has quit []
ppw has joined #ffmpeg
TheSilentLink has quit [Quit: Good Bye! My bouncer has probably crashed or lost connection to the internet...]
TheSilentLink has joined #ffmpeg
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
<Hopeful5155> I was hoping I can burn the subtitles from a remote input after seeking. Sadly it isn't possible.
tp_ has quit [Quit: WeeChat 4.1.0]
tp_ has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
five61848 has quit [Remote host closed the connection]
___nick___ has quit [Ping timeout: 255 seconds]
ecapi has joined #ffmpeg
five61848 has joined #ffmpeg
jagannatharjun has quit [Quit: Connection closed for inactivity]
dgcampea has quit [Killed (NickServ (Forcing logout dgcampea -> dgcampea))]
dgcampea has joined #ffmpeg
ecapi has quit [Ping timeout: 272 seconds]
jemius has quit [Quit: Leaving]
ZedHedTed has joined #ffmpeg
ZedHedTed has quit [Client Quit]
<Hopeful5155> If anyone has time please try encoding mkv file with embedded subtitle using this `ffmpeg.exe -y -hide_banner -copyts -ss 00:00:00.000 -i "test.mkv" -t 100 -pix_fmt yuv420p -map 0:v:0 -map 0:a:0 -map 0:s:0 -g 52 -codec:v:0 libx264 -crf 18 -deadline realtime -preset:v fast -ac 2 -b:a 192k -strict -2 -level 4.1 -f hls -master_pl_name master.m3u8
<Hopeful5155> -var_stream_map "v:0,a:0,s:0,sgroup:subtitle" -hls_time 2.0 -hls_playlist_type vod -start_number 0 out.m3u8`
<Hopeful5155> try playing `master.m3u8` with mpv, the ffmpeg demuxer will fail playing `out_vtt.m3u8` that it just created by itself with the error `[ffmpeg/demuxer] hls: Can't support the subtitle(uri: out_vtt.m3u8)`
Dotz0cat has quit [Ping timeout: 240 seconds]
Dotz0cat has joined #ffmpeg
<sonicrules1234> I'd just do -c copy
<Hopeful5155> you're correct, ignore that part pls ;_;
<Hopeful5155> encoded with ffmpeg version n6.0-36-gc5039e158d-20231026, latest mpv windows build
<JEEB> well, as far as I recall FFmpeg's HLS reader just doesn't support subtitles unless you apparently set the strictness to experimental
<JEEB> so yes, by default at least FFmpeg's hls reader will not read that stuff :D
<JEEB> even though the writer may write it
<Hopeful5155> oh, ok
<JEEB> I have no idea how bad the code is, but you may attempt to set the option for the demuxer. the option is "strict" and the value needed is "experimental" (so in mpv `--demuxer-lavf-o=strict=experimental`, I think?
<JEEB> I would expect there's a reason for it being under that requirement
<JEEB> but at least apparently you can skip that warning and early exit
<Hopeful5155> I have read that somewhere before, i just tried it but its getting blocked due to security reasons. `[ffmpeg/demuxer] hls: Filename extension of '.\out49.vtt' is not a common multimedia extension, blocked for security reasons.
<Hopeful5155> [ffmpeg/demuxer] If you wish to override this adjust allowed_extensions, you can set it to 'ALL' to allow all`
<JEEB> lol
<Hopeful5155> putting this aside, if you were me and needed to burn a subtitle stream embedded in a remote file, how would you go around solving this?
<JEEB> work on the "subtitles in AVFrame" patch set?
<JEEB> since right now the only reason you need a special filter to load subtitles and handle everything by itself is because subtitles are not in AVFrames
<JEEB> vOv
<Hopeful5155> lol, what if you're not a seasoned dev ;___;
<JEEB> hack text (ASS) support into ffmpeg cli's sub2video logic?
<JEEB> still requires coding but at least only in the cli :P
<JEEB> but yea, someone just needs to finish up softworkz's subtitles in AVFrame patch set. it basically got stuck because he didn't want to rework things that he had already validated. which is a valid decision, but alas its current state isn't going to go in, since it includes stuff like adding new things just to have them be deprecated...
averne has joined #ffmpeg
<Hopeful5155> all of your proposed solutions are out of my pay grade.
Estrella has joined #ffmpeg
<Hopeful5155> the sub2video hack you suggested, does it mean converting the ASS text to frames(?) the overlay it using `filter_complex`
a0z has quit [Ping timeout: 255 seconds]
<JEEB> http://git.videolan.org/?p=ffmpeg.git;a=blob;f=fftools/ffmpeg.c;h=46a85b41a8a0e6362a476ef372db7044dfa4bfb4;hb=HEAD#l139
<Hopeful5155> on a second note, was the "ASS" acronym an inside joke or something?
<durandal_1707> its reverse of SSA
<JEEB> and also it was designed by teenagers
<Hopeful5155> I knew it lol
<JEEB> SubStation Alpha -> Advanced SubStation
<JEEB> anyways, sub2video does exactly what it says on the tin, it renders an AVSubtitle onto a canvas AVFrame
<JEEB> currently it only supports image AVSubbtitles
<JEEB> *Subtitles
<JEEB> since you "just" need to apply the palette and you already have an image
<Hopeful5155> that isn't possible with cli alone..
ecapi has joined #ffmpeg
<JEEB> > hack text (ASS) support into ffmpeg cli's sub2video logic?
<JEEB> I said this
<JEEB> it's still coding of course, but much less than finishing softworkz's patch set :P
<durandal_1707> but how to code for non coder?
ZedHedTed has joined #ffmpeg
<JEEB> how does one patch KDE2 under FreeBSD?
<Hopeful5155> I got humbled today ;_;
<Hopeful5155> Its better to split the input to hls segments with .vtt subtitles, then re-encode it. I'll do that instead.
<Hopeful5155> I'm not going to learn c from scratch to patch ffmpeg, it will take me years
<BtbN> rewriting the entire subtitle handling is a major undertaking
htor has joined #ffmpeg
<JEEB> yup, which is why I then noted another way if a lesser adventure is wanted :)
<Hopeful5155> yeah, I was just confused at first how does mpv play the subtitles when streaming a remote video, yet requires a complete file when encoding
<JEEB> you mean ffmpeg cli tool?
MightyBOB has quit [Remote host closed the connection]
ecapi has quit [Ping timeout: 246 seconds]
<Hopeful5155> yes, sorry I meant ffmpeg when encoding
<Hopeful5155> c'mon I'm not encoding with mpv lol
<JEEB> it does have an encoding mode, but do note that it's one of those things which I've not poked in ages :P
<Hopeful5155> Either way I'm grateful to all of you, to think that ffmpeg is the most used program to encode video is no easy feat. Many thanks.
<Hopeful5155> Thanks for taking the time to respond to my newbie questions. Have a nice day/evening.
<JEEB> np
Hopeful5155 has quit [Quit: Client closed]
Shine_ has joined #ffmpeg
Shine_ has quit [Read error: Connection reset by peer]
Reiko has joined #ffmpeg
Razor has quit [Ping timeout: 240 seconds]
Razor has joined #ffmpeg
Reiko has quit [Ping timeout: 255 seconds]
ecapi has joined #ffmpeg
Haripesch has quit [Ping timeout: 248 seconds]
kurosu has quit [Quit: Connection closed for inactivity]
ecapi has quit [Ping timeout: 255 seconds]
lusciouslover has joined #ffmpeg
Vonter has quit [Ping timeout: 240 seconds]
Vonter has joined #ffmpeg
duderonomy has joined #ffmpeg
htor has quit [Quit: htor]
Flat has quit [Ping timeout: 255 seconds]
jtgd has quit [Quit: WeeChat 4.1.0]
MootPoot has joined #ffmpeg
darkapex has quit [Ping timeout: 258 seconds]
jtgd has joined #ffmpeg
darkapex has joined #ffmpeg
ecapi has joined #ffmpeg
ecapi has quit [Remote host closed the connection]
ecapi has joined #ffmpeg
five61848 has quit [Remote host closed the connection]
five618480 has joined #ffmpeg
Flat has joined #ffmpeg
intrac has quit [Ping timeout: 240 seconds]
lavaball has quit [Remote host closed the connection]
htor has joined #ffmpeg
ivanich has joined #ffmpeg
swamp_ has joined #ffmpeg
zmt01 has quit [Ping timeout: 272 seconds]
Hackerpcs has quit [Quit: Hackerpcs]
ivanich has quit [Read error: Connection reset by peer]
Friendship has quit [Ping timeout: 240 seconds]
Hackerpcs has joined #ffmpeg
Hackerpcs has quit [Max SendQ exceeded]
ivanich has joined #ffmpeg
ivanich has quit [Remote host closed the connection]
ZedHedTed has quit [Quit: leaving]
Buster__ has quit [Ping timeout: 260 seconds]
debayer has quit [Ping timeout: 240 seconds]
lusciouslover has quit [Ping timeout: 255 seconds]
htor has quit [Quit: Textual IRC Client: www.textualapp.com]
MisterMinister has joined #ffmpeg
whupdup has quit [Quit: Going offline, see ya! (www.adiirc.com)]
nick28 has joined #ffmpeg
<nick28> Is there any way to tell the number of samples or frames in an audio AVPacket without decoding?
ecapi has quit [Remote host closed the connection]
kron has joined #ffmpeg
ecapi has joined #ffmpeg
waleee has joined #ffmpeg
ecapi has quit [Remote host closed the connection]
textmode has left #ffmpeg [#ffmpeg]
Ogobaga has quit [Ping timeout: 246 seconds]
Ogobaga has joined #ffmpeg
ecapi has joined #ffmpeg