[Ffmpeg-devel-irc] ffmpeg.log.20130310
burek
burek021 at gmail.com
Mon Mar 11 02:05:01 CET 2013
[00:03] <beware> if i get ffmpeg from svn (or, say, git), can i use that to build libavcodec which other programs can use, or do i need to get something else
[00:05] <JEEB> the svn is very old, so yeah git
[00:05] <beware> i need to deal with stepmania 3.9 so i need to use old versions
[00:05] <beware> but the question isn't that
[00:05] <beware> it is, do i need to "get" a special thing for libavcodec, or do i need to "get" ffmpeg
[00:05] <JEEB> but yes, the ffmpeg repository contains those libraries
[00:06] <JEEB> libav* and libsw*
[00:06] <beware> it seemed that building it only produces ffmpeg related binaries
[00:06] <JEEB> by default you should get the static libraries built too
[00:06] <JEEB> dot-a files
[00:07] <JEEB> --enable-shared would give you shared libs (dot-so or dot-dll depending on your OS)
[00:07] <JEEB> you notice them better if you set a --prefix to which install the binaries and libraries
[00:07] <JEEB> (and headers)
[00:07] <JEEB> and then 'make install' to it
[00:08] <beware> ok, i think i can try it with this
[00:08] <JEEB> anyways, towards the end of the build you should in any case be seeing that the build system builds the libraries before compiling and linking the command line tools :)
[00:08] <JEEB> because the command line tools use those libraries
[00:08] <viric> Mh can it be that ffserver still looks for preset files, while for x264 it should not?
[02:58] <Chat8860> Download free apps, earn points and get free gift cards! : https://featurepoints.com/r/L1DN60
[03:11] <tomasm-> hey, I'm using ffmpeg to convert a flac file to mp3... and I'm noticing that it seems to cut off the song way too early... when I play it in qmmp, it says 10 minutes (in the playlist) but it stops at about a minute and a half (it only says such in the main display). there's a discrepancy somewhere. we're talking a 10 minute flac file originally at 6.5mb down to 2.5mb ... any idea what's causing the problem?
[03:26] <stunts513> should i be in here to ask about compiling ffmpeg or the dev channel?
[03:27] <ubitux> stunts513: here.
[03:27] <stunts513> ah ok thanks
[03:28] <tomasm-> ok well it seems that there's nothing wrong with the conversion, just that the duration (ID3) is totally wrong, ie 20-something minutes when it should be just 2 or 3. is there a way to re-calculate (and save) this using ffmpeg?
[03:28] <ubitux> you can try to remux it
[03:29] <ubitux> there was some recent changes to the Xing header in mp3 recently
[03:29] <tomasm-> http://pastebin.com/jafxHH4B
[03:29] <ubitux> lol ok
[03:29] <ubitux> please update
[03:29] <ubitux> this is not ffmpeg
[03:29] <tomasm-> ?
[03:30] <ubitux> it's a fork of ffmpeg
[03:30] <stunts513> i'm trying to compile ffmpeg on my ipod, but i just am trying to compile it for 2 of the libraries i need to compile libdlna, but before i can get the configure script to really go anywhere i get this error:development/ffmpeg/configure --disable-doc --disable-programs
[03:30] <stunts513> woops my bad there was a line in that when i hit paste
[03:31] <stunts513> the error was this: /var/mobile/Media/development/ffmpeg/configure: line 447: iPod2,1=yes: command not found
[03:32] <ubitux> tomasm-: try this ^
[03:33] <stunts513> i tried to sort the the bash code in the configure but i don't do anythign near as complex as a configure script so i coudlnt tell what the command was it was running since the only thing son that line were eval and 2 variables that i coudlnt trace back to where they get set
[03:33] <tomasm-> ubitux, thanks, will do
[03:33] <ubitux> stunts513: pastebin everything
[03:33] <stunts513> alrightbut theres not much
[03:33] <ubitux> and with the configure line you used.
[03:34] <stunts513> alright
[03:36] <tomasm-> ubitux, okay well seems that something in avconv is doing it, because your static ffmpeg worked fine. wtf is the deal with avconv?
[03:36] <ubitux> it's a fork
[03:36] <ubitux> tomasm-: http://blog.pkh.me/p/13-the-ffmpeg-libav-situation.html
[03:36] <ubitux> enjoy the political mess
[03:36] <ubitux> and the technical hell you're in
[03:37] <tomasm-> well a command named 'avconv' should pretend to be 'ffmpeg'
[03:37] <ubitux> ?
[03:38] <stunts513> ok here my paste: http://pastebin.com/Aa9WxVzx
[03:38] <tomasm-> shouldNT
[03:39] <tomasm-> if I run 'ffmpeg' I expect 'ffmpeg' not some other tool
[03:40] <tomasm-> I want my f'n ffmpeg
[03:40] <ubitux> stunts513: where did you get that ffmpeg copy? can you paste what's around line 447?
[03:40] <ubitux> tomasm-: complain to you distro :)
[03:41] <ubitux> we've been fighting for two years with the maintainer
[03:41] <ubitux> but he is on the fork side, and thus...
[03:41] <stunts513> that ffmpeg is from the git repo on the site, the initiallink
[03:41] <ubitux> ok i think i get it
[03:42] <stunts513> and as for whats on ethat line: eval $var=$value
[03:42] <stunts513> if you need more than that i can post teh stanza for the area on pastebin
[03:42] <ubitux> no it's ok
[03:43] <ubitux> it matches what i have locally
[03:43] <stunts513> ok
[03:43] <ubitux> you're building from what?
[03:43] <stunts513> and ipod 2nd gen, should have an armv6 processor
[03:43] <ubitux> can you pastebin a sh -x ./configure ... ?
[03:44] <stunts513> ok
[03:44] <ubitux> (you have a shell on... this: http://www.everymac.com/images/cpu_pictures/apple_ipod.jpg ?)
[03:45] <tomasm-> ubitux, so the only way I get the 'real' ffmpeg is by installing the software manually from github? ie there's no debian/ubuntu package?
[03:45] <stunts513> wow im getting alot of output ive been doing this over laggy ssh
[03:46] <ubitux> tomasm-: i think you still have deb-multimedia, but keep in mind that installing the lib will likely bring you trouble (because of the dependency hell)
[03:46] <ubitux> tomasm-: if you're on ubuntu/debian you're basically doomed
[03:47] <ubitux> you can of course keep a standalone build for yourself
[03:47] <tomasm-> ubitux, I only really need this for a web app (converting flac audio to mp3 for a website), so I can just install the binary and use that, right?
[03:47] <ubitux> you don't even need to install it actually
[03:47] <stunts513> just curious, did you wnat me to run that with my paramters i'd been using because i am gettting just a massive ammount of data in my terminal now
[03:47] <ubitux> just make, and use the ./ffmpeg binary
[03:48] <ubitux> stunts513: i need the debug that leads to your error
[03:48] <tomasm-> ubitux, yeah i mean just access ./ffmpeg .... will that work between ubuntu 12.04 and 10.04 servers (the same binary)?
[03:48] <ubitux> maybe.
[03:48] <ubitux> depends on your build
[03:49] <ubitux> the libraries you link against etc
[03:49] <ubitux> by the way, of course the fork didn't rename the libraries
[03:49] <ubitux> so you can't have both on the system easily
[03:50] <stunts513> can u remind me what i would type so i can pipeline this output into a text file
[03:50] <ubitux> sh -x ./configure ...
[03:51] <ubitux> i won't stay long btw, it's late
[03:51] <tomasm-> ubitux, i mean static 32-bit is static 32-bit, regardless of everything else on the system, right? I just got http://ffmpeg.gusari.org/static/32bit/
[03:51] <stunts513> yea but to pipeline it into a text file becasue its just making a masssive ammount of of my terminal, if i didnt have my window set to unlimited history it would not be able to hold it all
[03:51] <ubitux> tomasm-: yes right, that's the purpose of these binaries
[03:51] <ubitux> they should work, try it.
[03:52] <ubitux> stunts513: sh -x ./configure > dbg.log
[03:52] <stunts513> thanks
[03:52] <tomasm-> thanks
[03:53] <tomasm-> ubitux, so this whole ffmpeg vs avconv is kinda a lord-of-the-flies thing, eh?
[03:56] <stunts513> yea the command is still running, thohgt i'd ask whlie its doing this, i noticed earlier when that error happened that the configure script didnt die, but if u check the config.log it wasnt having any new data added to it
[03:56] <tomasm-> i dont care about avconv, but it shouldnt call itself ffmpeg and then say ffmpeg is obsolete. that's political BS
[03:57] <stunts513> and based on how long this window has been running a configure script im wondernig if its looping or something based on teh output even thoug h it sflashign i keep seeing certain phraes over again, even though i coudl understand why ti would be common
[04:01] <steerin> Am recording a 1 hour screencast. Video and audio start in sync and progressively get out of sync. How do I fix this?
[04:04] <stunts513> ubitux, i hate to sound repetative, but do you thinkits possible a portion of the script is looping because of that error, because the configure script is still running, and i mean i know its a ipod compared to my pc, but usually i can run a configure script withiin a min
[04:04] <stunts513> on my ipod that is
[04:08] <tomasm-> ubitux, what the hell ever happened to forking a project, renaming it, and moving on, and not getting rid of the managers of the former project, only to go back and forth over two years to basically turn into a bunch of back stabbing politicians? seems deceptive and slightly sociopathic. lord of the flies.
[04:08] <tomasm-> i mean what happened to peacefully naming a fork something else entirely. happens all the time, without the drama and tantrums.
[04:09] <ubitux> no one would have use it
[04:10] <ubitux> and they consider themselves the upstream
[04:10] <ubitux> they never thought ffmpeg would have continue
[04:11] <ubitux> unfortunately for them, we are now technically 2+ years above them
[04:11] <ubitux> but unfortunately for us, they get packaged in debian/ubuntu
[04:12] <ubitux> as long as the maintainer continue this mess, we are condemned
[04:12] <tomasm-> haha, so they they thought it was going to fall apart and so they could take over the name? and now they're kinda doing it by force? sounds like they took some ideas from george bush's rule book on invading the middle east...
[04:12] <tomasm-> sad
[04:12] <stunts513> seems my ipod doesnt like pipelinding things into a debugger log
[04:13] <ubitux> note that the only way is basically to put pressure on your destro to package it
[04:13] <ubitux> distro*
[04:13] <tomasm-> ubitux, ok
[04:13] <ubitux> but don't expect a change soon
[04:13] <ubitux> stunts513: i'm leaving, sorry
[04:13] <stunts513> yea
[04:13] <stunts513> thats ok
[04:13] <ubitux> feel free to ask the ffmpeg-user mailing list
[04:13] <stunts513> i might try the precompiled version
[04:14] <stunts513> theres a really outdated precompiled verisonin teh cydia repos
[04:14] <ubitux> or just cross compil it
[04:14] <stunts513> i dont know how to cross compiel to ios
[04:14] <stunts513> i got teh toolchain compiled
[04:14] <stunts513> but im clueliess as to using it
[04:14] <ubitux> i can't help you there
[04:14] <stunts513> yea not many can
[04:14] <stunts513> it wasnt designed to run on linux
[04:15] <stunts513> thouhgt id ask before u get off, if its taking this long and bits of coding keep flashign by that look familiar do u think its looping?
[04:15] <stunts513> cause ive never had a configure file take this long on my ipod
[04:26] <tomasm-> ubitux, does fedora have this issue with ffmpeg vs avconv?
[04:26] <ubitux> AFAIK, it's only in debian/ubuntu, and they are in gentoo as well (but you can choose there so it doesn't matter)
[04:28] <stunts513> hey my terminal finally finished running i came back from getting a snack and it was done
[04:30] <stunts513> i may have not had a error to the extent i thought i had, im going to try something and see if it works, if so i may have been doing this for nothing
[04:48] <tomasm-> just posted https://answers.launchpad.net/ubuntu/+question/223855 , thought it's worth a try, even if it gets shot down. I mean i figured if the command line tool 'ffmpeg' is going away anyway, why not let the original tool back in it's place. seems like avconv just wants to jumpstart it's use by leveraging the popularity of ffmpeg with the 'deprecation' message
[10:00] <dmonjo> wget --user=user1 --password=user1 "http://1.2.3.4" -O "/usr/share/web/archives$1" | ffmpeg -i pipe:0 -c:v libx264 -crf 24 -preset slow -c:a libfdk_aac -afterburner 1 -s 320x240 -ar 44100 -b:a 128k event1.mp4
[10:00] <dmonjo> can smeone tell me what is wrong with that?
[10:07] <zap0> 1.2.3.4 is not valid IP
[10:15] <relaxed> dmonjo: what are you piping to ffmpeg in that command?
[10:16] <relaxed> -O - 2>/dev/null | ffmpeg ...
[12:44] <theos> hello! is there a way to merge/join all audio files in a folder into one single file?
[12:45] <theos> (without specifying each file name/path)
[12:46] <Mavrik> not with just ffmpeg, no
[12:46] <saste> theos, no, you need some scripting but is otherwise trivial
[12:47] <saste> check concat demuxer
[12:47] <theos> :/
[12:47] <theos> yes i saw concat. it requires path/name of every file :(
[12:47] <elkng> can one use "cat file1.wav file2.wav > file3.wav" ?
[12:47] <theos> cat cant decode i believe
[12:53] <viric> Hello again
[12:53] <viric> I've a video interlaced, but it doesn't have fields separated.
[12:54] <viric> each frame has the interlaced lines of two fields.
[12:57] <viric> So, how can I encode it best?
[12:58] <viric> Do deinterlace filters need the fields to be separated?
[13:00] <Mavrik> nope
[13:00] <Mavrik> ffmpeg decoders return frames with both interlaced fields
[13:07] <viric> ah
[13:08] <viric> perfect
[13:08] <viric> any recomendation on deinterlace filter?
[13:08] <viric> I know vdpau has a VERY good one, with motion compensation and all that
[13:08] <viric> I wonder if ffmpeg too
[13:11] <saste> viric, yadif?
[13:16] <viric> isn't it a poor algorithm?
[13:16] <saste> viric, who said that?
[13:17] <viric> I mean...
[13:17] <viric> isn't it a FIR, that doesn't take into account any motion?
[13:17] <viric> FIR filter
[13:51] <markit> not ffmpeg related, but maybe you know the answer: When I display my webcam with whatever program (GNU/Linux debian 64) I have a 1 second lag of the image respect the sound, any idea?
[14:07] <relaxed> viric: http://guru.multimedia.cx/deinterlacing-filters/
[14:08] <JEEB> I see The Foreman
[14:08] <JEEB> I wonder if he knows how known he has become
[14:08] <relaxed> My guess is no :)
[14:25] <viric> relaxed: complicated issue, yes
[14:25] <viric> yes, the popular foreman :)
[14:25] <viric> it's the 1st time I see him in colour though!
[14:25] <viric> relaxed: vdpau deinterlacer is VERY good, if you happen to see it.
[14:26] <viric> I had a camcorder that I thought was taking very bad video
[14:26] <viric> until I found that vdpau deinterlacer!
[14:42] <sovereign313> Hi, quick question. I'm trying to convert a series of jpeg's to mp4, which seems to work, but it only contains the first image. It happens fast too, so it seems like the %04d isn't reading everything. I've scoured the web with no love.... any ideas?
[14:56] <sovereign313> http://pastebin.com/a3UixnfN
[14:56] <sovereign313> ok :)
[14:59] <Mavrik> ok, first of all you're using fork of ffmpeg and an obsolete one at that ;)
[15:00] <Mavrik> sovereign313, is it possible not all your frames are of the same size?
[15:00] <sovereign313> (I've also tried with avconv, but I can git the latest ffmpeg if that will fix it)
[15:00] <sovereign313> it is very possible
[15:00] <sovereign313> yes
[15:01] <Mavrik> sovereign313, ok, so basically, you can't have different size frames in your video output
[15:01] <Mavrik> that's why ffmpeg dies
[15:01] <Mavrik> and only encodes one frame :)
[15:01] <Mavrik> you can see the error here: [buffer @ 0x9fad600] Changing frame properties on the fly is not supported.
[15:01] <sovereign313> aaah, ok. So I need to imagemagick them to the same frame
[15:01] <Mavrik> yeah, that would be the easier choise
[15:01] <Mavrik> *choice
[15:01] <sovereign313> You're awesome.
[15:02] <sovereign313> Thank you for your help.
[17:31] <TheSashmo> Hey everyone, I'm doing some live encoding from a transport stream over to wowza, and I can see over time that I have lipsync issues, is there a way to fix it, without having to restart the encoding??
[19:29] <TheSashmo> does anyone know if there is an application that can do HLS or RTMP stream checking? for example video pixillation and black screen, low/high audio, etc?
[19:33] <wizbit> im trying to record the output of my webcam (logitech quickcam pro 4000) using:
[19:33] <wizbit> ffmpeg -f video4linux2 -s 640x480 -i /dev/video0 out.mpg
[19:33] <wizbit> but i get this error: http://dpaste.com/1018497/plain/
[19:33] <wizbit> ffmpeg version 0.8.7
[19:35] <ubitux> wizbit: you're likely not using ffmpeg, but upgrade
[19:35] <ubitux> we are in ffmpeg 1.2
[19:35] <ubitux> or 1.1 i don't remember
[19:36] <ubitux> a lot of v4l2 changes got in ffmpeg lately
[19:36] <wizbit> aye ok thanks
[19:58] <wizbit> ubitux: just upgraded to newer version of x264 and ffmpeg
[19:59] <wizbit> ffmpeg version 0.11.1
[19:59] <wizbit> [video4linux2,v4l2 @ 0x223f0c0] ioctl(VIDIOC_G_PARM): Inappropriate ioctl for device
[20:00] <ubitux> why did you pick 0.11?
[20:00] <wizbit> was in slackbuilds
[20:00] <ubitux> when i said recent, i wasn't talking about one or two years old
[20:00] <ubitux> i meant last month
[20:00] <wizbit> oh
[20:06] <wizbit> ok compiling 1.1.3
[20:32] <viric> slackware users. still around.
[20:35] <wizbit> ok latest stable version of ffmpeg gives same error:
[20:35] <wizbit> [video4linux2,v4l2 @ 0x20fe460] ioctl(VIDIOC_G_PARM): Inappropriate ioctl for device
[20:58] <ubitux> wizbit: can you pastebin ffmpeg -f v4l2 -i /dev/video0 -f null -?
[21:01] <wizbit> ubitux: that brings down the list of options
[21:01] <wizbit> is that what you require?
[21:02] <ubitux> yes
[21:04] <wizbit> http://dpaste.com/1018584/plain/
[21:05] <TheSashmo> does anyone know if there is an application that can do HLS or RTMP stream checking? for example video pixillation and black screen, low/high audio, etc?
[21:05] <ubitux> ??
[21:05] <ubitux> wizbit: ffmpeg -f v4l2 -i /dev/video0 -f null -
[21:05] <ubitux> please paste correctly.
[21:08] <wizbit> http://dpaste.com/1018587/
[21:15] <buu> Hey, anyone have an idea about why my compilation is failing in cmdutils.o? cmdutils.c: In function print_all_libs_info:
[21:15] <buu> cmdutils.c:997:5: error: implicit declaration of function postproc_version [-Werror=implicit-function-declaration]
[21:15] <buu> cmdutils.c:997:1: error: LIBPOSTPROC_VERSION_MAJOR undeclared (first use in this function)
[21:15] <buu> cmdutils.c:997:1: note: each undeclared identifier is reported only once for each function it appears in
[21:15] <buu> Wtf pastebuffer: http://paste.debian.net/240830/
[21:18] <buu> Or perhaps why I'd get "Invalid data found when processing input" when trying to process a .avi?
[21:26] <buu> Hrm, or these weird errors: http://paste.debian.net/240833/
[21:27] <buu> Do I need to specify additional options to copy a file?
[21:37] <ubitux> wizbit: is your webcam supported by some other software?
[21:38] <ubitux> buu: about your compilation, if you don't paste the configure line you use we can't guess your problem
[21:39] <ubitux> buu: you have the same problem without -copytb 0?
[22:10] <beware> can i compile ffmpeg without ffmpeg, as in, only build the libraries?
[22:15] <Grublet> beware the libraries are libavformat, libavcodec, libass, etc, I believe
[22:15] <Grublet> can't think of the others
[22:15] <beware> yes
[22:15] <beware> but thats not what i was asking. or is the correct way to do that to use "make" and "make install" inside the library dirs
[22:17] <Grublet> beware just download the source code for libav* and compile it, you don't have to download the entire ffmpeg source; https://github.com/gittup/libavcodec for example
[22:21] <Grublet> beware https://github.com/FFmpeg/FFmpeg/tree/master/libavcodec
[22:21] <Grublet> that's the proper link
[22:21] <Grublet> my mistake
[22:21] <Grublet> googling sometimes doesn't work
[22:21] <beware> well, i need to build 0.4.9pre1, because stepmania 3.9 needs it
[22:21] <beware> thats what im working on
[22:21] <beware> it has compile errors everywhere
[22:23] <Grublet> I wouldn't know anything about finding specific versions of the source code
[22:23] <Grublet> I'm fairly new to all this myself
[22:23] <Grublet> maybe someone else can help you with that
[22:23] <beware> i managed to obtain it by trial and error of date based checkouts from the svn
[22:23] <Grublet> ah, okay
[22:23] <Grublet> you mean just now?
[22:23] <beware> earlier
[22:23] <Grublet> I see
[22:23] <beware> im now (again) trying to compile it
[22:23] <beware> it seems to be full of things that are bad/non-compliant code
[22:24] <Grublet> probably since it's such an old release
[22:24] <beware> as time progresses, compilers become stricter
[22:24] <Grublet> I suppose so, once again I'm pretty new to this
[22:25] <Grublet> The only experience I have is compiling the alphas of imagemagick and occasionally x264
[22:25] <Grublet> never something like ffmpeg
[22:29] <beware> another annoyance, this may be better in more modern versions,
[22:29] <beware> but there aren't a lot of options to exclude codecs
[22:29] <beware> so, for example, if the ac3 codec doesn't compile, i can't simply exclude it (as i don't need it)
[22:29] <beware> i need to fix its compile errors
[23:43] <stunts513> hi i'm trying to compile ffmpeg for ios 4.2.1, and i'm crosscompiling form linux and getting an error after running make when it gets to compiling dsp_util_arm.o, if someone can help me il post a pastebin
[23:57] <stunts513> no takers?
[23:57] <Scotteh> Hey, anyone able to help me with an issue recording audio+video, keep getting ALSA buffer xrun errors
[23:57] <stunts513> can anyone help me with a compilation error in the libavcodec portion of compiling
[00:00] --- Mon Mar 11 2013
More information about the Ffmpeg-devel-irc
mailing list