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

burek burek021 at gmail.com
Tue Jul 14 02:05:01 CEST 2015


[00:31:42 CEST] <hardikj> hi, I am on mac os lion (10.7.5) and I am trying to build ffmpeg but on ./configure I cannot see avfoundation or qtkit in my enabled device
[00:31:50 CEST] <hardikj> what am i doing wrong?
[00:32:21 CEST] <hardikj> PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11/lib/pkgconfig pkg_config='pkg-config --static'  ./configure  --prefix="../target" --enable-gpl --enable-version3 --enable-nonfree --disable-shared  --enable-pthreads --enable-nonfree   --enable-libx264 --enable-static  --disable-doc
[00:32:35 CEST] <hardikj> this is the command I used
[00:33:57 CEST] <durandal_1707> look in configure --help output are there switches for your case
[00:41:14 CEST] <hardikj> durandal_1707, I added  --enable-indev=avfoundation but still no luck
[00:43:13 CEST] <durandal_1707> look in logs, perhaps you need pkg_config or similar
[00:47:29 CEST] <hardikj> durandal_1707, anyidea where are logs stored?
[00:47:37 CEST] <hardikj> or do you mean stdout?
[00:52:27 CEST] <durandal_1707> config.log maybe
[09:05:09 CEST] <unixbird> I dont exactly know how to say this or start out: I followed this guide for stepmania http://www.stepmania.com/wiki/compiling-stepmania/?PageSpeed=noscript and when I got to the ./configure stage, I hit a snag and get this error (its the same as if i do the command ./configure) http://pastebin.com/suHq9wnB
[09:06:29 CEST] <JEEBsv> oh wow, stepmania is still alive?
[09:06:56 CEST] <unixbird> eh kind of
[09:07:13 CEST] <JEEBsv> also that error seems to have nothing to do with ffmpeg
[09:08:02 CEST] <unixbird> huh I just went with what I saw
[09:08:08 CEST] <unixbird> it was my first lead
[09:09:33 CEST] <unixbird> any chance you can point me in the right direction?
[09:09:47 CEST] <JEEBsv> or well, it says it failed to do something with ffmpeg, but thank them for having the shit quiet :P so you can't see if they did anything braindamaged, and you can't see what failed
[09:10:29 CEST] <unixbird> god dammit it could be anything then
[09:14:10 CEST] <unixbird> guess I should probably give up and try again some other time
[09:17:54 CEST] <unixbird> nvm found the error, I needed yasm, but now another error happens..
[11:09:09 CEST] <Fjorgynn> aballier: welcome
[11:19:51 CEST] <hardikj> hi, I want to use qtkit to capture my destop on my mac lion  (10.7.5), I tried using --enable-indev = qtkit but It didn't worked
[11:20:02 CEST] <hardikj> any idea what am I doing wrong?
[11:40:32 CEST] <hardikj> anyone? :(
[11:45:26 CEST] <Fjorgynn> :(
[11:45:31 CEST] <Fjorgynn> I am not a mac user srry
[11:50:34 CEST] <hardikj> np
[11:51:37 CEST] <hardikj> i can wait till someone arrive
[12:03:07 CEST] <brontosaurusrex> hardikj: no idea what you need, but can do some testing on a mac
[12:05:40 CEST] <kotten> Hello! I am trying to pipe the output of a USB-connected camera on my server to my client computer(Preferebly over SSH) However I don't seem to get it working =\
[12:06:57 CEST] <kotten> I can record.. And I can pipe it locally(ssh localhost) but to the other computer on the network(1000Mbit) it doesn't work.
[12:18:28 CEST] <brontosaurusrex> kotten: no idea, sorry
[12:18:58 CEST] <brontosaurusrex> kotten: ignore me.
[12:22:26 CEST] <hardikj> brontosaurusrex, I am trying to capture desktop using ffmpeg on mac os lion, the problem is when avfoundation and qtkit are not getting detected
[12:23:34 CEST] <hardikj> I tried lots of things like building my own static buinary with --enable-indev = avfoundation flag on, but it don't seem to work
[12:43:02 CEST] <hendry> i noticed when I run `ffmpeg -f v4l2 -framerate 30 -video_size 1920x1080 -i /dev/video0 -c:v libx264 -preset ultrafast -crf 10  microcorder.mkv`, I record at 30fps. However when I add -f alsa -i pulse -acodec pcm_s16le for audio, it just grinds down the 1fps. Am I missing a trick ?
[12:49:12 CEST] <brontosaurusrex> hardikj: any errors?
[12:50:27 CEST] <hardikj> urmm, last  line of my config.log says   cc1: error: unrecognized command line option "-Wmaybe-uninitialized"
[12:52:26 CEST] <hardikj> but it configure and build fine and the ffmpeg binary I get also also seems to work fine, it just dont detect avfoundation or qtkit
[12:58:04 CEST] <durandal_1707> hardikj: what happens if you only record audio
[12:58:46 CEST] <hardikj> durandal_1707, I don't need audio,  so I didn't tried it, can try if you want?
[12:59:49 CEST] <durandal_1707> hardikj: nvm
[13:00:41 CEST] <debianuser> durandal_1707: were you actually asking hendry?
[13:00:56 CEST] <durandal_1707> hendry: what happens if you record only audio?
[13:01:36 CEST] <durandal_1707> debianuser: yes, my mistake
[13:11:17 CEST] <Daan_> Dear, How can I watermark a image, convert it to a video and put music in the background? :)
[13:13:12 CEST] <hendry> durandal_1707: i can't really tell what fps i am getting if i just record audio ...
[13:13:32 CEST] <durandal_1707> Daan_: with ffmpeg
[13:13:53 CEST] <Daan_> durandal_1707: which command? :)
[13:14:11 CEST] <durandal_1707> hendry: look how much CPU is used
[13:15:06 CEST] <durandal_1707> Daan_: there are bunch of them, you could google it for start
[13:16:29 CEST] <hendry> durandal_1707: not sure what I'm looking for http://s.natalian.org/2015-07-13/1436786167_280x532.png
[13:16:55 CEST] <hendry> durandal_1707: sorry, http://s.natalian.org/2015-07-13/1436786150_1432x1036.png
[13:22:40 CEST] <iomari_> greetings, I just nstalled ffmpeg on a system and I can't convert a movie that I can convert on another system. What additional libraries are needed? I instlled using apt-get on ubuntu trusty.
[13:27:11 CEST] <Daan_> Dear, my ISP had a few problems, I'm back :)
[13:31:22 CEST] <Daan_> Can anyone help me find the right ffmeg command? :)
[13:46:38 CEST] <debianuser> hendry: Does the audio recording itself work fine? Can you record something with `arecord -Vstereo -fdat -Dpulse somefile.wav` and does that "somefile.wav" play fine?
[14:10:47 CEST] <AAA7> I'm trying to convert and trip a .mp4 file using FFmpeg in Objective-C environment
[14:11:08 CEST] <AAA7> I got this far
[14:11:14 CEST] <AAA7> http://stackoverflow.com/questions/31262243/how-to-trim-a-video-using-ffmpeg-in-objective-c-for-ios-application
[14:13:04 CEST] <c_14> Daan_: you want the overlay filter, the loop input option, and probably -shortest. Like in https://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images#Addingaudio just with the filter as well
[14:33:39 CEST] <bove> I'm trying to decode a raw format with a fixed header size (2048 bytes) for each frame. I'm already skipping the header using skip_initial_bytes, but is there a similar options to skip bytes for each frame?
[14:41:10 CEST] <durandal_1707> bove: afaik no, but you could write demuxer...
[14:43:19 CEST] <bove> durandal_1707: Can I do that on runtime?
[14:46:46 CEST] <durandal_1707> bove: no
[14:47:07 CEST] <durandal_1707> bove: what format is that?
[14:51:46 CEST] <bove> It's a Mistika media file. .js extension. It might have roots in some SGI format ...
[15:05:39 CEST] <durandal_1707> bove: and what it stores?
[15:07:22 CEST] <bove> Image streams in various pixel formats
[15:07:57 CEST] <bove> durandal_1707: I'm looking into -packetsize now. Or is that for something else?
[15:10:31 CEST] <joshuabarnett> How can I normalize audio using ffmpeg?
[15:10:32 CEST] <durandal_1707> bove: the only correct way is writting demuxer yourself or let someone else to write it
[15:11:21 CEST] <durandal_1707> synthecypher: what you exactly need?
[15:12:00 CEST] <bove> durandal_1707: I can write it, but I want to avoid updating a number of existing systems
[15:13:05 CEST] <durandal_1707> heh, its monolithic library simple does not allow that
[15:13:51 CEST] <durandal_1707> could upload few samples to Trac ticket
[15:17:28 CEST] <Guest19252> Hi all! I have aproblem with my Raspberry Pi, if I run apt-get install ffmpeg, it is too old for using filter_complex, how can I get the newest ffmpeg without compiling? :)
[15:17:34 CEST] <Guest19252> I run raspbian
[15:19:52 CEST] <Guest19252> Hi all! I have aproblem with my Raspberry Pi, if I run apt-get install ffmpeg, it is too old for using filter_complex, how can I get the newest ffmpeg without compiling? :)
[15:19:53 CEST] <Guest19252> I run raspbian
[15:24:23 CEST] <Guest19252> Hi all! I have aproblem with my Raspberry Pi, if I run apt-get install ffmpeg, it is too old for using filter_complex, how can I get the newest ffmpeg without compiling? :)
[15:24:24 CEST] <Guest19252> I run raspbian
[15:45:33 CEST] <bove> durandal_1707: I wonder if the packet overhead comes from memory alignment. Maybe there's a switch to toggle that on demux?
[15:46:56 CEST] <durandal_1707> what overhead? there are no switches for random ideas in ffmpeg, yet
[15:50:04 CEST] <bove> If the 2048 bytes are simply a result of memory alignment, there must surely be other formats with the same phenomena
[15:51:01 CEST] <Guest19252> Hi all! I have aproblem with my Raspberry Pi, if I run apt-get install ffmpeg, it is too old for using filter_complex, how can I get the newest ffmpeg without compiling? :)
[15:51:02 CEST] <Guest19252> I run raspbian
[15:53:21 CEST] <durandal_1707> bove: packet overhead - in size?
[15:55:32 CEST] <bove> The picture info for each frame is 4 147 200 bytes (1920*1080*2), but the packet size is 4 149 248 bytes, witch results in a rolling picture if I try to decode it as rawvideo
[16:00:32 CEST] <durandal_1707> yes, you can't skip it unless special demuxer is written
[16:13:51 CEST] <Guest19252> Hi all! I have aproblem with my Raspberry Pi, if I run apt-get install ffmpeg, it is too old for using filter_complex, how can I get the newest ffmpeg without compiling? :)
[16:14:17 CEST] <Guest19252> I run raspbian
[16:22:47 CEST] <pothibo> Im trying to get a stream from Wowza to pass through ffmpeg to then serve a new stream with ffserver(dont ask). heres the cmd ffmpeg -i rtsp://52.2.56.62:1935/live/myStream.stream http://0.0.0.0:8089/feed.ffm and it does a segmentation fault idea?
[16:23:53 CEST] <pothibo> actually, is ffserver still maintained?
[18:36:41 CEST] <Reelee> I'm having a problem decoding dvbsub subtitles on live stream. VLC seems to be able to decode them without a problem. See ticket #4200 here: https://trac.ffmpeg.org/ticket/4200
[19:17:42 CEST] <louisnk> Hey FFmpeg'ers
[19:19:18 CEST] <louisnk> i'm having a bit of a problem getting a blank output, was wondering if anyone could give some insight?
[19:30:42 CEST] <durandal_1707> louisnk: give more info
[19:38:39 CEST] <louisnk> i'm doing a pretty basic conversion with 2 webm files to a single mp4
[19:38:52 CEST] <louisnk> i'm also doing it via node.js, which may be the culprit
[19:39:04 CEST] <louisnk> if I run it from the command line, referencing the files directly it works
[19:39:21 CEST] <louisnk> but when creating a stream of data from the files and running the same command via node.js, it creates an empty output
[19:39:40 CEST] <louisnk> reading ffmpeg's docs it seems like it's totally capable of working with streams, and in fact if I use a single stream it works fine
[19:40:23 CEST] <louisnk> ffmpeg -i pipe:1 -i pipe:2 -map 1:a:0 -strict -2 -map 0:v:0 -shortest -f mp4 -y /path/to/output.mp4
[19:40:51 CEST] <louisnk> if I replace pipe:1 with a filename and run from command line, works great
[19:41:55 CEST] <c_14> louisnk: what exactly are you doing?
[19:42:09 CEST] <c_14> Neither pipe:1 nor pipe:2 should be valid input options (afaik)
[19:42:14 CEST] <c_14> As they're referencing stdout and stderr
[19:42:30 CEST] <louisnk> oh...
[19:42:42 CEST] <c_14> How are you piping the data to ffmpeg?
[19:42:48 CEST] <c_14> Have you tried fifos/named pipes?
[19:43:00 CEST] <louisnk> i'm spawning a child process and piping the data into it's sdin
[19:43:09 CEST] <louisnk> i hadn't found fifos/named pipes?
[19:43:12 CEST] <c_14> From 2 sources?
[19:43:16 CEST] <louisnk> yes
[19:43:23 CEST] <c_14> fifos/named pipes are an OS abstraction
[19:43:38 CEST] <c_14> louisnk: you're piping 2 sources into stdout? One after another or wildly mixed?
[19:44:00 CEST] <louisnk> ya you're right
[19:44:04 CEST] <louisnk> they are probably going in one after the other
[19:44:10 CEST] <louisnk> i'm piping into stdin, one after the other
[19:44:14 CEST] <louisnk> so that's clearly not going to work...
[19:44:26 CEST] <louisnk> how would I go about piping those in as named pipes?
[19:45:42 CEST] <iive> `man mkfifo`
[19:45:53 CEST] <louisnk> i'm reading about that now
[19:46:13 CEST] <louisnk> so create named pipes, then use those in my ffmpeg command, essentially
[19:46:31 CEST] <c_14> yes
[19:46:52 CEST] <louisnk> thank you.
[19:51:25 CEST] <astroty> Hello there, can someone help me?
[19:55:40 CEST] <astroty> I have a nginx RTMP server and I wanna know if there is any way to zoom my webcam while streaming without having to pause ffmpeg to set new parameters. My webcam doesn't support zooming according to v4l2 so I thought about using cropping and scaling instead.
[19:58:51 CEST] <DHE> I don't know that it would benefit you any. if there's no zoom lens then you won't get better picture out of it
[20:07:16 CEST] <pistacio> who could help me? while compiling ffmpeg with --enable-libass I get libass not found using pck-config. libass-dev is installed and libass.pc is in the PKG_CONFIG_PATH. The configure.log og ffmpeg tells me /usr/bin/ld: cannot find -lenca, /usr/bin/ld: cannot find -lfribidi, collect2: error: ld returned 1 exit status,ERROR: libass not found using pkg-config
[20:09:22 CEST] <astroty> DHE: Still, is there a way to change the parameters while ffmpeg is running so there wouldn't be a need to stop streaming?
[20:10:14 CEST] <DHE> nothing comes to mind that wouldn't be considered a dirty hack... :/
[20:10:29 CEST] <astroty> I don't mind dirty hacks
[20:10:38 CEST] <astroty> :P
[20:10:47 CEST] <DHE> hehehe
[20:11:39 CEST] <DHE> the dirty hack that comes to mind is to use the udp:// "format" as a go-between. one ffmpeg instance takes webcam input and filters it, outputting to a UDP stream. a second takes UDP and outputs it to nginx
[20:12:13 CEST] <DHE> you can restart the first instance, and as long as the outage is brief and the codec parameters are the same (resolution, etc) it might just pick up where it left off
[20:21:23 CEST] <astroty> Hm, could work nicely
[20:21:30 CEST] <astroty> Thanks for the idea!
[20:47:01 CEST] <pistacio> who could help me? while compiling ffmpeg with --enable-libass I get libass not found using pck-config. libass-dev is installed and libass.pc is in the PKG_CONFIG_PATH. The configure.log og ffmpeg tells me /usr/bin/ld: cannot find -lenca, /usr/bin/ld: cannot find -lfribidi, collect2: error: ld returned 1 exit status,ERROR: libass not found using pkg-config
[21:17:32 CEST] <durandal_1707> pistacio: have you installed libenca and fribidi?
[21:27:11 CEST] <pistacio> durandal_1707: yes both of them.
[21:28:04 CEST] <durandal_1707> and where are they?
[21:29:07 CEST] <pistacio> libenca-dev and libfribidi-dev
[21:29:31 CEST] <pistacio> in /usr/include
[21:31:09 CEST] <pistacio> do I need binaries or dev files?
[21:34:15 CEST] <durandal_1707> where are libraries?
[21:36:01 CEST] <durandal_1707> you need to point ldflags to them...
[21:46:36 CEST] <pistacio> ./usr/lib/x86_64-linux-gnu/libenca.so
[21:47:31 CEST] <pistacio> ./usr/lib/x86_64-linux-gnu/libfribidi.so
[21:48:04 CEST] <pistacio> how do I do it? I mean pointing ldflags.
[21:51:25 CEST] <durandal_1707> LDFLAGS=-L/usr/lib...
[21:52:11 CEST] <durandal_1707> or copy those libs where are others....
[21:58:09 CEST] <pistacio> thank you dural_1707 IT WORKS !!!!! THANK YOU VERY MUCH !!!
[21:58:14 CEST] <jo_mo> I've cut a video with QuickTime Player on OS X, which produces a .mov file. When I try to convert it to .webm the audio is out of sync (interestingly only after the 1st cut). Is there any way to fix this?
[22:00:06 CEST] <pistacio> hhmm :) no it does not I forgot to include the switch --enable-libass
[22:58:56 CEST] <Guest33241> "ffmpeg -use_absolute_path 1 -i test.mp4 -codec copy -v debug output.mp4" doesn't activate the "use_absolute_path" demuxer option. what am I missing?
[00:00:00 CEST] --- Tue Jul 14 2015


More information about the Ffmpeg-devel-irc mailing list