<jkhsjdhjs> hm, when overlaying subtitles onto a video and the subtitles go EOF, ffmpeg still continues to transcode and doesn't terminate. that only happens with shortest=1 for me
psykose has quit [Remote host closed the connection]
<jkhsjdhjs> using ffmpeg version N-112917-ge78c6a1f2c, so a very recent commit on the master branch
psykose has joined #ffmpeg
YuGiOhJCJ has quit [Ping timeout: 240 seconds]
<markizano> jkhsjdhjs, overlay like enscribing with `subtitle` filter or you have an image you're looping in ?
psykose has quit [Remote host closed the connection]
psykose has joined #ffmpeg
<furq> overlay filter, so presumably image subtitles
<jkhsjdhjs> the subtitles are vobsubs
michaelni has quit [Ping timeout: 256 seconds]
<furq> pastebin the command line somewhere
<furq> if i'm reading this right they should behave identically
<jkhsjdhjs> I can also supply the files, one sec
kurosu has quit [Quit: Connection closed for inactivity]
<furq> i think repeatlast overrides eof_action
<jkhsjdhjs> ah yep, that seems to be it
<jkhsjdhjs> so repeatlast overrides eof_action and shortest overrides repeatlast
waleee has quit [Ping timeout: 256 seconds]
YuGiOhJCJ has joined #ffmpeg
vtorri has quit [Remote host closed the connection]
vtorri has joined #ffmpeg
<jkhsjdhjs> btw why does ffmpeg still read the entire input even though the filtergraph has already gone EOF? couldn't ffmpeg just stop processing the input once that happens, because the output is terminated anyway? abort if
<jkhsjdhjs> -abort if
<furq> probably because of -map
<furq> you're not mapping the filterchain output there
gchound has quit [Quit: WeeChat 4.1.2]
<jkhsjdhjs> ah it was because I'm also mapping the audio stream, which isn't filtered in any way :facepalm:
<jkhsjdhjs> I'm asking all this because jellyfin uses eof_action=endall:shortest=1:repeatlast=0 when overlaying subtitles on video, which doesn't make a lot of sense to me, since this causes the video stream to terminate if the subtitles go eof and the subtitles may go EOF before the video ends:
<jkhsjdhjs> guess I'll create a discussion regarding that at their repo
<furq> yeah that seems wrong
<furq> and not just the redundancy
<furq> eof_action=pass makes more sense for streaming
<jkhsjdhjs> that's what I thought, too!
bibble has quit [Quit: bibberly bobberly]
bibble has joined #ffmpeg
vtorri has quit [Ping timeout: 268 seconds]
lusciouslover has quit [Read error: Connection reset by peer]
lusciouslover has joined #ffmpeg
<jkhsjdhjs> let's see what they say
ivanich has quit [Remote host closed the connection]
Kei_N has quit [Read error: Connection reset by peer]
Kei_N has joined #ffmpeg
emmanuelux_ has joined #ffmpeg
function1 has quit [Ping timeout: 276 seconds]
function1 has joined #ffmpeg
emmanuelux has quit [Ping timeout: 260 seconds]
realies has quit [Remote host closed the connection]
realies has joined #ffmpeg
wsc3 has joined #ffmpeg
wsc3 is now known as gchound
realies has quit [Remote host closed the connection]
realies has joined #ffmpeg
thilo has quit [Ping timeout: 276 seconds]
function1 has quit [Ping timeout: 268 seconds]
thilo has joined #ffmpeg
qaph has joined #ffmpeg
fling has quit [Remote host closed the connection]
fling has joined #ffmpeg
kron has quit [Ping timeout: 264 seconds]
countach202020 has joined #ffmpeg
lolok has quit [Remote host closed the connection]
qaph is now known as kron
function1 has joined #ffmpeg
kus has quit [Ping timeout: 276 seconds]
Kei_N has quit [Read error: Connection reset by peer]
Kei_N has joined #ffmpeg
lusciouslover has quit [Read error: Connection reset by peer]
Vonter has joined #ffmpeg
Vonter has quit [Client Quit]
Vonter has joined #ffmpeg
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg
gchound has quit [Quit: WeeChat 4.1.2]
psykose has quit [Remote host closed the connection]
squid1 has left #ffmpeg [#ffmpeg]
vampirefrog has quit [Ping timeout: 276 seconds]
michaelni has joined #ffmpeg
carpenter has quit [Quit: .]
navi has quit [Quit: WeeChat 4.0.4]
thilo has quit [Ping timeout: 240 seconds]
marcj has joined #ffmpeg
countach202020 has quit [Ping timeout: 256 seconds]
qaph has joined #ffmpeg
kron has quit [Read error: Connection reset by peer]
qaph is now known as kron
fling has quit [Remote host closed the connection]
fling has joined #ffmpeg
Nixkernal_ has joined #ffmpeg
Nixkernal has quit [Ping timeout: 264 seconds]
realies has quit [Remote host closed the connection]
realies has joined #ffmpeg
carpenter has joined #ffmpeg
FH_thecat has joined #ffmpeg
AbleBacon has quit [Read error: Connection reset by peer]
jagannatharjun has joined #ffmpeg
FH_thecat has quit [Quit: Leaving]
drew has quit [Ping timeout: 255 seconds]
drew has joined #ffmpeg
vlm has joined #ffmpeg
kurosu has joined #ffmpeg
theobjectivedad has quit [Remote host closed the connection]
theobjectivedad has joined #ffmpeg
vtorri has joined #ffmpeg
FH_thecat has joined #ffmpeg
mosasaur has joined #ffmpeg
vtorri has quit [Ping timeout: 268 seconds]
vtorri_ has joined #ffmpeg
vtorri__ has joined #ffmpeg
vtorri_ has quit [Ping timeout: 245 seconds]
vtorri__ has quit [Ping timeout: 260 seconds]
Ogobaga has quit [Read error: Connection reset by peer]
Ogobaga has joined #ffmpeg
AlexandrKirilov has joined #ffmpeg
<AlexandrKirilov> Hello al! Is there any way to add timestamp to FFMPEG output? For now there are "[hls @ 0x7f9d0ff05d80] Opening … " but need something like this "1701969392656855 [hls @ 0x7f9d0ff05d80] Opening …" The manner of timestamp could be different.
<AlexandrKirilov> Is the any way to add network errors to output? It's very important for me to see what is going on with network.
vlm has quit [Ping timeout: 276 seconds]
nitrix has quit [Quit: ZNC 1.8.2 - https://znc.in]
nitrix has joined #ffmpeg
rsx has joined #ffmpeg
thilo has joined #ffmpeg
kurosu has quit [Quit: Connection closed for inactivity]
ivanich has joined #ffmpeg
jagannatharjun has quit [Quit: Connection closed for inactivity]
AlexandrKirilov has left #ffmpeg [#ffmpeg]
jagannatharjun has joined #ffmpeg
sss1 has quit [Ping timeout: 256 seconds]
sss1 has joined #ffmpeg
BillTorvalds has joined #ffmpeg
fling has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
fling has joined #ffmpeg
vlm has joined #ffmpeg
swamp_ has quit [Ping timeout: 246 seconds]
Some_Person has quit [Ping timeout: 255 seconds]
alexherbo2 has joined #ffmpeg
Mister_Magister has quit [Quit: bye]
Mister_Magister has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ffmpeg
realies has quit [Remote host closed the connection]
realies has joined #ffmpeg
Blacker47 has joined #ffmpeg
vampirefrog has joined #ffmpeg
lavaball has joined #ffmpeg
realies has quit [Remote host closed the connection]
realies has joined #ffmpeg
luva6 has quit [Ping timeout: 268 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
whatsupdoc has quit [Quit: Connection closed for inactivity]
Mister_Magister has quit [Quit: bye]
Mister_Magister has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
Mister_Magister has quit [Quit: bye]
Mister_Magister has joined #ffmpeg
ZedHedTed has quit [Remote host closed the connection]
ZedHedTed has joined #ffmpeg
<BtbN> Answer still hasn't changed, not via a flag, but trivial to add in code.
<BtbN> And FFmpeg will already report errors, so not sure what you mean about network errors.
navi has joined #ffmpeg
kurosu has joined #ffmpeg
navi has quit [Ping timeout: 268 seconds]
kus has joined #ffmpeg
navi has joined #ffmpeg
hussein1 has quit [Ping timeout: 240 seconds]
hussein1 has joined #ffmpeg
iive has joined #ffmpeg
ivanich has quit [Ping timeout: 260 seconds]
waleee has joined #ffmpeg
minimal has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
ivanich has joined #ffmpeg
Ogobaga has quit [Quit: Konversation terminated!]
zumba_addict has joined #ffmpeg
waleee has quit [Ping timeout: 255 seconds]
kurosu has quit [Quit: Connection closed for inactivity]
w1kl4s has quit [Quit: Bye]
zumba_addict has quit [Quit: Client closed]
Some_Person has joined #ffmpeg
tab1293 has joined #ffmpeg
zumba_addict has joined #ffmpeg
beastd has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
w1kl4s has joined #ffmpeg
kurosu has joined #ffmpeg
mosasaur has quit [Quit: Leaving]
minimal has quit [Quit: Leaving]
elastic_dog has quit [Ping timeout: 260 seconds]
Starz0r has quit [Ping timeout: 252 seconds]
Starz0r has joined #ffmpeg
elastic_dog has joined #ffmpeg
rsx has quit [Quit: rsx]
rv1sr has joined #ffmpeg
\\Mr_C\\ has joined #ffmpeg
markizano has quit [Ping timeout: 268 seconds]
CrumpleZone has quit [Quit: Leaving]
vtorri_ has joined #ffmpeg
markizano has joined #ffmpeg
waleee has joined #ffmpeg
Cindy is now known as bnchs
minimal has joined #ffmpeg
fling has quit [Ping timeout: 240 seconds]
fling_ has joined #ffmpeg
fling_ has quit [Ping timeout: 240 seconds]
odrling has quit [Remote host closed the connection]
fling has joined #ffmpeg
odrling has joined #ffmpeg
AbleBacon has joined #ffmpeg
lavaball has joined #ffmpeg
zumba_addict has quit [Quit: Client closed]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ffmpeg
jagannatharjun has quit [Quit: Connection closed for inactivity]
ZedHedTed has quit [Quit: leaving]
alexandre9099 has joined #ffmpeg
zsoltiv has joined #ffmpeg
wsc3 has joined #ffmpeg
Offspring has quit [Quit: ZNC - https://znc.in]
Offspring has joined #ffmpeg
Offspring has quit [Client Quit]
Offspring has joined #ffmpeg
<tab1293> hi all, i'm having some trouble getting a stable ffmpeg command to transcode a MPEG TS stream coming over SRT. when issues occur, i see these logs from ffmpeg: mpegts "corrupt input packet in stream" and "PES packet size mismatch". i also just noticed that ffmpeg logs this as well: "changing packet size to 204"
<tab1293> the packet size of the source stream should be static at 188 bytes, so not sure why ffmpeg is switching to 204. is there a way to force ffmpeg to keep pkt size constant at 188? this is the relevant line: https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/mpegts.c#L2924
lusciouslover has joined #ffmpeg
ivanich has quit [Remote host closed the connection]
ivanich has joined #ffmpeg
kurosu has quit [Quit: Connection closed for inactivity]
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
BillTorvalds has quit [Quit: Leaving]
wsc3 has quit [Quit: WeeChat 4.1.2]
alexherbo2 has joined #ffmpeg
Ogobaga has joined #ffmpeg
zsoltiv has quit [Remote host closed the connection]
tab1293 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ivanich has quit [Remote host closed the connection]
<sss1> hi all, can someone explain how to properly do scaling?, expecially how to deal with width/height alignment, i already asked yesterday, https://ncl.dark-alexandr.net:44367/s/z5ZbDAfTmm93ACp - here is demonstration of the problem with code used and video samples
vlm has quit [Ping timeout: 264 seconds]
<sss1> same problem exists with both old handmade rgb>ycbcr conversion code, and conversion + scaling via libswscale
<sss1> so i think i do not get whole concept right
<BtbN> Not sure what the actual question is, but if you mean "has to be a multiple of 2", use -2 as the other variable
<sss1> with some resolution i have screwed image
<sss1> it's always multiplied by 2 for all dimensions
alexandre9099 has quit [Quit: Client closed]
<sss1> also, in broken sample video we have green line at the right side, so i guess actual scaling is not done (or i am copying data from target frame buffer incorrectly)
<sss1> and in not so broken video we have green line too, but on the bottom
<sss1> so something definitely wrong with scaling (or using target framebufer)
bnchs is now known as Cindy
zumba_addict has joined #ffmpeg
<sss1> BtbN: maybe some samples exists somewhere ?, i am unable to found it in ffmpeg code
<sss1> i mean, looks like ffmpeg internally do not use it, or using some different api's
vtorri_ has quit [Ping timeout: 256 seconds]
rv1sr has quit []