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

burek burek021 at gmail.com
Thu Sep 24 02:05:01 CEST 2015


[01:55:33 CEST] <angrysnarl> Need help. I'm trying to compile ffmpeg from source by following this guide: https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu. I'm getting errors: "collect2: error: ld terminated with signal 9 [Killed] / Makefile:126: recipe for target 'ffmpeg_g' failed / make: *** [ffmpeg_g] Error / Makefile:122: recipe for target 'ffmpeg' failed"
[01:56:02 CEST] <angrysnarl> Everything else went well.
[01:57:28 CEST] <waressearcher2> everything else ? it is whether it does compiles or not
[01:59:01 CEST] <angrysnarl> I meant all the previous steps in the guide completed without issues
[02:00:24 CEST] <DHE> i'd check dmesg to see if linux killed your process due to out of memory
[02:01:01 CEST] <angrysnarl> Hm never crossed my mind since I got 2GB of RAM. will check anyway, thanks.
[02:01:33 CEST] <DHE> programs don't just receive SIGKILL without a damned good reason
[02:02:14 CEST] <angrysnarl> Alright DHE, will try to figure it out. Thanks. :)
[02:07:46 CEST] <waressearcher2> 2GB is not enough for ffmpeg compilation ?
[02:28:06 CEST] <DHE> depends. by default ffmpeg puts in debug symbols. they can add up
[02:28:15 CEST] <DHE> also depends on what else is running, swap availability
[02:28:24 CEST] <DHE> or I could be wrong and somebody SIGKILL'd his stuff as a joke
[02:31:49 CEST] <waressearcher2> very elaborate one
[02:38:56 CEST] <c_14> If you're going to kill somebody's processes as a joke you could at least use SIGILL/SIGFPE or SIGSEGV.
[02:39:03 CEST] <c_14> They'll spend hours wondering what went wrong.
[02:48:39 CEST] <waressearcher2> SIGSTOP
[02:55:37 CEST] <DHE> how to troll on unix
[02:56:43 CEST] <waressearcher2> what is sigfpe ?
[02:56:45 CEST] <waressearcher2> SIGFPE
[02:56:51 CEST] <c_14> Floating Point Exception
[02:57:11 CEST] <waressearcher2> it causes FPE to programm ?
[02:57:38 CEST] <DHE> division by zero and such
[02:58:12 CEST] <waressearcher2> I mean SIGSTOP will stop process, what will SIGFPE do ?
[02:58:20 CEST] <c_14> Depends on the signal handler.
[02:58:35 CEST] <c_14> By default it kills it.
[02:58:35 CEST] <waressearcher2> right, it just sends the signal, the programm to decide what to do
[04:47:39 CEST] <onyx> hello, Im following the instructions of how to compile ffmpeg
[04:47:45 CEST] <onyx> https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
[04:48:02 CEST] <onyx> but I get this error gcc is unable to create an executable file.
[05:34:04 CEST] <icwiener_> Hi. I am trying to make a time lapse from jpeg images but the resulting video is not playing in several media players. I am using the commenad "ffmpeg -framerate 10 -start_number 15 -i new-P9190%03d.JPG -c:v libx264 -r 10 output10.mp4" but I also tried other video formats, giving the resolution and also several other arguments mentioned by people in their blog posts about creating time lapse videos. And idea what might be going on? ... I am using
[05:34:06 CEST] <icwiener_> Debian, where ffmpeg has just be replacing libav again, so maybe you know about a problem there? Thanks for any hints. :)
[06:21:50 CEST] <relaxed> icwiener_: add -pix_fmt yuv420p after the input
[06:22:35 CEST] <icwiener_> relaxed: I tried that (because the output suggested it) but same resolt (just smaller file size).
[06:24:15 CEST] <relaxed> the result being some players can play it?  pastebin your command and output
[06:24:22 CEST] <relaxed> er, can't
[06:28:07 CEST] <icwiener_> relaxed: I tried with mplayer2 and VLC and both do not play anything. Pasting in progress ...
[06:30:54 CEST] <icwiener_> relaxed: http://pastebin.com/6iBkuasJ
[06:32:11 CEST] <relaxed> you need -pix_fmt yuv420p
[06:32:18 CEST] <icwiener_> relaxed: And mplayer2 then says: http://pastebin.com/5ZuaDwzg
[06:33:30 CEST] <icwiener_> Why would I need it? ffmpeg just chooses yuv422p without specifying it. Also, it does not work even with that parameter set.
[06:34:59 CEST] <relaxed> well, some video players expect yuv420p. what do you mean it doesn't work?
[06:35:25 CEST] <relaxed> pastebin any errors
[06:38:31 CEST] <relaxed> mplayer2 isn't maintained anymore, you should use mpv.io
[06:39:31 CEST] <icwiener_> What? mplayer2 dies quickly then. :/
[06:40:01 CEST] <icwiener_> But vlc also does not play the file.
[06:41:14 CEST] <relaxed> try ffplay
[06:42:53 CEST] <relaxed> "Source image dimensions are too high: 2304x1728 (maximum is 2048x2048)"
[06:44:12 CEST] <icwiener_> relaxed: OK. Now I installed mpv and it plays the file. ffplay does not play the file either and gives the image dimensions error message in red. There I could see it. :D
[06:44:23 CEST] <icwiener_> relaxed: Thanks for your help in opening my eyes. :)
[06:45:25 CEST] <relaxed> looks like you need to scale the video down
[06:45:57 CEST] <relaxed> xv video output might have 2048x2048 limit
[06:47:52 CEST] <icwiener_> relaxed: I now scaled down the images with imagemagick and creating the video again.
[06:48:35 CEST] <relaxed> ffmpeg has a scale filter
[06:49:53 CEST] <kyleogrg> I'm dealing with a video with "Euro pulldown" (222222222223).  I'm using the detelecine filter to get an exact reverse.  The pattern is 12 interlaced, 13 progressive, etc.  However, at around 24 seconds, I find an extra progressive frame.  Why would I occasionally find an extra frame in the otherwise consistent pattern?
[06:51:08 CEST] <kyleogrg> It doesn't seem this movie was edited, at least where the first pattern break occurs.
[06:58:37 CEST] <icwiener_> relaxed: Thanks. read about the scaling filter and works like a charm. :)
[07:00:06 CEST] <relaxed> kyleogrg: pastebin what you're doing and maybe someone will have an idea
[07:00:13 CEST] <relaxed> icwiener_: you're welcome
[07:01:12 CEST] <kyleogrg> http://pastebin.com/tqq6UK5x
[07:01:29 CEST] <kyleogrg> Source video is a 25i PAL DVD.
[08:25:03 CEST] <chintak> hey, anyone around?
[14:38:36 CEST] <loa> hello, how i can set keyint interval when i use nvenc?
[14:38:44 CEST] <loa> --keyint will work or not?
[14:45:48 CEST] <relaxed> loa: did you try -g?
[14:47:13 CEST] <loa> relaxed, i dunno where i can read about nvenc
[14:47:23 CEST] <relaxed> ffmpeg -h encoder=nvenc
[14:48:18 CEST] <loa> relaxed, there no such option
[14:50:44 CEST] <loa> ok i found some information
[18:18:09 CEST] <Worsh> I'm somewhat new to Linux, so odds are I did something wrong. I decided to install the newer version of OMXPlayer on my Raspberry Pi, and part of that is "make ffmpeg", which produced "ERROR: libssh not found using pkg-config". Should I paste the config.log to ffmpeg.pastebin.com, or is that for something else?
[18:18:41 CEST] <c_14> You probably need to install libssh (or remove --enable-libssh from the configure line)
[18:20:45 CEST] <Worsh> When I enter the package handler, I've already got libssh-4, libssh-dev and libssh2-1 installed. Do I need something else?
[18:21:01 CEST] <Worsh> Also, I can't really change the configure, since it's all done automatically
[18:21:21 CEST] <IntelRNG> Worsh: WHich distribution is it and why can't you install omxplayer using the package manager?
[18:22:18 CEST] <Worsh> I've got it updated to the most recent version from the package handler, but it doesn't seem to support subtitles properly (which is what I need). Thus the attempt at a manual install
[18:23:28 CEST] <c_14> Worsh: where is your libssh.pc ?
[18:25:05 CEST] <Worsh> Not sure what that is...
[18:30:18 CEST] <c_14> sudo updatedb && locate libssh.pc; or find / -name libssh.pc; or check the common paths /usr/lib/pkgconfig /usr/local/lib/pkgconfig etc
[18:39:57 CEST] <waressearcher2> what database does that tool "updatedb" uses ? sqlite ?
[18:40:02 CEST] <waressearcher2> or its just text file ?
[18:40:17 CEST] <Worsh> I'm starting to think I don't have anything like that anywhere. I can do "ls -R libssh*" and it doesn't show anything
[18:40:34 CEST] <Worsh> That is, I used it from /
[18:41:11 CEST] <c_14> waressearcher2: pretty sure it's custom
[18:41:29 CEST] <c_14> Worsh: do you have the libssh.h file?
[18:41:45 CEST] <c_14> eh
[18:41:49 CEST] <c_14> libssh/sftp.h that is
[18:42:22 CEST] <Worsh> Wouldn't the ls find that one too?
[18:42:50 CEST] <c_14> You're on a debianish system aren't you?
[18:42:54 CEST] <c_14> dpkg -L libssh-dev
[18:44:34 CEST] <Worsh> Ah, that one found libssh.pc in usr/lib/arm-linux-gnueabihf/pkgconfig/libssh.pc. Odd that ls didn't find it. Hmm.
[18:45:06 CEST] <c_14> export PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig:$PKG_CONFIG_PATH
[18:45:08 CEST] <c_14> then try again
[18:51:14 CEST] <Worsh> Nope, same error.
[18:51:58 CEST] <c_14> What does pkg-config --exists --print-errors libssh return?
[18:52:27 CEST] <Worsh> Nothing, just a new prompt
[18:55:30 CEST] <c_14> Can you upload the last few lines of config.log to a pastebin service (the last 50 or so)
[18:57:27 CEST] <Worsh> http://pastebin.com/9V7RtNCQ
[19:04:31 CEST] <c_14> Oh boy
[19:04:34 CEST] <c_14> That build system is broken
[19:04:36 CEST] <c_14> kaputt
[19:04:47 CEST] <Worsh> Well that sounds good, heh
[19:05:21 CEST] <c_14> It (for whatever reason) sets $pkg_config to false
[19:05:24 CEST] <c_14> No wonder it doesn't work.
[19:05:44 CEST] <Worsh> Yeah, that'd explain it
[19:06:01 CEST] <c_14> You should even get a nice worning "false not found, library detection may fail."
[19:06:04 CEST] <c_14> *warning
[19:08:16 CEST] <Worsh> You mean this one, a couple hundred lines up... WARNING: arm-linux-gnueabihf-pkg-config not found, library detection may fail.
[19:09:50 CEST] <c_14> Ah, ok. Now I see, but yes that. So it might not be entirely the build system's fault.
[19:10:06 CEST] <c_14> Can you do `which pkg-config' ?
[19:10:20 CEST] <Worsh> usr/bin/pkg-config
[19:12:22 CEST] <c_14> If you can edit your way into the build script and find where it calls ./configure you can set --pkg-config=pkg-config, or you can symlink pkg-config to arm-linux-gnueabihf-pkg-config
[19:17:59 CEST] <Worsh> I'm guessing I'm looking for --pkg-config=PKGCONFIG?
[19:18:27 CEST] <Worsh> Which, unfortunately, is in the ffmpeg folder, which is automatically downloaded by "make ffmpeg". Of course
[19:18:51 CEST] <c_14> Then just symlink the binary to arm-linux-gnueabihf-pkg-config
[19:23:04 CEST] <Worsh> Let's see if the third one does it... and if the symlink works.
[19:25:56 CEST] <Worsh> Well, at least it's further along this time. Currently compiling (I'm guessing).  Lots of "CC file/file.o"
[19:45:37 CEST] <Guest10375> how to make scrolling text to appear every 'X' seconds ?
[19:45:58 CEST] <Guest10375> I have tried the following command and doesn't seem to work. Only scroll for one time
[19:45:59 CEST] <Guest10375> ffmpeg -i /test/test.mp4 -vf drawtext="fontfile=/path/to/fonts/FreeSans.ttf:text='Hello World Hello World':fontcolor=white at 1.0:fontsize=16:y=h-line_h-100:x=(5*n)-tw:enable=lt(mod(t\,10)\,5)" -codec:v libx264 -codec:a copy /test/output.mp4
[19:48:30 CEST] <DHE> you need to edit the formula so that the text wraps around. the modulos operator can help here
[19:49:04 CEST] <c_14> Yeah, currently your text is going towards positive infinity on the x axis.
[19:59:39 CEST] <Worsh> Woo! Installation worked. Thanks for your help!
[22:05:49 CEST] <killer> hello... how i can increase the brightness of a .mp4 video ?
[22:07:53 CEST] <waressearcher2> -vf hue="b=2"
[22:08:31 CEST] <killer> max value is 2 ?
[22:11:11 CEST] <ChocolateArmpits> if there is a max value then stack same filters
[22:11:58 CEST] <killer> ok thx i will try it
[22:40:37 CEST] <NapoleonWils0n> hi all
[22:41:01 CEST] <NapoleonWils0n> can ffmpeg read smb username password from a text file
[22:46:07 CEST] <pzich> never used it, but it looks like you might be able to add it to the URI: http://mcs.une.edu.au/doc/ffmpeg/ffmpeg-protocols.html#libsmbclient
[22:47:55 CEST] <NapoleonWils0n> pzich thats right you can add username pass to the url, i may have to alter my bash script
[22:49:18 CEST] <NapoleonWils0n> i made some bash scripts for ffmpeg and ffplay: https://github.com/NapoleonWils0n/kodi-playercorefactory
[22:50:46 CEST] <pzich> it shouldn't be too hard to split up the input URI and tack in the user and pass
[22:51:10 CEST] <NapoleonWils0n> yes something like sed
[22:52:38 CEST] <NapoleonWils0n> i was trying to use ffplay on windows but an error saying filename was already specified as an argument
[22:53:11 CEST] <NapoleonWils0n> can only pass the url on windows if i add any arguments to the command it fails, must be a windows thing
[23:25:36 CEST] <waressearcher2> why would someone use ffmpay ?
[23:25:44 CEST] <waressearcher2> its so limited in compare to mplayer
[23:26:01 CEST] <waressearcher2> why is there ffplay anyway ?
[23:26:18 CEST] <c_14> It's great for testing things. Can also be used for other things.
[00:00:00 CEST] --- Thu Sep 24 2015


More information about the Ffmpeg-devel-irc mailing list