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

burek burek021 at gmail.com
Thu Dec 8 02:05:04 CET 2011


[00:49] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * rd9ced9fec6 10ffmpeg/libavcodec/h264.c: 
[00:49] <CIA-41> ffmpeg: h264: init prev_frame_num to -1 on init
[00:49] <CIA-41> ffmpeg: Fixes Ticket711
[00:49] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
[00:49] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r6287a356e3 10ffmpeg/libavcodec/h264.c: 
[00:49] <CIA-41> ffmpeg: h264: Fix memleaks on close, reset more fields
[00:49] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
[02:12] <CIA-41> ffmpeg: 03Janne Grunau 07master * rf5c05b9aa5 10ffmpeg/libavcodec/ (5 files in 2 dirs): 
[02:12] <CIA-41> ffmpeg: rv40: NEON optimised chroma MC
[02:12] <CIA-41> ffmpeg: Signed-off-by: Mans Rullgard <mans at mansr.com>
[02:12] <CIA-41> ffmpeg: 03Mans Rullgard 07master * rf054a82727 10ffmpeg/libavcodec/arm/ (Makefile h264cmc_neon.S h264dsp_neon.S): 
[02:12] <CIA-41> ffmpeg: ARM: move NEON H264 chroma mc to a separate file
[02:12] <CIA-41> ffmpeg: This allows sharing code with the rv40 version of these functions.
[02:12] <CIA-41> ffmpeg: Signed-off-by: Mans Rullgard <mans at mansr.com>
[02:12] <CIA-41> ffmpeg: 03Janne Grunau 07master * r6c88988866 10ffmpeg/libavcodec/arm/ (Makefile rv40dsp_init_neon.c rv40dsp_neon.S): 
[02:12] <CIA-41> ffmpeg: rv40: NEON optimised weighted prediction
[02:12] <CIA-41> ffmpeg: Signed-off-by: Mans Rullgard <mans at mansr.com>
[02:12] <CIA-41> ffmpeg: 03Konstantin Todorov 07master * r4d9ec050a2 10ffmpeg/libavcodec/mpegvideo.c: 
[02:12] <CIA-41> ffmpeg: Code cleanup - mpegvideo.c - 500-1000line
[02:12] <CIA-41> ffmpeg: Signed-off-by: Ronald S. Bultje <rsbultje at gmail.com>
[02:12] <CIA-41> ffmpeg: 03Janne Grunau 07master * r42d32cf53c 10ffmpeg/libavcodec/ (5 files in 2 dirs): 
[02:12] <CIA-41> ffmpeg: rv34: NEON optimised inverse transform functions
[02:12] <CIA-41> ffmpeg: Signed-off-by: Mans Rullgard <mans at mansr.com>
[02:12] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * rff4800c16b 10ffmpeg/: (log message trimmed)
[02:12] <CIA-41> ffmpeg: Merge remote-tracking branch 'qatar/master'
[02:12] <CIA-41> ffmpeg: * qatar/master:
[02:12] <CIA-41> ffmpeg:  Code cleanup - mpegvideo.c - 500-1000line
[02:12] <CIA-41> ffmpeg:  rv40: NEON optimised weighted prediction
[02:12] <CIA-41> ffmpeg:  rv40: NEON optimised chroma MC
[02:12] <CIA-41> ffmpeg:  ARM: move NEON H264 chroma mc to a separate file
[02:33] <CIA-41> ffmpeg: 03Carl Eugen Hoyos 07master * rc1e2ca1e31 10ffmpeg/libavformat/img2.c: Allow auto-detection of ljpg images.
[03:21] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r76d7d1b0bd 10ffmpeg/libavformat/img2.c: 
[03:21] <CIA-41> ffmpeg: img2: 10l typo
[03:21] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
[03:28] <burek> pasteeater, I've updated the page https://ffmpeg.org/trac/ffmpeg/wiki/CompilationGuide with just a link to the tutorial, because it was easier for me to write it on phpBB board
[03:29] <burek> I'll see tomorrow to convert it into an wiki article
[04:57] <CIA-41> ffmpeg: 03Mashiat Sarker Shakkhar 07master * rbf8715719a 10ffmpeg/libavcodec/wmalosslessdec.c: 
[04:57] <CIA-41> ffmpeg: Fix two more int16_t vs. int confusion
[04:57] <CIA-41> ffmpeg: If everything works fine for 16-bit streams,
[04:57] <CIA-41> ffmpeg: the current code could be extended to do 24-bit.
[04:57] <CIA-41> ffmpeg: 03Mashiat Sarker Shakkhar 07master * r6dd19c97c4 10ffmpeg/libavcodec/wmalosslessdec.c: Add a size argument to dump_int_buffer()
[04:57] <CIA-41> ffmpeg: 03Mashiat Sarker Shakkhar 07master * r81a3c67169 10ffmpeg/libavcodec/wmalosslessdec.c: 
[04:57] <CIA-41> ffmpeg: Get rid of logging that are not required anymore
[04:57] <CIA-41> ffmpeg: (Resolves some conflicts)
[04:57] <CIA-41> ffmpeg: 03Mashiat Sarker Shakkhar 07master * rbe8a0d26db 10ffmpeg/libavcodec/wmalosslessdec.c: 
[04:57] <CIA-41> ffmpeg: Init s->cdlms[][].recent to order - 1
[04:57] <CIA-41> ffmpeg: Not sure if this is correct. But looks like
[04:57] <CIA-41> ffmpeg: it was giving us off-by-one's when used to index
[04:57] <CIA-41> ffmpeg: buffers.
[04:57] <CIA-41> ffmpeg: 03Mashiat Sarker Shakkhar 07master * re6c66fcf68 10ffmpeg/libavcodec/wmalosslessdec.c: 
[04:57] <CIA-41> ffmpeg: Fix some int vs. int16_t confusion
[04:57] <CIA-41> ffmpeg: Size should be determined from bits per sample.
[04:57] <CIA-41> ffmpeg:  Move num_lms reading out of a loop
[04:57] <CIA-41> ffmpeg:  Use correct value for range
[04:57] <CIA-41> ffmpeg:  Fix some int / int16_t / int32_t confusion
[04:58] <CIA-41> ffmpeg: 03Mashiat Sarker Shakkhar 07master * r768261e50d 10ffmpeg/libavcodec/wmalosslessdec.c: 
[04:58] <CIA-41> ffmpeg: Fix some int / int16_t / int32_t confusion
[04:58] <CIA-41> ffmpeg: For now force everything to int16_t, except
[04:58] <CIA-41> ffmpeg: for variables used as index
[04:58] <CIA-41> ffmpeg: 03Mashiat Sarker Shakkhar 07master * r29c2fcb677 10ffmpeg/libavcodec/wmalosslessdec.c: 
[04:58] <CIA-41> ffmpeg: Use correct value for range
[04:58] <CIA-41> ffmpeg: The current range value causes an underflow
[04:58] <CIA-41> ffmpeg: when negated and pushes anything less than zero
[04:58] <CIA-41> ffmpeg: to the minimum.
[05:33] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r901af94b69 10ffmpeg/ (19 files in 5 dirs): 
[05:33] <CIA-41> ffmpeg: movenc: Always write EDTS when we are able to.
[05:33] <CIA-41> ffmpeg: Inspired by a patch from Michael Root
[05:33] <CIA-41> ffmpeg: Idea-by: Baptiste Coudurier
[05:33] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
[06:31] <ods15> michaelni, can you bounce me the original patch email so i can reply to it?
[07:01] <michaelni> ods15, bounced
[07:02] Action: michaelni goes to bed, its already 7 in the morning it seems :)
[07:38] <Sehns> Anyone here looking for work? i'm having a tough time finding ffmpeg experts on elance/odesk
[07:38] <Sehns> we're just looking for a consultant who can help us out with how we're currently encoding for our user-contributed video site :) sorry for the spam
[08:12] <ubitux> Sehns: did you check http://ffmpeg.org/consulting.html ?
[08:35] <sam1> hi guys, does  ffmpeg support  ass filter?
[09:33] <Sehns> ubitux: I emailed a few of the guys on there but they seem too busy to help me 
[09:34] <Sehns> i'd just like someone to go over the ffmpeg settings we're using and give us some solid advice and direction, more than happy to pay an hourly rate over paypal or something
[10:33] <ubitux> Sehns: did you ask on ffmpeg-devel?
[10:33] <ubitux> i remember someone asking for consulting a while ago, not sure it was you
[10:33] <ubitux> (i mean the mailing list)
[11:06] <ubitux> mmh fate-vsynth1-zmbv fails here
[11:35] <CIA-41> ffmpeg: 03Carl Eugen Hoyos 07master * ra99dbe014d 10ffmpeg/libavcodec/pngenc.c: 
[11:35] <CIA-41> ffmpeg: Do not ignore full transparency when writing png palette.
[11:35] <CIA-41> ffmpeg: This reverts r6689, "Make PNG produce correct 8-bit pictures".
[11:53] <kriegerod> Is that correct that 0.8.7 git tag is diverged from master, not branch release/0.8?
[14:52] <Tjoppen> reading up on how mxf indexing actually works. the upshot is that I can actually get to reviewing the opatom patches again
[14:53] <Tjoppen> and maybe prettify that system_item hack
[15:03] <Tjoppen> also, proper essence container support
[15:13] <michaelni> kriegerod, yes
[15:14] <michaelni> ubitux, zmbv fails probably because zlib doesnt produce the same compressed stream
[15:15] <ubitux> it seems some tests also fail on fate.ffmpeg.org
[15:15] <ubitux> but ok i see
[15:16] <ubitux> wasn't there a WIP by Måns to replace the zlib?
[15:17] <ubitux> anyway, is there any helper to display a complete filtergraph?
[15:18] <ubitux> so we can see all the input, outputs, auto inserted filters, etc
[15:30] <CIA-41> ffmpeg: 03Matthieu Bouron 07master * r070a40f1b7 10ffmpeg/ (libavformat/gxfenc.c tests/ref/lavf/gxf): 
[15:30] <CIA-41> ffmpeg: gxfenc: support timecode option
[15:30] <CIA-41> ffmpeg: Reviewed-by: Baptiste Coudurier
[15:40] <michaelni> last i looked that zlib replacement was somewhat buggy
[15:41] <michaelni> out of array writes in valgrind IIRC
[15:44] <michaelni> It would be nice to have a (graphical) ascii art drawing function for filtergraphs :)
[15:49] <ubitux> yeah i agree with the ascii art :D
[15:50] <ubitux> don't we have a libavformat/asciiartenc.c ?
[15:52] <Tjoppen> would a generic dot2ascii tool be doable?
[15:54] Action: Tjoppen shakes fist at Avid
[15:55] <Tjoppen> they don't follow S377m wrt the key alignment grid (KAG)
[17:20] <kriegerod> please somebody comment my question http://ffmpeg.org/pipermail/ffmpeg-devel/2011-December/117415.html
[17:42] <Compn> kriegerod : does your patch apply to mpegvideo.c now ?
[17:42] <Compn> that code was just reindented like hell
[17:43] <michaelni> kriegerod, i cannot reproduce any crash in ffmpeg or ffplay
[17:43] <michaelni> is this vlc specific ?
[17:44] <kriegerod> michaelni, yes, it reproduces with vlc only
[17:44] <michaelni> did you use latest ffmpeg libs ? (iam just asking because its easy to forget)
[17:45] <kriegerod> git master HEAD a99dbe0 - Wed Dec 7 11:31:27 2011 +0100 Carl Eugen Hoyos <cehoyos at ag.or.at> Do not ignore full transparency when writing png palette.
[17:46] <kriegerod> Compn, seems to me indentation is right - 4 spaces, as everywhere
[17:46] <Compn> kriegerod : michaelni means the latest ffmpeg libs inside of vlc
[17:46] <Compn> i think
[17:47] <kriegerod> under linux vlc uses libavcodec installed into /usr/lib, via dynamic linkage
[17:48] <Compn> just making sure you dont have old libavcodec.so hanging around
[17:48] <kriegerod> sure
[17:50] <ubitux>             av_log(avctx,  AV_LOG_ERROR,
[17:50] <ubitux>                    "An with stream index %d was already specified\n",
[17:50] <ubitux> mmmh
[17:50] Action: ubitux doesn't understand the sentence
[17:50] <Freakshow> yeah that doesn't make much sense
[17:50] <ubitux> i'm trying to play a video while and play some audio
[17:51] <ubitux> s/and play/playing/
[17:51] <ubitux> and get this error
[17:51] <Compn> missing the first word it seems
[17:51] <Compn> or something
[17:51] <ubitux> trying that kind of stuff: ./ffplay -f lavfi 'movie=in.mp4:si=0[out]; amovie=in.mp4:si=1,volume=1.5[out]'
[17:51] <ubitux> i wonder if it's even possible
[17:51] <Compn> you mean video from one file and audio from another ?
[17:52] <michaelni> kriegerod, no crash with "vlc ~/videos/test_precise.ts" here
[17:53] <ubitux> Compn: same file atm, but could be another one
[17:59] <Compn> kriegerod : anyways, does your patch change how ffmpeg works on it? ignoring the crash that only happens on vlc...
[17:59] <Compn> does it play more video after your patch ?
[18:01] <ubitux> maybe the missing word is "outpad" ?
[18:01] <ubitux> or "output"...
[18:01] <Compn> what file is it ubitux ?
[18:01] <Compn> with the error i mean
[18:01] <ubitux> just a random video
[18:01] <Compn> in the source
[18:01] <ubitux> with the cmd line above
[18:01] <Compn> which filter
[18:02] <Compn> c source file, so i can try to guess the context of the error :D
[18:02] <ubitux> lavd/lavfi.c
[18:03] <Compn> hmm, got me.
[18:03] <ubitux> mmmh using [out0] and [out1] seems to work
[18:03] <Compn> its under video
[18:03] <Compn> soo "A video with stream index %d was already specified\n" ?
[18:04] <Compn> or output video
[18:04] <Compn> an output video
[18:04] <ubitux> no it's not limited to video
[18:04] <Compn> ubitux : btw, bonus points if you change error messages to include tips how to fix command lines, like 'error blah, try foobar instead'
[18:04] <ubitux> "output" is the missing word imo
[18:04] <Compn> oh ok
[18:05] <ubitux> yes, i good idea the errors
[18:05] <ubitux> i wonder if that couldn't be a gci task ;)
[18:05] <ubitux> "improve error messages to give more hints to the users"
[18:07] <Compn> hah yeah good idea
[18:07] Action: Compn slow with ideas
[18:10] <Compn> ubitux : how about "review error messages for incorrect english" ? ;P
[18:11] <ubitux> "and get a free cookie to give more hints on how to solve the issue"
[18:11] <Compn> two different gci tasks :P
[18:11] <ubitux> kage bunshin no jutsu
[18:27] <michaelni> kriegerod, ive just recompiled latest vlc, and still no crash :(
[18:27] <michaelni> either of us is doing something wrong
[18:40] <michaelni> kriegerod, i got it to crash with crash_5.ts, but its in vlc (picture_Release()) seems to be calling something close to NULL
[18:40] <michaelni> #0  0x0000000000000025 in ?? ()
[18:40] <michaelni> #1  0x00007ffff7945025 in picture_Release (p_picture=0x7fffec267d30) at ../include/vlc_picture.h:182
[18:43] <michaelni> vlc_crash_example.ts and test_precise.ts dont crash for me with latest vlc + ffmpeg
[19:52] <GordonFreeman> hello
[19:52] <GordonFreeman> the latest snapshot's i.h files are in error
[19:52] <Compn> hello gordon freeman. going to save the world again today?
[19:52] <GordonFreeman> <;
[19:53] <GordonFreeman> was trying to get ffmpeg working with http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome
[19:53] <Compn> what error do you get ?
[19:53] <GordonFreeman> looks like i have to download all versions, and go back in time to find a version that will work
[19:54] <GordonFreeman> don't know, it already scrolled away
[19:54] <GordonFreeman> and i have deleted the latest ffmpeg
[19:55] <Compn> of course
[19:56] <GordonFreeman> there are times when i feel like fixing things with a crowbar ;/
[19:56] <Compn> i'd pick the gravity gun if i had the chance
[19:56] <Compn> but yeah, we recommend you use the git 
[19:57] <Compn> you should be able to download a git snapshot
[19:57] <Compn> http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=070a40f1b7e7f8224108b64639cce29ecd424ce8;sf=tgz
[19:57] <Compn> which snapshot were you trying to build ?
[19:58] <Compn> oh , wrong url, do this one http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=HEAD;sf=tgz
[19:58] Action: Compn bets this is user error just to be a user-hater
[19:58] <GordonFreeman> i have compiled this http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
[19:59] <GordonFreeman> then when compiling Motion it said there are errors in the .h files
[19:59] <Compn> ah
[19:59] <Compn> i wonder if motion requires an older version or api than ffmpeg head
[19:59] <GordonFreeman> so this is not the latest working snapshot?
[20:00] <Compn> thats built from last night, around midnight i think
[20:01] <Compn> but your problem sounds like motion wants a different ffmpeg version, like ffmpeg 0.6.0 maybe
[20:01] <GordonFreeman> btw i have linux and gcc 4.4.4
[20:01] <GordonFreeman> so you think 0.6 might work?
[20:01] <Compn> you should check motion's website to see what they suggest :)
[20:02] <Compn> i will look for it , cuz i'm bored
[20:02] <GordonFreeman> tried 0.5.1 now and it fails badly
[20:02] <GordonFreeman> /usr/local/lib/libavformat.a(file.o):(.data+0x0): multiple definition of `file_protocol'
[20:02] <GordonFreeman> ffmpeg.o:(.data+0x60): first defined here
[20:02] <GordonFreeman> /usr/local/lib/libavformat.a(matroskadec.o): In function `matroska_decode_buffer':
[20:02] <GordonFreeman> /mnt/z/neo/linuxdvd/multimedia/webcam/ffmpeg/ffmpeg-0.5.1/libavformat/matroskadec.c:917: undefined reference to `BZ2_bzDecompressInit'
[20:02] <GordonFreeman> /mnt/z/neo/linuxdvd/multimedia/webcam/ffmpeg/ffmpeg-0.5.1/libavformat/matroskadec.c:926: undefined reference to `BZ2_bzDecompress'
[20:02] <GordonFreeman> /mnt/z/neo/linuxdvd/multimedia/webcam/ffmpeg/ffmpeg-0.5.1/libavformat/matroskadec.c:929: undefined reference to `BZ2_bzDecompressEnd'
[20:02] <GordonFreeman> collect2: ld returned 1 exit status
[20:02] <GordonFreeman> make: *** [motion] Error 1
[20:02] <GordonFreeman> ;/
[20:03] <Compn> are you missing bzip / bzip2 lib ?
[20:03] <GordonFreeman> nope
[20:03] <GordonFreeman> i have all
[20:04] <Compn> is motion still in development?
[20:04] <GordonFreeman> i'm a bug magnet btw
[20:04] <Compn> "Motion must be installed with revision 0.4.8 or 0.4.9pre1 of ffmpeg."
[20:04] <GordonFreeman> no, that is latest stable version
[20:04] <Compn> maybe i am looking at old documentation
[20:04] <GordonFreeman> hehe well then it states it should work with latest ffmpeg
[20:05] <Compn> ok , can you build latest ffmpeg and paste the errors then ?
[20:05] <Compn> also we should move to #ffmpeg , since this channel is for patches and stuff :)
[20:05] <GordonFreeman> actually i wouldn't care which version it use, i just want to record webcam into a video.
[20:06] <Compn> ffmpeg can record webcam to a video directly
[20:06] <GordonFreeman> ok
[20:06] <GordonFreeman> but i have to recompile again then
[20:06] <GordonFreeman> should i git clone ?
[20:06] <GordonFreeman> or the one i tried before?
[20:06] <Compn> GordonFreeman : this one > http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=HEAD;sf=tgz
[20:06] <Compn> its .targz , or you can git clone if you want
[20:07] <GordonFreeman> no, i like tar.gz thanks
[20:08] <GordonFreeman> well if it fails to work, and it's not ffmpeg's fault, then i will be coding
[20:12] <GordonFreeman> ffmpeg-HEAD-070a40f]# ./configure | tee ./configure.log
[20:12] <GordonFreeman> why isn't this working ?
[20:12] <GordonFreeman> ;/
[20:13] <Compn> paste log somewhere 
[20:14] <GordonFreeman> this doesn't work right
[20:14] <GordonFreeman> but i used to do this on other software
[20:14] <GordonFreeman> it should write output, and tee it into a logfile
[20:14] <Compn> maybe configure failed
[20:15] <GordonFreeman> configure script does not write output
[20:16] <GordonFreeman> only after a delay
[20:16] <GordonFreeman> now running without pipe
[20:18] <GordonFreeman> nahm its working i was just expecting output...
[20:18] <GordonFreeman> now running make
[20:21] <Sehns> Anyone here looking for consulting work? We're hiring a contractor with the mustard to go over our ffmpeg settings.. apologise in advance for the spam, we've had no luck on elance/odesk etc
[20:22] <Compn> Sehns : its ok, feel free to ask on the ffmpeg-devel list as well
[20:22] <GordonFreeman> Compn<< :) http://matrix.z-labor.com/tmp/C/sdltext_fps_d_asdf.c
[20:23] <GordonFreeman> something agains a few minutes of boredness
[20:23] <Sehns> ahh cool i'll do that as well, thanks Compn
[20:24] <burek> pasteeater, https://ffmpeg.org/trac/ffmpeg/wiki/CompilationGuide :) if you find time, can you please just check if everything is ok
[20:25] <GordonFreeman> uh this is a huge one libavcodec/h264.c
[20:25] <Compn> Sehns : you might also want to clarify what kind of work you need done. e.g. frontend programming, scripting scripts, optimizing encoding command lines, etc
[20:25] <Compn> GordonFreeman : should have make -j4 'd it :P
[20:26] <GordonFreeman> i don't care actually, i let it do whatever
[20:26] <GordonFreeman> CPU is to work
[20:26] <Sehns> we're doing the frontend programming, we really just need an ffmpeg expert to help us with the scripts and the command line encoding options/settings
[20:26] <GordonFreeman> Compn<< soo, how was this getting image/video from webcam using ffmpeg again?
[20:27] <ubitux> are you sure this is not something you could even ask on ffmpeg-users?
[20:27] <GordonFreeman> don't know
[20:27] <ubitux> a lot of users are familiar with shell scripting and various options
[20:27] <GordonFreeman> hehe
[20:28] <ubitux> GordonFreeman: i'm talking to Sehns, and btw your question *definitely* belongs to ffmpeg-users :)
[20:28] <GordonFreeman> so you have 2 in a row
[20:29] <Sehns> ubitix: I'll give it a go, thanks
[20:29] <Compn> ubitux : shhh, hes willing to pay
[20:29] <Compn> :)
[20:30] <ubitux> Compn: he already asked several times for this, i think it's time to get him some hints how to solve the issue :p
[20:30] <ubitux> since no one seems to care unfortunately :)
[20:31] <Compn> ah
[20:31] <Compn> i'd just copy / paste out of the docs and charge em $50/hr for the privledge :P
[20:31] <GordonFreeman> :)
[20:31] <ubitux> he can still make a donation ;)
[20:32] <ubitux> Sehns: isn't? :D
[20:32] <Sehns> haha
[20:32] <GordonFreeman> ahah still compiling
[20:33] <GordonFreeman> only a 2.2GHz AMD64
[20:34] <GordonFreeman> nah done
[20:34] <Sehns> np
[20:34] <Sehns> i'll hit up the mailing list
[20:34] <Sehns> need someone to basically do QA on our shit yesterday
[20:35] <ubitux> will you use the name "Sehns" on the mailing list?
[20:35] <Compn> hmmm
[20:35] <ubitux> (just to see your post)
[20:35] Action: Compn wonders if he could help
[20:35] Action: Compn likes being lazy
[20:35] <GordonFreeman> ok i have the error in log
[20:36] <Compn> paste to pastebin
[20:36] <GordonFreeman> ffmpeg.c:380: error: CODEC_TYPE_VIDEO undeclared (first use in this function)
[20:36] <Compn> paaaaaaaasssssssttttteeeeeebbbbbbiiiiiiinnnnnnnnnnn
[20:36] <GordonFreeman> ffmpeg.c:649: error: PKT_FLAG_KEY undeclared (first use in this function)
[20:36] <GordonFreeman> make: *** [ffmpeg.o] Error 1
[20:36] <GordonFreeman> hehe
[20:36] <Sehns> ubitux i'll post as pentae / swoonr.com
[20:36] <GordonFreeman> ok
[20:38] <ubitux> Sehns: okay :)
[20:39] <GordonFreeman> heres motion configure http://pastebin.com/Wtc4MHHK
[20:39] <pasteeater> burek: quick look seems good to me. thanks for adding it.
[20:39] <burek> :beer: :)
[20:40] <GordonFreeman> and here's the make with the error http://pastebin.com/fdAWYuJy
[20:43] <GordonFreeman> looks ok until pasteline 43, where the warnings begin, and looks fail at line 48 
[20:47] <GordonFreeman> but i see it is because the variable was removed from ffmpeg, and was used in motion
[20:52] <GordonFreeman> Compn<< do you think it would be much work to make this work ?
[20:53] <GordonFreeman> i don't know how incompatible if current ffmpeg with older versions
[20:53] <Compn> ask in #motion
[20:54] <GordonFreeman> ok i did
[20:54] <GordonFreeman> :)
[21:05] <cbsrobot> GordonFreeman: try to change CODEC_TYPE_VIDEO -> AVMEDIA_TYPE_VIDEO in motion/ffmpeg.c line 360
[21:05] <GordonFreeman> wait i have been told there is an svn version
[21:06] <GordonFreeman> but that fails too
[21:06] <GordonFreeman> ffmpeg-HEAD-070a40f/libavformat/matroskadec.c:1023: undefined reference to `BZ2_bzDecompressInit'
[21:06] <GordonFreeman> in here
[21:06] <GordonFreeman> after linking
[21:06] <cbsrobot> then line 649 pkt_flag_key -> AV_PKT_FLAG_KEY
[21:07] <GordonFreeman> thanks, please discard the errors i posted
[21:07] <GordonFreeman> heres the motion svn version svn co http://www.lavrsen.dk/svn/motion/trunk/ .
[21:08] <GordonFreeman> it shows now only errors after linking, in matroskadec.c
[21:08] <cbsrobot> GordonFreeman: http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2010x11x28x210835
[21:13] <CIA-41> ffmpeg: 03Alexis Ballier 07master * r1af91978db 10ffmpeg/ (libavcodec/qtrle.c tests/ref/fate/qtrle-1bit): 
[21:13] <CIA-41> ffmpeg: qtrle.c: Fix for ticket #226.
[21:13] <CIA-41> ffmpeg: In 1bpp mode, interpret skip&0x80 as "start a new line" instead of "go to next
[21:13] <CIA-41> ffmpeg: line", this is almost the same except for the first line which was always
[21:13] <CIA-41> ffmpeg: skipped before and caused to try to write an extra line at the end of the frame
[21:13] <CIA-41> ffmpeg: (ticket #226).
[21:13] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
[21:13] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r8b85c29463 10ffmpeg/libavcodec/qtrle.c: 
[21:13] <CIA-41> ffmpeg: qtrledec: Fix artifacts in tickets/226/qt_rle_bw.mov
[21:13] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
[21:13] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r0be95fe183 10ffmpeg/MAINTAINERS: 
[21:13] <CIA-41> ffmpeg: MAINTAINERS: ask maintainers to help keep their entries in this file upto date.
[21:13] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
[21:13] <GordonFreeman> cbsrobot<< cool thanks :) you have saved the day
[21:13] <GordonFreeman> it was only a typo in makefile
[21:13] <cbsrobot> GordonFreeman: np - enjoy
[21:14] Action: cbsrobot has a degree in using google search
[21:15] <cbsrobot> GordonFreeman: let me know if you get it running - and report it back to motion please
[21:18] <GordonFreeman> what does this mean? 
[21:18] <GordonFreeman> [1] [ERR] [TRK] v4l2_select_input: Unable to query input 8. VIDIOC_ENUMINPUT, if you use a WEBCAM change input value in conf by -1: Invalid argument
[21:18] <GordonFreeman> [1] [ERR] [TRK] v4l_start: ioctl (VIDIOCGCAP): Invalid argument
[21:25] <burek> it means that camera can't read/write that property at the moment
[21:26] <burek> maybe your cable is damaged or camera broken or something
[21:29] <GordonFreeman> hmm
[21:29] <GordonFreeman> well i probably need a reboot
[21:29] <GordonFreeman> i was having segmentations faults when i tested things in C
[21:47] <CIA-41> ffmpeg: 03Reimar Döffinger 07master * r7023fb81c7 10ffmpeg/tests/ (codec-regression.sh ref/vsynth1/zmbv ref/vsynth2/zmbv): 
[21:47] <CIA-41> ffmpeg: One last try to get zmbv test to work across all fate machines.
[21:47] <CIA-41> ffmpeg: Change compression level to 0 this time.
[21:47] <CIA-41> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
[21:50] <GordonFreeman> Please use -b:a or -b:v, -b is ambiguous
[21:50] <GordonFreeman> what is this all about?
[21:51] <GordonFreeman> if i enter a : after -b then it will fail anyway
[21:51] <GordonFreeman> ffmpeg -an -f video4linux2 -s 640x480  -b 1200k  -r 15 -i /dev/video0 -vcodec mpeg4 -vtag DIVX ./out.avi
[21:51] <GordonFreeman> did this
[21:55] <Compn> oh bitrate
[21:55] <Compn> use -b:v 1200k
[21:55] <GordonFreeman> what if i just want best quality? or some autodetect ?
[21:56] <Compn> use -vcodec libx264 -preset slowest  then
[21:56] <Compn> hehe
[21:56] <GordonFreeman> :) ok thanks
[21:56] <Compn> might be too slow for real-time ...
[21:57] <michaelni> best quality is to use cp instead of ffmpeg, nothing beats the original  ;)
[21:57] <GordonFreeman> ahah yes
[21:57] <GordonFreeman> actually i have a $10 webcam
[21:57] <GordonFreeman> so
[21:57] <GordonFreeman> ;>>
[21:57] <GordonFreeman> was aiming for less noise only
[21:58] <michaelni> there are various noise reduction filters, some postprocess filters like spp are also quite capable to remove noise
[21:59] <GordonFreeman> that sounds cool
[21:59] <GordonFreeman> so it can reduce video size without degrading quality?
[22:09] <Compn> ubitux : when does volume normalization get committed ? hehe
[22:10] <ubitux> hehe no idea
[22:10] <ubitux> i won't have time for this soon
[22:10] <GordonFreeman> you can do dynamic compression in real-time btw
[00:00] --- Thu Dec  8 2011


More information about the Ffmpeg-devel-irc mailing list