[Ffmpeg-devel-irc] ffmpeg.log.20131112
burek
burek021 at gmail.com
Wed Nov 13 02:05:01 CET 2013
[00:00] <llogan> pyBlob: does that just blur?
[00:01] <pyBlob> it uses the blur filter out of the opencv library ... but my ffmpeg isn't built with opencv
[00:02] <pyBlob> I'm currently experimenting with smartblur ... but it doesn't support large blur radii
[00:02] <llogan> there are several other blurring type of filters: boxblur, sab, smartblur, unshart
[00:02] <llogan> *unsharp
[00:02] <llogan> nobody can undo a "shart"
[00:07] <pyBlob> unsharp looks promising ... bit I think I'll try the simple boxblur too
[00:17] <pyBlob> but finally unsharp is a crap :/
[00:17] <llogan> what's wrong with it?
[00:56] <pyBlob> it doesn't really blur ... but for sharpening stuff it's perfect
[00:57] <maujhsn> Trying to grab audio & video from desktop! this command use to work! "http://pastebin.com/pGir816J"!
[01:05] <maujhsn> Does anybody have time to read this? "http://pastebin.com/pGir816J"!
[01:07] <maujhsn> SASL: added ffmpeg: [PLAIN] maujhsn *
[01:10] <pyBlob> why does ffmpeg output the color yuv=255:128:128 as rgb=236:235:236?
[01:11] <pyBlob> ... and similarly yuv=0:128:128 gets rgb=16:16:16
[01:16] <maujhsn> pyBlob Do you a a minute? Can you look at my pastebin/
[01:16] <iive> yuv formats have deadzones, to easy rounding and overflows of transform and motion compensation.
[01:18] <iive> hum...
[01:18] <c_14> maujhsn: You're using libav not ffmpeg, see #libav or download ffmpeg.
[01:20] <llogan> maujhsn: you've been here enough to know you should use ffmpeg from FFmpeg here
[01:20] <maujhsn> Ok give me a download site.
[01:21] <maujhsn> llogan
[01:21] <llogan> pyBlob: unsharp can blur for me unsharp=7:7:-2:7:7:-2
[01:21] <llogan> or http://trac.ffmpeg.org/wiki/UbuntuCompilationGuide
[01:21] <bencoh> "for 2.6.32+ kernels" ? what the heck ?
[01:22] <pyBlob> llogan: ... ok, that works, but it isn't big enough
[01:22] <llogan> http://ffmpeg.org/ffmpeg-filters.html#unsharp
[01:22] <pyBlob> ... is there a way to use the full range of rgb when converting from yuv to rgb?
[01:23] <zviss> !ping
[01:33] <maujhsn> llogan Where can I get the build directions for this page: http://ffmpeg.gusari.org/static/32bit/?
[01:34] <maujhsn> llogan : ffmpeg.static.32bit.2013-11-01.tar.gz
[01:39] <pyBlob> llogan: final command ... boxblur to blur, unsharp to sharp > finally everything works as expected: http://pastebin.com/rAqj9uPu
[01:40] <pyBlob> saving as .jpg "restores" the full rgb-range
[01:41] <maujhsn> llogan Can you give me build commands for this package?
[01:42] <maujhsn> Obviously its in /Downloads right now!
[01:52] <maujhsn> llogan Your a "JERK"!
[02:16] <klaxa> *you're
[02:16] <klaxa> also, i didn't know offering help free of charge is being a jerk
[02:16] <klaxa> (i know he left)
[04:08] <ussher_> im trying to use ffmpeg to do some screencasting. its almost there, just one small thing i need to figure out. How to get the cursor to display. I've been trying with 'x11grab -follow_mouse 1' but no luck, should that be how you turn it on?
[04:13] <ussher_> oops, sorry, draw_mouse 1. this is the full command im using from the command line on KDE. ffmpeg -f alsa -ac 2 -i pulse -f x11grab -draw_mouse 1 -show_region 1 -y -r 12 -s 1024x780 -i :0.0+2022,1257 -vcodec ffv1 -qscale 0 ./out.avi
[04:36] <ussher_> Thanks llogan. figured it was just 1 line. I'll use pd next time.
[04:36] <llogan> ffv1 is lossless so qscale 0 is probably being ignored
[04:39] <ussher_> thanks for that too, removed it. here is the pastebin of the full command: http://pastebin.com/g3sV1Byh
[08:31] <troulouliou_dev> hi is there an implementation of h264 mvc yet in ffmpeg ?
[09:53] <tiksa> Does anyone know if there is a filter that I could create a cross dissolve (cross fade between two videos) with? Thanks..
[09:55] <viric> look for 'fade' in filters.
[10:02] <tiksa> you can give a color there but how.. wait a sec.. so I put a fade out with alpha=1 to the first video, then fade in with alpha=1 to the second video. How can I interlace them then? There is a 'interlace' filter but it doesn't seem to be meant for this, does it?
[10:03] <ubitux> more likely with concat filter and fade filter
[10:12] <tiksa> how can you interleave with concat..?
[10:13] <ubitux> don't you want one video after another?
[10:13] <ubitux> (with a fade between the two)
[10:14] <tiksa> yeah but so that the faded parts are on top on other
[10:14] <tiksa> I mean, at the same time the first video is fading out, the second is fading in
[10:20] <tiksa> not sure if my question makes sense, thanks anyway so far
[10:21] <ubitux> yeah i don't think we have a filter for this, but maybe concat filter could be patched for this
[10:21] <ubitux> that would be nice
[10:59] <stein_> hello all!
[11:00] <stein_> how can i encode "AVC-Intra 100 im Container MXF OP1A" with ffmpeg?
[11:01] <JEEB> I'm not sure if you can easily set the "Give me a completely whacked AVC Intra compatible stream" setting in ffmpeg
[11:01] <JEEB> x264's command line should be able to do it rather easily
[11:02] <JEEB> and then you could mux that with the MXF tools
[11:03] <stein_> i tried mxf tools once but had no clue how to work with it
[11:04] <JEEB> http://www.obe.tv/about-us/obe-blog/item/1-oss-dpp-creation this should show you some examples, including how to create the avc intra stream
[11:07] <JEEB> hmm, although it seems like you might be able to create AVC Intra by trying to use the avcintra-compat=1 option with ffmpeg's -x264opts
[11:07] <JEEB> I have no idea, though
[11:08] <JEEB> it needs certain other values too so I'd possibly just use x264 cli for it right now >_>
[11:08] <JEEB> (most of those are set'able via x264opts and friends tho, I think)
[11:42] <HzD_Byte> hello
[11:42] <sacarasc> Yo.
[11:42] <HzD_Byte> does anybody use RTMPT with ffmpeg?
[11:44] <HzD_Byte> i have a trouble with publishing
[11:49] <stonie_> JEEB, ok thanks ill take a closer look on that one
[11:49] <bantu> Hey. I am trying to dump an RTMP stream. I'm getting "RTMP_ReadPacket, failed to read RTMP packet header" from time to time which fatally aborts ffmpeg. How do I prevent that?
[12:23] <joxer> hi
[12:24] <HzD_Byte> hello
[12:25] <joxer> i have to encode a bunch of videos at each http request made to the server, but it very very slow
[12:25] <joxer> i can only handle about 5 request per second
[12:25] <joxer> also i'm currently using tmpfs to reduce io overhead
[12:26] <joxer> what can i do to speed up the process?
[12:26] <joxer> there's a daemon mode? i've tried to change the video settings but i need videos of a good quality
[12:46] <buu> joxer: A) Cache data B) switch to ssd/ramdisk C) increase hardware
[12:46] <buu> D) Switch to lower quality
[12:46] <joxer> i'm currently on vbox
[12:46] <buu> Well that won't help.
[12:46] <joxer> uhm, we have a testing environment there
[12:46] <buu> You might want to make sure you aren't thrashing.
[12:47] <buu> Unless your testing environment precisely duplicates your production environment doing load testing isn't the most useful of metrics..
[12:47] <joxer> how can i cache with ffmpeg?
[12:47] <joxer> i think the problem is an io bound related
[12:47] <buu> You don't, you cache the ouput produced by ffmpeg
[12:47] <buu> *output
[12:48] <joxer> oic
[12:48] <buu> In other words, reduce the number of videos to be encoded / the calls to ffmpeg
[12:48] <joxer> yes, i have to think a lot on which way to take
[12:49] <joxer> btw thanks buu
[12:49] <buu> If you've exhausted all other options and are feeling very bored and want to waste some time you might get some very minor performance enhancements by recompiling ffmpeg with higher optimization settings, processor specific settings or a different, more optimized compiler, such as icc for intel.
[12:49] <joxer> yeah
[12:50] <buu> But I seriously doubt you'd ever see anything more than a 10% improvement, and that only with extensive testing.
[12:50] <buu> Buying another quadcore i7 for $400 is considerably easier.
[13:02] <HzD_Byte> I'm trying to publish a video stream to the red5 media server (via RTMPT). After few seconds video stops and I can't receive any picture. FFMPEG freezes too. What's this? I've tried to use different ffmpeg versions from 1.0 till 2.1. Publishing via RTMP (not RTMPT) works fine
[13:03] <buu> At the risk of being obvious, this sounds like a red5 problem..
[13:04] <HzD_Byte> but flash player publishes video streams without troubles (using RTMPT)
[13:05] <HzD_Byte> so I'm not sure that red5 is a problem
[13:06] <JEEB> are you using the native implementation of librtmp?
[13:06] <HzD_Byte> I'm using FFMPEG from http://ffmpeg.zeranoe.com/
[13:07] <HzD_Byte> command line: ffmpeg -re -i file.flv -acodec copy -vcodec h264 -f flv rtmpt://localhost:5080/oflaDemo/stream1384247072828
[13:07] <JEEB> if you just run ffmpeg can you see --enable-librtmp in the configuration?
[13:08] <JEEB> if yes, then you're using librtmp and not the native implementation
[13:08] <JEEB> in that case I recommend you try the native one
[13:09] <JEEB> you'd have to build ffmpeg without librtmp for that
[13:09] <JEEB> or grab a new enough ffmpeg without librtmp
[13:09] <HzD_Byte> yes, configuration: ... --enable-librtmp ...
[13:10] <JEEB> yeah
[13:15] <HzD_Byte> ok, I'll try it
[13:21] <brontosaurusrex> how do i null the video? -vn seems to try to transcode to png
[13:22] <JEEB> uhh, post your command line
[13:23] <brontosaurusrex> ffmpeg -i in -ac 2 -vn -y -f wav - 2> /dev/null| wavegain ...
[13:23] <brontosaurusrex> its a pipe
[13:24] <JEEB> how the hell do you even get video with that, post your log in a pastebin
[13:24] <brontosaurusrex> ok ...
[13:24] <JEEB> -vn should kill off video and you only have one input
[13:28] <brontosaurusrex> http://paste.debian.net/plain/65409
[13:28] <brontosaurusrex> nothing special, png is not mentioned, only the pipe is way to slow
[13:28] <JEEB> yes
[13:29] <JEEB> it's not trying to encode PNG :P
[13:29] <JEEB> I have no idea about your pipe's speed but that indeed seems to do as advertised
[13:29] <JEEB> and vn indeed does kill off video, at least for that output
[13:29] <brontosaurusrex> ok
[13:30] <brontosaurusrex> ill do some more tests to see if i get to the point of things ...
[13:35] <brontosaurusrex> arh, found it, next loop was missing -vn
[13:35] <brontosaurusrex> i was looking at the wrong place ...
[14:04] <HzD_Byte> JEEB: I've tried latest ffmpeg without librtmp. It hangs on avio_open
[14:08] <HzD_Byte> after avio_open I see following strings: http://paste.debian.net/65420/ and that's all. It seems like avio_open never returns
[14:56] <wvdschel> can anyone tell me how I can figure out the pixelformat of an AVSubtitleRect.pict?
[16:08] <wvdschel> I'm currently using AVCodecContext.pix_fmt, but it's always AV_PIX_FMT_NONE, so that's not helping me...
[16:43] <troulouliou_dev> hi is there an implementation of h264 mvc yet in ffmpeg ?
[16:43] <troulouliou_dev> i just saw a thesis on this work
[16:43] <troulouliou_dev> wonder if it is usable already
[16:55] <ubitux> troulouliou_dev: no
[16:56] <troulouliou_dev> ubitux, have you seen that ? : http://www.nt.uni-saarland.de/fileadmin/file_uploads/theses/master/Optimized_implementation_of_a_MVC_decoder.pdf
[16:56] <ubitux> so some ppl care about mvc ?
[16:57] <troulouliou_dev> ubitux, :) only way for full hd 3D
[16:58] <ubitux> 3D is still not dead?
[16:58] <klaxa> looks like it
[16:58] <troulouliou_dev> ubitux, why should it ?
[17:00] <ubitux> well if 3D won't die, my eyes and brain will
[17:04] <troulouliou_dev> ubitux, except if you have eyes issue, it totally depends on the source; half sbs / half ou hacks are impossible (for me) to see
[17:04] <troulouliou_dev> 3D bluray are ok for recent 3D movies
[17:08] <Zeranoe> Any ideas whats going on here: http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=8&t=1461 ? Are there any obvious issues with this command "ffmpeg -ss 00:15:00.0 -t 00:30:00.0 -i D:\Videos\source.mpg -vcodec copy -acodec copy D:\Videos\out\destination.mpg"
[20:01] <shevy> hmm "ffmpeg -i foo.mp3" I obtain info that way from a .mp3 file. is there a better way to obtain information about an audio file? mostly just duration, codec used and such info.
[20:01] <shevy> with the above command ffmpeg tells me "At least one output file must be specified" so I assume there may be another way to just feedback info
[20:16] <llogan> shevy: you can ignore that message
[20:16] <llogan> you could also use ffprobe
[20:16] <shevy> cool
[20:16] <llogan> it's advantage is that it can output the info in various formats
[20:16] <shevy> ffprobe seems to be a tiny bit nicer, thanks llogan
[20:18] <llogan> see ffprobe -h
[20:18] <llogan> -print_format, -show_streams, -show_format are worth experimenting with
[23:27] <pisto> hello. I cannot get screencast to work properly, audio is out of sync. I'm using x11grab and pulse with a monitor device as input
[23:27] <pisto> it is not a problem of cpu power because the fps stays to the value I specified on the command line
[23:38] <pisto> http://pastebin.com/HXM9QSph
[23:42] <pisto> http://pastebin.com/TbFA0pMv <- alright, complete console output
[00:00] --- Wed Nov 13 2013
More information about the Ffmpeg-devel-irc
mailing list