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

burek burek021 at gmail.com
Tue Jul 29 02:05:01 CEST 2014


[00:00] <c_14> You'll need to use the concat filter.
[00:01] <sythe> Can I convert one to the other?
[00:02] <sythe> c_14: I think I tried that
[00:02] <c_14> sure, but you could just use the concat filter and not worry about it
[00:02] <c_14> !by sythe
[00:02] <c_14> sorry Scall
[00:02] <c_14> sythe: pastebin the command + output please
[00:04] <trn> Anyone here famaliar with Streambox stuff?
[00:04] <trn> I'm sort of wondering how they do it, or if anyone has reverse engineered their codec?
[00:06] <trn> Because I'd love to be able to process Avenir output directly ...
[00:07] <trn> http://www.streambox.com/products/avenir-mini-2-0
[00:09] <trn> The big three cable news networks here in the US use this exclusively.
[00:18] <sythe> Ok, c_14
[00:18] <sythe> c_14: What command should I do?
[00:18] <sythe> I've tried concat before
[00:23] <c_14> ffmpeg -i file1 -i file2 -filter_complex '[0:a][0:v][1:a][1:v]concat=n=2:v=1:a=1[v][a]' -map '[v]' -map '[a]' out
[00:48] <sythe> thanks
[00:50] <sythe> c_14: "Stream specifier ':a' in filtergraph description [0:a][0:v][1:a][1:v]concat=n=2:v=1:a=1[v][a] matches no streams." ?
[00:50] <c_14> Does one of your files not have an audio stream?
[00:50] <sythe> both have audio
[00:51] <c_14> Can you pastebin the full command and complete output?
[00:52] <sythe> https://www.irccloud.com/pastebin/cs2Ag51F
[00:52] <sythe> c_14: ^
[00:53] <sythe> c_14: I got it working using a script I found on the wiki
[00:53] <sythe> But it took like...an hour
[00:53] <sythe> Literally, an hour
[00:55] <c_14> try replacing the 'a's with '1's and the 'v's with '0's in the first 4 [] groups. You'll also probably want to replace out with out.mp4 or something.
[00:56] <c_14> And if you're using mp4 it'll default to aac so you'll need -strict -2 or a different audio codec.
[00:56] <c_14> And you might want to tune the crf for x264 to get the quality you want.
[01:02] <sythe> c_14: I just want the source quality
[01:02] <sythe> c_14: Is there any chance of FFMPEG dropping FPS when converting it?
[01:03] <c_14> There is the chance, iirc ffmpeg should detect the output fps from the input fps, but you can force it with -r fps or with the fps filter.
[01:04] <sythe> Stream specifier ':1' in filtergraph description [0:1][0:1][1:0][1:0]concat=n=2:v=1:a=1[v][a] matches no streams.
[01:04] <sythe> :(
[01:04] <c_14> ehh
[01:05] <c_14> It lists them right there...
[01:06] <c_14> I don't think it'll help, but can you try it with one of the static builds just to make sure?
[01:06] <sythe> c_14: How do I check my kernel version?
[01:07] <c_14> uname -r
[01:07] <k0k> is there a way to -cropleft -cropright -croptop -cropbottom?
[01:07] <c_14> Look at the crop filter?
[01:07] <k0k> every site i go to to get help keeps mentioning them
[01:08] <c_14> The manpages don't even list those options, might be deprecated.
[01:10] <k0k> thought so, but how can i achieve the same effect with the new ones? the only thing similar i saw was "crop=in_w-2*10:in_h-2*20" but the crop area I need isn't even, an it doesn't seem to let me jut go "crop=in_w-20:21:in_h-20:21" or something like that
[01:11] <k0k> and* just*
[01:11] <c_14> What are you trying to do?
[01:11] <sythe> c_14: Same error
[01:11] <sythe> Running ./ffmpeg from the dir
[01:12] <k0k> crop 168 left, 60 top, 68 bottom, and 120 right
[01:12] <c_14> sythe: ffprobe clearly lists both streams in each file?
[01:13] <c_14> k0k: crop=w=iw-288:h=ih-128:x=168:h=60
[01:13] <c_14> not sure if crop counts from the top or bottom with heigh, you might need y=68
[01:13] <c_14> that last h is actually a y in disguise.
[01:14] <k0k> how'd you get 288?
[01:14] <k0k> er i mean
[01:14] <k0k> if i put in 288 it'll go over the edge on one side
[01:14] <c_14> 168+120
[01:14] <c_14> =288
[01:15] <k0k> wait i get it
[01:15] <k0k> ok thank you
[01:15] <k0k> i'll try it out
[01:20] <sythe> c_14: Yes, it does
[01:21] <c_14> Then I have no clue anymore.
[01:21] <sythe> This is ridiculous
[01:21] <sythe> c_14: I used a script that did it successful, but it took nearly an hour
[01:21] <sythe> Can I link the output?
[01:21] <c_14> sure
[01:22] <sythe> https://www.irccloud.com/pastebin/U90H3mzV
[01:22] <sythe> c_14: ^
[01:22] <sythe> I'd like to just reverse-engineer that
[01:22] <sythe> So I can use it w/o it taking an hour
[01:23] <sythe> Although maybe it took an hour because it brute-forced it, or something?
[01:23] <sythe> The end result file was 1/2 the size of the original
[01:25] <c_14> what you could try is a similar approach to what the script does
[01:26] <c_14> extract the audio track from each of the files to another separate file
[01:26] <c_14> ie: ffmpeg -i file -c:a copy out.mp3
[01:26] <sythe> c_14: Wouldn't that take the same amount of time as the script?
[01:26] <c_14> that script does weird things
[01:26] <c_14> I have not gotten it to work on any of my computers.
[01:26] <sythe> Also, can I check the FPS of a file with ffmpeg?
[01:27] <c_14> And the last person I helped in here who used it had to edit some lines in the script.
[01:27] <c_14> ye
[01:27] <sythe> how?
[01:27] <c_14> ffprobe, look in the video line
[01:27] <c_14> $number fps
[01:29] <sythe> That's odd
[01:29] <sythe> My settings are at 30 FPS
[01:29] <sythe> But the video files are 17 FPS
[01:29] <c_14> only the first one, the second is at 30
[01:30] <c_14> endslate-new.mp4 that is
[01:30] <sythe> Yeah, that's the end slate
[01:30] <sythe> Not the actual footage
[01:30] <sythe> ugh
[01:32] <sythe> Well, thanks
[01:32] <sythe> I'm going to try recording with different settings
[01:32] <sythe> c_14: Is there anything I could remove from that script to speed things up?
[01:33] <k0k> @c_14 the cropping works, kind of convoluted compared to the old one but i guess it's just addition
[01:33] <k0k> thank you for the help
[01:33] <c_14> np
[01:33] <c_14> sythe: You can try changing preset medium to preset ultrafast in EXTRA_OPTIONS
[01:33] <c_14> You can also change the crf and audio bitrate there
[01:33] <sythe> c_14: Does that result in a drop in quality?
[01:34] <c_14> Not if you're encoding with crf, it'll just make the file larger for the same quality.
[01:34] <sythe> ah, awesome, thanks! :)
[03:44] <fling_> I have a bunch of videos from a security cam.
[03:44] <fling_> How to split them in parts with and without movement?
[03:44] <fling_> I only want to keep videos containing movement
[05:59] <limiteddi> Hello
[06:00] <limiteddi> trying to compile ffmpeg from the instructions on the website and for some reason I get ERROR: libx264 not found
[06:00] <limiteddi> i've compiled before with no issues, never had this issue before
[06:02] <limiteddi> how can I fix this?
[06:06] <limiteddi> on it, give me 1 minute
[06:06] <limiteddi> ahh, it just configured. I added --extra-libs=-ldl  -> but i never had to do this for any of the ubuntu 14.04s i installed it on
[06:07] <limiteddi> do you still want to see an log uploaded to see what tje issue
[06:07] <limiteddi> the issue was with the config procedure from the web?
[06:13] <sacarasc> You followed https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu ?
[06:27] <limiteddi> yes
[09:29] <Wintershade> hey guys, anybody alive around here? I have a few questions for the skilled people...
[09:34] <sfan5> Wintershade: just ask, if someone can answer they will
[10:09] <Wintershade> well anyway... does anyone know how to do a dynamic range compression on audio tracks? like the DRC in Handbrake. since I'm downmixing multichannel to stereo (using libmp3lame), and my audio ends up way too quiet in some places, and way too loud in other. any way to correct that? thanks
[12:01] <Alina-malina> hello all
[12:01] <Alina-malina> how to setup this ffmpeg on windows xp and convert video to remove the sound and leave only mp4 video?
[12:02] <Mavrik> you download a windows static build
[12:02] <Alina-malina> ok downloading
[12:02] <Alina-malina> then next what?
[12:02] <Alina-malina> how to remove the sound from video?
[12:02] <Mavrik> and then run "ffmpeg <input>.mp4 -codec:v copy -an output.mp4"
[12:02] <Mavrik> and then you read the manual if you want more ;)
[12:03] <Alina-malina> ok let me try:) thanks alot
[12:03] <Alina-malina> videos are the weak part for me
[12:03] <Alina-malina> so i get stress and panic when i need to work with those
[12:06] <Alina-malina> Mavrik, erm
[12:06] <Alina-malina> i get error Not overwriting - exiting
[12:07] <Alina-malina> File 'P1070132.MP4' already exists. Overwrite ? [y/N] n
[12:07] <Wintershade> Alina-malina: type -y instead of -n
[12:07] <Mavrik> no.
[12:07] <Mavrik> wth
[12:07] <Mavrik> Alina-malina, why are you writing OVER your input file?
[12:07] <Mavrik> and, of course, ffmpeg will stop if you tell it to not write over your input file :)
[12:07] <Alina-malina> i do this: ffmpeg P1070132.MP4 -codec:v copy -an output.mp4
[12:07] <sfan5> Alina-malina: you forgot an -i
[12:07] <Alina-malina> :-/
[12:08] <Mavrik> yes, -i at the beginning
[12:08] <sfan5> ffmpeg -i P1070132.MP4 -c:v copy -an output.mp4
[12:08] <sfan5> that one should work
[12:08] <Alina-malina> yes hehe
[12:08] <Alina-malina> it is doing  something
[12:08] <Alina-malina> hehe
[12:08] <Alina-malina> it is 500MB fiel
[12:08] <Alina-malina> file*
[12:08] <Alina-malina> i hope it will not take too long
[12:08] <Alina-malina> WONDERFUL!
[12:08] <Alina-malina> I <3 FFMPEG!
[12:09] <Alina-malina> thank you everyone
[12:10] <sfan5> it didn't take long because it was just copying the video
[12:12] <Alina-malina> heh right
[13:41] <xlinkz0> how can I use an android phone's camera as input?
[13:42] <xlinkz0> i want to encode using the phone's hardware video encoder and save the stream with ffmpeg
[13:42] <jewels> hi there. I have "swf" files which contains a single frame. I need to convert this single frame into a picture (jpg or png image format). How can I do it with ffmpeg? I've tried to use ffmpeg -i image.swf image-%d.jpg but I receive this error: Failed to uncompress one bitmap
[13:43] <brontosaurusrex> jewels, afaik there are swf decompilers which should return the pic as well
[13:43] <xlinkz0> jewels: after the input file use '-f image2'
[13:45] <jewels> xlinkz0: ffmpeg -i slide-1.swf -f image2 slide-1-%d.jpg produces the same error
[13:46] <jewels> I also receive this error: slide-1.swf: could not find codec parameters
[13:48] <ersatzbeardr> jewels: swf files aren't video files, they are more like zip files with a lot of metadata, you need to use something that decodes the swf in a way you find meaningful to feed into ffmpeg
[13:49] <ersatzbeardr> what i've done in the past is create another swf file that loads the first one then outputs the contents of it as a bitmap
[13:50] <jewels> ersatzbeardr: how can I do it using ffmpeg?
[13:51] <ersatzbeardr> i don't think new ffmpegs include a swf disassembler
[13:51] <ersatzbeardr> and i don't think there are any free disassemblers / unpackers
[13:51] <ersatzbeardr> http://www.swftools.org/
[13:52] <ersatzbeardr> so maybe try swfextract ^ and then feed that into ffmpeg if you have to
[13:52] <ersatzbeardr> i'll say it again: a swf file isn't really a video stream container in a classic sense
[13:53] <vladtv> hello, Can I use the technology intel quick sync in linux for video encoding x264?
[13:55] <sacarasc> If you get the SDK and code it, probably. I don't know of anything that does it, though.
[14:03] <xlinkz0> libav was working on a quick sync module
[14:03] <sacarasc> Oh, neat.
[14:03] <sacarasc> Which means it would be in ffmpeg after its finished, too, I guess.
[14:05] <vladtv> xlinkz0: os it use in ffmpeg?
[14:05] <vladtv> is*
[14:06] <Mavrik> afaik unless you actually use quicksync for full pipeline it's not worth it
[14:06] <xlinkz0> i don't think ffmpeg has that functionality yet
[14:11] <vladtv> I want transcode 1080i in 240p,360p,480p,720p but cpu load very big without hardware acceleration
[14:14] <sacarasc> Which CPU do you have?
[14:14] <vladtv> i7-2600k
[14:15] <Mavrik> CPU load will always be big.
[14:15] <sacarasc> Do you do it all as one ffmpeg command, or as 5, vladtv?
[14:17] <vladtv> as 5)
[14:18] <sacarasc> I think if you do it as 1, you just have to decode the video once, so it should be less time.
[14:18] <sfan5> it wouldn't make sense for ffmpeg to decode the video 5 times if it's just one command
[14:41] <Wintershade> hey guys, would anyone take care to look at my ffmpeg libxvid command line? http://pastebin.com/Z212XRD5 the problem I have with it is that it's painfully slow (less than ~10 FPS on pass 2), and I'd like to speed it up with as little quality loss as possible. thanks!
[14:42] <Wintershade> the raw script is here, you can easily paste it into a text editor and run it with any video file you may have. http://pastebin.com/raw.php?i=Z212XRD5
[14:55] <relaxed> Wintershade: does -threads 0 do anything with libxvid? I thought 0 only applied to libx264
[14:55] <relaxed> look at `htop`
[14:56] <Wintershade> relaxed: I thought -threads 0 meant automatic threads detection.
[14:56] <Wintershade> relaxed: will look at htop now. hang on for a moment. any leads to what I'm looking for?
[14:56] <relaxed> for libx264, but again, look at htop
[14:56] <relaxed> to see if it's using multiple threads
[14:58] <Wintershade> relaxed: okay, I see a number of threads... like 13? that can't be right...
[14:59] <relaxed> at the top of htop you'll see each of your cores gets a number
[14:59] <relaxed> are they all running at 100%
[14:59] <Wintershade> let's try that again...
[15:01] <Wintershade> relaxed: they're almost at ~100%... soon enough they get up to 100%
[15:03] <relaxed> ok, at least you know they're all being used
[15:03] <Wintershade> lol, that helps a lot :D
[15:03] <relaxed> try -threads 3
[15:03] <Wintershade> I'll try with a different -threads value. since I only have 2 cores, and I see ~10 open threads, that might be slowing it down...
[15:03] <Wintershade> let's see.
[15:04] <relaxed> you might get better speeds using the native mpeg4 encoder
[15:05] <Wintershade> nope, tried it. plus the quality sucks compared to libxvid :( or I'm not proficient with using it.
[15:05] <Wintershade> hey, I need to dash for an hour or so. will you be here later?
[15:05] <relaxed> I live here
[15:06] <Wintershade> relaxed: I'll ping you when I get back.
[15:20] <Hammad_> Can someone tell me if there's an error in this code. ffmpeg -i rtmp://91.xxx.5.xxx -rtmp_app live -rtmp_playpath livestream -rtmp_pageurl http://xxx-xxx.net -rtmp_swfurl http://xxx-xxx.net/player.swf -rtmp_live 1 -re -isync -vcodec copy -acodec copy -f output.mp4
[15:20] <Hammad_> I keep getting this. [rtmp @ 0x641e40] Unknown connect error (unsupported authentication method?)
[15:20] <Hammad_> [rtmp @ 0x641e40] Server error: [ Server.Reject ] : Invalid uri : rtmp://91.xxx.5.xxx:1935/
[15:20] <Hammad_> rtmp://91.xxx.5.xxx/: Unknown error occurred
[15:22] <spaam> try adding -rtmp options before -i
[15:22] <xebra> hi, what protocol should I use (if it is actually possible) for live streaming? (by "live" I actually mean in real time, like skype, without increasingly growing lag). Thanks
[15:23] <Hammad_> spaam,
[15:23] <Hammad_> Unrecognized option 'rtmp'.
[15:23] <Hammad_> Error splitting the argument list: Option not found
[15:34] <c_14> move the rtmp_{app,playpath,pageurl,swfurl,live} options in front of the i
[16:05] <joselo> Hi there!
[16:06] <joselo> I'm having trouble copying a live stream here is the command I'm using and the result: http://pastebin.com/jepC4r7y
[16:06] <joselo> I'm new using ffmpeg so I'm not sure if I'm missing something
[16:09] <c_14> try adding -fflags +genpts
[16:20] <joselo> I tried it
[16:20] <joselo> it doesn't work
[16:20] <joselo> the same error appears
[16:24] <c_14> Did you add it as an input or an output option?
[16:24] <joselo> as an output
[16:24] <joselo> should it be at the input?
[16:25] <joselo> ok as an input option it works
[16:26] <joselo> now the thing is that at 1:04 it stops the process
[16:26] <joselo> always
[16:29] <c_14> Ah, I remember you.
[16:29] <c_14> You've been here before.
[16:30] <c_14> It doesn't error out, it just stops, right?
[16:32] <Wintershade> relaxed: hey man, still here?
[16:34] <joselo> c_14: yeah its me, sorry I've took a while to respond
[16:37] <c_14> joselo: if you add a -ss 20 or something as an input option, does it still die after 1:04?
[16:37] <joselo> yeah it just stops no errors, look at this: http://pastebin.com/MPJESdfr
[16:39] <joselo> whith the -ss option it died at 44 secs
[16:39] <joselo> -ss 20
[16:39] <c_14> ok, let's try -ss 65
[16:39] <Wintershade> joselo: did you try using the fully -ss syntax? like -ss 00:00:20 for 20 seconds?
[16:39] <Wintershade> *full -ss syntax
[16:40] <c_14> Wintershade: I'm pretty sure there is no difference between giving seconds and giving the full timestamp since that's handled by the utils.
[16:40] <Wintershade> c_14: I know, but this is ffmpeg :D the syntax changes from one version to another, who knows what they did now.
[16:41] <Wintershade> (didn't mean that as a bad thing, mind you)
[16:41] <c_14> joselo: In case you're wondering, I'm trying to seek past the failure point to see what happens.
[16:42] <Wintershade> c_14: have you tried converting the video to another container? perhaps the failure happens due to a broken container.
[16:42] <c_14> He had tried using mp4 before. Didn't work there either iirc.
[16:42] <Wintershade> try using mkv or (even better) ogm. ogm is my personal favourite for such stuff, because it's the most robust of all (from my experience).
[16:43] <c_14> He is using mkv.
[16:43] <Wintershade> so mp4 --> mkv?
[16:43] <c_14> rtsp -> mkv
[16:43] <Wintershade> oh dear.
[16:44] <Wintershade> oh I see.
[16:45] <joselo> well seeking past the point of failure just stops the process as soon at it gets to the seeking position
[16:45] <c_14> Have you tried playing the stream with a video player such as ffplay,mpv/mplayer or vlc?
[16:45] <joselo> yeah
[16:45] <c_14> And it can play more than 1:04?
[16:45] <Wintershade> joselo: try xine. if xine breaks, it means your file is broken :D
[16:52] <joselo> I tried playing with realplayer and also with mplayer, mplayer stops at 1:04, realplayer plays past this point
[16:53] <Wintershade> joselo: have you tried mplayer with another video output driver?
[16:53] <joselo> how could I try that?
[16:53] <Wintershade> joselo: if you're using vdpau or some forms of gl output, those are very good but tend to break when issues occur
[16:53] <Wintershade> joselo: well
[16:54] <Wintershade> joselo: the simplest way would be to install smplayer (a graphical mplayer frontent), which gives you this as an option in it's Preferences window
[16:54] <Wintershade> joselo: if you're using any binary Linux distro (Ubuntu, openSUSE, Fedora, etc.) you should be able to install it in no time, all repos have it
[16:55] <joselo> ok, i have  MplayerX
[16:55] <Wintershade> joselo: I don't know anythign about MplayerX. if you have some sort of preferences there, try locating an option that sounds like "video driver".
[16:56] <brontosaurusrex> joselo, there should be a mpv for mac
[16:57] <Wintershade> joselo: oops, you're on a Mac? sorry, didn't catch that :(
[16:58] <brontosaurusrex> no i don't know, but i think mplayerX is mac stuff
[16:58] <Wintershade> oh.
[16:58] <Wintershade> ...that would explain why I never heard of it :-/
[16:58] <joselo> yeah MplayerX is for mac
[16:58] <joselo> im running mac osx
[16:59] <joselo> mplayer x is pretty similar to mplayer in ubuntu
[16:59] <Wintershade> ...then scratch everything I said. I have no idea about video output drivers on mac. I know Linux has a wealth of them (too many, imho), but I don't know about Mac
[17:00] <joselo> maybe i will try setting up a ubuntu vm to try all this, I feel a little trapped in my mac env
[17:00] <Wintershade> lol
[17:01] <brontosaurusrex> joselo, mpv is working fine, i have it on both of my macs
[17:01] <Wintershade> joselo: just a quick question. in a nutshell, what are you trying to accomplish?
[17:02] <joselo> ok so no problem with mpv,
[17:02] <joselo> Wintershade: I'm trying to save a live stream (from an ip camera) to a file into my disk
[17:03] <joselo> I would prefer an mp4 file but as long as it works for more than a minute 4 secs i dont mind if it is mkv
[17:03] <Wintershade> joselo: I suppose you already tried just making a direct stream copy to another container. right?
[17:03] <joselo> I need to save for at least an hour
[17:04] <Wintershade> joselo: like, ffmpeg -i <your input file> -codec:a copy -codec:v copy -y <output file>.mkv
[17:04] <c_14> That's what he's been trying.
[17:04] <Wintershade> ok. how many streams are in the file?
[17:04] <Wintershade> just one audio and one video?
[17:04] <Wintershade> no subtitles or such stuff?
[17:05] <c_14> As far as I can see, yes.
[17:05] <Wintershade> what does ffmpeg -i <input file> say? got a pastebin link or something?
[17:05] <c_14> http://pastebin.com/MPJESdfr
[17:06] <Wintershade> let's see
[17:07] <Wintershade> hmm. a stupid idea - have you tried just copying the file to your hard disk first?
[17:07] <c_14> The sdp file?
[17:07] <Wintershade> yes
[17:07] <Wintershade> like "cp <path to sdp file> ."
[17:08] <joselo> What will I accomplish copying that file?
[17:09] <c_14> The sdp file is just a metadata file, it only contains things like the stream url.
[17:09] <c_14> iirc
[17:09] <joselo> Wintershade: look at this one http://pastebin.com/7Gr6YQmm
[17:09] <c_14> What you could try is grabbing the stream with curl...
[17:10] <Wintershade> good idea!
[17:10] <Wintershade> that's what just sprang to my mind.
[17:11] <Wintershade> also, there should be an ffmpeg option to ignore errors... in case you haven't tried it yet...
[17:12] <c_14> You mean -fflags +discardcorrupt ?
[17:13] <Wintershade> c_14: that and -f_err_detect +ignore_err
[17:13] <Wintershade> also...
[17:13] <Wintershade> joselo: have you tried a concat as an input, rather than raw stream?
[17:14] <Wintershade> joselo: like ffmpeg -i concat:/path/to/file...
[17:14] <joselo> no I havent tried that
[17:14] <joselo> also maybe a stupid question but how could I grab the strem with curl?
[17:14] <joselo> stream**
[17:15] <Wintershade> joselo: curl <path to your stream>
[17:15] <c_14> try curl -o out rtsp://foobar
[17:15] <Wintershade> joselo: ...I think :D
[17:15] <Wintershade> joselo: that. what c_14 says.
[17:15] <Wintershade> curl is a beautiful app with a tl;dr-ish manpage...
[17:16] <joselo> ok thanks, I have a lot of ideas from what you say, right now I have to leave but will be around here to update the status
[17:16] <Wintershade> joselo: good luck!
[17:18] <Wintershade> so... anyone have any ideas on how I should do a dynamic range compression on my audio in ffmpeg?
[17:19] <Wintershade> i.e. my audio is too quiet in several places, and too loud in other. I want to make the quiet bits louder, and quiet down the loud parts a tad bit.
[17:29] <c_14> I'm guessing the compand filter can be used for that.
[17:31] <Wintershade> c_14 yeah... that's what scares me. it's the first filter I've seen so far that actaully scares me.
[17:31] <c_14> The attacks and decays I understand. But the points...
[17:39] <Wintershade> c_14: I understand those too. perhaps I should just be ballsy and leave everything at default, touching just the stuff I understand...
[17:39] <Wintershade> c_14: ...which leaves me with a lot of defaults :D
[17:41] <c_14> I think I kind of understand the points now, but I'd probably do that too.
[17:48] <Wintershade> c_14: got any ideas on which parameters I should use? e.g. I want to amplify the quiet bits by ~30-40% and limit the loud bits to say ~95% of normal audio
[17:48] <Wintershade> c_14: I know it shouldn't be that hard, but my brain is farting, I've had way too little coffee, and even less smokes, and I haven't slept enough :( I'm currently as cliché as you can get.
[17:58] <c_14> probably something like -60/-45|-40/-30|-20/-20|0/-5 ?
[17:59] <c_14> If my understanding is correct that should boost quiet audio by 10%<x<100%, boost medium quiet audio by 10% keep normal audio normal and chop loud audio by 0<x<10%
[17:59] <Wintershade> c_14: thanks, I'll try them out and play around. I have to go now, thanks a lot to everyone.
[20:27] <ersatzbeardr> hey guys, i'm not sure what to look at in the docs / google for, i want to build a stream that is made up of 3 png images that display for various time slices, but otherwise is just a fill color
[20:28] <ersatzbeardr> so 0s..5s:white, 5s..7s:1.png, 7s..12s:white etc
[20:29] <c_14> Look at the color video source.
[20:29] <ersatzbeardr> would i just generate a collection of different sized videos then concatinate them together
[20:30] <c_14> https://ffmpeg.org/ffmpeg-filters.html#color_002c-haldclutsrc_002c-nullsrc_002c-rgbtestsrc_002c-smptebars_002c-smptehdbars_002c-testsrc
[20:30] <ersatzbeardr> okay will take a look
[20:31] <c_14> Either put 3 of those in a filter_complex and then concat with the concat filter, or use them as lavfgi inputs and concat those.
[20:32] <ersatzbeardr> thanks c_14 this looks good
[20:32] <c_14> *lavfi
[22:32] <ersatzbeardr> c_14: man that's great
[22:32] <ersatzbeardr> i should have learned filters ages ago
[22:32] <ersatzbeardr> thanks
[22:32] <c_14> np
[22:54] <xebra> hi, are the static builds available at the links on the ffmpeg website... without support for x11grab? I just tried them, and I get "Unknown input format: 'x11grab'
[22:54] <sacarasc> Correct.
[22:55] <xebra> nooooo :(
[22:59] <sacarasc> Which distro are you on?
[23:03] <xebra> Windows Vista! I'm kidding... Xubuntu.
[23:09] <sacarasc> And you don't want to compile yourself?
[23:11] <beastd> xebra: If you decide for compiling yourself you can consult our wiki for help: http://trac.ffmpeg.org/#CompilingFFmpeg
[23:11] <xebra> I'm reading about it right now
[23:11] <beastd> xebra: Building yourself should be fairly easy and take not too much time.
[23:13] <beastd> xebra: OFFTOPIC: There is still hope there will be Ubuntu Packages again at some day in the future:   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729203#787
[23:14] <xebra> Yeah. Maybe it's about time I learn some stuff about compiling. I'm especially interested in static builds and creating packages (deb). "Classic" compilation has always seemed "dirty" to me.
[23:17] <beastd> xebra: Well if you will learned about building Deb packages, you can try to build the debs from the source packages we prepared for Debian. Not sure what is needed if anythingy to make them work on Ubuntu. The git repo with the package sources (currently on alioth collab-maint) is mentioned in the link I gave you before.
[23:18] <beastd> xebra: Though building static binaries from FFmpeg source should be much easier than building the Debian packages for a start.
[23:39] <LinManHD> Yo
[00:00] --- Tue Jul 29 2014


More information about the Ffmpeg-devel-irc mailing list