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

burek burek021 at gmail.com
Sat Jan 25 02:05:01 CET 2014


[00:05] <fundies> can I make ffmpeg to copy all the tracks?
[00:12] <fundies> lahttp://pastie.org/8661919
[00:13] <sacarasc> You might have to remove stream 0.
[00:14] <fundies> how?
[00:15] <sacarasc> Use -map, I guess...
[00:15] <fundies> i tried that n it errored
[01:25] <Aquaguy> Hello
[01:26] <Aquaguy> I'm using ffmpeg to stream video from a webcam but when I launch it I get a notice saying that the program is deprecated.
[02:06] <NoZero> Help me please?
[02:07] <sacarasc> NoZero: What with?
[02:07] <NoZero> I have tried at least 10 times to write c++/cli program with FFMPEG includes
[02:07] <NoZero> get all kinds of external link errors at best
[02:08] <NoZero> there is no libswresample/swresample.h
[02:08] <NoZero> folder is empty
[02:09] <NoZero> it has empty subfolders ARM, X86
[02:09] <NoZero> wtf?
[02:09] <NoZero> I have to download 38,000 header files piece meal?
[02:10] <NoZero> there is no help docs anywhere
[02:10] <NoZero> turorials are 10 years old
[02:10] <NoZero> Is there any hope?
[02:10] <sacarasc> Did you install the libraries yet?
[02:10] <NoZero> yes as far as I know
[02:11] <NoZero> you mean DLLs?
[02:18] <NoZero>  Directory of C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include
[02:18] <NoZero> 01/23/2014  07:33 PM    <DIR>          libavcodec
[02:18] <NoZero> 01/16/2014  08:27 AM    <DIR>          libavdevice
[02:18] <NoZero> 01/16/2014  08:28 AM    <DIR>          libavfilter
[02:18] <NoZero> 01/23/2014  07:35 PM    <DIR>          libavformat
[02:18] <NoZero> 01/16/2014  08:29 AM    <DIR>          libavresample
[02:18] <NoZero> 01/23/2014  07:34 PM    <DIR>          libavutil
[02:18] <NoZero> 01/23/2014  07:35 PM    <DIR>          libswscale
[02:19] <Aquaguy> Hello again, I'm trying to stream audio & video from my webcam using ffmpeg, but i get an error saying "Unknown input format: 'alsa'" this is the command I'm using: ffmepg -f v4l2 -s 640x480 -i /dev/video1 -f alsa -ac 1 -i default:CARD=VX2000 http://localhost:8000/exterior.ffm
[02:19] <Aquaguy> What's wrong? Thank you for your help in advanced
[02:32] <Aquaguy> anyone knows why I get that alsa error?
[02:33] <sacarasc> Aquaguy: What version of ffmpeg are you using?
[02:35] <Aquaguy> sacarasc: N-60111-g094516a
[02:36] <sacarasc> You're using a static build?
[02:36] <Aquaguy> I built it from source, cloned the git repository
[02:37] <sacarasc> Did you have alsa libs/dev files and stuff installed before compiling?
[02:38] <Aquaguy> I don't know, what I know is that alsamixer is installed and working.
[02:38] <Aquaguy> So I guess it was installed before building ffmpeg
[02:38] <Aquaguy> surew
[02:41] <Aquaguy> klaxa: http://pastie.org/8662197
[02:42] <klaxa> you compiled it from source? can you pastebin your config.log?
[02:44] <Aquaguy> http://pastebin.com/neA79SKy
[02:45] <klaxa> >/tmp/ffconf.zZOQTLNG.c:1:28: fatal error: alsa/asoundlib.h: No such file or directory
[02:45] <klaxa> install the asoundlib development packages, configure, build
[02:45] <klaxa> Aquaguy: ^
[02:46] <klaxa> should be libasound2-dev
[02:47] <Aquaguy> no package with that name
[02:47] <Aquaguy> sorry, my bad
[02:47] <Aquaguy> I was missing the a
[03:04] <klaxa> Aquaguy, any news?
[03:05] <Aquaguy> klaxa: just finished building and installing
[03:05] <klaxa> kk
[03:05] <Aquaguy> I'm getting stats so I guess it's working!! thanks!
[03:06] <klaxa> nice :)
[04:27] <Aquaguy> Hello once again.
[04:27] <Aquaguy> The stream seems to be working as I can access it from another computer
[04:27] <Aquaguy> but the video is all black
[04:27] <Aquaguy> I'm streaming both in mjpg and mpg
[04:28] <Aquaguy> and both look black.
[04:29] <NoZero> I am trying to get FFMPEG support for VC++/cli any suggestions?
[04:31] <NoZero> Is it only for 'nix?
[04:32] <NoZero> Trying to make a simple Media player in c++/cli
[04:33] <NoZero> :\
[04:42] <NoZero> Any WinDoze FFMPEG helpers here?
[04:43] <NoZero> Know of any tutorials that really work?
[05:06] <NoZero> hi
[05:09] <NoZero> C:.
[05:09] <NoZero> ____libavcodec
[05:09] <NoZero> ³   ____alpha
[05:09] <NoZero> ³   ____arm
[05:09] <NoZero> ³   ____avr32
[05:09] <NoZero> ³   ____bfin
[05:09] <NoZero> ³   ____mips
[05:12] <NoZero> anyone here?
[05:12] <NoZero> Hello... ello... llo... lo... o...
[05:13] Action: NoZero pours himself a  MOLSON ICE 
[05:13] <NoZero> My Windows hasn't crashed for 1day 13hrs 11mins 8secs
[05:16] <NoZero> Anyone else use Windows?
[05:22] <thebombzen> NoZero: if nobody answers it's because they're busy or afk. people aren't ignoring you such that asking again will get an answer this time
[05:23] <thebombzen> AFAIK FFmpeg does not compile in MSVC++. I would recommend building the headers and the DLLs/LIBs with MinGW/MSYS.
[05:23] <thebombzen> Then you can add it as an external library.
[05:24] <thebombzen> Or you could download prebuilt Shared builds from http://ffmpeg.zeranoe.com/builds/
[05:28] <NoZero> I already downloaded the builds
[05:28] <NoZero> MinGW is imperative?
[05:28] <NoZero> dadgumm
[05:29] <NoZero> Isn't there a way to use MinGW compiler in linker?
[05:31] <NoZero> OK you already said it doesn't compile.
[05:31] <NoZero> Thanks, heheh I kinda already knew that but I didn't want to believe it.
[05:32] <NoZero> figure after several attempts and failing. Thought I was doing something wrong.
[05:33] <NoZero> MinGW is such a clumsy interface.
[05:43] <NoZero> What about QT creator?
[10:22] <slavko> hello, i need to package a proprietary audio/video feed to feed ffmpeg with, can you reccomend a simple muxer?
[10:22] <slavko> I'm feeding ffmpeg through a pipe with video and it works, now i need to add sound
[10:22] <slavko> Thanks!
[10:29] <Mavrik> slavko, can't you just pipe both through named pipes_
[10:29] <Mavrik> ?
[10:40] <slavko> I dont seem to know how to use them
[10:40] <slavko> thanks for the answer though
[10:40] <slavko> they fill up? I'm afraid they will malfunction, the stream is live
[10:40] <slavko> also, i suspect that ffmpeg sets their size to 4k
[10:40] <slavko> do you have any advice about this?
[10:41] <slavko> linux btw
[10:41] <Mavrik> about what exactly?
[10:41] <Mavrik> if your ffmpeg can't keep up with the live stream that's not a piping problem
[11:01] <slavko> I've tried piping through a named pipe, but the pipe is limited to 4k, i have 32k frames
[11:53] <__raven> how to detect wrong focus, darkness and dropouts?
[14:11] <dh1jc> Hey guys, hope you can help me.
[14:11] <dh1jc> I'm very experienced on ffmpeg, but currently a bit stuck on OPUS encoding. I can't change the current sampling rate.
[14:12] <dh1jc> I would like to have a opus sampling of 44.100 or even less 22.050 but ffmpeg only allows 48k
[14:12] <dh1jc> any idea?
[14:13] <dh1jc> [my current ffmepg version is N-59852-g785dc14 on windows]
[14:14] <dh1jc> the source is in 44100Hz
[14:21] <dh1jc> sri ... got a disc
[14:23] <dh1jc> http://pastebin.com/F77F7RCf [here the pastbin ..]
[14:27] <saste> dh1jc, so what's the problem with -ar?
[14:28] <dh1jc> ffmpeg just ignores it... or better gives me an error (second)
[14:28] <dh1jc> Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[14:29] <dh1jc> So for opus I can't set it to anything else than 48k ... :/ for all other formats it does work
[14:29] <dh1jc> I pasted on pastbin the running one.
[14:30] <saste> so are you ashamed of posting the one which has issues instead?
[14:30] <dh1jc> http://pastebin.com/r37u5cVn
[14:31] <dh1jc> no... just didn't ;) done now.
[14:31] <saste> Specified sample rate 44100 is not supported
[14:31] <dh1jc> afk for a minute (meeting... maybe you have an idea...)
[14:31] <dh1jc> no. only 48k but libopus states a lot more than only that.
[14:31] <dh1jc> so not even 11025, 22050, 44100... or 8000
[14:32] <saste> dh1jc,  48000, 24000, 16000, 12000, 8000, 0,
[14:33] <saste> these are the supported rates, error message could be improved to list the supported ones
[14:34] <saste> also try: ffmpeg -help encoder=libopus
[15:08] <dh1jc> ok, will have a look there thank you.
[15:09] <dh1jc> @saste ah ok... only 48k 24k 16k... any reason why not hte usual ones?!
[15:10] <saste> dh1jc, complain with the opus designers
[15:11] <dh1jc> hehe... from thier documentation: Sampling rates from 8 to 48 kHz
[15:11] <relaxed> dh1jc: you can compile libopus with "custom modes" that will enable 44100
[15:11] <relaxed> but I'm not sure how wise that would be.
[15:11] <dh1jc> ah ok, maybe we can ask the ffmpeg-dev crew to do sow.
[15:11] <dh1jc> thanks for all your help
[15:53] <NoZero> Hello
[15:54] <NoZero> I saw this:   "4.2.1 Linking to FFmpeg with Microsoft Visual C++" at http://www.ffmpeg.org/platform.html#Linking-to-FFmpeg-with-Microsoft-Visual-C_002b_002b
[15:55] <NoZero> Does this mean I can compile code using FFMPEG includes developed in the VC++ environment?
[15:55] <NoZero> or am I wasting time trying?
[16:01] <JEEB> NoZero, yes -- you can link FFmpeg libraries built with both mingw-w64 and MSVC with MSVC
[16:03] <JEEB> the way of doing it with mingw-w64 has been around for ages
[16:14] <juke_> what is trailing option on  ffmpeg -i "rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=372" -vf select='gt(scene\,0.2)' -vf scale=320:-1 -vsync 0 -f image2  image2%3d.png -qscale 1
[16:14] <juke_>  ?
[19:27] <Stepps> Hi there
[19:27] <Stepps> I am trying to use ffserver or ffmpeg to rebroadcast a local http stream to rtsp
[19:28] <Stepps> I am not getting very far with this
[19:30] <Stepps> The input stream comes from zoneminder, I haven't been able to get ffserver to accept this stream
[19:34] <Stepps> I can open the stream in a browser or vlc, so I know it works
[19:34] <Stepps> this is the url zoneminder is serving
[19:34] <Stepps> http://10.111.1.3/cgi-bin/nph-zms?mode=jpeg&monitor=1&scale=75&maxfps=5&buffer=1000&connkey=934697&rand=1390588238
[19:39] <klaxa> Stepps, i won't be a great help with ffserver, but what have you tried so far?
[19:49] <Stepps> wel,, I have just modified the default conf file to take the stream
[19:49] <Stepps> but it can't open it
[19:49] <Stepps> I'll nopaste that part of the config file.
[19:49] <Stepps> If I could see the config file of a working rebroadcast with ffserver, I am sure I could figure it out
[19:52] <Mavrik> um, you do know you need ffmpeg to read your stream
[19:52] <Stepps> doh
[19:52] <Stepps> I have read something in the config file, but I wasn't sure it was my case
[19:54] <Stepps> so, I see a line saying to use ffmpeg to read the stream, does it have to be a different instance?
[19:54] <Stepps> Or will it be enough to edit the line I have in the config
[19:54] <Stepps> ?
[20:08] <klaxa> it will be a separate instance using the output http://<ip>:<port>/some/path/ffm1.ffm or something similar
[21:19] <__raven> how to detect wrong focus, darkness and dropouts?
[21:55] <llogan> __raven: you'd have to code those features.
[21:55] <llogan> AFAIK
[21:56] <llogan> what i mean is there is no "detectfocus", etc type of existing filter (other than blackdetect/blackframe but those probably won't fit your needs)
[21:57] <__raven> llogan: i did not program anything yet how to start that? and any chance to detect such things by kind of side channel effects such as bitrate changes/file size?
[21:58] <llogan> i don't know. you've asked about this at least ~5 times.
[21:59] <__raven> yes and i still hope to find anyone who knows every settings to increase the bitrate significantly for example for edges compared to no edges in a fuzzy image
[22:02] <llogan> the problem is that nobody really knows what you are asking or what your are trying to do, how it relates to ffmpeg, and also how do you know if something is too dark or whtever in the first place? it's subjective.
[22:07] <__raven> llogan: i for example need an overview about any vbr setting to use this to give the "side channel method" a chance
[22:08] <__raven> for example if an image is not fuzzy there will be more edges and theese edges should be encoded as most as possible to significantly increase the bitrate and the final filesize - thats one kind of suggestion
[22:09] <klaxa> can't you do some edge detect and weight it against a black frame?
[22:11] <klaxa> or just check for edges in general
[22:11] <klaxa> the problem is defined vague enough as it is
[22:11] <klaxa> detecting those things by bitrates is not really feasible i think
[22:47] <niso_> hi,newbie question please:) - if i have two movies (one is compressed with xvid and the second with avc which i think its x264?) , that qualitty of the movie is Determined by the resolution and not by the video kbps right?
[00:00] --- Sat Jan 25 2014


More information about the Ffmpeg-devel-irc mailing list