[Ffmpeg-devel-irc] ffmpeg.log.20141018

burek burek021 at gmail.com
Sun Oct 19 02:05:01 CEST 2014


[00:45] <Baked_Cake> is mpc a reliable way to check a vids format
[00:45] <Baked_Cake> it's saying the format is yuv 4:2:0 but ctrl+j says yuy2 4:2:2
[13:04] <svvitch> how can I get the size of second input to use in crop's formula of first input ?
[13:04] <svvitch> in ffmpeg params
[14:43] <BlackDream> Hello, why when i compile FFmpeg staticaly the domain names are not working "Name or service not known"
[14:43] <BlackDream> Only with IPs
[14:44] <BlackDream> I have a working FFmpeg which i compiled statically and the domain names were working, however i don't remember how i did it :S
[14:45] <c_14> Have you tried it with one of the builds from http://johnvansickle.com/ffmpeg/ ?
[14:45] <BlackDream> yes the same happens
[14:45] <BlackDream> try it yourself too you will see that domain name are not working in stream source
[14:45] <relaxed> BlackDream: install nscd and see hostname resolution works.
[14:45] <relaxed> see if*
[14:46] <relaxed> Most likely what happened is you linked against eglibc, but your distro moved to glibc.
[14:47] <BlackDream> if i install nscd and compile it again will work?
[14:47] <relaxed> No, you shouldn't need to recompile ffmpeg.
[14:47] <BlackDream> you are right
[14:47] <BlackDream> it works
[14:47] <BlackDream> lol
[14:47] <BlackDream> -.-
[14:48] <BlackDream> Thanks!
[14:48] <relaxed> you're welcome.
[14:50] <BlackDream> relaxed , --enable-librtmp is better than the native ffmpeg rtmp library? What do you think?
[14:51] <relaxed> I really can't speak to that.
[15:01] <BlackDream> Ok another question :(. I have an rtmp stream that IS NOT WORKING! However when i import it in the ffmpeg -i "rtmp_link_here" it just hangs
[15:01] <BlackDream> and never end
[15:01] <BlackDream> however, rtmpdump does the same, but rtmpdump has the argument -m which is the timeout connection so it exits
[15:01] <BlackDream> is there something similar to ffmpeg?
[15:03] <relaxed> -timeout
[15:04] <relaxed> ffmpeg -h full |less +/'rtmp AVOptions'
[15:10] <BlackDream> relaxed sorry to bother you again... ffmpeg -timeout 10 -i "rtmp_link_here"
[15:10] <BlackDream> and doesnt work says an error
[15:12] <relaxed> place it after the input
[15:13] <BlackDream> still hangs, timeout didnt do anything
[17:02] <svvitch> how to blend overlay video and png with different sizes ?
[17:09] <anshul_mahe> svvitch: resize them or pad the video or image
[17:34] <svvitch> anshul_mahe: I try this command but it said that sizes not corresponding https://dpaste.de/QQpp
[17:45] <anshul_mahe> isn't it saying you need to make SAR same
[17:59] <svvitch> anshul_mahe: yes I tried to set 'sar' but it output a red layer https://dpaste.de/9eQV
[18:08] <anshul_mahe> are you getting red layer by just changing sar
[18:10] <svvitch> anshul_mahe: yes
[18:10] <svvitch> anshul_mahe: http://im9.eu/picture/de2203
[18:12] <c_14> I'm pretty sure that's the pad.
[18:13] <c_14> change the red to blue and check if it changes
[18:14] <svvitch> this works fine https://dpaste.de/u42f screen: http://im9.eu/picture/zu2203
[18:14] <svvitch> but I need to aply transparency to png image
[18:17] <svvitch> c_14: it just changes color :) http://im9.eu/picture/kt2203
[18:21] <c_14> I have a strong feeling that the blend filter is resetting the opacity on the background of the overlay.
[18:21] <c_14> Have you tried without the pad?
[18:21] <c_14> I'm relatively sure overlay at least works with different sizes
[18:23] <c_14> hmm, overlay works blend does not
[18:26] <c_14> Have you tried making the input png transparent?
[18:27] <c_14> yep
[18:27] <c_14> I just used imagemagick to make the input png transparent and then used the overlay filter.
[18:30] <svvitch> hah the main goal is to do this without external tools
[18:31] <svvitch> thats why I'm searching for blend way
[18:31] <svvitch> there must be a solution, for sure, but how
[18:38] <c_14> I don't know of any good way to set transparency in ffmpeg...
[18:42] <svvitch> suppose you know some bad ways :)
[18:45] <c_14> alphaextract/alphamerge come to mind. You'll need a video/png with the correct alpha set which you could extract and then merge into your overlay png.
[18:46] <svvitch> hmm, I've played with some alphamerge options, ok ok
[18:47] <c_14> Then there's geq, you could use an expression to modify the alpha at each pixel
[18:51] <c_14> But I never tested either method, ymmv
[18:56] <svvitch> https://dpaste.de/J1cw something is wrong :(
[19:00] <svvitch> heh ffmpeg docs wrote "If youre trying to apply an image as an overlay to a video stream, consider the overlay filter instead."
[20:28] <anshul_mahe> how do we access temperal sequence number in frame got by av_decode_video2
[21:47] <PovAddict> topic should be updated: ffmpeg is now in debian unstable!
[21:50] <PovAddict> can I ask questions about dvdauthor? I don't know any better place
[23:07] <ChocolateArmpits> PovAddict, I can try answering, used it myself
[00:00] --- Sun Oct 19 2014


More information about the Ffmpeg-devel-irc mailing list