ChanServ changed the topic of #ffmpeg to: Welcome to the FFmpeg USER support channel | Development channel: #ffmpeg-devel | Bug reports: https://ffmpeg.org/bugreports.html | Wiki: https://trac.ffmpeg.org/ | This channel is publically logged | FFmpeg 7.1.1 is released
TheSilentLink has quit [Ping timeout: 252 seconds]
Guest44 has joined #ffmpeg
Guest44 has quit [Client Quit]
xx has joined #ffmpeg
foonix has quit [Quit: leaving]
superded has joined #ffmpeg
foonix has joined #ffmpeg
Guest17 has joined #ffmpeg
<Guest17>
[fc#0 @ 0x55df6ad3d540] Stream specifier ':a' in filtergraph description [0:v]subtitles=/tmp/gl1.srt[video0];[1:v]subtitles=/tmp/gl2.srt[video1];[video0][video1]concat=n=2[vout];[0:a][1:a]concat=n=2[aout] matches no streams.
<Guest17>
Just how?
<Guest17>
I checked that all the streams have an audio track.
<microchip_>
filtergraph is for video?
<Guest17>
microchip_: so I need a separate one for audio?
<microchip_>
yes
<furq>
[0:a][1:a]concat=n=2:v=0:a=1[aout]
<Guest17>
Oh, great.
<Guest17>
I've seen graphs where concat is used both for video and audio though.
<Guest17>
I should rather stick to this approach as stream lengths are not guaranteed to match.
<furq>
[video0][0:a][video1][1:a]concat=n=2:v=1:a=1[vout][aout] should also work
adema- has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
adema has joined #ffmpeg
Exagone313 has joined #ffmpeg
Exa has quit [Ping timeout: 244 seconds]
Exagone313 is now known as Exa
<Guest17>
Oh, and I discovered that outputting to an mpegts file gives the same tolerance for errors as with ffplay. Nothing is truncated prematurily.
jtgd has quit [Quit: WeeChat 4.5.2]
jtgd has joined #ffmpeg
<Guest17>
The file appears a bit corrupted too somehow though (probably need to fix timestamps also).
vlm has quit [Remote host closed the connection]
rdz has quit [Quit: WeeChat 3.8]
rdz has joined #ffmpeg
TheSilentLink has joined #ffmpeg
<Guest17>
Okay, how do I fix "timestamp discontinuity" errors? `-fflags +genpts` does not help. There's still a video with video dropouts which accumulate and go out of sync with the audio and end much earlier.
<Guest17>
pts/dts seem to be even in the mpegts file though. Probably the discontinuity is on the stream level then?
phantomics_ has joined #ffmpeg
phantomics has quit [Ping timeout: 245 seconds]
kingdomofheaven has quit [Ping timeout: 244 seconds]
LainExperiments has quit [Ping timeout: 240 seconds]
demon__ has joined #ffmpeg
anotheruser has quit [Read error: Connection reset by peer]
demon__ has quit [Remote host closed the connection]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
rsx has quit [Quit: rsx]
demon__ has joined #ffmpeg
demon__ has quit [Remote host closed the connection]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Remote host closed the connection]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
abdu66 has quit [Ping timeout: 240 seconds]
CHR0N0S has joined #ffmpeg
anotheruser has joined #ffmpeg
demon__ has quit [Ping timeout: 244 seconds]
Hariharan has quit [Quit: Client closed]
minimal has quit [Quit: Leaving]
lavaball has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
abdu66 has joined #ffmpeg
abdu63 has joined #ffmpeg
JanC has joined #ffmpeg
JanC is now known as Guest1706
Guest1706 has quit [Killed (calcium.libera.chat (Nickname regained by services))]
abdu66 has quit [Ping timeout: 240 seconds]
Hariharan has joined #ffmpeg
iive has joined #ffmpeg
Hariharan has quit [Client Quit]
jess has quit []
anticw has quit [Ping timeout: 248 seconds]
Krusher has quit [Read error: Connection reset by peer]
abdu68 has joined #ffmpeg
anticw has joined #ffmpeg
abdu63 has quit [Ping timeout: 240 seconds]
a0z has quit [Ping timeout: 244 seconds]
EmleyMoor has quit [Ping timeout: 248 seconds]
EmleyMoor has joined #ffmpeg
Grimmauld has joined #ffmpeg
minimal has joined #ffmpeg
Shine_ has quit [Read error: Connection reset by peer]
abdu25 has joined #ffmpeg
abdu68 has quit [Ping timeout: 240 seconds]
abdu52 has joined #ffmpeg
abdu76 has joined #ffmpeg
cmc has quit [Ping timeout: 264 seconds]
abdu25 has quit [Ping timeout: 240 seconds]
cmc has joined #ffmpeg
abdu52 has quit [Ping timeout: 240 seconds]
Kadigan has joined #ffmpeg
<Kadigan>
Hey all. I'm trying to use ffmpeg to stream from a video device (UVC). I've never done much of this before with ffmpeg, but I can sort of make it stream over http to VLC on another machine. I was hoping to pick the result up with a webserver so I could have clients watch the stream.
<Kadigan>
Right now I'm using `ffmpeg -f v4l2 -standard pal -i /dev/video0 -listen 1 -r 30 -vf yadif -f avi -preset ultrafast -fflags nobuffer -c:v mjpeg -an -tune zerolatency -movflags frag_keyframe+empty_moov http://0.0.0.0:7890` as a test, and it seems to work well enough (the device supposedly presents 30000/1001 interlaced, but it's working well enough that I don't see any issues).
<Kadigan>
The only issue is - this shuts down as soon as the client disconnects. Where should I look?
<Kadigan>
Also, this uses a fair bit of CPU power, but I assume ffmpeg is just that way?
MyTDT has joined #ffmpeg
<Kadigan>
(yeah, -tune and -preset are useless for mjpeg, they're leftovers)
MyTDT has quit [Ping timeout: 244 seconds]
abdu12 has joined #ffmpeg
abdu76 has quit [Ping timeout: 240 seconds]
xx has quit [Ping timeout: 264 seconds]
twelve has joined #ffmpeg
mven9713 has quit [Ping timeout: 260 seconds]
twelve has quit [Remote host closed the connection]
twelve has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
robobub has quit [Quit: Connection closed for inactivity]
System_Error has quit [Remote host closed the connection]
lavaball has quit [Remote host closed the connection]
<Kadigan>
For comparison and context, another tool I used - much less involved obviously - is a load of about 1% on a single core (vs ffmpeg's ~25% on all 8).
anotheruser has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
mven9713 has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
demon__ has quit [Read error: Connection reset by peer]
demon__ has joined #ffmpeg
mven9713 has quit [Client Quit]
Some_Person has quit [Ping timeout: 260 seconds]
twelve has quit [Ping timeout: 246 seconds]
twelve has joined #ffmpeg
mven9713 has joined #ffmpeg
<BtbN>
ffmpeg is not a suitable http server
<BtbN>
if you really want to stream via HTTP, make it output HLS or something and serve it with a proper server
twelve has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
Shuriko has joined #ffmpeg
kus has quit [Read error: Connection reset by peer]