<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>
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:
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.
<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