Ffmpeg-devel-irc
Threads by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
January 2012
- 1 participants
- 62 discussions
[00:13] <OanaStra_> michaelni: ping
[00:30] <CIA-46> ffmpeg: 03Michael Niedermayer 07master * r73f2cf4ed9 10ffmpeg/ffplay.c:
[00:30] <CIA-46> ffmpeg: ffplay: Exit on ctrl-c.
[00:30] <CIA-46> ffmpeg: This allows to get out of ffplay if it or SDL got stuck.
[00:30] <CIA-46> ffmpeg: This for example happens when the audio driver is playing something
[00:30] <CIA-46> ffmpeg: else and doesnt support mixing multiple sources.
[00:30] <CIA-46> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[00:30] <CIA-46> ffmpeg: Signed-off-by: Marton Balint <cus(a)passwd.hu>
[00:30] <CIA-46> ffmpeg: 03Michael Niedermayer 07master * r4805a33043 10ffmpeg/:
[00:30] <CIA-46> ffmpeg: Merge remote-tracking branch 'cus/stable'
[00:30] <CIA-46> ffmpeg: * cus/stable:
[00:30] <CIA-46> ffmpeg: ffplay: Exit on ctrl-c.
[00:30] <CIA-46> ffmpeg: Merged-by: Michael Niedermayer <michaelni(a)gmx.at>
[01:32] <durandal_1707> when converting single image ffmpeg doesn't ask for permission to overwrite file
[01:39] <OanaStra_> michaelni: ping
[02:13] <michaelni> OanaStra_, pong
[02:14] <OanaStra_> are you busy ? i am working on a bug
[02:14] <OanaStra_> and i have some questions
[02:14] <OanaStra_> https://ffmpeg.org/trac/ffmpeg/ticket/890
[02:15] <michaelni> iam always busy :(
[02:16] <OanaStra_> :(
[02:16] <michaelni> just ask the questions ...
[02:17] <OanaStra_> durandal_1707: said that c->cur and c->prev are not init and that`s why it`s hanging
[02:17] Action: durandal_1707 was wrong
[02:17] <OanaStra_> and i have init them in decode_init with NULL and check if they are init when using them
[02:17] <OanaStra_> but afterwards we found out that the valgrind report is wrong
[02:18] <OanaStra_> have any idea about this ?
[02:20] <michaelni> so what kind of bug is this, OOM , hang, crash ?
[02:20] <OanaStra_> i think it`s combined OOM with a hang
[02:20] <OanaStra_> hanging and killing memory
[02:21] <michaelni> what is allocating all the memory ?
[02:22] <OanaStra_> i did not find out
[02:23] <OanaStratulat> moved to my linux machine, valgrind is buggy on osx
[02:23] <OanaStratulat> need the gdb report?
[02:28] <OanaStratulat> gdb : http://pastebin.com/64gqLSv4 valgrind : http://pastebin.com/2P1Fdeib
[02:32] <michaelni> OanaStra_, durandal_1707 the issue is simply that (probably due to timestamps) frames get duplicated 33554431 times
[02:32] <michaelni> -vsync 0 prevents this
[02:32] <OanaStra_> and what must be verified if the user does not use this option ?
[02:32] <michaelni> and for muxing these many frames are then buffered
[02:33] <michaelni> the timestamping code in ffmpeg is not trivial
[02:33] <OanaStra_> so no luck for a trivial solution ?
[02:33] <michaelni> faulty timestamps should be detected somehow and ignored
[02:34] <michaelni> a threashold above which a timestamp is considered faulty if the source doesnt support ts discontinuities should work
[02:35] <OanaStra_> please be more explicit
[02:37] <michaelni> check AVFMT_TS_DISCONT isnt set for the source && FFABS(last valid ts - current ts) > 1 hour && last ts known && current ts known then replace current ts by "interpolated value" or unknown
[02:38] <OanaStra_> pff, if you have time to guide me. this is too advance for me
[02:41] <michaelni> maybe tomorrow
[02:42] <OanaStra_> can you extend my deadline for this
[02:42] <OanaStra_> http://google-melange.appspot.com/gci/task/view/google/gci2011/7180239
[02:42] <michaelni> done
[02:42] <OanaStra_> thx, i will ping you 2morrow
[02:43] <michaelni> ok
[03:52] <CIA-46> ffmpeg: 03Diego Biurrun 07master * r83890c66c4 10ffmpeg/libswscale/ (ppc/yuv2rgb_altivec.h rgb2rgb.h swscale.h swscale_internal.h): swscale: K&R reformatting cosmetics for header files
[03:52] <CIA-46> ffmpeg: 03Daniel Huang 07master * r8549cf073b 10ffmpeg/libavcodec/mjpegdec.c:
[03:52] <CIA-46> ffmpeg: mjpegdec: K&R formatting cosmetics
[03:52] <CIA-46> ffmpeg: Signed-off-by: Diego Biurrun <diego(a)biurrun.de>
[03:52] <CIA-46> ffmpeg: 03Diego Biurrun 07master * r999484c9fb 10ffmpeg/libswscale/ (colorspace-test.c swscale-test.c): swscale: K&R formatting cosmetics for code examples
[03:52] <CIA-46> ffmpeg: 03Mike Melanson 07master * ra83f5b8a96 10ffmpeg/tests/ (fate/video.mak ref/fate/cvid-grayscale):
[03:52] <CIA-46> ffmpeg: FATE test: cvid-grayscale; ensures that the grayscale Cinepak variant is exercised.
[03:52] <CIA-46> ffmpeg: Signed-off-by: Ronald S. Bultje <rsbultje(a)gmail.com>
[03:52] <CIA-46> ffmpeg: 03Mike Melanson 07master * r599855748a 10ffmpeg/tests/ (fate/demux.mak ref/fate/wtv-demux):
[03:52] <CIA-46> ffmpeg: FATE: test to exercise WTV demuxer.
[03:52] <CIA-46> ffmpeg: Does not attempt to decode perceptual codecs inside.
[03:52] <CIA-46> ffmpeg: Code coverage: libavformat/wtv.c: 0% -> 71%
[03:52] <CIA-46> ffmpeg: Signed-off-by: Ronald S. Bultje <rsbultje(a)gmail.com>
[03:52] <CIA-46> ffmpeg: 03Vitor Sessak 07master * r421c99a4a7 10ffmpeg/libavcodec/mpegaudiodec.c:
[03:52] <CIA-46> ffmpeg: mpegaudiodec: interleave iMDCT buffer to simplify future SIMD implementations
[03:52] <CIA-46> ffmpeg: Signed-off-by: Ronald S. Bultje <rsbultje(a)gmail.com>
[03:52] <CIA-46> ffmpeg: 03Vitor Sessak 07master * r6dfcf53092 10ffmpeg/libavcodec/ (4 files):
[03:52] <CIA-46> ffmpeg: mpegaudiodec: move imdct and windowing function to mpegaudiodsp
[03:52] <CIA-46> ffmpeg: Signed-off-by: Ronald S. Bultje <rsbultje(a)gmail.com>
[03:52] <CIA-46> ffmpeg: 03Vitor Sessak 07master * r06677d0dd9 10ffmpeg/libavcodec/ (mpegaudiodsp.h mpegaudiodsp_template.c):
[03:52] <CIA-46> ffmpeg: mpegaudiodec: change imdct window arrangment for better pointer alignment
[03:52] <CIA-46> ffmpeg: Signed-off-by: Ronald S. Bultje <rsbultje(a)gmail.com>
[03:53] <CIA-46> ffmpeg: mpegaudiodec: optimized iMDCT transform
[03:53] <CIA-46> ffmpeg: Signed-off-by: Ronald S. Bultje <rsbultje(a)gmail.com>
[03:53] <CIA-46> ffmpeg: 03Mike Melanson 07master * r2dee0cdb8e 10ffmpeg/tests/ (fate/demux.mak ref/fate/smjpeg):
[03:53] <CIA-46> ffmpeg: FATE: add test for SMJPEG demuxer and associated IMA ADPCM audio decoder.
[03:53] <CIA-46> ffmpeg: (Don't attempt to decode JPEG data.)
[03:53] <CIA-46> ffmpeg: Code coverage: libavformat/smjpeg.c: 0% -> 69%
[03:53] <CIA-46> (36 lines omitted)
[04:10] <durandal_1707> hmm why is x86_64-linux...gcc4.6 failing for v410dec?
[04:10] <durandal_1707> that codes should be pretty trivial
[04:11] <durandal_1707> or perhaps it is still missing samples?
[07:08] <CIA-46> ffmpeg: 03anonymous 07master * r7e2ba2df28 10ffmpeg/libavcodec/mjpegdec.c: mjpeg: update whitespaces to qatar
[07:37] <ubitux> anonymous?
[08:20] <CIA-46> ffmpeg: 03Michael Niedermayer 07master * r2169f971ad 10ffmpeg/tests/fate/microsoft.mak:
[08:20] <CIA-46> ffmpeg: fate: Disable fate-wmv8-x8intra
[08:20] <CIA-46> ffmpeg: This test does not work on all platforms and until it does
[08:20] <CIA-46> ffmpeg: it just hides new failures, which is really bad.
[08:20] <CIA-46> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[12:05] <NapHtaKeRoSene> hi
[12:05] <NapHtaKeRoSene> anybody know how to call a pointer to function in linux C ?
[12:06] <Tjoppen> fnptr(args);
[12:06] <Tjoppen> works pretty much like any other function
[13:35] <cbsrobot> Tjoppen: any news on the mxf bug ?
[13:35] <cbsrobot> [mxf @ 0x10700a400] failed to find absolute offset of 5b0dd in BodySID 1 - partial file?
[13:51] <Tjoppen> nope. I didn't manage to reproduce it earlier
[13:55] <Tjoppen> ehm, avcodec_align_dimensions2() sets stride_align = 8 for some codecs even though MMX is enabled, leading swscale to complain if such a frame is passed to it
[14:21] <cbsrobot> Tjoppen: you can reproduce it with the DCPTEST.V.mxf file you downloaded a few weeks ago
[14:33] <Tjoppen> I tried with that file. it didn't play with the old version either
[14:34] <Tjoppen> michaelni: since f44ad92c libswscale complains about frames given by the mpeg2 decoder, due to STRIDE_ALIGN = 8
[14:44] <michaelni> Tjoppen, ill look into it
[14:45] <Tjoppen> avcodec_align_dimensions2() should probably set stride_align = 16 if SSE2 is enabled. BBB seems to agree the current behavior is a bug
[14:47] <michaelni> yes, but last i tried setting it to 16 broke something ...
[14:47] <michaelni> that is probably a fate test
[14:48] <michaelni> but i dont remember precisely
[14:49] <Tjoppen> I'm also a bit confused why ffmpeg.c doesn't trigger that nag. my guess it has to do with the scaling being done via lavfi nowadays
[14:51] <michaelni> btw, there are 2 mxf patches on the ML
[14:51] <michaelni> [PATCH] mxfdec: do not fail on error parsing footer. & [FFmpeg-devel] [PATCH] mxfdec: support AVFMT_FLAG_IGNIDX.
[14:52] <Tjoppen> ah, missed that
[14:52] <Tjoppen> three actually
[14:55] <ubitux> ergonomy question: i'd like to add an option to amerge, allowing to merge only a subset of channels, what syntax would you prefer?: amerge=0|0:1 (ch0 for source0, ch0 and ch1 for source1), amerge=0:0|1 (same), amerge=a=0:b=0,1 (same), something else?
[14:57] <cbsrobot> Tjoppen: there was a bug in openjpegdec aswell
[14:57] <cbsrobot> actually it should b
[14:57] <cbsrobot> play, but with wrong colors
[14:59] <cbsrobot> and it plays only with a few fps
[15:06] <michaelni> ubitux, a:a+b, this way one also could do a:0.3*a+0.7*b
[15:06] <ubitux> well then, better prefix with a af pan filter
[15:35] <Tjoppen> wait a minute.. that file claims to be opatom but it's not clip wrapped
[15:42] <ubitux> (mmh i think i'll just port the "filtering" of mapchannel into a filter)
[15:47] <Tjoppen> there we go. I get all frames up to 01:02:04:23
[15:56] <ubitux> michaelni: does libswr lack some features of af_aconvert, af_aformat and af_aresample?
[15:56] <Tjoppen> cbsrobot: posting a patch to the ML
[16:10] <cbsrobot> Tjoppen: compiling ...
[16:12] <cbsrobot> yay - it works - thaks alot
[16:35] <michaelni> ubitux, not that i know of
[16:36] <ubitux> it would be nice to port them to libswr&
[16:36] <ubitux> i'm atm working on porting the map channel feature into a filter
[16:36] <ubitux> (filtering/reordering)
[16:36] <ubitux> and i'll certainly use libswr for this
[16:37] <ubitux> i wonder how simple libswr will integrates itself with lavfi
[18:00] <ubitux> michaelni: swr can deal with planar only internally, right?
[18:00] <ubitux> like i can ask non planar input & output
[18:01] <durandal_1707> planar what?
[18:01] <ubitux> i have a strange "Assertion a->planar failed at libswresample/swresample.c:284" in swr_convert when trying to do non-planar
[18:01] <ubitux> durandal_1707: planar audio
[18:06] <durandal_1707> so you are doing conversion from planar to non-planar?
[18:06] <durandal_1707> full ffmpeg output please
[18:06] <ubitux> non-planar to non-planar, packed to packed
[18:07] <ubitux> there is no particular output, i'm using the api
[18:07] <ubitux> output: chl=5.1 | fmt=00000001 | srate=44100
[18:07] <ubitux> input: chl=5.1 | fmt=00000001 | srate=44100
[18:07] <ubitux> this are the swr_alloc_set_opts main parameters
[18:08] <ubitux> and then just a call to swr_convert
[18:08] <ubitux> with the buffers & nb samples
[18:10] <durandal_1707> my hunch planar output is not supported, i'm now busy with swscale
[18:10] <ubitux> swr is using planar internally
[18:11] <ubitux> what i'm wondering is if there is some packed limitation about the input/output
[18:11] <ubitux> which sounds weird
[18:14] <ubitux> (fmt->s16)
[18:24] <michaelni> ubitux, planar in/out should worl
[18:24] <michaelni> work
[18:24] <michaelni> durandal_1707, swscale?
[18:24] <michaelni> what exactly ?
[18:25] <durandal_1707> writing functions
[18:25] <ubitux> michaelni: what about packed in/out ?
[18:26] <CIA-46> ffmpeg: 03Stefano Sabatini 07master * rd3e435164b 10ffmpeg/ffprobe.c:
[18:26] <CIA-46> ffmpeg: ffprobe: make upcase_string() ignore non-ASCII characters
[18:26] <CIA-46> ffmpeg: This is required as some section names may contain non-ASCII characters
[18:26] <CIA-46> ffmpeg: (e.g. '_').
[18:26] <CIA-46> ffmpeg: 03Stefano Sabatini 07master * r5226be0dd5 10ffmpeg/ (Changelog doc/ffprobe.texi doc/ffprobe.xsd ffprobe.c): ffprobe: add -show_program_version and -show_library_versions options
[18:26] <CIA-46> ffmpeg: 03Stefano Sabatini 07master * r93d49cba7f 10ffmpeg/ (doc/ffprobe.texi ffprobe.c): ffprobe: add compact option to JSON writer
[18:26] <michaelni> ubitux, packed in out should work too
[18:27] <michaelni> durandal_1707, what functions ?
[18:27] <durandal_1707> michaelni: rgb2rgb stuff
[18:28] <ubitux> michaelni: then any idea what could go wrong in: http://pastie.org/3161321 ? (output on top of the paste)
[18:28] <michaelni> durandal_1707, can you submit patches against ffmpegs swscale ?
[18:28] <michaelni> iam asking because ours is in a little better shape
[18:29] <ubitux> (i'm using in sample rate in both case because out sample rate isn't defined, but that should cause any issue)
[18:30] <michaelni> i know swresample_test.c worked with planar & packed
[18:31] <durandal_1707> michaelni: what is better?, i can create swscale branch on github, and you can do with it whatever you want (beware of rebases)
[18:33] <michaelni> our swscale has many more bugfixes
[18:33] <michaelni> which reminds me i have to push one :)
[18:34] <michaelni> ubitux, which of the realloc_audio() calls is failing thea assert =
[18:34] <michaelni> ?
[18:53] <durandal_1707> michaelni: but my swscale changes depends on one of commits in qatar which is not yet merged into ffmpeg master
[18:54] <michaelni> why do you do the work based on the qatar version ?
[18:54] <michaelni> i mean why dont you submit sws patches to ffmpeg-dev ?
[18:56] <michaelni> IMHO it would be better if everyone would work on the same swscale
[18:56] <michaelni> and that should be the version that is technically in better shape
[18:57] <durandal_1707> michaelni: i do work on ffmpeg swscale, and that port that to libav and the submit to them
[18:57] <durandal_1707> s/that/than
[18:57] <michaelni> that sounds kinda hard
[18:57] <durandal_1707> indeed
[18:58] <durandal_1707> just bunch of extra git fp, git am, git fp, git sm
[18:58] <michaelni> i mean i really think we all (inclusing ronald) should somehow work together on sws
[18:58] <durandal_1707> fp,am,sm are aliases ...
[18:59] <michaelni> i exchanged some emails about this already with ronald but got no reply to my last :(
[19:00] Action: michaelni hates politics
[19:01] <gnafu> My official life motto is, "Politics suck."
[19:02] <gnafu> michaelni: Were you going to try to meet up at FOSDEM?
[19:02] <durandal_1707> michaelni: pushed sws branch
[19:03] Action: gnafu remembers a conversation about FOSDEM the other day, but doesn't remember where it left off.
[19:03] <av500> gnafu: that would imply actually going
[19:03] <gnafu> av500: Of course.
[19:10] <ubitux> michaelni: http://pastebin.com/5FV1tMNX
[19:11] <ubitux> (4096 samples this time)
[19:13] <michaelni> it asserts on a->ch_count not planar unless my line numbers are off
[19:14] <ubitux> -Assertion a->planar failed at libswresample/swresample.c:284
[19:14] <ubitux> i have this
[19:14] <michaelni> s->postin.planar = s->midbuf.planar = s->preout.planar = 1;
[19:15] <ubitux> (the gdb output looks strange indeed)
[19:15] <michaelni> maybe some av_log() would clear things up ...
[19:15] <michaelni> that is what is wrong and where it does become wrong
[19:16] <ubitux> but i guess the multiline macro is doing crazy things
[19:16] <ubitux> ok, going to add some
[19:17] <ubitux> realloc_audio: planar=0 bps=0 ch_count=0
[19:17] <ubitux> Assertion a->planar failed at libswresample/swresample.c:286
[19:17] <ubitux> heh :p
[19:18] <michaelni> which realloc_audio() is this ?
[19:19] <ubitux> seems to be the one line 463 according to the backtrace
[19:19] <michaelni> your lines dont match mine
[19:19] <CIA-46> ffmpeg: 03Dominique Leuenberger 07master * r5aac76159e 10ffmpeg/RELEASE: RELEASE: We're now at 0.9.1.git
[19:20] <ubitux> michaelni: sorry, -2 because of the av_log
[19:20] <ubitux> 461
[19:21] <michaelni> s->postin.planar = s->midbuf.planar = s->preout.planar = 1;
[19:21] <michaelni> is that executed ?
[19:21] <michaelni> If no, why not, if yes what turns it to 0 later ?
[19:22] <ubitux> mmmh oh i think i get it
[19:22] <ubitux> the swr_init might have failed for some reasons
[19:23] <ubitux> 'going to invinstigate
[19:23] <ubitux> (no, it's not executed)
[19:23] <ubitux> thank you
[19:23] <michaelni> np
[19:25] <ubitux> ok i'm stupid, i assumed the alloc_set_opts was actually calling the init
[19:26] <ubitux> great, works now :)
[20:19] <CIA-46> ffmpeg: 03Michael Niedermayer 07master * r5ab6f0fe5a 10ffmpeg/libswscale/swscale.c: (log message trimmed)
[20:19] <CIA-46> ffmpeg: Revert "swscale: fix integer overflows in RGB pixel writing."
[20:19] <CIA-46> ffmpeg: This reverts commit 77d88b872d8cbb42738ede2d4fc098c16f204236.
[20:19] <CIA-46> ffmpeg: The revert fixes actual overflows and a segfault as the variables
[20:19] <CIA-46> ffmpeg: are signed and can be negative.
[20:19] <CIA-46> ffmpeg: Conflicts:
[20:19] <CIA-46> ffmpeg: libswscale/swscale.c
[21:05] <ubitux> michaelni: what is the cliping into tables for?
[21:06] <CIA-46> ffmpeg: 03Michael Niedermayer 07master * r31801ded9a 10ffmpeg/:
[21:06] <CIA-46> ffmpeg: Merge remote-tracking branch 'hexene/stagefright'
[21:06] <CIA-46> ffmpeg: * hexene/stagefright:
[21:06] <CIA-46> ffmpeg: libstagefright: fix build
[21:06] <CIA-46> ffmpeg: Merged-by: Michael Niedermayer <michaelni(a)gmx.at>
[21:06] <CIA-46> ffmpeg: 03Dmitry Monakhov 07master * rd7b786e9a1 10ffmpeg/tools/build_libstagefright:
[21:06] <CIA-46> ffmpeg: libstagefright: fix build
[21:06] <CIA-46> ffmpeg: - Use headers from gingerbread-release branch instead of the current default ice cream sandwich
[21:06] <CIA-46> ffmpeg: - Fix path mistype
[21:07] <michaelni> ubitux, after the scaling the samples are not guranteed to be within 0..255 so cliping is needed
[21:07] <michaelni> if the tables are a bit bigger and do the cliping it should be faster then doing it excplicitly
[21:08] <ubitux> ok
[21:08] <ubitux> thank you
[21:18] <OanaStratulat> michaelni: ping
[21:26] <michaelni> OanaStratulat, pong
[21:26] <OanaStratulat> michaelni: do you have time to work on that bug ?
[21:42] <michaelni> OanaStratulat, well, yes a bit
[21:42] <OanaStratulat> ok in 1 min i will be on my linux machine
[21:42] <OanaStratulat> and ping you then
[21:45] <Oana> michaelni: ping
[21:45] <michaelni> pong
[21:45] <Oana> i`m OanaStratulat but on my linux machine
[21:56] <Oana> michaelni: https://ffmpeg.org/trac/ffmpeg/ticket/890 this is the bug
[21:57] <michaelni> i know
[21:57] <michaelni> i can fix it but iam not sure how i can explain it
[21:57] <Oana> can you try a bit
[21:57] <Oana> and guide me
[22:01] <Oana> this it the only bug i have found lately in ffmpeg
[22:01] <michaelni> well, i dont know exactly where to best fix it ,yself
[22:04] <Oana> michaelni: where it is simplest to fix
[22:05] <michaelni> maybe to detect the outrageous value in the demuxer
[22:09] <michaelni> some check somewhere around line 550 in avidec.c should be possible
[22:10] <Oana> to check for what?
[22:11] <michaelni> crazy starttime
[22:12] <michaelni> something like > 1 hour is likely broken
[22:12] <Oana> ast->start is the starttime ?
[22:15] <michaelni> theres no ast->start
[22:15] <michaelni> ast->cum_len=avio_rl32(pb); /* start */
[22:16] <michaelni> durandal_1707, is your sws branch ok to be merged ?
[22:16] <michaelni> or should i wait for something? reviewes?
[22:16] <durandal_1707> mru had some objection regarding your pointers dance
[22:16] <michaelni> pointers dance ?
[22:17] <durandal_1707> i used 15to15 as template
[22:17] <durandal_1707> look at libav ML
[22:17] <Oana> how do i avlog an int64_t var ? what format do i use ?
[22:18] <durandal_1707> read manual for printf
[22:18] <durandal_1707> ll or something like that
[22:19] <Oana> lld
[22:20] <Oana> the value for ast->cum_len is in seconds ?
[22:21] <michaelni> Oana, in scale/rate units
[22:21] <Oana> so how do i check if it is bigger than 1 h?
[22:22] <michaelni> val*scale/rate > 3600
[22:23] <Oana> michaelni: ok so my file has start time bigger than 1 h
[22:24] <Oana> if this happens what should i do ?
[22:24] <michaelni> durandal_1707, you can do 2 pixels at once using uint32_t
[22:25] <durandal_1707> wouldn't that break 7x7 case?
[22:25] <michaelni> Oana, av_log + something like return error
[22:25] <Oana> av log with what message ?
[22:25] <michaelni> durandal_1707, its messy but odd width would need the last pixel handled seperately
[22:26] <michaelni> so probably not worth
[22:26] <michaelni> but theoretically doing 2 pixels at once should be faster
[22:26] <michaelni> Oana, "crazy start time, iam scared, giving up"
[22:27] <durandal_1707> i gonna stay with uint16_t
[22:28] <Oana> and return ?
[22:29] <Oana> michaelni: AVERROR_INVALIDDATA ?
[22:30] <michaelni> that or just set the start to 0
[22:31] <Oana> michaelni: http://pastebin.com/RMWf7KYU this is my diff
[22:31] <Oana> looks good?
[22:32] <michaelni> yes but it should be something else than 0,0
[22:32] <Oana> the context and what else?
[22:33] <michaelni> AV_LOG_ERROR
[22:34] <Oana> michaelni: http://pastebin.com/N607ybaG good to submit?
[22:35] <michaelni> Oana, does it work ?
[22:35] <Oana> yes it does not crash anymore
[22:35] <Oana> what good files should i test from the fate-suite ?
[22:36] <michaelni> i dont know pick maybe 10 random avi files or so
[22:38] <Oana> michaelni: it works, have tested some .avi files and they are good
[22:41] <Oana> so good for submit on melange ?
[22:41] <Oana> and trac/
[22:43] <michaelni> durandal_1707, can you use AV_RN16(A)() and AV_WN16(A)() to access the values ? that should fix the aliassing issue
[22:43] <michaelni> though the issue is pretty much theoretical
[22:43] <michaelni> id be happy to merge it as it is if you want ...
[22:44] <michaelni> Oana, it looks like theres something missing in the pastebin: av_log(s, AV_LOG_ERROR, "crazy start time, iam scared, giving u
[22:45] <Oana> michaelni: http://pastebin.com/9ii7iSNN
[22:45] <Oana> the correct one
[22:47] <michaelni> Oana, i think the check should be before * sample_size
[22:48] <durandal_1707> michaelni: what is difference between rgb2rgb.c and rgb2rgb_template.c?
[22:48] <Oana> michaelni: http://pastebin.com/9EbmTvkJ good ?
[22:49] <CIA-46> ffmpeg: 03Stefano Sabatini 07master * r0cc8864687 10ffmpeg/ffprobe.c: ffprobe: use av_toupper() in upcase_string()
[22:50] <durandal_1707> i could move function to template, and use uint8_t as 24 variant do
[22:50] <michaelni> beware of big vs little endian if you do that
[22:50] <michaelni> the difference of the template vs normal one is that
[22:51] <michaelni> in the past there was one template that contained mmx/mmx2/3dnow code unde ifdef and then C code to handle the last 0-7 pixels
[22:52] <michaelni> that has been split up so asm and C is seperate
[22:52] <michaelni> now
[22:53] <michaelni> some people said it was a mess in the past, iam not so sure if its not worse now but it doesnt really matter
[22:54] <durandal_1707> i think i can get rid of br
[22:54] <durandal_1707> but compiler should already know how to optimize this
[22:54] <michaelni> yes
[22:54] <Oana> michaelni: http://pastebin.com/9EbmTvkJ is this good ?
[22:55] <michaelni> does it fix the bug and not break other files ?
[22:55] <Oana> yes, it does not crash and i have tested 10 avi files and all worked out good
[22:56] <michaelni> with the latest version ?
[22:56] <durandal_1707> btw, i get bunch of this redefining multi-line macro 'ovhlps'
[22:56] <Oana> yes, the latest version of ffmpeg
[22:56] <michaelni> Oana, latest version of your patch, i mean the one where its before sample_size ?
[22:57] <Oana> michaelni: workes good with the latest version
[22:57] <Oana> of the patch
[22:58] <michaelni> durandal_1707, thx minor bug, ill fix it
[22:59] <michaelni> Oana, then the patch should be good
[22:59] <Oana> ok uploading it to menalge and traC
[23:02] <Oana> michaelni: http://www.google-melange.com/gci/task/view/google/gci2011/7180239 marked as completed
[23:03] <durandal_1707> michaelni: i'm fine if you want to merge it as is, if someone doesn't like how it looks he can send "fix"
[23:09] <Oana> michaelni: is the patch good ?
[23:11] <michaelni> yes, good
[23:13] <Oana> michaelni: http://www.google-melange.com/gci/task/view/google/gci2011/7179244 please accept the claim for
[23:15] <CIA-46> ffmpeg: 03Paul B Mahol 07master * ra6839c4e60 10ffmpeg/libavcodec/bmp.c:
[23:15] <CIA-46> ffmpeg: bmpdec: support for rgb444 with bitfields compression
[23:15] <CIA-46> ffmpeg: Do not display garbage for invalid/unsupported bitfields values.
[23:15] <CIA-46> ffmpeg: 03Paul B Mahol 07master * r047a28f759 10ffmpeg/libavcodec/bmpenc.c: bmpenc: support for PIX_FMT_RGB444
[23:15] <CIA-46> ffmpeg: 03Paul B Mahol 07master * r277030627d 10ffmpeg/libswscale/swscale_unscaled.c: rgb2rgb: allow conversion for <15 bpp
[23:15] <CIA-46> ffmpeg: 03Paul B Mahol 07master * r4ad40d6d9f 10ffmpeg/libswscale/ (rgb2rgb.c rgb2rgb.h swscale_unscaled.c): rgb2rgb: rgb12tobgr12()
[23:15] <CIA-46> ffmpeg: 03Michael Niedermayer 07master * r24be30de64 10ffmpeg/libavcodec/mjpegdec.c:
[23:15] <CIA-46> ffmpeg: ljpegdec: Fix the left column of rgb24 decoding
[23:15] <CIA-46> ffmpeg: Fixes Ticket894
[23:15] <CIA-46> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[23:15] <CIA-46> ffmpeg: 03Michael Niedermayer 07master * rf4a01d7788 10ffmpeg/libavutil/x86/x86inc.asm:
[23:15] <CIA-46> ffmpeg: x86inc: remove duplicate movlhps
[23:15] <CIA-46> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[23:15] <CIA-46> ffmpeg: 03Michael Niedermayer 07master * ra9bd29e15e 10ffmpeg/: (log message trimmed)
[23:15] <CIA-46> ffmpeg: Merge remote-tracking branch 'richardpl/sws'
[23:15] <CIA-46> ffmpeg: * richardpl/sws:
[23:15] <CIA-46> ffmpeg: rgb2rgb: remove unused bgr8torgb8()
[23:15] <CIA-46> ffmpeg: rgb2rgb: rgb12tobgr12()
[23:15] <CIA-46> ffmpeg: rgb2rgb: allow conversion for <15 bpp
[23:15] <CIA-46> ffmpeg: bmpenc: support for PIX_FMT_RGB444
[23:15] <CIA-46> ffmpeg: 03Paul B Mahol 07master * r296a338261 10ffmpeg/libswscale/ (rgb2rgb.c rgb2rgb.h):
[23:15] <CIA-46> ffmpeg: rgb2rgb: remove unused bgr8torgb8()
[23:15] <CIA-46> ffmpeg: RGB8 and BGR8 are paletted formats now.
[23:16] <michaelni> durandal_1707, merged, thanks
[23:19] <michaelni> Oana, have you found a easy bug to fix ?
[23:20] <michaelni> i am not sure if i will have time to help ...
[23:20] <OanaStratulat> searching for one this night
[23:20] <OanaStratulat> hoping for an easy bug..
[23:20] <OanaStratulat> anyway i`ll try my luck
[23:30] <OanaStratulat> michaelni: https://ffmpeg.org/trac/ffmpeg/ticket/296 is this a hard bug to fix?
[23:35] <durandal_1707> OanaStratulat: define hard
[23:36] <OanaStratulat> durandal_1707: needs a lot of work on it
[23:39] <durandal_1707> needs lot of experience
[23:40] <OanaStratulat> durandal_1707: i have exactly none...
[23:40] <durandal_1707> i guess there is something missing so seeking fails, like duration
[23:41] <durandal_1707> is there option to rebuild index?
[23:42] <durandal_1707> mplayer -forceidx fails
[23:42] <durandal_1707> OanaStratulat: pick another bug
[23:42] <OanaStratulat> durandal_1707: ok
[23:42] <OanaStratulat> durandal_1707: https://ffmpeg.org/trac/ffmpeg/ticket/599 this one what do you say?
[23:43] <durandal_1707> probably would involve to recalculate duration on available data or something like that
[23:44] <durandal_1707> you would need to locate and explore relevant demuxer
[23:50] <OanaStratulat> michaelni: ^
[23:55] <OanaStratulat> durandal_1707: what is the demuxer used here?
[23:56] <durandal_1707> that should be pretty obvious mov
[23:56] <durandal_1707> mov is container format
[23:57] <OanaStratulat> durandal_1707: what is avc1 ?
[00:00] --- Wed Jan 11 2012
1
0
[00:05] <darkstarbyte> What happened to the copy codec in ffmpeg?
[00:06] <shevy> it died a tragic death
[00:14] <Freakshow> :P
[00:14] <Freakshow> BUILDING 32-bit ffmpeg binary, please stand by...
[00:14] <Freakshow> ERROR: libx264 version must be >= 0.118.
[00:15] <Freakshow> I guess that's a problem
[00:15] <Freakshow> ... for me
[00:24] <xjrn> i used to have script that succeeded using newaudio/newvideo switches. id there a mention what has changed in head revision ?
[00:54] <pasteeater> Freakshow: use a newer x264
[00:54] <pasteeater> darkstarbyte: copy still exists.
[00:55] <darkstarbyte> I am using yesterday's git
[00:55] <pasteeater> use a pastebin site to show your ffmpeg command and the complete console output
[00:56] <darkstarbyte> sure
[00:57] <darkstarbyte> Crap
[00:57] <darkstarbyte> It worked after last nights reboot, but not before
[00:58] <darkstarbyte> Though I still get a lot of errors from the mp4 format when I transfer them
[00:58] <darkstarbyte> I mean muxing it
[00:59] <darkstarbyte> It reminds me of the time I broke gcc, and after a reboot it fixed it self
[01:00] <pasteeater> sounds like windows
[01:00] <darkstarbyte> I am using Linux but
[01:00] <pasteeater> i know
[01:01] <pasteeater> i mean i thought so
[01:01] <darkstarbyte> Well this is what I get for not hashing the isos from the internet
[01:02] <darkstarbyte> Maybe I should not use thepiratebay.org to get Linux distributions
[01:06] <pasteeater> was your iso smeggy?
[01:07] <darkstarbyte> smeggy?
[01:07] <pasteeater> bad
[01:07] <pasteeater> xjrn: newaudio/newvideo has been depreciated for a more capable map option
[01:07] <darkstarbyte> That or my cheep dvds I use because my computer will not take live usbs
[01:09] <darkstarbyte> I will be on here for at least another hour before I have to leave to give a presentation
[01:17] <Freakshow> thanks pasteeater. I thought I had put enough sarcasm on that statement
[01:17] <Freakshow> :P
[01:21] <mgeary> hi folks. i've got a source video (640x480) that has some garbage at the top and the bottom. I'm tying to trim off ~5 pixels from the top and bottom and output at some different sizes. I don't seem to have my command quite right.
[01:21] <mgeary> This is my latest:
[01:21] <mgeary> ffmpeg -y -i "in.mov" -vcodec libx264 -vpre lossless_fast -vf crop=in_w:in_h-4:0:0,scale=186:-1 out_186c.mp4
[01:22] <mgeary> well, that only crops from the top, but even that doesn't appear to actually do the trick
[01:22] <darkstarbyte> Anyone know a lot about vp8?
[01:42] <xjrn> somone please tell me there is a way to sepcify a PAR that creates borders
[01:42] <darkstarbyte> I have an error I can't get rid of when I switch containers with avi to mkv
[01:42] <darkstarbyte> [matroska @ 0x233ff20] Can't write packet with unknown timestamp
[02:03] <pasteeater> mgeary: try getting rid of the extra zeros in your crop.
[02:03] <pasteeater> crop=iw:ih-10,scale
[02:08] <relaxed> to always have the crop divided equally, crop=iw:ih-10:(in_w-out_w)/2:(in_h-out_h)/2,scale
[02:14] <pasteeater> for me "crop=iw:ih-10" is the same as "crop=iw:ih-10:(in_w-out_w)/2:(in_h-out_h)/2"
[02:20] <mgeary> pasteeater: that seems to work, thank you!
[02:22] <relaxed> pasteeater: you're right, I think it's pad that doesn't do that by default.
[02:25] Action: pasteeater kicks pad
[03:01] <_Ray_> Hey, I'm sure this is not the correct place to ask, but I couldn't think of a more suitable channel. If I have an audio source at 44.1KHz, and I convert it to 48KHz audio source, without making up data, does this mean that the result will be of shorter duration than the original? (Specifically, 100*44.1/48.0% of the original duration)
[03:11] <acerimmer> _Ray_: should be the same length as I understand it.
[03:14] <_Ray_> acerimmer, well, if I had 44.1k samples per second, and I had t seconds, I had t*44.1*1000 samples. If we call the output duration t' seconds, it has 48*1000*t' samples. But if I didn't make up samples, these two numbers must be the same. So t*44.1*1000 = 48*1000*t', and thus t' = t * (44.1/48) < t, unless I'm thinking of something incorrectly here?
[03:14] <_Ray_> (Assuming I'm neither making up nor forgetting samples in the process.)
[04:50] <Austen> anybody with vorbis knowledge know how the duration is saved?
[06:44] <darkstarbyte> [matroska @ 0x233ff20] Can't write packet with unknown timestamp
[06:45] <darkstarbyte> anyone know what causes that when I try to switch containers from avi to mkv?
[06:46] <Ginks> can you invoke 2 -vf at the same time?
[06:47] <Ginks> I wanted to scale and do a overlay at the same time
[06:47] <Ginks> but what I tried only did the overlay, the last -vf I put in
[06:47] <Ginks> skipped the scale
[06:52] <relaxed> Ginks: -vf "[in]scale=640:-1,[wm]overlay=main_w-overlay_w-10:10:1[out];movie=logo.png[wm]"
[06:55] <darkstarbyte> ???
[06:56] <relaxed> darkstarbyte: did it error?
[06:56] <darkstarbyte> the vf thing?
[06:57] <Ginks> relaxed, I'll give that a go and report back
[06:57] <Ginks> thanks
[06:58] <darkstarbyte> My error was matroska Can't write packet with unknown timestamp
[06:58] <darkstarbyte> and
[06:58] <darkstarbyte> av_interleaved_write_frame(): Invalid argument
[06:58] <darkstarbyte> but I can take my file from avi to mp4 then mkv, but not avi to mkv
[06:59] <relaxed> pastebin your command and all output
[07:00] <darkstarbyte> http://pastebin.com/Ja0Ekf3G
[07:03] <darkstarbyte> You most likely were not talking to me
[07:03] <darkstarbyte> I thought I would post the darn thing anyways
[07:04] <relaxed> darkstarbyte: I was. There's already a bug report for the issue. http://roundup.libav.org/issue1719
[07:05] <relaxed> maybe you should add to it
[07:05] <darkstarbyte> That bug report looks really old
[07:05] <darkstarbyte> that makes me think it might not get fixed for a long time
[07:07] <relaxed> it might happen faster if you post there and upload a sample
[07:07] <darkstarbyte> I have to find something that does not have a copy right
[07:07] <darkstarbyte> Perhaps big buck bunny
[07:08] <relaxed> it's considered fair use to upload a small sample of the video
[07:09] <darkstarbyte> great
[07:09] <darkstarbyte> They have free downloads on the site
[07:13] <darkstarbyte> Good night.
[07:13] <darkstarbyte> and thanks for the help
[13:30] <carpediembaby> hi. is this a good place to ask questions about video editing? i want to edit a video so that i remove the 'silent' parts in it
[14:14] <cbreak> if I compile ffmpeg from git, will I get lgpl only or gpl tainted binaries?
[14:17] <Tjoppen> by default you get lgpl binaries
[14:18] <cbreak> excellent
[14:18] <Tjoppen> configure will tell you, and it'll fail unless you add --enable-gpl if any library you want to link with is GPL
[14:19] <cbreak> that's great. I used avformat_license() and it returned LGPL, so I guess that was true :)
[14:58] <gdp16> hello
[14:58] <gdp16> I have question to build ffmpeg library using cygiwn and mingw32 compiler
[14:59] <gdp16> when I set ./configure --target-os=mingw32 --arch=x86 --enable-cross-compile --cross-prefix=i686-pc-mingw32-
[14:59] <gdp16> I got error no i686-pc-mingw32-pkg-config
[14:59] <gdp16> do anyone have idea about this?
[15:02] <Milos_SD> Hi
[15:03] <Milos_SD> I have this error when I try to compile ffmpeg from lastest git: *** glibc detected *** /usr/lib/gcc/x86_64-linux-gnu/4.6.1/cc1: malloc(): smallbin double linked list corrupted: 0x000000000220cd70
[15:03] <GomGom> hi, trying to use libx264 as per webpage example "ffmpeg -i input -vcodec libx264 -preset fast -tune film -profile main -crf 22 -threads 0 output"
[15:04] <GomGom> i get this: http://pastie.org/3160339
[15:04] <GomGom> so it seems -profile -tune and -preset don't make it to libx264 module where private options are defined
[15:07] <Mavrik> GomGom, there's a parameter collision with libfaac and libx264 in last few versions
[15:07] <Mavrik> GomGom, use "-vprofile" for video profile settings
[15:08] <GomGom> cool, works ok
[15:08] <GomGom> thx Mavrik
[15:57] <dericed> why is the 'p' in yuv422p? Does this to progressive? If so where's yuv422i? just curious
[16:01] <Tjoppen> dericed: planar
[16:02] <dericed> Tjoppen: ah that makes more sense now
[16:31] <evil_andy> I wrote some code that uses ffmpeg to read mpegts from a UDP stream. It works for a few seconds then I get: [udp @ 0x1502ca0] circular_buffer: OVERRUN any clues what I might be doing wrong? (I will try to put together some code I can post)
[16:32] <evil_andy> rather, it seems like I've forgotten to start a thread, or I might be reading the data too slowly, or some such
[16:36] <evil_andy> http://pastebin.ca/2101907 is the code that grabs the frame from ffmpeg
[16:44] <cbreak> which format is best for piping raw audio/video between ffmpeg instances?
[17:04] <relaxed> cbreak: this should work well, -c:v rawvideo -c:a pcm_s16le -f flv
[17:04] <cbreak> you'd use flv?
[17:05] <relaxed> -f mpegts might be better
[17:07] <relaxed> well, neither work with rawvideo
[17:08] <relaxed> cbreak: -f nut works
[17:09] <cbreak> ok, thanks :)
[17:11] <cbreak> the sending end is an application I am writing with ffmpeg, so I can't test it until I have the video generation part written
[17:18] <Bombo> relaxed: with "scale=640:out_w*(sar/dar)" the resulting format is 640x407 and faces are too long, and with "scale=in_w:in_h/sar,scale=640:-1" i get 640x286, everything looks ok
[17:20] <relaxed> Bombo: yes, I wasn't taking into account your crop. What was the original sar?
[17:21] <Bombo> relaxed: 64:45
[17:21] <Bombo> this is the filters with crop: -vf crop=in_w-(4+6):in_h-(62+61):4:61,scale=in_w:in_h/sar,scale=640:-1
[17:22] <relaxed> echo "720*((64/45)/(16/9))" | bc -l
[17:25] <khali> relaxed: I didn't know bc -l, great feature, thanks :)
[17:25] <Bombo> looks like in_w*(sar/dar)
[17:26] <relaxed> sar = dar * h / w
[17:26] <Bombo> and its 576
[17:27] <Bombo> thats the original height
[17:27] <relaxed> right, I provided the original width
[17:28] <Bombo> what is the out_w in this anyway? 640? "scale=640:out_w*(sar/dar)"
[17:29] <relaxed> yes
[17:32] <Bombo> ok what does -1 do then?
[17:33] <Bombo> "If the value for width or height is -1, the scale filter will use, for the respective output size, a value that maintains the aspect ratio of the input image."
[17:33] <relaxed> maintains aspect ratio
[17:33] <Bombo> how do i calculate that, maybe that will help
[17:35] <relaxed> The formula for SAR is sar=(dar)*(h/w)
[17:37] <Bombo> ok but the sar!=-1 is it?
[17:37] <Bombo> (dar)*(h/w)=-1 ?
[17:38] <Bombo> scale=640:sar will do the same as scale=640:-1 ?
[17:39] <relaxed> I'm not sure, most of the video I deal with is 1:1
[17:39] <relaxed> stick a few seond sample up somewhere and I'll look into it
[17:39] <relaxed> second*
[17:43] <Bombo> hmmkay
[19:15] <BlackBishop> ffmpeg -i /dev/dsp1 rahat.wav just hangs .. http://pastebin.com/GTfzqz5G ..
[19:16] <BlackBishop> tried aac too :/ and others ( that I saw in -codecs | grep -i audio with E/D support ) .. just hangs...
[19:18] <BlackBishop> trying to record the sound from my webcam ( logitech c910 )
[19:19] <Mavrik> BlackBishop, I suggest you use ALSA instead: http://www.commandlinefu.com/commands/view/3513/record-mp3-audio-via-alsa-u…
[19:19] <Mavrik> you'll just have to find the hardware ID of your webcam
[19:34] <alex2> Hello, I am trying to implement HTTP-Live-Streaming on my Ubuntu Hardy slice so I can stream videos from the iPhone App I'm building. FFMPEG was recommended to me. FFMPEG + Segmenter works well on my Mac, but I can't get the segmenter part to work on my server. I tried a bunch of things but can't get it to work. Would anybody be able to advise me about the next steps?
[19:34] <slorbast> Quick question, multiple .flvs into one .mp4?
[19:44] <sebbu> hi
[19:45] <sebbu> when i try to run ffmpeg -i input.mpg -c:v copy -c:a copy out.mpg, i got an error after 141/163mb :
[19:45] <sebbu> Application provided invalid, non monotonically increasing dts to muxer in stream 0: 139351355 >= 139351355
[19:45] <sebbu> av_interleaved_write_frame(): Invalid argument
[19:45] <sebbu> any idea ?
[19:47] <Mavrik> input video timestamps are wrong
[19:52] <sebbu> Mavrik, any way of fixing that ?
[19:52] <sebbu> the video(&audio) plays fine, it has just problems with the seeking
[19:53] <Mavrik> I think mencoder can re-timestamp your video, but could cause sync issues
[19:53] <sebbu> both VLC & MPlayer read the video without problem (if not seeking)
[19:53] <Mavrik> yeah, you can't seek because timestamps are foo
[20:05] <vostok4[nv]> is there a "minimum" set of filters needed to output a video?
[20:05] <vostok4[nv]> i'm just trying to encode 1 png into a webm video: ffmpeg -i test1.png test.webm
[20:05] <vostok4[nv]> and i get the error "Error opening filters!"
[20:07] <pasteeater> vostok4[nv]: use a pastebin site to show your ffmpeg command and the complete console output
[20:08] <vostok4[nv]> http://pastie.org/3161847 there you go, its a win32 build crosscompiled from linux
[20:10] <pasteeater> i guess it has something to do with "--disable-everything". it is a troublesome option.
[20:11] <pasteeater> but i do not really know why it is giving you that message
[20:11] <vostok4[nv]> fair enough
[20:11] <vostok4[nv]> was planning on redistributing ffmpeg and i didn't want to deal with licensing issues with all the other codecs there
[20:11] <vostok4[nv]> so i thought i'd disable everything and start ground up
[20:12] <Mavrik> you're probably missing "pal8" pixel format converter
[20:14] <vostok4[nv]> that's a warning, not error, and from googling it doesn't look like it should be a problem (and i looked in config.mk and theres no option for anything pal8 related)
[20:15] <Mavrik> well, if you don't have the converter you'll get a filter error
[20:15] <Mavrik> since VP8 can't store video in that pixel format
[20:16] <pasteeater> configure options will determine your license: --enable-gpl, --enable-nonfree, --enable-version3, etc.
[20:18] <vostok4[nv]> hm, ok i can give it a shot to go gpl only (do i do --disable-everything and --enable-gpl or will --enable-gpl ensure i get *only* GPL features?)
[20:19] <vostok4[nv]> and Mavrik i had thought it would encode using yuv420p instead of pal8 as a safe fallback
[20:19] <JEEB> since default is lgpl
[20:19] <JEEB> and lgpl stuff can be licensed under GPL as well
[20:19] <JEEB> you can just do --enable-gpl
[20:19] <JEEB> to enable GPL parts (GPLv3)
[20:19] <JEEB> then there's --enable-version3 for some things
[20:20] <pasteeater> don't use --disable-everything
[20:20] <JEEB> and where I wrote GPLv3 I meant GPLv2
[20:20] <JEEB> --enable-version3 enables the GPLv3-only stuff
[20:20] <JEEB> (not much)
[20:21] <vostok4[nv]> alright, i'll give this a shot then, probably gonna need to compile a bunch more libs :)
[20:22] <pasteeater> JEEB: i went ice fishing recently and saw a "Derp Lake".
[20:25] <JEEB> pasteeater, lol
[21:03] <mgeary> hey folks
[21:03] <mgeary> wh
[21:04] <mgeary> why would "-vf crop=iw:ih-10" turn a 640x480 video into a 627x480 video? Why would it be cropping 13 pixels off instead of 10?
[21:07] <relaxed> mgeary: pastebin the command and output
[21:08] <mgeary> relaxed: http://dpaste.com/685480/
[21:09] <relaxed> the output is 640x470
[21:09] <mgeary> sorry, i did mistype above. I'm getting 627x470
[21:10] <mgeary> that's what i get when i open it in QuickTIme Pro
[21:10] <mgeary> so yeah, my bad on the height issue. But why would it be changing the width?
[21:12] <relaxed> to account for the PAR being 47:48
[21:13] <mgeary> is there something i can/should do to keep it at 640?
[21:15] <relaxed> try -vf crop=iw:ih-10,setdar=out_w:out_h
[21:16] <mgeary> [setdar @ 0x100f02790] Invalid string 'out_w:out_h' for aspect ratio.
[21:16] <mgeary> Error initializing filter 'setdar' with args 'out_w:out_h'
[21:17] <relaxed> -vf crop=iw:ih-10,setdar=640:470
[21:18] <mgeary> nope, still 627:470
[21:18] <relaxed> pastebin
[21:19] <mgeary> http://dpaste.com/685489/
[21:20] <relaxed> oh, remove setdar and use setsar=1:1
[21:21] <mgeary> still does it: http://dpaste.com/685491/
[21:21] <mgeary> :S
[21:23] <relaxed> upload a small sample
[21:27] <mgeary> http//dev.gearyweb.com/download/snip.mp4
[21:27] <relaxed> I meant the source
[21:27] <mgeary> well, i'm not sure how to clip out a small bit of the source
[21:28] <mgeary> and i probably can't post the whole thing
[21:28] <relaxed> hmm, mplayer plays it at 640x480
[21:28] <mgeary> that piece?
[21:28] <mgeary> that's the source
[21:29] <relaxed> oh
[21:32] <relaxed> mgeary: using setdar or setsar works here. "Stream #0.0(eng): Video: libx264, yuv420p, 640x470 [PAR 1:1 DAR 64:47], q=-1--1, 30k tbn, 29.97 tbc"
[21:32] <mgeary> hrm
[21:32] <relaxed> in fact omitting both still gives me a sar of 1:1
[21:33] <relaxed> I think you need to compile latest git and try that
[22:54] <shevy> hmm
[22:54] <shevy> when you have and use something like ...
[22:54] <shevy> ffmpeg -i movie.avi -ss 00:51:42 -t 00:03:30 clip.avi
[22:54] <shevy> is it possible to specify the end position too, like -ss, rather than the duration like with -t ?
[22:54] <shevy> something like ...
[22:55] <shevy> ffmpeg -i movie.avi -ss 00:51:42 -end 01:53:30 clip.avi
[23:05] <_Ray_> Hey. I'm reading that at 16 bit resolution, the dynamic range of an audio signal is this because 96 =~ 20 * log_10(2^16)? If so, I did the calculation correctly, but I don't know why I multiplied by 20 other than "to make the numbers match" :s
[23:12] Action: newl punches 9 then 6 then .... into xcalc
[23:12] <JEntrep> Hey how do ffservers time shift streams??
[23:13] <JEntrep> where can i find a source code for that?
[23:24] <hallowicked> hello guys can somebody tell me if theres away to brighten up my vides while encoding with ffmpeg
[23:27] <newl> brighten up videos?? angelina joile?
[23:27] <shevy> apply some makeup
[23:27] <hallowicked> meh its actually a legit question is it possible or not
[23:27] <shevy> hallowicked, I dont know... years ago I used avisynth + virtualdub for those modifications
[23:28] <shevy> I am using ffmpeg mostly for just plain conversion and cutting/remixing audio these days
[23:28] <hallowicked> do u prefer avisynth over ffmpeg for video
[23:28] <shevy> but I miss the avisynth filters :( switched to linux ~6 years ago
[23:28] <shevy> the idea behind avisynth is great
[23:29] <shevy> I dunno... ffmpeg kinda works, it is simple... and it does the things it wants to do
[23:29] <hallowicked> pm please shevy
[23:29] <shevy> with avisynth though I felt as if I was in total control over everything, and that feeling rocked
[23:30] <shevy> when I ever have enough time, I'll try to code an object orientated pipe, similar to bash, in syntax as well, but with the ability to pipe video and audio streams and modify them. a bit like a mixture of avisynth, bash fish shell and a few more ideas put together
[23:33] <newl> probably easier to just increase the brightness on the monitor ... if they still come with control adjustment knobs
[23:33] <shevy> lol
[23:34] <cbreak> might be easier to just calibrate the screen properly
[23:34] <shevy> there you go hallowicked ;) I suppose what they say is that it is not possible with ffmpeg
[23:35] <cbreak> I don't know.
[23:35] <cbreak> mplayer can do it
[23:35] <shevy> really? hmm
[23:36] <shevy> that's why I liked avisynth... one language to rule them all (do all manipulations)
[23:36] <cbreak> in my opinion, color changes can only make things worse
[23:39] <cbreak> so if you need it, do it on playback
[23:39] <relaxed> shevy: you can run avisynth with wine on linux
[23:39] <cbreak> (that is if you have a proper source of course, if you're cutting/mastering video, you'd use a real program anyway :)
[23:40] <shevy> relaxed hmm ok, will try that in the coming days
[23:40] <relaxed> shevy: http://akuvian.org/src/avisynth/avs2yuv/
[00:00] --- Wed Jan 11 2012
1
0
[00:00] <durandal_1707> OanaStratulat_: you for got to set old version to new version
[00:01] <OanaStratulat_> s->version = version ?
[00:02] <durandal_1707> also you need to check for s->frame.data[0] before calling release_buffer()
[00:02] <OanaStratulat_> ok step by step
[00:02] <OanaStratulat_> 1st i put s->version = version ; ?
[00:02] <durandal_1707> that is very trivial step
[00:03] <durandal_1707> also if version is -1 you just set version to new one and do not call release_buffer
[00:04] <durandal_1707> to keep code compatible with previous incarnation
[00:04] <durandal_1707> may not be needed
[00:04] <durandal_1707> and make sure valid fraps files still plays
[00:06] <OanaStratulat_> valid fraps file work
[00:08] <OanaStratulat_> durandal_1707: http://pastebin.com/5DWNha0E like this is good?
[00:12] <durandal_1707> OanaStratulat_: you would still get bogus message for only one version files
[00:13] <OanaStratulat_> what is wrong in my code?
[00:14] <durandal_1707> do you get message when playing valid fraps file?
[00:14] <OanaStratulat_> no
[00:14] <durandal_1707> tray "-v info"
[00:15] <OanaStratulat_> http://pastebin.com/Zn0kuddA
[00:15] <OanaStratulat_> with valid fraps file
[00:15] <durandal_1707> Message should not be there
[00:16] <OanaStratulat_> ok
[00:16] <OanaStratulat_> how can i change that?
[00:17] <durandal_1707> i already said
[00:17] <durandal_1707> add version to FrapsContext
[00:17] <durandal_1707> initialiize s->version to -1 in decode_init
[00:18] <durandal_1707> compare version with s-version in decode_frame
[00:18] <OanaStratulat_> http://pastebin.com/hNGazZwr
[00:18] <OanaStratulat_> liek this
[00:18] <OanaStratulat_> it does not output the message and stops the crash for invalid file
[00:19] <durandal_1707> yes but it can still be improved to be smaller
[00:20] <OanaStratulat_> must it ?:(
[00:24] <durandal_1707> http://pastebin.com/FVXWPZUM
[00:24] <OanaStratulat_> thx
[00:25] <OanaStratulat_> how can i reset my git to origin
[00:25] <OanaStratulat_> to be like after clone ?
[00:25] <durandal_1707> why are you not using multiple branches?
[00:25] <OanaStratulat_> it`s a bit complicated
[00:25] <OanaStratulat_> i just started using git
[00:26] <durandal_1707> just now?
[00:26] <OanaStratulat_> not just now, 2 weeks i have of git
[00:26] <OanaStratulat_> i think
[00:26] <cbsrobot> OanaStratulat_: and add aspace after !=
[00:27] <durandal_1707> OanaStratulat_: you can use rebase
[00:28] <durandal_1707> you can look for commits like this:
[00:28] <durandal_1707> git log --pretty=oneline --graph
[00:29] <durandal_1707> than pick commit before your one
[00:29] <OanaStratulat_> durandal_1707: cbsrobot http://pastebin.com/BRjxi9Ye my diff is good ./
[00:29] <durandal_1707> and do: git rebase -i #commit
[00:36] <cbsrobot> LGTM
[00:37] <OanaStratulat_> michaelni: http://www.google-melange.com/gci/task/view/google/gci2011/7195360 awaiting review, marked as completed
[01:11] <ubitux> michaelni: i'm not sure but i think c8e309c2a6d32f8394770d0418b5fcef531b7efb may have introduced a leak according to the valgrind fate box
[01:11] <ubitux> (we have a lot more failing tests)
[01:13] <michaelni> ubitux,i forgot a line of code
[01:15] <michaelni> will be fixed in a moment
[01:19] <ubitux> thx; also, wasn't the other leak (lavfi related) supposed to be fixed? i thought i see a thread and a fix about that?
[01:26] <michaelni> where ?
[01:26] <michaelni> what subj ?
[01:28] Action: michaelni kicks CIA-101
[01:28] <CIA-101> ow
[01:28] Action: ohsix fellates CIA-101
[01:28] <ohsix> they didn't think of that one
[01:29] <ubitux> i may have confused with http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2011-December/117750.html
[01:29] <ubitux> so just my imagination
[01:32] <OanaStratulat> michaelni: ff_interleave_add_packet what this function do ?
[01:41] <OanaStratulat> ubitux: ping
[01:45] <ubitux> OanaStratulat: there is a description above the prototype
[01:45] <ubitux> in lavf/internal.h
[01:47] <OanaStratulat> ubitux: want to work on https://ffmpeg.org/trac/ffmpeg/ticket/890
[01:50] <durandal_1707> you have more such files?
[01:51] <OanaStratulat> durandal_1707: fuzzed files?
[01:51] <durandal_1707> which cause oom and segfaults
[01:51] <OanaStratulat> this is the last one that i have
[01:52] <OanaStratulat> oom? what does it mean?
[01:52] <OanaStratulat> ubitux: from the BT i see it hangs in av_interleave_packet_per_dts
[01:52] <durandal_1707> out of memory
[01:53] <durandal_1707> OanaStratulat: so you are volunteering now?
[01:54] <OanaStratulat> durandal_1707: working on a task for gci
[01:54] <ubitux> OanaStratulat: i'm a bit too tired to start working on sth right now, i've to wake up in 5h to go to work :p
[01:54] <ubitux> good luck, 'night
[01:54] <OanaStratulat> ubitux: okok, 2morrow have time?
[01:54] <ubitux> dunno
[01:54] <durandal_1707> but no more open slot for fixing bugs
[01:55] <OanaStratulat> durandal_1707: why no open slots?
[01:55] <OanaStratulat> durandal_1707: 1st of all what do you mean by this ? i think i took the last bug closing task
[01:55] <durandal_1707> dunno if new can be opened
[01:56] <OanaStratulat> but i have claimed the last one
[01:56] <OanaStratulat> i can work on it, and take points for gci
[02:18] <ibkanat> I am trying to key out snow I was wondering if I could use lutyuv to filter it out is this possbile
[02:53] <compn> what do you mean key out?
[02:53] <compn> only output keyframes?
[02:54] <compn> ibkanat:
[02:54] <ibkanat> no get rig of the white snow.... would lutyuv or boxblur work
[02:54] <ibkanat> turn it to aslpha
[02:54] <ibkanat> only leave the skiier
[02:55] <ibkanat> ffmpeg -threads 4 -i HDV_0037.MP4 -r 2 -f image2 ./proxy/image_%4d.png
[02:56] <ibkanat> here is my current command I am taking the video and keying out the snow leaving the skiier to pngs
[02:56] <ibkanat> compn: any ideas
[02:57] <compn> ohhh
[02:58] <compn> no idea , sorry, maybe someone else will have an idea
[02:58] <compn> you want to dynamically crop a moving person
[02:59] <ibkanat> I am trying to just key out the snow... the rest of the magic will happen in Blender
[03:02] <ibkanat> so can frei0r filter be used from the command line?
[03:46] <CIA-46> ffmpeg: 03Michael Niedermayer 07master * r444632eae6 10ffmpeg/libavcodec/x86/cabac.h:
[03:46] <CIA-46> ffmpeg: cabac: Disable get_cabac_inline_x86() for clang 2.9 on x86_32
[03:46] <CIA-46> ffmpeg: This should finally fix the compilation issue on darwin
[03:46] <CIA-46> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[03:46] <CIA-46> ffmpeg: 03Michael Niedermayer 07master * r2138a89e71 10ffmpeg/libavcodec/x86/ (cabac.h h264_i386.h):
[03:46] <CIA-46> ffmpeg: Revert "Revert commit 599b4c6efddaed33b1667c386b34b07729ba732b"
[03:46] <CIA-46> ffmpeg: This reverts commit c4f237a98175438e76da64c51cc6fe613f8d767e.
[03:46] <CIA-46> ffmpeg: This didnt fix compilation on darwin with current clang.
[04:41] <CIA-46> ffmpeg: 03Michael Niedermayer 07master * r3e9668501d 10ffmpeg/tests/fate/microsoft.mak:
[04:41] <CIA-46> ffmpeg: fate: add bitexact and idct to x8intra
[04:41] <CIA-46> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[04:41] <CIA-46> ffmpeg: 03Marton Balint 07master * r741aca7936 10ffmpeg/ (ffmpeg.c libswresample/resample.c libswresample/swresample.h):
[04:41] <CIA-46> ffmpeg: libswresample: introduce int swr_set_compensation() instead of void swr_compensate()
[04:41] <CIA-46> ffmpeg: The new version returns AVERROR(EINVAL) is the specified paramters are invalid,
[04:41] <CIA-46> ffmpeg: and also creates the resampler if none was used so far.
[04:41] <CIA-46> ffmpeg: Signed-off-by: Marton Balint <cus(a)passwd.hu>
[04:41] <CIA-46> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[10:44] <ubitux> bcoudurier: i will certainly introduce flags in the ff_timecode struct (for negative or +24h support, and move the drop flag in it) for the new API, but for now are you ok with the builtin 24h support?
[10:57] <cbsrobot> ubitux: any reason timecode struct in timecode.h and not in avcodec.h ?
[10:57] <cbsrobot> similar to subtitle context ?
[10:58] <ubitux> it's not public
[10:58] <cbsrobot> ah ok
[10:58] <ubitux> it will be move to avutil.h (or maybe somewhere else?)
[10:59] <ubitux> anyway the api need to be reworked
[11:00] <cbsrobot> while fixing the timecode stream copy I saw that some application puts information in udat atom (user data)
[11:01] <cbsrobot> is there a simple way to copy that too ?
[11:01] <cbsrobot> I was thinking using metadata - but I think it's too hacky
[11:04] <CIA-46> ffmpeg: 03Reimar Döffinger 07master * refd6b80b40 10ffmpeg/libavformat/rawdec.c:
[11:04] <CIA-46> ffmpeg: rawdec: use av_shrink_packet.
[11:04] <CIA-46> ffmpeg: This fixes reads of uninitialized data by the parser when running
[11:04] <CIA-46> ffmpeg: FATE sample h264-conformance/SL1_SVA_B.264.
[11:04] <CIA-46> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[11:04] <CIA-46> ffmpeg: 03Reimar Döffinger 07master * r4231bbbf4c 10ffmpeg/libavcodec/sgidec.c:
[11:04] <CIA-46> ffmpeg: sgidec: make compiler optimize away memcpy call in inner loop.
[11:04] <CIA-46> ffmpeg: Using an always_inline function makes the memcpy length a constant,
[11:04] <CIA-46> ffmpeg: any reasonable compiler will replace it by a single mov instruction
[11:04] <CIA-46> ffmpeg: without us having to duplicate the actual code.
[11:04] <CIA-46> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[13:47] <CIA-46> ffmpeg: 03Stefano Sabatini 07master * r48f37b1d21 10ffmpeg/ffprobe.c:
[13:47] <CIA-46> ffmpeg: ffprobe: implement generic reindent logic in the JSON writer
[13:47] <CIA-46> ffmpeg: Clarify/generalize indent logic.
[13:47] <CIA-46> ffmpeg: 03Stefano Sabatini 07master * r3b1355bb93 10ffmpeg/ffprobe.c:
[13:47] <CIA-46> ffmpeg: ffprobe: change formatting logic in the JSON writer
[13:47] <CIA-46> ffmpeg: Print a "\n" at the end of each section, also print the section name in
[13:47] <CIA-46> ffmpeg: the section print function, print the chapter name only in case the
[13:47] <CIA-46> ffmpeg: chapter contains multiple entries.
[13:47] <CIA-46> ffmpeg: Increase textual output readability - different sections can be
[13:47] <CIA-46> ffmpeg: distinguished more easily.
[13:56] <ubitux> saste: where would you see the dB parsing helper?
[13:57] <ubitux> saste: btw, another question: don't you think xml & json could have a indent opt (with default 4, and eventually a -1 for a compact stripped output with no \n)
[13:57] <ubitux> +?
[13:58] <saste> ubitux: dB... maybe a new file => libavfilter/audioutils.c
[13:58] <saste> ubitux: or maybe an helper in libavutil, but seems overkill
[13:58] <ubitux> what about another AV_OPT_TYPE option?
[13:59] <saste> and yes xml and json may define the indent parameter, wait because i'm writing a patch on json which add options support
[13:59] <ubitux> (that's what you mean by lavu maybe?)
[13:59] <ubitux> ok ok :)
[16:06] <CIA-46> ffmpeg: 03Michael Niedermayer 07master * rf247f4cf47 10ffmpeg/libavcodec/x86/cabac.h:
[16:06] <CIA-46> ffmpeg: cabac: 3rd try at working around a compiler bug in clang.
[16:06] <CIA-46> ffmpeg: Switch to a broader detection of versions.
[16:06] <CIA-46> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[18:26] <ubitux> don't we have a way to put url in amovie=...?
[18:27] <ubitux> sth like -f lavfi -i "movie=http\\://example.org,..."
[18:48] <saste> ubitux: yes but beware of the double escaping
[18:54] <ubitux> mmh indeed, thx
[20:57] <OanaStratulat> ubitux: ping
[21:01] <OanaStratulat> michaelni: ping
[21:12] <durandal_1707> hey
[21:13] <OanaStratulat> durandal_1707: hello
[21:13] <OanaStratulat> durandal_1707: have some spare time to mentor me a bit on a bug?
[21:17] <durandal_1707> what bug?
[21:17] <OanaStratulat> https://ffmpeg.org/trac/ffmpeg/ticket/890
[21:17] <OanaStratulat> it`s a hang
[21:19] <OanaStratulat> durandal_1707: the hang is in utils.c in function av_interleave_packet_per_dts() line 3422
[21:21] <durandal_1707> hmm that number point out of that function
[21:22] <OanaStratulat> i`ve put an av_log() in that if(pkt){} and it`s keep repeating and killing memory
[21:22] <durandal_1707> ff_interleave_add_packet()?
[21:23] <OanaStratulat> http://pastebin.com/CJAUkHv2
[21:23] <OanaStratulat> yes
[21:23] <OanaStratulat> like this
[21:30] <durandal_1707> it looks to be bug in avi demuxer
[21:31] <durandal_1707> could you get full bt?
[21:32] <OanaStratulat> durandal_1707: http://pastebin.com/fZ1w06BM
[21:33] <durandal_1707> valgrind output mentions use of uninitialized value can you found location of such value?
[21:35] <OanaStratulat> it says here out[i * 3 + 2] = c->pal[(*src) * 3 + 2];
[21:36] <OanaStratulat> uint8_t what format does it have
[21:37] <durandal_1707> is out uninitailized or c->pal ?
[21:38] <OanaStratulat> i want to av_log them to see
[21:38] <durandal_1707> uint8_t is unsigned byte
[21:38] <durandal_1707> no need for av_log
[21:38] <durandal_1707> valgrind should report what is used uninitialized
[21:40] <OanaStratulat> durandal_1707: http://pastebin.com/SYa2UyGU this is the valgrind report
[21:40] <OanaStratulat> but i cannot see which var is unitialized
[21:40] <durandal_1707> find where address in valgrind output points to
[21:41] <OanaStratulat> how can i check that/
[21:41] <durandal_1707> additionaly you could use gdb and add break points
[21:42] <durandal_1707> have you compiled with disabled optimizations?
[21:42] <OanaStratulat> no, it`s full i think
[21:42] <OanaStratulat> make it without optimizations
[21:42] <OanaStratulat> ?
[21:45] <durandal_1707> to properly debug something with valgrind/gdb it is better to disable optimizations
[21:47] <durandal_1707> from same valgrind output "Use --track-origins=yes to see where uninitialised values come from"
[21:48] <durandal_1707> uninitalized value may be false positive so it is better to use valgrind with unoptimized code
[21:49] <OanaStratulat> durandal_1707: http://pastebin.com/ALVS7uJm this is my valgrind now
[21:49] <OanaStratulat> with --track-origins=yes
[21:59] <durandal_1707> so what you see?
[22:00] <OanaStratulat> 1st what is a heap allocation ?
[22:01] <durandal_1707> http://ee.hawaii.edu/~tep/EE160/Book/chap14/subsection2.1.1.8.html
[22:02] <durandal_1707> so c->src is on heap
[22:03] <durandal_1707> c->cur actually
[22:03] <durandal_1707> src is on stack
[22:03] <durandal_1707> src = c->src;
[22:03] <OanaStratulat> yes
[22:03] <durandal_1707> src = c->cur;
[22:04] <OanaStratulat> so src is not initialized as you say
[22:04] <durandal_1707> no src is initialized with c->cur which is not initialized
[22:04] <durandal_1707> perhaps first frame in stream is not keyframe
[22:05] <OanaStratulat> keyframe meaning?
[22:06] <durandal_1707> http://en.wikipedia.org/wiki/I-frame
[22:07] <OanaStratulat> somethink like a pre-frame to know how to decode the rest?
[22:08] <durandal_1707> c->cur is initialized only for I-frame (keyframes)
[22:08] <durandal_1707> there is no point to use it if it is uninitialized
[22:09] <OanaStratulat> so i should check if the current frame is a keyframe no?
[22:10] <durandal_1707> you chould fix use of uninitialized value
[22:10] <durandal_1707> c->cur should not be used if it is not initialized
[22:10] <OanaStratulat> and src with what must be init
[22:11] <durandal_1707> c->cur is initialized on line 489
[22:13] <OanaStratulat> i should check av_realloc_f() no ?
[22:13] <OanaStratulat> michaelni: ping
[22:14] <durandal_1707> OanaStratulat: av_realloc.. it is already cheched
[22:15] <durandal_1707> initialze prev and cur pointers of ZmbvContext to NULL
[22:17] <OanaStratulat> durandal_1707: http://pastebin.com/teGaHQ7B
[22:17] <OanaStratulat> durandal_1707: for http://pastebin.com/uut7E0pE
[22:20] <durandal_1707> wrong location
[22:20] <OanaStratulat> where to put it ?
[22:20] <durandal_1707> it also leaks memory
[22:23] <durandal_1707> OanaStratulat: try in decode_init()
[22:25] <OanaStratulat> and check for what before setting them to NULL ?
[22:25] <OanaStratulat> if i check for zmbv_keyframe it is defined to 1
[22:27] <durandal_1707> initialize them to NULL in decode_init
[22:27] <durandal_1707> and check if they are not NULL in decode_frame, where src is
[22:32] <OanaStratulat> check for both? like if( c->cur == null && c->prev == null) av_log() and relase buffer?
[22:34] <durandal_1707> dunno for release_buffer. but you should returm immediately with AV_ERROR(EIO) maybe
[22:35] <CIA-46> ffmpeg: 03Paul B Mahol 07master * re20a4881ff 10ffmpeg/libavcodec/pngdec.c: pngdec: show verbose message for unsupported files
[22:36] <CIA-46> ffmpeg: 03Clément BSsch 07master * r625751c47a 10ffmpeg/libavutil/log.c: log: use a different color for debug (green).
[22:38] <OanaStratulat> durandal_1707: it does not work, http://pastebin.com/9KMmkK4v doing like this
[22:39] <durandal_1707> OanaStratulat: have you initialized c->cur to NULL in decode_init ?
[22:39] <CIA-46> ffmpeg: 03Carl Eugen Hoyos 07master * rceb0dd9f1e 10ffmpeg/libavcodec/sunrast.c:
[22:39] <CIA-46> ffmpeg: Support decoding 1bpp and 4bpp palettized sunrast images.
[22:39] <CIA-46> ffmpeg: Fixes ticket #864 and ticket #897.
[22:39] <OanaStratulat> yes
[22:40] <durandal_1707> paste full diff
[22:41] <OanaStratulat> http://pastebin.com/mzZKaHHU
[22:44] <durandal_1707> paste output of ffmpeg -v debug .... which caus oom
[22:45] <OanaStratulat> http://pastebin.com/Ly5PmKxf
[22:53] <durandal_1707> looks like bug is not in zmbv and valgrind report is wrong
[22:54] <OanaStratulat> mhmh
[22:54] <OanaStratulat> i think the bug is in utils.c
[22:54] <OanaStratulat> in av_interleave_packet_per_dts()
[22:54] <OanaStratulat> the pkt var never goes negative, it is stuck there
[23:05] <OanaStratulat> durandal_1707: any thought on that?
[23:07] <OanaStratulat> ubitux: ping
[23:54] <OanaStra_> durandal_1707: ping
[23:56] <durandal_1707> OanaStra_: pong
[23:56] <OanaStra_> have you look into that bug ?
[23:56] <OanaStra_> in the function i have pointed out/
[23:56] <durandal_1707> no, i got scared and run away
[23:57] <OanaStra_> :(
[00:00] --- Tue Jan 10 2012
1
0
[00:36] <darkstarbyte> What is the best way to compress video with vp8? (the source is animation)
[01:06] <desti> how can i display the available presets for libx264?
[01:19] <darkstarbyte> desti, x264 --fullhelp
[01:21] <desti> hmmm....doesn't work 0.o
[01:29] <desti> ah, had to merge x264-encoder too
[01:57] <ibkanat> is there a way to luma key video and export alpha .pngs?
[01:58] <ibkanat> with ffmpeg
[01:59] <ibkanat> I wanting to key out snow and leave the skiier
[02:07] <Synthead> Hey, what options would you guys recommend to encode video for an iphone on 4.2.1 (3G) ?
[02:13] <ibkanat> is lutyuv what I am looking for?
[02:20] <ibkanat> anyone with any ideas on how to do this?
[02:21] <filam> ffmpeg -i audio.wma audio.wav brings up a warning about "wmalossless" and exits. Am I missing an option? I would like WAV not WMA lossless.
[03:02] <ibkanat> so can frei0r filter be used from the command line?
[04:19] <ibkanat> is there somewhere else I can get answer t ousing ffmpeg -vf lutyuv
[04:20] <acerimmer> ibkanat: https://lists.ffmpeg.org/mailman/listinfo/ffmpeg-user/
[04:21] <ibkanat> thanks I am really just trying to do one color to alpha
[04:21] <ibkanat> whiteish
[04:22] <acerimmer> ibkanat: I'm new to ffmpeg myself. I signed up for the user list and it's VERY active. Suggest you submit your query to them.
[04:22] <ibkanat> k
[04:36] <sam1> hi guys. What does it mean "New video filter 'sub' to burn ASS and SRT subtitles." in FFmbc-0.7-rc4 ?
[05:18] <llrcombs> so, it turns out those THP files weren't fixed by building latest git
[05:19] <llrcombs> I mediafire'd a few, I'll link in a sec
[05:20] <Randy_T> Is it possible to specify the baseline profile for x264 in ffmpeg. I tried -vpre baseline -profile baseline and -x264opts profile=baseline. Not a big deal since i can just specify the 4 options that baseline uses but if it exists, i'd like to use it.
[05:34] <llrcombs> http://www.mediafire.com/?w4d6rz648sg8y <-- Fire Emblem cutscene files. FE10 files transcode perfectly with ffmpeg; FE9 files get artifacts. I need some help!
[05:36] <llrcombs> relaxed: you here?
[05:39] <llrcombs> actually, one FE10 cutscene file doesn't transcode properly, but I think the filename "DUMMY" explains that...
[05:41] <relaxed> llrcombs: I'm here
[05:41] <llrcombs> relaxed: I posted those THPs
[05:41] <llrcombs> the latest git doesn't help
[05:41] Action: llrcombs is uploading a few more now
[05:42] <relaxed> I'm downloading s01.mov
[05:43] <llrcombs> that one's fine right up until the last few seconds
[05:43] <llrcombs> it started erroring in the last several frames, and it gets rainbows
[05:43] <llrcombs> the audio is fine on all of them
[05:43] <llrcombs> the s0x's are deinterlaced
[05:43] <llrcombs> (as are all the ones from FE9)
[05:44] <llrcombs> download the THP too; it's the original
[05:45] <llrcombs> and if Mist's voice actress bugs you, it's not just you. That's everyone.
[05:46] <llrcombs> the really bad one is s05
[05:52] <relaxed> is there an issue with s01.thp?
[05:52] <llrcombs> relaxed: last few seconds rainbowify
[05:52] <llrcombs> haven't tested that one with latest git, though
[05:53] <llrcombs> once I checked s05 with latest, I figured nothing had changed
[05:54] Action: llrcombs tries with latest git
[05:54] <relaxed> I see it
[05:55] <llrcombs> same with s03
[05:55] <llrcombs> it's not a bad gamerip; they all play fine in-game in Dolphin
[05:55] <relaxed> Are ytou sure the files aren't damaged?
[05:56] <relaxed> you*
[05:56] <llrcombs> ^
[05:56] <relaxed> oh
[05:56] <relaxed> Then, yeah, go ahead and file a bug report
[05:56] <llrcombs> I thought Dolphin might've screwed up the extraction, but I re-extracted them multiple times with different dolphin versions
[05:56] <llrcombs> and the other files extracted fine
[05:57] <llrcombs> do you know much about THPs?
[05:57] <relaxed> I do not
[05:57] <llrcombs> it's a format used only in Wii/GCN games
[05:57] <llrcombs> motion JPEG + some specific THP PCM audio
[05:58] <llrcombs> and a weird encapsulation
[05:58] <llrcombs> it's basically the wii/GCN equivalent of Bink
[05:59] <llrcombs> afaik, there's no official spec on it, so files extracted from wii/GCN titles are the definitively "valid" files that ffmpeg should be decoding properly
[05:59] <llrcombs> where do I file a bug report?
[06:01] <relaxed> llrcombs: http://ffmpeg.org/bugreports.html
[06:02] <llrcombs> thanks, reporting
[06:02] <relaxed> make sure you add links to the samples
[06:03] <llrcombs> should I just link to the main folder and list file paths within?
[06:05] <relaxed> sure
[06:06] <llrcombs> does mediafire count as ridiculous, bloated and span-filled crap?
[06:06] <llrcombs> I usually don't class it with megaupload/rapidshare
[06:06] <relaxed> right, I think it will be fine
[06:07] <darkstarbyte> Anyone know of a really good bench marking tool that can read the level of functions?
[06:07] <relaxed> llrcombs: or you could use dropbox http://db.tt/cDWPLzP
[06:20] <llrcombs> relaxed: does this go under FFmpeg, avcodec, or avformat?
[06:21] <darkstarbyte> ffmpeg will not take avi to mkv directly it complains there is no time stamp
[06:21] <darkstarbyte> , but
[06:21] <darkstarbyte> it will take avi to mp4 then mkv
[06:22] <llrcombs> darkstarbyte: tested with latest git?
[06:22] <darkstarbyte> Latest stable
[06:22] <llrcombs> try master
[06:22] <darkstarbyte> ok
[06:22] <darkstarbyte> It might take a while to compile
[06:23] <llrcombs> what platform?
[06:24] <darkstarbyte> pentium 4 ht 64 bit arch linux (not optimized for it though)
[06:26] <darkstarbyte> It seems that git ffmpeg requires it deps to be git
[06:27] <llrcombs> yeah, that happens sometimes with deps
[06:27] <llrcombs> grab the new deps too
[06:27] <darkstarbyte> I might as well
[06:27] <darkstarbyte> My arch system is broken and won't let me update
[06:28] <darkstarbyte> Are there any distos that have a decent tool chain and some what easy to make packages for?
[06:28] Action: llrcombs is on OSX, no idea
[06:29] <darkstarbyte> hackintosh?
[06:29] <llrcombs> yep
[06:30] <darkstarbyte> x264 does not take to long to compile
[06:30] <llrcombs> didn't take long here
[06:31] Action: llrcombs compiled latest git and some deps earlier today
[06:31] <darkstarbyte> done
[06:33] <darkstarbyte> ffmpeg takes my computer about 15 minutes to compile last I checked
[06:33] <llrcombs> sounds right
[06:33] <darkstarbyte> Last I checked I was running gentoo
[06:33] <darkstarbyte> Last time*
[06:34] <darkstarbyte> How much do you know about vp8?
[06:34] <llrcombs> a little
[06:35] <darkstarbyte> Do you know of any good settings for animation?
[06:35] <llrcombs> nope, sorry
[06:37] <darkstarbyte> I should get some sleep tonight.
[06:48] <llrcombs> http://www.mediafire.com/?a4j6s38nq6mz2 <-- can anyone identify these files?
[06:49] <llrcombs> the ones without extensions were .cms files; I extracted them with an LZ77 extractor python script. I have no idea what format they're in
[06:49] <llrcombs> I just know they're captions
[06:59] <darkstarbyte> I am going to be up for a little longer, but
[06:59] <darkstarbyte> I was wondering what I should use to copy the audio and video of another format
[07:00] <darkstarbyte> because -acodec copy and -vcodec copy no longer work with the git source
[07:04] <llrcombs> oh, I've been wondering that too
[07:04] Action: llrcombs gets unrecognized codec "copy"
[07:04] <llrcombs> or something alike
[07:09] <darkstarbyte> good night before I can't get any sleep.
[07:15] <llrcombs> relaxed: https://ffmpeg.org/trac/ffmpeg/ticket/903 <-- posted a bug report
[07:22] <relaxed> llrcombs: good. btw, -sameq doesn't work with libx264
[07:25] <llrcombs> relaxed: oh, thanks for the tip
[07:25] <llrcombs> does it work with libmp3lame?
[07:26] <llrcombs> and how can I set it to use the highest possible quality given the input?
[07:27] <relaxed> you can use a lossless codec or libx264 with -crf 16 should look lossless
[07:30] <llrcombs> what's crf?
[07:30] <llrcombs> (just out of curiosity)
[07:31] <llrcombs> also, does anyone know of any subtitle/caption format that would be binary data, rather than normal text?
[07:31] <relaxed> llrcombs: and to deinterlace use yadif, so ffmpeg -i input -vf yadif -vcodec libx264 -preset veryslow -threads 0 -crf 16 -acodec flac output.mkv
[07:31] <llrcombs> what, is -vf yadif better than -deinterlace?
[07:31] <relaxed> yes
[07:32] <relaxed> crf = constant rate factor (vbr)
[07:32] <llrcombs> gotcha
[08:03] <shevy> when I cut an avi file, like so
[08:03] <shevy> ffmpeg -i input.avi -ss 50 -t 100 output.avi
[08:03] <shevy> does this have to be re-encoded?
[08:04] <sacarasc> If you tell it to copy, it might work.
[09:39] <Peasley> Can I take frame from AVCODEC_DECODE_VIDEO directly and display it?
[09:53] <Peasley> kind of confused what am getting from avcodec_decode_video
[09:54] <Peasley> data has 3 arrays, 16bytes, 128 bytes, 128 bytes
[11:42] <gst-kaps> is it possible to stream as well as record at same time using ffmpeg ?
[12:39] <Mavrik> huh
[12:39] <Mavrik> libvo-aacenc and libfaac have same function names -_-
[13:39] <artcontr> Hi everyone. I have a question about ffmpeg. Can someone explain in more details what mjpeg codec is used by the -vcodec mjpeg command ? What codec should I use to decode it ?
[14:01] <Mavrik> artcontr, mjpeg is Motion JPEG format
[14:01] <Mavrik> http://en.wikipedia.org/wiki/Motion_JPEG
[16:50] <apus> hi, i have an input file with stream Stream #0:3(eng): Subtitle: text (default) and i just want to take it with me (no options for subtitles), the mapping then says Stream #0:3 -> #0:2 (? -> ass) and i get the error Decoder (codec text) not found for input stream #0:3
[17:14] <saste> apus: -> http://ffmpeg.org/trac/ffmpeg
[17:14] <saste> you need to login in order to create a ticket
[17:15] <apus> saste: i found two pastebin entries having the same error in google, therefore i assumed it was perhaps already known (approx. 1 month ago)
[17:50] <Bombo> i got a DVB mpg file with 720x576 16:9 (SAR 64:45) i want to cut the borders off, top 61, bottom 62, left 4 and right 6, does this filter settings make any sense? -vf crop=in_w-(4+6):in_h-(62+61):4:61,scale=in_w:in_h/sar,scale=640:-1
[17:51] <Bombo> (and scale it to 640x$WHATEVERTHEHEIGHTISTOKEEPTHEPROPORTIONS)
[17:52] <Bombo> and the result looks ok to me, but i'm not sure about the two scales, can it be done in one scale only?
[17:58] <shevy> hmm ffmpeg -i is synonymous to ffmpeg -input ? can I use the long versions?
[18:04] <Bombo> shevy: does it work?
[18:05] <Bombo> never tried it
[18:07] <shevy> Bombo not sure either hehe
[18:07] <shevy> just my brain that likes to look at long names
[18:09] <Bombo> well lets wait for someone who tries it out for us then ;)
[18:50] <relaxed> Bombo: scale=640:out_w*(sar/dar)
[19:25] <Bombo> relaxed: nope, image is too high, long faces
[19:26] <Bombo> relaxed: i get 640x407 then
[19:26] <Bombo> with scale=in_w:in_h/sar,scale=640:-1 i get 640x286
[20:48] <khali> since I updated to the latest version of ffmpeg, -alang is no longer supported
[20:48] <khali> and I can't find the replacement
[20:48] <khali> does anyone know?
[20:56] <khali> found it... -metadata:s:1 language=eng
[20:57] <khali> now I need to find the replacement for -newaudio...
[20:58] <vcs> khali: one second, let me dig through my notes
[20:58] <vcs> i have it
[20:59] <vcs> what you need to do is use -map
[20:59] <vcs> example: ffmpeg -i input.avi -map 0:0 -acodec libmp3lame -map 0:1 -acodec aac out.avi
[21:03] <khali> it used to be 0:1...
[21:03] <khali> 0.1; sorry
[21:03] <khali> and now it's 0:1
[21:03] <khali> so man command line interface changes in one go...
[21:04] <vcs> it went from not making sense to making sense
[21:04] <vcs> can't complain about that :)
[21:05] <khali> vcs: oh, there certainly were good reasons for all these changes, I'm not questioning that
[21:05] <khali> and in one week I'll have forgotten the old names and I'll be happy
[21:06] <khali> but right at the moment, it's a pain to adjust my script with the new syntax
[21:06] <vcs> welcome to the club
[21:16] <tholm> hi, I'm trying to compile ffmpeg 0.9.1 for armv4, I'm on debian lenny version but getting this error "Assembler messages:
[21:16] <tholm> Error: bad immediate value for 8-bit offset (1032)"
[21:16] <tholm> But I made the compilation with these arguments --disable-asm and --disable-optimizations
[21:16] <tholm> Does it make sense? I mean when you compile for a arm processor it needs disable the asm instruccion?
[22:00] <vostok4[nv]> hey guys i'm trying to do a rather straightforward cross compile of ffmpeg for windows, under archlinux. i'm running into the following when running configure: http://codepad.org/TqkTzASK
[22:01] <vostok4[nv]> its complaining about undefined references to _vpx_codec_control when linking the test vpx encoder
[00:00] --- Tue Jan 10 2012
1
0
[00:30] <CIA-101> ffmpeg: 03Michael Niedermayer 07master * rbbe25b4f3e 10ffmpeg/libavcodec/mjpegdec.c:
[00:30] <CIA-101> ffmpeg: ljpegdec: support non zero MCU for RGB. 2nd try
[00:30] <CIA-101> ffmpeg: Fixes Ticket875
[00:30] <CIA-101> ffmpeg: Compared to patch 1 this fixes a bright line at the right side.
[00:30] <CIA-101> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[00:30] <CIA-101> ffmpeg: 03Michael Niedermayer 07master * r53918a1c54 10ffmpeg/libavcodec/dca.c:
[00:30] <CIA-101> ffmpeg: dca: Fix uninitialized variable warnings.
[00:30] <CIA-101> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[00:30] <CIA-101> ffmpeg: 03Michael Niedermayer 07master * ra407baba85 10ffmpeg/libavcodec/g723_1.c:
[00:30] <CIA-101> ffmpeg: g723_1: Fix "libavcodec/g723_1.c:988:8: warning: assignment from incompatible pointer type [enabled by default]"
[00:30] <CIA-101> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[00:30] <CIA-101> ffmpeg: 03Michael Niedermayer 07master * r2d6f317d71 10ffmpeg/libavcodec/jpeglsdec.c:
[00:30] <CIA-101> ffmpeg: jpegdec: support ilv=1 grayscale jpeg-ls.
[00:30] <CIA-101> ffmpeg: Fixes Ticket851
[00:40] <OanaStratulat> ubitux: ping
[00:40] <ubitux> yup
[00:40] <OanaStratulat> have time to discuss about the bug earlier reported?
[00:41] <ubitux> yeah somehow
[00:41] <ubitux> did you find something?
[00:42] <OanaStratulat> my valgrind report is http://pastebin.com/hVS9n4is
[00:42] <ubitux> oh so you fixed your valgrind? :)
[00:42] <OanaStratulat> working on ubuntu, i`m not using osx no more because of valgrind, i`m not sure it is stable
[00:43] <ubitux> hehe ok :)
[00:43] <OanaStratulat> my valgrind has a patch for memory on osx, and maybe it is faulty
[00:43] <OanaStratulat> so you say the problem is in decode_frame ?
[00:45] <ubitux> i'm not saying this, valgrind is
[00:46] <OanaStratulat> ubitux: avctx->reget_buffer(avctx, f)) this is line 255
[00:46] <OanaStratulat> what does reget_buffer do? copy struct avctx in f ?
[00:47] <OanaStratulat> michaelni: please extend time for http://www.google-melange.com/gci/task/view/google/gci2011/7195360 . working on it as we speak
[00:47] <ubitux> look at libavcodec/avcodec.h, and libavcodec/utils.c for the default reget_buffer
[00:49] <OanaStratulat> ubitux: cr buffer what is it?
[00:50] <ubitux> chroma red i guess
[00:50] <ubitux> https://en.wikipedia.org/wiki/YCbCr
[00:51] <OanaStratulat> ubitux: so basically is like a copy function no?
[00:53] <ubitux> it get a chroma red buffer "again" i guess
[00:54] <ubitux> and it seems to copy the old frame at some point
[00:54] <ubitux> not sure of the details, i don't know that code
[00:54] <OanaStratulat> but my problem is that it wants to copy unallocated space no?
[00:55] <ubitux> the invalid reads may suggest it tries to copy by reading to much of the temp_pic
[00:56] <ubitux> so i'd check how temp_pic is allocated, and also if the the width & height look valid
[00:56] <OanaStratulat> temp_pic being the f struct ?
[00:57] <ubitux> i'm looking in avcodec_default_reget_buffer right now
[00:57] <ubitux> but you will certainly need to check the passed avframe pic yes
[00:58] <OanaStratulat> where is AVframe struct declared to see its members ?
[00:58] <ubitux> you should use some ctags or something with your editor ;)
[00:59] <ubitux> it's in libavcodec/avcodec.h
[00:59] <ubitux> anyway, just add some av_log(0,0,"... everywhere to debug and understand the code
[00:59] <OanaStratulat> ctags ? what are those ?
[01:00] <ubitux> it helps browsing code
[01:00] <ubitux> if your editor has an integration with it, you can jump to struct, functions, macros definition with a keyboard shortcut
[01:02] <OanaStratulat> i`m using gedit
[01:03] <ubitux> check gedit-symbol-browser-plugin maybe
[01:03] <ubitux> or sth like that
[01:05] <OanaStratulat> my height and width are 0
[01:05] <OanaStratulat> for the error frames
[01:06] <OanaStratulat> http://pastebin.com/vN1UXuee
[01:13] <OanaStratulat> but wait, any video file must have frames with width and height !=0 no?
[01:19] <OanaStratulat> ubitux: ^
[01:20] <ubitux> mmh i guess that's not correct but i can't confirm; try looking at various other codecs, and also check if it happens with valid files
[01:21] <OanaStratulat> so you don`t think that my affirmation is good ?
[01:21] <ubitux> it's not i don't think, it's i don't know :)
[01:21] <ubitux> without context, obviously a frame needs a height & width
[01:22] <OanaStratulat> it`s a bit illogical to have a video file with frames that have width and height 0, it`s like having video with only audio. and fraps it`s a video coded for videogames
[01:22] <OanaStratulat> codec*
[01:23] <ubitux> yes i agree, but if the frame fails to decode, maybe the helpers are supposed to deal with a frame with width or height = 0
[01:23] <ubitux> but i don't know the api enough
[01:23] <OanaStratulat> my neither
[01:23] <ubitux> then stare at the code ;)
[01:23] <ubitux> and do more debug :)
[01:23] <OanaStratulat> AVFrame * const f = (AVFrame*)&s->frame;
[01:24] <OanaStratulat> here is f initialized and for the error frames it`s initialized with 0 height and width
[01:25] <OanaStratulat> s being the fraps context which has data from AVCodecContext *avctx
[01:26] <OanaStratulat> michaelni: ping
[01:27] <ubitux> isn't reget_buffer supposed to set the width/height based on the context width/height values?
[01:28] <ubitux> (reget_buffer or another function)
[01:28] <OanaStratulat> but i get 0 width and height from the start
[01:28] <OanaStratulat> right after the header of decode_frame, after the declarations
[01:28] <ubitux> that's the frame from the local context
[01:28] <ubitux> by default all fields are zero
[01:29] <OanaStratulat> so AVCodecContext *avctx has all fields 0?
[01:29] <ubitux> i was refering to the fraps context (declared on top of the file)
[01:30] <OanaStratulat> http://pastebin.com/uGGCYYXi the fraps context has its data from avctx
[01:30] <OanaStratulat> FrapsContext * const s = avctx->priv_data;
[01:30] <OanaStratulat> and then AVFrame * const f = (AVFrame*)&s->frame;
[01:31] <ubitux> the get_buffer() callback (see avcodec_default_get_buffer -> video_get_buffer()) sets the width/height of the frame using the avcodeccontext if everything goes fine
[01:31] <ubitux> yes
[01:31] <OanaStratulat> so it must have data in it right?
[01:31] <ubitux> the frapscontext is allocated and put in the priv_data of the codex context
[01:32] <ubitux> but when it is allocated, it has all its value to zero
[01:32] <ubitux> and the fraps decoder is supposed to use them internally
[01:32] <OanaStratulat> ahh, so the real problem is in reget_buffer
[01:32] <ubitux> so basically, the AVFrame declared in the frapscontext is just filled with zero
[01:33] <ubitux> well, check any function where the frame is passed
[01:33] <ubitux> it might be supposed to init the width/height correctly
[01:33] <ubitux> check with a valid fraps file if they are init after calling reget_buffer
[01:33] <OanaStratulat> ok
[01:39] <OanaStratulat> ubitux: no, they are still 0 with a good fraps file
[01:41] <OanaStratulat> i have put an av_log after each switch case and used different versions
[01:46] <OanaStratulat> i have checked the witdh and height in default_reget_buffer and they are !=0
[01:47] <OanaStratulat> ubitux: when it executes av_picture_copy((AVPicture*)pic, (AVPicture*)&temp_pic, s->pix_fmt, s->width,s->height); gives the segfault
[01:52] <durandal_1707> when width or height is 0?
[01:52] <OanaStratulat> before calling reget_buffer they are zero and reget_buffer must set them
[01:52] <OanaStratulat> in avcodec_default_reget_buffer they are initialized with good values but the segfault appears when ffmpeg executes av_picture_copy((AVPicture*)pic, (AVPicture*)&temp_pic, s->pix_fmt, s->width,s->height);
[01:59] <OanaStratulat> ubitux: ping
[02:00] <OanaStratulat> when a var has & in front of it like &temp_pic what does it mean ?
[02:01] <ubitux> the address of temp_pic
[02:01] <OanaStratulat> can the address be negative ?
[02:01] <OanaStratulat> temp_pic : -1098108784
[02:01] <ubitux> a pointer is unsigned
[02:01] <OanaStratulat> like this
[02:01] <ubitux> print it with %p
[02:02] <OanaStratulat> 0xbee21090
[02:02] <OanaStratulat> is this valid?
[02:02] <ubitux> should be
[02:02] <OanaStratulat> how can i find if it is valid?
[02:02] <ubitux> assume it is if not NULL ;)
[02:03] <ubitux> or not too low
[02:03] <ubitux> did you notice something different with width/height between the valid and the invalid fraps?
[02:04] <OanaStratulat> it`s the same
[02:04] <OanaStratulat> the problem is not there i think
[02:04] <ubitux> ok
[02:05] <OanaStratulat> i think the problem is in av_picture_copy
[02:05] <OanaStratulat> in the source AVPicture or destination
[02:05] <ubitux> generally, "primitive" functions are fine, because they are well tested
[02:06] <ubitux> OTOH, input sent to those functions might be "invalid"
[02:06] <ubitux> or not expected by the function
[02:06] <ubitux> and av_picture_copy is a commonly used function
[02:06] <OanaStratulat> the input for this function is bad surely
[02:06] <OanaStratulat> is there any way i can check for this?
[02:07] <ubitux> i don't have any ultimate rule for this, use your common sense :p
[02:09] <OanaStratulat> utils temp_pic : 0xbe9fa090 utils pic : 0x4e8b544
[02:09] <OanaStratulat> this are my addresses for the src and destianation
[02:10] <ubitux> remember: valgrind says there is overread
[02:11] <OanaStratulat> overread meaning reading out of memory?
[02:11] <ubitux> like if the destination buffer would have less bytes allocated than requested for copy
[02:11] <ubitux> mmh invalid read so source* and not destination
[02:11] <OanaStratulat> so a good way is to check the size of eachother ?
[02:12] <ubitux> Invalid read of size 4 invalid read when trying to memcpy
[02:12] <ubitux> look where the source pointer is allocated
[02:12] <ubitux> print the size
[02:12] <ubitux> and then look how much byte is requested to copy
[02:12] <OanaStratulat> is there any function for the size?
[02:12] <ubitux> you can't easily print the size allocated with the pointer only
[02:12] <OanaStratulat> sizeof() will work?
[02:13] <ubitux> you have to look where it is allocated in the code
[02:14] <ubitux> sizeof works only if it's an array on the stack (or any common type)
[02:14] <ubitux> but if it's a pointer it will print the size of a pointer
[02:15] <ubitux> (4 for 32 bits, 8 for 64, ...)
[02:15] <OanaStratulat> yes...av_log(0,0,"utils temp_pic : %d\n",sizeof((AVPicture*)&temp_pic)); av_log(0,0,"utils pic : %d\n",sizeof((AVPicture*)pic)); the same sizeof
[02:15] <OanaStratulat> done it now
[02:15] <ubitux> look at where temp_pic and pic are allocated
[02:15] <ubitux> and their respective sizes
[02:16] <ubitux> void *p = av_malloc(100) this will returns a pointer pointing on an area in the memory where you have 100B available
[02:16] <ubitux> you must not overread or overwrite
[02:17] <OanaStratulat> temp_pic = *pic; is this where temp_pic is allocated ?
[02:17] <ubitux> and it's likely the parameter of the memcpy makes it overread
[02:17] <ubitux> it's just copying the content here
[02:18] <OanaStratulat> temp_pic is AVFrame temp_pic; how do i know where it is allocated ?
[02:18] <OanaStratulat> this is the blackout for me
[02:18] <ubitux> here the AVFrame temp_pic is allocated on the stack
[02:18] <ubitux> just like a local variable
[02:18] <ubitux> what are the parameter of the read?
[02:18] <ubitux> s/read/memcpy/ sorry
[02:20] <OanaStratulat> the memcpy from the valgrind report?
[02:20] <ubitux> isn't it trying to copy from temp_pic->data to pic->data?
[02:20] <OanaStratulat> did not find this, dunno where to look
[02:21] <ubitux> ok well
[02:21] <ubitux> looking at avcodec_default_reget_buffer, you receive a AVFrame *pic
[02:21] <ubitux> locally, you have AVFrame temp_pic
[02:21] <ubitux> with temp_pic = *pic;
[02:21] <OanaStratulat> yes
[02:22] <ubitux> this means you have two AVFrame with the exact same content at that time, right?
[02:22] <OanaStratulat> yes
[02:22] <ubitux> so same pointers, same width/height attributes, etc
[02:22] <ubitux> then pic is changed with s->get_buffer()
[02:22] <ubitux> and after that you get a av_picture_copy(pic, temp_pic
[02:22] <ubitux> so from temp_pic (original picture)
[02:23] <ubitux> to the new one (pic)
[02:23] <ubitux> but pic got change in the get_buffer
[02:23] <ubitux> you may want to look in that direction
[02:23] <ubitux> the av_picture_copy fails, so it's likely the pic got changed wrongly after the s->get_buffer()
[02:24] <ubitux> at least, this is what the code suggest, i might be wrong as usual
[02:24] <OanaStratulat> now i understand what you`re saying, the code thinks that they are the same and try to copy but one of the members got scrambled and it fails
[02:29] <OanaStratulat> ubitux: AVMediaType epecially s->codec_type how do i print it?
[02:30] <ubitux> source and destination are the same at first (i guess because it needs to keep the same properties), then the destination is changed (maybe wrongly) and the copy happens; but since it's the source which is at fault, maybe i was wrong with get_buffer, and you need to check how the original AVFrame *pic is allocated
[02:30] <ubitux> it's an int, print it with %d
[02:31] <ubitux> it should be 0 for video
[02:31] <OanaStratulat> yes
[02:32] <OanaStratulat> pff video_get_buffer is too complicated for me to understand
[02:35] <OanaStratulat> i think i`ll stick to check the size for each var, the pic and temp_pic
[02:36] <OanaStratulat> i cannot find where pic and temp_pic are allocated, where i find them they are only *
[02:40] <OanaStratulat> ubitux: maybe michaelni has another idea
[02:40] <ubitux> heh he certainly have more insight on the issue than me yes
[02:41] <OanaStratulat> ubitux: anyway i`m feeling a bit overwhelmed by this bug, it`s not comparable with the others i have fixed
[02:42] <ubitux> the bug might be simple to fix, but since i'm not familiar with that code, i can't really help in spotting the source of the issue
[02:42] <durandal_1707> there is av_image_check_size()
[02:42] <OanaStratulat> and works for pointers dirrectly?
[02:43] <durandal_1707> there is no point to continue if width or height is 0
[02:44] <OanaStratulat> i was checking for width and height int the wrong place
[02:54] <OanaStratulat> anyway i think i need to talk with michaelni , otherwise i`m on a wild goose chase. closing the night here. good night guys
[04:21] <CIA-101> ffmpeg: 03Paul B Mahol 07master * r17aa02b9a1 10ffmpeg/libavcodec/interplayvideo.c:
[04:21] <CIA-101> ffmpeg: interplayvideo: Handle changed video dimensions on the fly
[04:21] <CIA-101> ffmpeg: Signed-off-by: Martin Storsjö <martin(a)martin.st>
[04:21] <CIA-101> ffmpeg: 03Martin Storsjö 07master * rc5d907b6b0 10ffmpeg/libavcodec/utils.c:
[04:21] <CIA-101> ffmpeg: libavcodec: Handle param change side data in avcodec_decode_video2, too
[04:21] <CIA-101> ffmpeg: Also call avcodec_set_dimensions on dimension param change packets.
[04:21] <CIA-101> ffmpeg: Signed-off-by: Martin Storsjö <martin(a)martin.st>
[04:21] <CIA-101> ffmpeg: 03Janne Grunau 07master * r73b16198b6 10ffmpeg/libavformat/electronicarts.c:
[04:21] <CIA-101> ffmpeg: electronicarts: check bytes per sample for validity
[04:21] <CIA-101> ffmpeg: Prevents division by zero.
[04:21] <CIA-101> ffmpeg: 03Michael Niedermayer 07master * rb18a0cc781 10ffmpeg/libavcodec/ivi_common.c:
[04:21] <CIA-101> ffmpeg: indeo5: Fix null pointer dereference.
[04:21] <CIA-101> ffmpeg: Bug found by: Oana Stratulat
[04:21] <CIA-101> ffmpeg: Signed-off-by: Janne Grunau <janne-libav(a)jannau.net>
[04:21] <CIA-101> ffmpeg: 03Martin Storsjö 07master * r867f923df4 10ffmpeg/libavcodec/utils.c:
[04:21] <CIA-101> ffmpeg: libavcodec: Move apply_param_change up above avcodec_decode_video2
[04:22] <CIA-101> ffmpeg: 03Justin Ruggles 07master * r77c5b66cbe 10ffmpeg/ (libavcodec/g722enc.c tests/ref/acodec/g722):
[04:22] <CIA-101> ffmpeg: g722enc: set frame_size, and also handle an odd number of input samples
[04:22] <CIA-101> ffmpeg: The fate reference is updated because the previous test skipped a sample in
[04:22] <CIA-101> ffmpeg: each encode() call due each input frame having an odd number of samples.
[04:22] <CIA-101> ffmpeg: 03Justin Ruggles 07master * r52e9854a83 10ffmpeg/libavcodec/tta.c:
[04:22] <CIA-101> ffmpeg: tta: fix 24-bit decoding.
[04:22] <CIA-101> ffmpeg: Decode to the correct output buffer.
[04:22] <CIA-101> ffmpeg: 03Vitor Sessak 07master * r96219141e2 10ffmpeg/libavcodec/mpegaudiodec.c:
[04:22] <CIA-101> ffmpeg: mpegaudiodec: Use clearer pointer math
[04:22] <CIA-101> ffmpeg: Signed-off-by: Ronald S. Bultje <rsbultje(a)gmail.com>
[04:22] <CIA-101> ffmpeg: 03Mike Melanson 07master * r15f073ee6d 10ffmpeg/tests/ (fate/demux.mak ref/fate/xmv-demux):
[04:22] <CIA-101> ffmpeg: FATE: xmv-demux test; exercise the XMV demuxer without decoding the perceptual codecs inside.
[04:22] <CIA-101> ffmpeg: Code coverage:
[04:22] <CIA-101> ffmpeg: libavformat/xmv.c: 3% -> 91%
[04:22] <CIA-101> ffmpeg: Signed-off-by: Ronald S. Bultje <rsbultje(a)gmail.com>
[04:22] <CIA-101> (63 lines omitted)
[04:23] Action: michaelni hates chello
[04:23] <Daemon404> you mean cello?
[04:24] <michaelni> i mean my fine ISP
[04:24] <michaelni> spend 5min doing the merge, 3 hours to push it
[04:24] <Daemon404> woah what?
[04:25] <Daemon404> that's like sub-dialup speed
[04:25] <michaelni> and i could only copy 3 of 4 new fate samples to our server
[04:25] <michaelni> less than 1kb/sec download
[04:25] <Daemon404> pretty sure you could getter a better rate by printing out a hex dump and driving to the data center
[04:26] <michaelni> i was just preparing to reboot and setup a connection over 3G
[04:26] <michaelni> when suddenly it worked again
[04:27] <Daemon404> i thought europe was supposed to have godd nets
[04:27] <Daemon404> good*
[04:43] <CIA-101> ffmpeg: 03Michael Niedermayer 07master * rce39ba92c0 10ffmpeg/tests/fate/video.mak:
[04:43] <CIA-101> ffmpeg: fate: enable wc4-xan test, the sample is now on our rsync server.
[04:43] <CIA-101> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[04:58] <durandal_1707> guess ffmpeg doesn't handle midstream width/height size changes
[04:59] <durandal_1707> ffplay doesn't have that problem
[07:52] <CIA-101> ffmpeg: 03Ronald S. Bultje 07release/0.5 * r3eb6983dbc 10ffmpeg/libavcodec/vp3.c: (log message trimmed)
[07:52] <CIA-101> ffmpeg: vp3: fix oob read for negative tokens and memleaks on error.
[07:52] <CIA-101> ffmpeg: (cherry picked from commit 8370e426e42f2e4b9d14a1fb8107ecfe5163ce7f)
[07:52] <CIA-101> ffmpeg: Fixes: #189
[07:52] <CIA-101> ffmpeg: Chromium-Bug: 101172,100465
[07:52] <CIA-101> ffmpeg: CVE-2011-3892
[07:52] <CIA-101> ffmpeg: Removed the parts that are related to multi-threading, which is not
[07:53] <CIA-101> ffmpeg: 03Chris Evans 07release/0.5 * r665421f3b1 10ffmpeg/libavcodec/vorbis.c: (log message trimmed)
[07:53] <CIA-101> ffmpeg: vorbis: Avoid some out-of-bounds reads
[07:53] <CIA-101> ffmpeg: Fixes Bug: #190
[07:53] <CIA-101> ffmpeg: Chromium Bug: #100543
[07:53] <CIA-101> ffmpeg: Related to CVE-2011-3893
[07:53] <CIA-101> ffmpeg: Signed-off-by: Reinhard Tartler <siretart(a)tauware.de>
[07:53] <CIA-101> ffmpeg: (cherry picked from commit 57cd6d709565e84e84385f8f2a9641ca3fa718be)
[07:53] <CIA-101> ffmpeg: 03Chris Evans 07release/0.5 * r7ee536e87a 10ffmpeg/libavformat/matroskadec.c: (log message trimmed)
[07:53] <CIA-101> ffmpeg: matroskadec: Fix a bug where a pointer was cached to an array that might later move due to a realloc()
[07:53] <CIA-101> ffmpeg: Fixes bug #190
[07:53] <CIA-101> ffmpeg: Chromium bug #100492
[07:53] <CIA-101> ffmpeg: related to CVE-2011-3893
[07:53] <CIA-101> ffmpeg: Signed-off-by: Reinhard Tartler <siretart(a)tauware.de>
[07:53] <CIA-101> ffmpeg: (cherry-picked from commit faaec4676cb4c7a2303d50df66c6290bc96a7657)
[07:53] <CIA-101> ffmpeg: 03Michael Niedermayer 07release/0.5 * r7209c2b13f 10ffmpeg/:
[07:53] <CIA-101> ffmpeg: Merge remote-tracking branch 'qatar/release/0.5' into release/0.5
[07:53] <CIA-101> ffmpeg: * qatar/release/0.5:
[07:53] <CIA-101> ffmpeg: matroskadec: Fix a bug where a pointer was cached to an array that might later move due to a realloc()
[07:53] <CIA-101> ffmpeg: vorbis: Avoid some out-of-bounds reads
[07:53] <CIA-101> ffmpeg: vp3: fix oob read for negative tokens and memleaks on error.
[07:53] <CIA-101> ffmpeg: Merged-by: Michael Niedermayer <michaelni(a)gmx.at>
[07:53] <CIA-101> ffmpeg: 03Ronald S. Bultje 07release/0.6 * rc9c7db0af2 10ffmpeg/libavcodec/vp3.c: (log message trimmed)
[07:53] <CIA-101> ffmpeg: vp3: fix oob read for negative tokens and memleaks on error.
[07:53] <CIA-101> ffmpeg: (cherry picked from commit 8370e426e42f2e4b9d14a1fb8107ecfe5163ce7f)
[07:53] <CIA-101> ffmpeg: Fixes: #189
[07:53] <CIA-101> ffmpeg: Chromium-Bug: 101172,100465
[07:53] <CIA-101> (74 lines omitted)
[09:58] <OanaStratulat> michaelni: ping
[11:24] <CIA-101> ffmpeg: 03Stefano Sabatini 07master * r5ccdb907c1 10ffmpeg/ffprobe.c:
[11:24] <CIA-101> ffmpeg: ffprobe: use more meaningful names for writer chapter/section header/footer function
[11:24] <CIA-101> ffmpeg: The passed argument is supposed to be the chapter/section name, rather
[11:24] <CIA-101> ffmpeg: than the header/footer. Less confusing.
[11:24] <CIA-101> ffmpeg: 03Stefano Sabatini 07master * rec624d7c5c 10ffmpeg/ffprobe.c:
[11:24] <CIA-101> ffmpeg: ffprobe: use "%*" printf syntax in XML_INDENT() in place of a loop
[11:24] <CIA-101> ffmpeg: Possibly faster/cleaner.
[11:24] <CIA-101> ffmpeg: Suggested-By: Clément BSsch <ubitux(a)gmail.com>
[14:40] <Jonno> I saw your call for a Debian/Ubuntu maintainer on your homepage and has been thinking about it since.
[14:40] <Jonno> Are you looking for FFmpeg packages to replace the current Libav packages in Debian and Ubuntu, or for something that can be installed in parallel?
[14:41] <Jonno> I'm asking because I'm already doing most of the required work for the former for my Ubuntu PPA ( https://launchpad.net/~jon-severinsson/+archive/ffmpeg ),
[14:41] <Jonno> and I would be willing to take the plunge and try to push it upstream (applying to become a Debian Maintainer in the process)
[14:52] <ubitux> Jonno: hi, it's not to replace the libav package, but allowing debian/ubuntu users to choose between the two projects
[14:53] <Jonno> ubitux: OK, that is a bit more complicated to pull off...
[14:53] <ubitux> libav and ffmpeg are two distinct projects and we are not willing to "destroy" libav :p
[14:53] <ubitux> well, the packages can be in conflict
[14:54] <ubitux> (and that will certainly be required)
[14:54] <Jonno> ubitux: Yes, but you will still have lots of problems with what to build agains, and what that implies for dependencies.
[14:55] <ubitux> ffmpeg is trying to keep ABI compatibility with libav
[14:55] <ubitux> so it shouldn't cause issues as long as the application linking with doesn't use specific ffmpeg features
[14:56] <Jonno> Yes, but there is both a "should" and an "if" in that sentence.
[14:58] <ubitux> I don't know debian and the packaging politics very well, so I'm afraid I won't be of much help right now
[14:58] <ubitux> maybe you can discuss the matter with michaelni, or siretart who is the libav debian package maintainer
[14:58] <Jonno> I guess if you built against libav by default, and let packages build against libav work with (libav | ffmpeg), and packages build agains ffmpeg depend on "ffmpeg" that *should* work as long as you keep version numbers straight and ffmpeg relly manages to keep ABI compatibility
[14:59] <Jonno> Still, more work than I'm willing to put into it right now...
[15:11] <siretart> Jonno: keep in mind that the two projects are definitly not ABI compatible.
[15:13] <iive> Jonno: imho libav and ffmpeg cannot coexist on same system, so there is no point trying to do that at the moment.
[15:14] <iive> so just try to make a package for ffmpeg that could be installed on debian/ubuntu.
[15:14] <j-b> well, FFmpeg is safer than libav, security-wise...
[15:18] <Jonno> siretart: I thought ffmpeg was backwards compatible with libav, but libav was not backwards compatible with ffmpeg. My experiences with my PPA shows that to be the case too.
[15:18] <Jonno> iive: No they can not coexist on the same system, but to coexist in the same software repository, packages depending on them must be able to work with either of them installed, or every package using ffmpeg/libav would have exist in two versions in the archive, which wouln't be acceptable.
[15:20] <Jonno> iive: My ppa contains such a package, but if uploaded to the main archive it would replace the libav packages (as they include the same binary packages, but the ffmpeg packages have a higher version number).
[15:21] <iive> aren't libav packages under different name?
[15:21] <iive> i mean, they don't use ffmpeg name, do they?
[15:24] <Jonno> iive: Both ffmpeg and libav contains the following packages with the same names: ffmpeg libavutil51 libavcodec53 libavdevice53 libavformat53 libavfilter2 libpostproc52 libswresample0 libswscale2 libavutil-dev libavcodec-dev libavdevice-dev libavformat-dev libavfilter-dev libpostproc-dev libswresample-dev libswscale-dev
[15:24] <Jonno> Additionally libav contains libav-dbg libav-source and libav-doc (plus ffmpeg-dbg and ffmpeg-doc transitional packages), while my ffmpeg packages contains ffmpeg-dbg ffmpeg-source and ffmpeg-doc (plus libav-dbg and libav-doc transitional packages)
[15:25] <Jonno> In the libav source package the ffmpeg binary package contains the ffmpeg, ffplay ffserver and ffprobe binaries.
[15:25] <iive> ouch....
[15:27] <Jonno> Yea, I guess you could use ffmpeg and libav as two separate binary packages conflicting with each other, and make libavutil51 etc a virtual package for libavutil-ffmpeg-51 or libavutil-libav-51 etc, and drop the transitional packages. However, dependencies for anything built agains any lib*-dev package from either source package would be a nightmare...
[15:27] <iive> breaking the package on mini-packages. It may be good idea to keep the project name as prefix for all of them. so it becomes ffmpeg-libavutil and libav-libavutil
[15:28] <Jonno> iive: The debian standard in such case is libavutil-*-soversion
[15:29] <iive> Jonno: then change the standard.
[15:30] <greentemik> Hi! My question is anyone could pls help me to compile ffmpeg on freebsd with v4l support?
[15:30] <iive> or you mean.. libavutil-ffmpeg-soversion?
[15:30] <siretart> Jonno: ABI compatibility is not a one-way deal, either two libraries are or they are not as far as applications that link against them are concerned
[15:31] <Jonno> iive: yes, that is what I meant, eg the binary packages libavutil-ffmpeg-51 or libavutil-libav-51 (and on ubuntu libavutil-ffmpeg-extra-51 or libavutil-libav-extra-51) would al provide the virtual package libavutil51
[15:32] <iive> Jonno: well... typical debian... making things their own way. sorting by first name would have grouped related packages together... but that's advantage for humans not scripts.
[15:32] <siretart> Jonno: you cannot make library packages 'virtual'. That'll break versioned dependencies and the shlibs system
[15:32] <Jonno> .siretart: Of coure they are one way. For example ffmpeg-0.7.10 is backwards compatible with ffmpeg-0.7.1, but ffmpeg-0.7.1 is not compatible with ffmpeg-0.7.10
[15:34] <siretart> Jonno: sure. and?
[15:36] <iive> Jonno: so, there is no problem is your ffmpeg packages like libavutil-ffmpeg-51 ?
[15:36] <iive> is/if
[15:37] <Jonno> siretart: I know, they would be "virtual" in the same sense that libavutil-extra-51 "provides" libavutil51 in ubunti, eg you make all packages depending on them have a verry uggly dependancy libavcodec-ffmpeg-53 (>= 0.8.7-1) | libavcodec-ffmpeg-extra-53 (>= 0.8.7) | libavcodec-libav-53 (>= 0.7.2-1) | libavcodec-libav-extra-53 (>= 0.7.2)
[15:39] <Jonno> iive: Well, I would also have to change the libav packages, in order to allow packages build against libav to depend on either ffmpeg or libav, and then do a one-time rebuild of every package depending on libav/ffmpeg...
[15:39] <siretart> Jonno: libavutil-extra-51 does not provide libavutil51 as that would blow up versioned depends.
[15:40] <siretart> Jonno: I've thought a long time about this, and I don't think there is a feasible solution
[15:41] <Jonno> siretart: Not in the "includes a Provides: line in debian/control" sence, but libavutil-dev contains a controll file making all packages that would depend on libavutil51 depend on libavutil51 | libavutil-extra-51 instead, which is realy just a more complex implementation of the same concept.
[15:42] <siretart> Jonno: as said, I don't think that's feasible
[15:44] <Jonno> siretart: What I'm saying is that there *is* a solution, but it is very complex (if it is feasible is a matter of opinion and work you are willing to put down. I'm not willing to put down that much work, but perhaps someone else is)
[15:44] <iive> Jonno: there are some projects that would prefer to be distributed linked against ffmpeg and that's not possible at the moment as there is no package in debian/ubuntu.
[15:45] <iive> so i think the first step would be to make it available and then solve the more complex problems.
[15:46] <iive> even using ffmpeg as standalone application would be a major improvement.
[15:48] <ubitux> it might require to --disable-ffmpeg on libav side, and --disable-avconv on ffmpeg side
[15:48] <ubitux> i'm not sure about the preset files too
[15:49] <ubitux> but i agree that having at first the tools available would be nice
[15:51] <Jonno> iive: ubitux: You can not make the applications availible without making the libraries availible too (well, with static linking you could, but that is strongly frowned upon in debian, and would never be accepted in the archive). And as the libraries are not co-installable you must solve the reverse dependancy problem first...
[16:06] <j-b> I don't get how some distros can live with security issues
[16:25] <Jonno> Well, even if it seems my packages won't make it to upstream, feel free to put a link to my ppa ( https://launchpad.net/~jon-severinsson/+archive/ffmpeg ) on the download page under "FFmpeg Linux Builds", next to the Debian link.
[16:25] <Jonno> The PPA provides builds for lucid/maverick/natty/oneiric/precise amd64 and i386.
[16:31] <michaelni> Hi Jonno
[16:31] <michaelni> thx alot for your interrest and effort :)
[16:32] <michaelni> yes, ill surely add a link to your ppas (that is unless you want to send a patch for the download page?)
[16:34] <michaelni> about debian packages, iam surely in favor of replacing libav by ffmpeg in main debian, it is technically the most sane decission but its not my decission ...
[16:41] <Jonno> michaelni: patch sent to ffmpeg-devel(a)ffmpeg.org
[16:44] <michaelni> Jonno, patch applied, thanks
[16:45] <ubitux> Jonno: thank you
[16:59] <Jonno> michaelni: ubitux: You are welcome
[16:59] <Jonno> got to go, bbl
[17:10] <CIA-101> ffmpeg: 03Clément BSsch 07master * r0c01947316 10ffmpeg/ (6 files in 3 dirs): lavfi: add audio silencedetect filter.
[17:42] <dilaroga> michaelni: no objection if i use pthread directly instead of lock manager in VDA ?
[17:57] <CIA-101> ffmpeg: 03Reimar Döffinger 07master * ree4ba9aecd 10ffmpeg/libavcodec/sgidec.c:
[17:57] <CIA-101> ffmpeg: Fix incorrect increment in sgidec.c
[17:57] <CIA-101> ffmpeg: Fixes trac issue #899.
[17:57] <CIA-101> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[17:57] <CIA-101> ffmpeg: 03Reimar Döffinger 07master * rfe21ea1798 10ffmpeg/tests/ (fate/microsoft.mak ref/fate/wmv8-x8intra):
[17:57] <CIA-101> ffmpeg: Add wmv8-x8intra fate test.
[17:57] <CIA-101> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[18:03] <michaelni> dilaroga, you are maintainer, its your decission what to use
[18:08] <dilaroga> ok, i will use pthread directly as it's already done in libav implementation
[18:11] <dilaroga> vda decoder only accepts 2 or 4 byte NAL sizes, I need to convert 3 byte NAL size extradata to 4 byte
[18:11] <dilaroga> http://pastie.org/3149418
[18:11] <dilaroga> ^ ^ this is the change i will push if no objection
[18:13] <nevcairiel> thats because 3 byte NAL size is invalid
[18:14] <nevcairiel> the patch looks wrong though, you also need to actually change the data thats going in to have a 4 byte NALsize instead of 3
[18:15] <dilaroga> data have already 4 byte NAL size in the current implementation
[19:12] <CIA-101> ffmpeg: 03Reimar Döffinger 07master * raeeb0e6deb 10ffmpeg/ (3 files in 2 dirs):
[19:12] <CIA-101> ffmpeg: indeo4, swresample: add some missing static/const to tables.
[19:12] <CIA-101> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[19:19] <CIA-101> ffmpeg: 03Clément BSsch 07master * rca324f9869 10ffmpeg/tests/fate/ (11 files): fate: add generic rules for most of the remaining tests/fate/*.mak files.
[20:25] <dilaroga> michaelni: i pushed changes into my public repo, with 2 more cosmetic commits
[20:26] <michaelni> dilaroga, should i merge them ?
[20:26] <michaelni> or do you want me to wait ?
[20:27] <dilaroga> michaelni: yes, you can merge them, it's ok for me, I already tested these changes
[20:27] <michaelni> ok
[20:31] <OanaStratulat> michaelni: ping
[20:32] <michaelni> OanaStratulat, pong
[20:32] <OanaStratulat> do you have some time to help me with a bug?
[20:34] <OanaStratulat> michaelni: this is my valgrind report http://pastebin.com/g4PZmrZA those av_logs are from utils.c with those vars
[20:34] <OanaStratulat> michaelni: as i found out so far the seg fault comes from av_picture_copy
[20:39] <OanaStratulat> michaelni: the file which makes the crash is http://google-melange.appspot.com/gci/work/download/google/gci2011/7195360?…
[20:59] <OanaStratulat> michaelni: any suggestion ?
[21:03] <michaelni> the bug is in default_reget_buffer()
[21:05] <OanaStratulat> michaelni: yes, especially when it tries to execute the copy
[21:07] <OanaStratulat> michaelni: i have discussed with ubitux yesterday and he think that the src and destianation do not have the same size
[21:10] <michaelni> yes possible
[21:10] <ubitux> i suggested to check ;)
[21:10] <OanaStratulat> michaelni: how can i do that?
[21:11] <OanaStratulat> 1st of all i cannot find where the 2 vars are allcocated
[21:18] <OanaStratulat> michaelni: can i check the size of the pic with avpicture_get_size?
[21:30] <OanaStratulat> michaelni: ^
[21:31] <michaelni> AVFrame.width/height/pix_fmt may work
[21:33] <OanaStratulat> michaelni: it does not work. av_log(0,0,"pic w : %d\n",pic.width);
[21:44] <ubitux> if pic is a pointer, pic->width
[21:45] <OanaStratulat> ubitux: av_log(0,0,"size pic : %d\n",avpicture_get_size((AVPicture*)pic->pix_fmt,(AVPicture*)pic->width,(AVPicture*)pic->height));
[21:45] <OanaStratulat> like this?
[21:46] <ubitux> why are you casting?
[21:46] <OanaStratulat> ubitux: please be more explicit
[21:46] <ubitux> (AVPicture*) is a cast
[21:46] <ubitux> (into a pointer to AVPicture)
[21:46] <OanaStratulat> so it does not need casting?
[21:47] <OanaStratulat> pic->pix_fmt without (AVPicture*) ?
[21:47] <ubitux> it's not that it's not needed, it's wrong; the cast applies to the final attribute
[21:48] <ubitux> also the avpicture_get_size will give you the size needed for a picture with pix_fmt of size width x height, but it won't tell you the allocated size in pic
[21:48] <OanaStratulat> mhmh
[21:48] <OanaStratulat> so wrong here too
[21:48] <OanaStratulat> i cannot find where this 2 vars are allcocated..
[21:48] <OanaStratulat> this is my biggest issue
[21:49] <OanaStratulat> ubitux: some hint?
[21:50] <ubitux> you need to check where pic->data is allocated iirc
[21:51] <OanaStratulat> i have done grep -r pic->data * in my ffmpeg folder and no results
[21:52] <ubitux> not related but you have the git grep command
[21:53] <OanaStratulat> no result, the same
[21:53] <ubitux> yes sure
[21:53] <ubitux> it might not be named "pic"
[21:53] <drv> make sure you escape the >
[21:53] <drv> otherwise it will be a shell redirection character
[21:53] <OanaStratulat> you think it is allocated in the fraps.c ?
[21:55] <ubitux> i don't know how the codecs work
[21:56] <OanaStratulat> michaelni: any hint?
[21:56] <durandal_1707> codecs operates like regular file compressor
[21:57] <durandal_1707> except there are lossy codecs so you lose some information
[22:00] <durandal_1707> should line 170 return INVALID_DATA instead?
[22:00] <OanaStratulat> durandal_1707: can you show me where the 2 vars from avctx->reget_buffer(avctx, f) are alloc ?
[22:00] <durandal_1707> guess it would not actually fix bug
[22:01] <durandal_1707> what frap version is that junk file?
[22:02] <OanaStratulat> durandal_1707: 4
[22:02] Action: durandal_1707 these code needs some refactoring
[22:03] <OanaStratulat> durandal_1707: http://google-melange.appspot.com/gci/work/download/google/gci2011/7195360?… this is the file
[22:04] <durandal_1707> you looked at avcodec_default_reget_buffer()?
[22:04] <OanaStratulat> yes, the segfault comes when it executes av_picture_copy()
[22:05] <OanaStratulat> but i cannot find the size of pic and temp_pic
[22:06] <durandal_1707> well it use memcpy
[22:07] <durandal_1707> looked at av_image_copy in libavutil/imgutils.c ?
[22:07] <OanaStratulat> nop
[22:08] <durandal_1707> so that file cause segfault for you?
[22:08] <OanaStratulat> yes
[22:08] <durandal_1707> doesn't for me
[22:08] <OanaStratulat> durandal_1707: so may i check here if dst_data[4] and src_data[4] are null or smth like that
[22:10] <durandal_1707> yes
[22:10] <durandal_1707> but they are already checked
[22:10] <durandal_1707> if the are null function just returns
[22:11] <durandal_1707> but line 259 is not checked
[22:11] <durandal_1707> but I doubt fraps use PAL pixfmt
[22:12] <OanaStratulat> mhmh
[22:12] <OanaStratulat> i am remaking ffmpeg as we speak to get the latest patches
[22:12] <OanaStratulat> and then check for the segfault again
[22:12] <OanaStratulat> you`re using the latest version no?
[22:12] <durandal_1707> tried that file yesterday too
[22:13] <durandal_1707> does others experience segfault?
[22:14] <OanaStratulat> ubitux: has the segfault again
[22:14] <durandal_1707> hmm, me too but with ffmpeg, ffplay survives
[22:16] <durandal_1707> hehe probably something corrupts complete stack
[22:21] <OanaStratulat> ok
[22:21] <OanaStratulat> so you say line 259 should be the problem?
[22:22] <durandal_1707> fraps does not use PAL pixfmt
[22:22] <durandal_1707> so it can not be source of problem
[22:22] <OanaStratulat> my fuzzed file has PAL pixfmt ?
[22:23] <durandal_1707> no
[22:23] <OanaStratulat> durandal_1707: so i must further look into av_image_copy_plane no ?
[22:23] <durandal_1707> do you have full bt from gdb?
[22:24] Action: durandal_1707 hates building static ffmpeg with full debug symbols
[22:24] <OanaStratulat> yes
[22:25] <durandal_1707> paste it on pastebin or similar
[22:25] <OanaStratulat> http://pastebin.com/sp4iv3n0
[22:26] <durandal_1707> compile ffmpeg without optimizations
[22:26] <OanaStratulat> how to do that?
[22:29] <durandal_1707> --disable-optimizations
[22:30] <durandal_1707> you could also enable only some decoders and demuxers to speed up compilation on slow machine
[22:30] <OanaStratulat> doing it as we speak
[22:31] <OanaStratulat> what can you tell from the bt ?
[22:31] <OanaStratulat> michaelni: please extend my time....i haven`t figured out a solution http://www.google-melange.com/gci/task/view/google/gci2011/7195360
[22:33] <OanaStratulat_> durandal_1707: said smth ? connection went down
[22:33] <durandal_1707> nope :)
[22:34] <OanaStratulat_> durandal_1707: the problem is in av_image_copy_plane at memcpy
[22:36] <mcbaine1> hi there .. aloha
[22:41] <OanaStratulat_> durandal_1707: can src_linesizes be 0?
[22:42] <durandal_1707> that is invalid
[22:42] <OanaStratulat_> in my fuzzed file i get src_linesized 0 once
[22:42] <durandal_1707> it should not
[22:42] <OanaStratulat_> and then the segfault
[22:42] <OanaStratulat_> think this is the problem?
[22:42] <durandal_1707> find from where scr_linesize get 0
[22:45] <OanaStratulat_> av_picture_copy((AVPicture*)pic, (AVPicture*)&temp_pic, s->pix_fmt, s->width,s->height); s->height is the linesize
[22:46] <durandal_1707> where?
[22:46] <OanaStratulat_> in utils.c at reget_buffer
[22:46] <OanaStratulat_> then it calls av_image_copy(dst->data, dst->linesize, src->data, src->linesize, pix_fmt, width, height); from imgconvert.c
[22:47] <OanaStratulat_> wrong
[22:47] <OanaStratulat_> temp_pic->height is the linesize
[22:47] <durandal_1707> i think i found solution
[22:48] <OanaStratulat_> but i think the problem is that the code does not handle erros if linesize is 0, my fuzzed files has a frame with 0 linesize i think
[22:48] <durandal_1707> hint compare case 1: with case 4:
[22:49] <durandal_1707> case 4: is missing something
[22:49] <OanaStratulat_> does not compare the buffers
[22:50] <durandal_1707> so found difference?
[22:50] <OanaStratulat_> yes
[22:51] <OanaStratulat_> but now how can i calculate the correct buff size for the YUV420 ?
[22:52] <durandal_1707> by setting small limit and trying valid file and more hacking or learning code and come up with formula on your own
[22:54] <durandal_1707> huh they are huffman coded
[22:55] <OanaStratulat_> you`re losing me here :))
[23:03] <durandal_1707> OanaStratulat_: just call av_image_check_size() and see if that helps
[23:04] <OanaStratulat_> for pic and temp_pic ?
[23:04] <OanaStratulat_> in av_picture_copy ?
[23:05] <durandal_1707> no, in fraps.c
[23:05] <durandal_1707> or could check linesize in av_picture_copy
[23:06] <durandal_1707> but that one would make that function slower
[23:06] <OanaStratulat_> i `m checking linesize in av_picture_copy
[23:06] <OanaStratulat_> how to i use av_image_check_size for avctx, f ?
[23:07] <durandal_1707> find where function is defined
[23:07] <durandal_1707> it is in libavutil/imgutils.c
[23:07] <OanaStratulat_> it has 4 params width height log_offset and log_ctx
[23:08] <OanaStratulat_> log offset and log ctx are unknown for me
[23:08] <OanaStratulat_> offset being 0 and the ctx is avctx and f ?
[23:08] <durandal_1707> just set them to 0
[23:08] <OanaStratulat_> ok
[23:09] <OanaStratulat_> and the ctx is avctx and f ?
[23:09] <durandal_1707> 4th arg could be avctx
[23:10] <michaelni> OanaStratulat_, durandal_1707 the problem is mismatching w/h/pix_fmt between previous and current picture
[23:11] <OanaStratulat_> so it`s not the linesize ?
[23:11] <michaelni> best place to check for this is in avcodec_default_reget_buffer()
[23:11] <michaelni> rgb has linesizes X,0,0
[23:12] <michaelni> planar yuv has linesizes X Y Z
[23:12] <OanaStratulat_> michaelni: so how can i check that ? temp_pic is AVFrame and pic is also AVFrame
[23:12] <OanaStratulat_> temp_pic.pix_fmt ?
[23:12] <OanaStratulat_> like this?
[23:12] <durandal_1707> switching pix_fmt is not supported at all?
[23:13] <michaelni> it is supported but you cant reget a yuv buffer from a rgb buffer
[23:14] <michaelni> the code should checl for mismatch and then release_buffer() + get_buffer()
[23:14] <michaelni> + av_log()
[23:15] <OanaStratulat_> for pic how can i av_log the height
[23:15] <OanaStratulat_> i am having error: request for member height in something not a structure or union
[23:15] <michaelni> pic->height
[23:15] <OanaStratulat_> av_log(0,0,"%d\n",pic.height);
[23:15] <durandal_1707> lol, i would probably never found that file is using 2 different versions
[23:16] <durandal_1707> OanaStratulat_: compare old frame version with new one and do what michaelni said
[23:17] <OanaStratulat_> how to compare the version?
[23:17] <durandal_1707> loging picture height is irrelevant here
[23:18] <OanaStratulat_> how can i log the version?
[23:18] <durandal_1707> version is unsigned int
[23:18] <durandal_1707> and it is initialized at line 145
[23:19] <OanaStratulat_> i mean the member of the struct
[23:19] <OanaStratulat_> how it is named
[23:19] <durandal_1707> struct for what?
[23:20] <OanaStratulat_> you said to check the version of the frame with the previous one
[23:20] <OanaStratulat_> how can i find the version in the 1st plac
[23:20] <OanaStratulat_> place *
[23:20] <durandal_1707> it is on line 145
[23:20] <durandal_1707> version = header & 0xff
[23:21] <durandal_1707> add old_version and initialize it to -1
[23:21] <durandal_1707> but not in decode_frame but in FrapsContext
[23:22] <durandal_1707> no need to name it old_version just version would be fine
[23:22] <durandal_1707> then initialize s->version to -1 in decode_init
[23:23] <durandal_1707> so you could know if older version need to be compared with new one
[23:23] <OanaStratulat_> ok
[23:23] <durandal_1707> michaelni: when i tried different pix_fmt with cdxl it did not worked (ffplay)
[23:24] <OanaStratulat_> so now i compare avctx->version with f->version ?
[23:25] <durandal_1707> no, compare version in decode_frame() with s->version
[23:25] <durandal_1707> f->version is for decode_init
[23:25] <durandal_1707> wrong
[23:25] <durandal_1707> it is s->version always
[23:26] <durandal_1707> I messed it up with AVFrame
[23:26] <OanaStratulat_> ok so if they are different ?
[23:26] <michaelni> maybe changing pix_fmt works only with ffmpeg
[23:26] <OanaStratulat_> av_log and exit program ?
[23:28] <durandal_1707> OanaStratulat_: and/or release_buffer()
[23:28] <OanaStratulat_> release buffer how ?
[23:29] <durandal_1707> decode_end() have example
[23:30] <OanaStratulat_> s->release_buffer(s,&s->frame) ?
[23:30] <durandal_1707> no avctx->....
[23:32] <OanaStratulat_> durandal_1707: http://pastebin.com/U8iR6J2H
[23:32] <OanaStratulat_> this is my output now
[23:35] <OanaStratulat_> michaelni: ping
[23:38] <OanaStratulat_> durandal_1707: what message should i put in my patch ?
[23:39] <durandal_1707> something like: av_log(avct, AV_LOG_INFO, "Multiple versions encountered in file\n");
[23:41] <OanaStratulat_> and what commit message ?
[23:43] <OanaStratulat_> durandal_1707: ^
[23:45] <durandal_1707> do not crash when decoding different versions in same file
[23:46] <durandal_1707> fraps: release_buffer when ....
[23:46] <durandal_1707> i'm really out of ideas
[23:47] <OanaStratulat_> Patch : release_buffer() when multiple versions are found in fraps file
[23:47] <OanaStratulat_> good for you?
[23:48] <durandal_1707> fraps: fix crash when mult...
[23:48] <durandal_1707> and use "git format-patch"
[23:49] <OanaStratulat_> yes
[23:49] <durandal_1707> oh, and dont write fraps twice
[23:51] <OanaStratulat_> ok
[23:52] <OanaStratulat_> durandal_1707: Fraps : fix crash when multiple versions are found in file
[23:52] <durandal_1707> no need for big _F_
[23:53] <durandal_1707> no need for extra whitespace
[23:53] <durandal_1707> fraps: fix....
[23:55] <OanaStratulat_> michaelni: ping
[23:57] <durandal_1707> OanaStratulat_: no need ping him multiple times
[00:00] --- Mon Jan 9 2012
1
0
[00:03] <relaxed> greentemik: did you try ffmpeg-devel in /usr/ports?
[00:03] <greentemik> the thing is I am using pfSense, it is not quite the same as FreeBSD, but based on it
[00:03] <greentemik> it does not have ports
[00:04] <greentemik> I use pkg_add - r instead
[00:04] <greentemik> but when I try to get it from ftp, I have an old bersion, and there is no v4l support
[00:10] <relaxed> look at the freebsd port and see how it's compiled with v4l or ask in ##freebsd
[00:10] <greentemik> well..
[00:10] <greentemik> still do not understand
[00:11] <greentemik> where to look? I am new, sorry, plz give me a link
[00:13] <ubitux> freebsd with v4l? huh?
[00:13] <ubitux> freebsd has a v4l support?
[00:14] <relaxed> yes
[00:15] <relaxed> through its linuxulator
[00:16] <greentemik> any ideas? May be some body allready trier?
[00:33] <greentemik> may be I can add new formats to the listning of the command ffmpeg -formas
[00:33] <greentemik> >
[00:33] <greentemik> ?
[02:10] <john_doe_jr> I'd like to make the current Google Chrome in Windows be able to play mp4s...I realize that chrome is using avcodec-52.dll found @ C:\Documents and Settings\Owner\Local Settings\Application Data\Google\Chrome\Application\16.0.912.75 ...I've tried to drop in previous dlls avcodec.dll files into that folder but it's not working
[02:14] <john_doe_jr> Any body there?
[02:24] <darkstarbyte> Is jkramer on?
[02:55] <hi117> john_doe_jr you might be able to do it with chromium.... im not sure how you would do it with chrome
[02:56] <john_doe_jr> hi117, well, I tried w/ chromium
[02:56] <john_doe_jr> hi117, not working
[02:56] <hi117> also it should be able to play mp4s, it might not be ably to play whats in them though, mp4 is just a container IIRC
[02:57] <john_doe_jr> hi117, Google chrome ended support for mp4s
[02:58] <hi117> hmm, im running chromium and i can play mp4 on linux
[02:58] <hi117> its the dev channel though
[03:00] <hi117> looks like a known issue was found and support was removed pending an update http://www.google.com/support/forum/p/Chrome/thread?tid=789de9c795e81ce1&hl…
[03:01] <hi117> maybe?
[03:07] <hi117> looking into it a little deeper, though its probably coded to look only at avcodec-52.dll, need to see if its possible to overwrite with a better dll ut i wouldnt go blindly changing your libraries
[03:08] <hi117> you could switch to the dev channel which seems to include support
[03:08] <hi117> but it will mess up your user settings
[03:16] <john_doe_jr> hi117, well, Google Chrome dropped it on purpose though...it's not a bug
[03:16] <hi117> it doesnt make sense to drop probably the most popular video container format unless theres a problem with it
[03:17] <john_doe_jr> hi117, its propertiery
[03:17] <john_doe_jr> hi117, it does make since if they are going to have to pay
[03:18] <hi117> idk but it seems chromium has mp4 support in dev channel
[04:07] <darkstarbyte> Why does this happen when I take one format to another format [matroska @ 0x1e8f1c0] Can't write packet with unknown timestamp
[04:08] <darkstarbyte> I did it with ffmpeg
[04:09] <john_doe_jr> well, that is a memory location...
[04:11] <darkstarbyte> How would I bypass it?
[05:12] <_klk_> hi all. i'm using VLC to export a raw http stream of an mkv file with x264 video. i'm trying to access this video either using ffplay or avformat_open_input with filename http://127.0.0.1:8080 . however, i'm getting an error value -1094995529 from avformat_open_input.
[05:12] <_klk_> does anyone know why this might be happening
[05:41] <sangcn> hi everybody, anybody known what does the syntax to apply video filter
[05:43] <sangcn> example filter with fade effect by ffmpeg?
[06:47] <darkstarbyte> sangcn, You may want to use a video editor for special effects.
[07:01] <sangcn> @darkstarbyte: yes, I want to use ffmpeg because I want embed ffmpeg in my program, so I can use a video editor.
[07:33] <bony> how do i fast forward a video. In my case i too a 30 min shot of moon raising and i have to fast forward the video to 1 min or less than that
[10:08] <Peasley> hey, im using avcodec_decode_video with h264 format, is there a way I can send the frame directly into GPU and do scalin/rgb conversation there?
[10:09] <Peasley> I dont understand what type of AVFRame decode_video gives me?
[11:51] <OldManMagnus> hi. i've got a folder full of png files (rendered by blender) and i'm trying to turn them into a video file with ffmpeg.
[11:52] <OldManMagnus> ffmpeg -i %04d.png output.ogv
[11:52] <OldManMagnus> someone told me to use that but it tells me no such file or directory.
[11:52] <OldManMagnus> ffmpeg -i *.png output.ogv
[11:52] <OldManMagnus> that seems to get further, but then i get a core dump.
[11:53] <OldManMagnus> any suggestions?
[11:55] <OldManMagnus> my files are 0001.png, 0002.png etc
[12:08] <OldManMagnus> isn't %d a wildcard for numbers in a filename?
[12:10] <Peasley> OldManMagnus; did you read this? http://ffmpeg.org/faq.html#How-do-I-encode-single-pictures-into-movies_003f
[12:12] <OldManMagnus> Peasley: i've tried %d.png, but it tells me %d.png doesn't exist.
[12:14] <Peasley> did you try -f too
[12:14] <Peasley> are you in right directory?
[12:14] <OldManMagnus> http://pastebin.com/Q1r7GFBE
[12:14] <Peasley> see what happens if you rename files to have "i" in front of them
[12:14] <OldManMagnus> i'm definitely in the right directory.
[12:15] <OldManMagnus> i'll try putting something in front of the filename.
[12:17] <OldManMagnus> nope. doesn't work.
[12:17] <OldManMagnus> i've got a folder full of files called stuff like image0167.png
[12:17] <Peasley> what does ls show
[12:19] <OldManMagnus> http://pastebin.com/30GuRg7k
[12:19] <OldManMagnus> i'm wondering if i've got a buggy version of ffmpeg.
[12:19] <OldManMagnus> i'm using ubuntu 12.04 alpha 64bit.
[12:20] <OldManMagnus> but simple stuff like this should still work.
[12:20] <Peasley> try ffmpeg -i ./%d.png output.mpg
[12:20] <Peasley> if that doesnt work, try absolute paths
[12:21] <Peasley> if that doesnt work, try unistalling and download again
[12:21] <OldManMagnus> tried it. no such file or directory. :(
[12:21] <Peasley> i dont have more ideas ;)
[12:21] <OldManMagnus> ok. thanks.
[12:21] <Peasley> you can try ' and " and ` too
[12:21] <OldManMagnus> i'll build it from source or something.
[12:21] <Peasley> (ive used linux only once in my life time, dunno what there is)
[12:21] <OldManMagnus> bbl
[12:31] <MrJones> http://www.homeofjones.de/temp/ffmpeg.txt someone around who can check this FFmpeg initialisation code and tell me what could be a reason for me getting sample rate 0 and 0 channels? I'd really like to get the real values :p
[12:39] <OldManMagnus> hmm. build ffmpeg from source. same issue. :(
[12:42] <MrJones> OldManMagnus: maybe your bash is interpreting % somehow? assuming that is supposed to go to FFmpeg, did you try %d to avoid that? or \%d
[12:42] <MrJones> the first was supposed to be a double-%, but my IRC client is also interpreting it it seems :P
[12:42] <MrJones> %%
[12:42] <MrJones> that worked
[12:42] <MrJones> so %%d or \%d
[12:42] <OldManMagnus> i'll try that.
[12:43] <MrJones> * is actually filled in by the bash with file names, so *.png should work
[12:43] <MrJones> assuming FFmpeg can take multiple names in a list
[12:44] <OldManMagnus> %%d, \%d, \%%d. none of these worked.
[12:45] <MrJones> did you try *.png again with your self compiled FFmpeg? does it still core dump?
[12:46] <OldManMagnus> ffmpeg -i *.png film.ogv
[12:46] <OldManMagnus> it doesn't core dump, but it produces an ogv with no data.
[12:46] <OldManMagnus> Input #0, image2, from 'image0061.png':
[12:47] <OldManMagnus> found that in the output.
[12:47] <MrJones> well I never used this feature so... I cannot comment any further :/
[12:47] <OldManMagnus> 0061.png is the last image. so i suspect *.png goes through them all and only gives the last one to ffmpeg.
[12:48] <OldManMagnus> MrJones: thanks anyway. :)
[15:16] <greentemik> Hi! My question is the same, anyone could pls help me to compile ffmpeg on freebsd with v4l support?
[17:10] <someone-noone> hello, i have a problem:
[17:10] <someone-noone> ffmpeg -i rtmp://localhost/ses4/widgetmain/ -f test.mkv
[17:10] <someone-noone> on localhost i've runned crtmpserver
[17:11] <someone-noone> It should receive /ses4/widgetmain/ as URI, but receives only ses4/ as URI
[17:11] <someone-noone> Why it's happenning (other software, like flash player and lot of others doesn't have such problem)?
[17:11] <someone-noone> how can i specify full URI with ffmpeg ?
[17:11] <someone-noone> thanks, for attention
[18:01] <shadowcry> hi does anyone know how to fix this?
[18:01] <shadowcry> Encoder (codec id 86017) not found for output stream #0.0
[18:01] <shadowcry> been searching for about half and hour to no avail
[18:03] <shadowcry> I have to go its 4am here
[18:18] <Rodger> Does anyone here know much about the THP encapsulation format?
[18:19] <Rodger> I've been having trouble converting some THPs to H.264/MP3 .mov's.
[18:20] <Rodger> I got the files out of the Fire Emblem 9+10 ISOs
[18:20] <Rodger> The ones from 10 are working fine
[18:21] <Rodger> The ones from 9 are interlaced, but ffmpeg's deinterlacer is working well on them
[18:22] <Rodger> Most of the 9 ones are getting rainbow artifacts at the end of the video where they should dip to white, accompanied by ffmpeg spewing mjpeg bad bloc and unrecognized coding errors
[18:22] <Rodger> s/bloc/vlc/ (autocorrect)
[18:23] <Bugsbane> Hey, does anyone know a way of capturing the full screen resolution (across Linux distros) without installing extra stuff (like xrandr etc)?
[18:23] <Rodger> One file starts erroring very early in the video, so it's entirely unwatchable.
[18:23] <relaxed> Rodger: are you using the most recent ffmpeg version?
[18:24] <Rodger> relaxed: I got a prebuilt version for OSX, lemme check the rev
[18:25] <Rodger> Version 0.9 built dec 18 2011... Where's the rev number?
[18:27] <relaxed> that's recent enough
[18:27] <Rodger> OK, so probably not fixed in a later rev?
[18:28] <MrJones> http://www.homeofjones.de/temp/ffmpeg.txt can someone tell me why I get sample rate: 0 and 0 channels here? instead of proper values
[18:28] <MrJones> must have messed up some initialisation part, but I am not sure where/how
[18:28] <relaxed> Rodger: there may be a decoding bug
[18:29] <Rodger> I'll upload a working THP from FE10, a semi-working one from FE9, and the broken one from FE9 once I have wifi
[18:29] <Rodger> relaxed: Could a new rev have fixed it?
[18:29] <Rodger> I've been on a cruise for a week, so I haven't been able to do much
[18:30] <Rodger> ESP. On a laptop without gcc...
[18:30] <relaxed> sure, test with the latest git and if it still errors then file a bug report.
[18:30] <relaxed> I can test for you if you upload them somewhere.
[18:31] <Rodger> OK, I'll mediafire them as soon as I have wifi
[18:32] <Rodger> If they work for you, I'll ssh home and build latest git, then reeccode the broken files
[18:46] <Rodger> I'm going offline now to save battery; I'll be on later under the nick llrcombs
[18:47] <Bugsbane> Found my answer: ffmpeg -f x11grab -r 2 -s `xdpyinfo | grep 'dimensions:'|awk '{print $2}'` -i :0.0 Filename_%d.jpg
[18:48] <Bugsbane> Now I just need to figure out how to set the jpeg's to 90% quality
[18:56] <relaxed> Bugsbane: try -qscale 3
[18:56] <Bugsbane> relaxed: Thanks. I'll give that a shot....
[18:58] <Bugsbane> Looks like that did the trick relaxed! Thanks!
[19:16] <Fapencio> 12hello
[19:16] <Fapencio> 12i need some help with ffmpeg for windows please
[19:18] <Fapencio> 12hello, i need to convert flv to 3gp for mobile phone with h263 vcodec and amrnb acodec
[19:18] <Fapencio> 12`md iive ods15 superdump ubitux uau ]R[ _blister Agiofws Akira^^ Alasdairrr AnywhereIs Ave bahar BBonifield bcoudurier benpro beorn Big_Brother bigmoondawg blast_hardcheese blinky42 boiled_sugar Bombo Bugsbane buhman Buster cbreak cbsrobot CharlesD_ Chikuzen chris| Coderjoe colde crazed CruX| curfont cyndis D-ion darkstarbyte darth_raijin dashcloud defaultro dionoea dongs dotblank drv dv_
[19:18] <Fapencio> 12eightfold epitron EricAhn_ Extrems Fallenou Fapencio fflogger fierman Freakshow G ghoti grepper Guest82811 haakon__ hfb highzeth huglester Hyperi Igloo infojunky ircdearia ivanich_ j-b-r j^ JEEB JEEBsv jegade jesselang jfroebe Jikan jkramer JodaZ Jonno JonOomph jvolkman JY` kanzure kcm1700 keeperofdakeys kent11 kevin_b keyvan kloeri knneth kode54 kriegerod Kuukunen lahwran Leoneof LexSfX
[19:19] <Fapencio> 12linuxstony Loof LRN Madtree Malmis masch mateo` matt5 mattg maujhsn mdsh merzo metvik michaelni microchip_ moser movax MP4_maniac MrBreeze MrJones MT` Muzer mzahariev NapHtaKeRoSene neli Nescafe Nikoli NOTaMango Nowak Orphis osearth P-l patrask peuhkura pfloyd pigeon plethora Plorkyeran pom praedo pron psykx rav0_ relaxed rexbron roman3x RV___ sacarasc ser ShadowJK skebcio slackmagic stein
[19:19] <Fapencio> 12stump supercurio sw4 sybariten tchmiel teratorn thedj theholyduck TheRyuu Tjoppen tnelson tomaw tonsofpcs Trax`` Trax|wrk Unhelpful vcs vektor verma voidcoder Yoda---- zap0 zizzfizzix
[19:19] <MrJones> what the fuck
[19:19] <colde> What the fuck
[19:19] <osearth> neat
[19:19] <masch> what the fuck
[19:19] <MrJones> Fapencio: you just ensured noone will help you.
[19:19] <colde> Kick the idiot
[19:19] <Leoneof> someone called me, yay!
[19:19] <osearth> Fapencio type //say $ip
[19:19] Action: Leoneof going to sleep again.
[19:19] <roman3x> god morning to all :D
[19:19] <Leoneof> not good idea, really... let me sleep again.
[19:19] <osearth> i was fb stalking.. back to the highschool for me!
[19:20] <zap0> moron
[19:20] <masch> ubitux: thx!
[19:20] <MrJones> hm
[19:20] <roman3x> fb stalking? what exactly mean?
[19:20] <maujhsn> "Wow"!
[19:20] <MrJones> now that everyone is awake, can someone help me with a little libav* problem maybe? http://www.homeofjones.de/temp/ffmpeg.txt that is the initialisation code, and basically I get stream sample rate 0 and 0 channels from FFmpeg which seems to be.. wrong
[19:21] <Fapencio> 12lol
[19:21] <theholyduck> derp.
[19:21] <theholyduck> not sure if troll
[19:21] <theholyduck> or genuinly retarded
[19:21] <PhM> hello everyone
[19:21] <Hyperi> haha :D
[19:21] <Fapencio> i need help please, i want to convert a flv to 3gp, but it must be h263 vcodec and amrnb acodec
[19:22] <PhM> did someone experienced problems with sound sync encoding with libfaac and libx264 ?
[19:22] <Fapencio> theholyduck genuinly retarded
[19:22] <Fapencio> i need help please, i want to convert a flv to 3gp, but it must be h263 vcodec and amrnb acodec
[19:22] <ubitux> Fapencio: you're going to get banned if you continue
[19:22] <osearth> Fapencio easy
[19:23] <Bugsbane> Fapencio: pinging everyone in the channel is just shooting yourself in the foot, dude.
[19:23] <osearth> Fapencio: just type //say $ip
[19:23] <osearth> ;]
[19:23] <cbreak> can someone kick that spamming moron?
[19:24] <Fapencio> sorry everyone, it is just that i wanted someone to ansewer me
[19:24] <Fapencio> i wont do it again
[19:24] <MrJones> Fapencio: you can't have everything in life, sadly.
[19:24] <Bugsbane> MrJones: That's ok. I only want the good bits :)
[19:24] <BobLfoot> So do I read the topic correctly the old -vpreset has been repalced by -preset when encoding?
[19:24] <Fapencio> sorry
[19:25] <Fapencio> look, can somebody help me? i want to convert a video to .3gp with amr audio codec, (amrnb) but ffmpeg says the codec doesnt existe
[19:26] <ubitux> i guess you have to build ffmpeg with --enable-libopencore-amrnb
[19:26] <PhM> just try ffmpeg -codecs to have all available codecs with your configure options
[19:28] <Fapencio> phm i have already done that, and it appear in the list, so i asume it is supported, but when i try to ecnode it keep telling me it doesnt exxist
[19:29] <Fapencio> @ubitux im using windows, can i build it in windows? where can i get that library'?
[19:32] <maujhsn> osearth What does this command do? "//say $ip"
[19:32] <osearth> 192.168.1.201
[19:32] <maujhsn> OK
[19:33] <maujhsn> ISP got it know!
[19:34] <maujhsn> urrrr "now"
[19:35] <osearth> whats the haps on the new ffmpeg sploit?
[19:38] <BobLfoot> sbca
[19:40] <ubitux> Fapencio: no idea, i don't use windows
[19:54] <maujhsn> ubitux I get a slight drop in quality when I go from a ".jpg" photo to a 10 second ".mpg" movie! Is there anyway to improve onthe movie sharpness?
[19:55] <ubitux> -q:v 0 ?
[19:55] <ubitux> but why are you asking me?
[19:56] <ubitux> (-q sorry)
[19:56] <ubitux> not sure it will help actually
[19:56] <maujhsn> ubitux Thought you might have the answers!
[19:57] <maujhsn> ubitux Here is the command that I was using: "ffmpeg -loop_input -r 30000/1001 -i Horse_B.jpg -t 00:00:10 -qscale 3 horse.mpg".
[19:58] <PhM> I got an error when using libx264 -profile and any sound encoding but everything is fine if I disable sound encoding, what's wrong ?
[19:59] <ubitux> maujhsn: i don't know
[20:01] <maujhsn> ubitux What is this stuff then: "-q:v 0" ?
[20:02] <desti> hi, what's the video codec with the least cpu usage when encoding 1080p25 in real time? raw video is too much data for my hdd
[20:03] <ubitux> maujhsn: my imagination, just forget this :)
[20:04] <maujhsn> ubitux OK
[20:18] <Tjoppen> m-m-m-monsterhighlight
[20:34] <relaxed> maujhsn: -q:v 1 == -qscale 1 (0 won't work)
[20:38] <maujhsn> relaxed Would it look like this: "ffmpeg -loop_input -r 30000/1001 -i photo.jpg -t 00:00:10 -q:v 1 == -qscale 1 photo.mpg"!
[20:39] <relaxed> I meant they are the same command
[20:41] <maujhsn> relaxed Would it look like this: "ffmpeg -loop_input -r 30000/1001 -i photo.jpg -t 00:00:10 -q:v 1 == -qscale 1 photo.mpg"!
[20:42] <relaxed> ffmpeg -loop_input -r 30000/1001 -i photo.jpg -t 00:00:10 -q:v 3 photo.mpg
[20:45] <maujhsn> relaxed ffmpeg: unrecognized option '-q:v'
[20:45] <ubitux> i said to forget the -q:v stuff :(
[20:45] <ubitux> use -q
[20:45] <ubitux> which is the same as -qscale
[20:48] <maujhsn> ubitux OK
[20:48] Action: relaxed steps on ubitux's toes
[22:35] <mcbaine1> hi there .. aloha
[23:29] <Rodger> relaxed: You still here?
[00:00] --- Mon Jan 9 2012
1
0
[00:08] <laurion> how do i find someone that provides ffmpeg free acces to their specifications?
[00:08] <iive> what specification? I want them too.
[00:09] <kierank> i have a lot of specs
[00:09] <kierank> what do you want
[00:11] <iive> everything :)
[00:12] <laurion> ISO, ITU or SMPTE
[00:13] <kierank> why
[00:13] <kierank> just for the sake of it or what
[00:13] <laurion> kierank, are you involved with one of these orgs?
[00:14] <kierank> no
[00:14] <kierank> but i have specs
[00:14] <JEEB> kierank, I think he's trying that GCI task to find people who'd be officially willing to give specs out for free >_>
[00:14] <kierank> oh
[00:14] <kierank> nobody will be
[00:14] <kierank> that's not even a task
[00:14] <laurion> JEEB, right
[00:14] <JEEB> indeed
[00:15] <JEEB> it's there for the laughs or for people to just try I guess
[00:15] <laurion> oh really?
[00:15] <laurion> trolling?
[00:15] <laurion> or what
[00:15] <JEEB> well, not really
[00:15] <JEEB> but it'll be really hard to get it seriously done :P
[00:15] <kierank> the organisations who give out specs for free already do it
[00:15] <JEEB> given the fact that those organizations are getting money off those specs officially
[00:15] <JEEB> yeah
[00:15] <JEEB> and that, too
[00:16] <laurion> can't we fix a bug and take that task instead?
[00:17] <laurion> if it's not going to be done anyway
[00:17] <kierank> pfft it was a bad task anyway
[00:18] <kierank> like asking the bank for free money
[00:19] <CIA-101> ffmpeg: 03Michael Niedermayer 07master * r4925b6e784 10ffmpeg/libavformat/tta.c:
[00:19] <CIA-101> ffmpeg: tta: fix off be 1 error in the end detection.
[00:19] <CIA-101> ffmpeg: Fixes use of uninitialized values.
[00:19] <CIA-101> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[00:19] <CIA-101> ffmpeg: 03Michael Niedermayer 07master * r877f6eb5fb 10ffmpeg/libavformat/tta.c:
[00:19] <CIA-101> ffmpeg: tta: Fix returned error code at EOF
[00:19] <CIA-101> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[00:19] <CIA-101> ffmpeg: 03Michael Niedermayer 07master * r5152beeba8 10ffmpeg/libavcodec/mjpeg.h:
[00:20] <CIA-101> ffmpeg: ljpeg: Add predictor=0 support.
[00:20] <CIA-101> ffmpeg: Fixed first half of ticket889
[00:20] <CIA-101> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[00:20] <CIA-101> ffmpeg: 03Michael Niedermayer 07master * r12d8340f16 10ffmpeg/libavcodec/mjpegdec.c:
[00:20] <CIA-101> ffmpeg: ljpeg: Fix bits != 8 or 16 support
[00:20] <CIA-101> ffmpeg: Fixes 2nd half of Ticket889
[00:20] <CIA-101> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[00:24] <michaelni> laurion, our bugs arent easy to fix either
[00:25] <ubitux> don't we have typo & spelling tasks?
[00:25] <laurion> michaelni, maybe some crashes, invalid reads...
[00:25] <ubitux> for code comments, documentation and website
[00:26] <michaelni> ubitux, no
[00:27] <michaelni> that is IIRC
[00:31] <michaelni> whats the oppinion of the other people in here about using the "get all specs" tasks for "close a bug" ?
[00:32] <laurion> michaelni, what is iirc
[00:35] <michaelni> http://www.urbandictionary.com/define.php?term=iirc
[02:10] <OanaStratulat> michaelni: was my 4xm FPE patch pushed ?
[02:21] <michaelni> OanaStratulat, appears not, ill apply it soon
[02:29] <OanaStratulat> michaelni: ok
[02:32] <OanaStratulat> michaelni: how can i see what patches have been applied to the master branch of ffmpeg ?
[02:32] <OanaStratulat> all the commits, with patches for the decoders/encoders
[02:33] <michaelni> git log -p master
[02:44] <CIA-101> ffmpeg: 03Anssi Hannula 07master * r580bb77936 10ffmpeg/libavformat/spdifenc.c:
[02:44] <CIA-101> ffmpeg: spdifenc: use special alignment for DTS-HD length_code
[02:44] <CIA-101> ffmpeg: Align IEC 61937 length_code for DTS-HD so that
[02:44] <CIA-101> ffmpeg: (length_code & 0xf) == 0x8. This is reportedly needed with some
[02:44] <CIA-101> ffmpeg: receivers.
[02:44] <CIA-101> ffmpeg: Signed-off-by: Ronald S. Bultje <rsbultje(a)gmail.com>
[02:44] <CIA-101> ffmpeg: 03Janne Grunau 07master * rf907615f08 10ffmpeg/libavcodec/ (h264_parser.c mpeg4video_parser.c vc1_parser.c): (log message trimmed)
[02:44] <CIA-101> ffmpeg: parsers: initialize MpegEncContext.slice_context_count to 1
[02:44] <CIA-101> ffmpeg: The mpeg4 video, H264 and VC-1 parser hold (directly or indirectly)
[02:44] <CIA-101> ffmpeg: a MpegEncContext in their private context. Since they do not call the
[02:44] <CIA-101> ffmpeg: common mpegvideo init function slice_context_count has explicitly set
[02:44] <CIA-101> ffmpeg: to 1.
[02:44] <CIA-101> ffmpeg: Prevents a null pointer dereference in the h264 parser and fixes
[02:44] <CIA-101> ffmpeg: 03Justin Ruggles 07master * r6e8bf6db48 10ffmpeg/libavcodec/bytestream.h: add bytestream2_tell() and bytestream2_seek() functions
[02:44] <CIA-101> ffmpeg: 03Diego Biurrun 07master * r301fb92131 10ffmpeg/libavcodec/h264.c:
[02:44] <CIA-101> ffmpeg: h264: Only use symbols from the SVQ3 decoder under proper conditionals.
[02:45] <CIA-101> ffmpeg: Fixes bug #126.
[02:45] <CIA-101> ffmpeg: Signed-off-by: Justin Ruggles <justin.ruggles(a)gmail.com>
[02:45] <CIA-101> ffmpeg: 03Diego Biurrun 07master * r3aa3fc45fe 10ffmpeg/libavcodec/cabac.h: cabac: remove unused function renorm_cabac_decoder
[02:58] <CIA-101> ffmpeg: 03Oana Stratulat 07master * r44cc1936be 10ffmpeg/ffmpeg.c:
[02:58] <CIA-101> ffmpeg: ffmpeg: Fix segfault with zzufed 4xm file.
[02:58] <CIA-101> ffmpeg: Fixes ticket 885
[02:58] <CIA-101> ffmpeg: Signed-off-by: Oana Stratulat <oanaandreeastratulat(a)gmail.com>
[02:58] <CIA-101> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[11:09] <CIA-101> ffmpeg: 03Stefano Sabatini 07master * rceef1ee767 10ffmpeg/ (avconv.c ffmpeg.c ffplay.c ffprobe.c):
[11:09] <CIA-101> ffmpeg: cmdutils: make show_usage() use av_log()
[11:09] <CIA-101> ffmpeg: Avoid printing on stdout when show_usage is used in an error message.
[11:09] <CIA-101> ffmpeg: 03Stefano Sabatini 07master * r9ecccd6e5a 10ffmpeg/ffprobe.c:
[11:09] <CIA-101> ffmpeg: ffprobe: move header and trailer print from probe_file() to main()
[11:09] <CIA-101> ffmpeg: Simplify printing from the main() context, in case probe_file() is not
[11:09] <CIA-101> ffmpeg: called, as required by the pending -show_version option.
[11:09] <CIA-101> ffmpeg: 03Stefano Sabatini 07master * re869d08cbc 10ffmpeg/ (cmdutils.c cmdutils.h):
[11:09] <CIA-101> ffmpeg: cmdutils: make this_year extern, so it can be referenced from other .o files
[11:09] <CIA-101> ffmpeg: Required by a pending change in ffprobe.
[11:09] <CIA-101> ffmpeg: 03Stefano Sabatini 07master * rfa7d1c39fd 10ffmpeg/ffprobe.c:
[11:09] <CIA-101> ffmpeg: ffprobe: move writer context registration and initialization in main()
[11:09] <CIA-101> ffmpeg: Simplify pending changes, as the writer context will be used in the
[11:09] <CIA-101> ffmpeg: main() routine.
[13:14] <CIA-101> ffmpeg: 03Carl Eugen Hoyos 07master * ree884c3023 10ffmpeg/libavformat/idcin.c: Fix OOM error condition in idcin demuxer.
[14:31] Action: cbsrobot likes how quicktime 7 crashes when deleting 2 timecode tracks
[14:32] <merbanan> you are pushing it to hard
[14:32] Action: cbsrobot likes how quicktime 7 crashes even deleting one timecode track
[14:34] Action: cbsrobot is sure quicktime 7 even crashes just staring at a timecode track long enough
[14:38] <cbsrobot> ha - 3 minutes staring at it is enough
[16:08] <ubitux> is there anyone on windows to make a test for me please?
[16:09] <ubitux> i'd like someone to apply this:
[16:09] <ubitux> -static const uint8_t color[] = { 12, 12, 12, 14, 7, 7, 7 };
[16:09] <ubitux> +static const uint8_t color[] = { 12, 12, 12, 14, 7, 7, 10 };
[16:09] <ubitux> in libavutil/log.c
[16:10] <ubitux> and make me a screenshot of a misc decode with -debug 1
[16:10] <ubitux> just to confirm it's indeed green, and not unreadable
[16:26] <OanaStratulat> ubitux: michaelni ping
[16:26] <ubitux> yup
[16:26] <OanaStratulat> ubitux: ptp-roman.org/ffmpeg_crashes/dude
[16:26] <OanaStratulat> does it crash for you?
[16:27] <ubitux> yep
[16:27] <ubitux> bug in the fraps decoder
[16:28] <OanaStratulat> ubitux: in fraps2_decode_plane no?
[16:29] <ubitux> seems to be in decode_frame according to valgrind but i didn't look closely
[16:30] <OanaStratulat> my valgrind is http://pastebin.com/9tsunaW3
[16:30] <OanaStratulat> but it says in fraps2_decode_plane
[16:31] <ubitux> it's strange how clueless is valgrind in your output
[16:31] <ubitux> http://pastie.org/3143669
[16:31] <ubitux> this is my output
[16:32] -OanaStratulat:#ffmpeg-devel- Cannot pull with rebase: You have unstaged changes.
[16:32] -OanaStratulat:#ffmpeg-devel- Please commit or stash them.
[16:32] <OanaStratulat> ubitux: when i want to do git pull --rebase i get ^
[16:33] <ubitux> you need to commit your changes in the current branch (or another), or trash them
[16:33] <nevcairiel> or stash them. :)
[16:33] <OanaStratulat> how to trash them?
[16:33] <ubitux> git checkout themodifiedfile.c
[16:33] <ubitux> or git reset --hard
[16:34] <ubitux> (you won't get your changes back)
[16:35] <OanaStratulat> thx
[16:38] <OanaStratulat> ubitux: now i have remade with the latest changes and this is my valgrind http://pastebin.com/usGdQtK3
[16:38] <OanaStratulat> what valgrind version do you have
[16:39] <ubitux> 3.7.0
[16:39] <OanaStratulat> i ahve the same
[16:39] <OanaStratulat> and the latest ffmeg src files
[16:39] <ubitux> you are using ffmpeg in that latest paste
[16:40] <OanaStratulat> yes
[16:40] <OanaStratulat> maybe this is
[16:40] <ubitux> instead of the non-stripped _g one
[16:40] <ubitux> but your first paste seems to be with ffmpeg_g
[16:41] <ubitux> maybe the osx valgrind is just crappy, no idea
[16:41] <OanaStratulat> yes...i think this is
[16:41] <OanaStratulat> you are in gmt+1 ?
[16:43] <ubitux> sth like that
[16:43] <ubitux> why?
[16:44] <OanaStratulat> will you have time 2night to discuss about this bug?
[16:44] <OanaStratulat> or are you busy/
[16:45] <ubitux> feel free to ask here any related question at anytime
[16:45] <ubitux> i generally read the irc backlog anyway
[16:45] <OanaStratulat> i`m leaving now and that`s why
[16:45] <OanaStratulat> anyway speak 2night if you are here
[16:45] <OanaStratulat> bye everyone
[18:43] <durandal_1707> there is spammer on trac
[18:44] <durandal_1707> http://ffmpeg.org/trac/ffmpeg/wiki/WikiStart?action=diff&version=17
[18:44] <durandal_1707> j
[19:10] <michaelni> durandal_1707, spammer deleted, please fix the wiki if you didnt already, thx
[19:23] <CIA-101> ffmpeg: 03Carl Eugen Hoyos 07master * r19b945dc2a 10ffmpeg/libavcodec/pnm.c:
[19:23] <CIA-101> ffmpeg: Cosmetics: Fix indentation.
[19:23] <CIA-101> ffmpeg: Found by: Alexander Strasser
[19:40] <cbsrobot> ubitux ping
[19:45] <ubitux> cbsrobot: pong
[19:47] <cbsrobot> ubitux you wrote the timecode decoding for mov lately
[19:48] <cbsrobot> I guess you only pass the drop frame flag to the avcodeccontext - right ?
[19:50] <cbsrobot> would it be useful to also pas the "24 hour", "negative times" and "counter" to the context ?
[19:50] <ubitux> you mean in the codec flags2?
[19:50] <cbsrobot> yes
[19:51] <cbsrobot> I ask because I write the encoding part atm
[19:52] <ubitux> i guess it could be added, but why do you need it for the encoding part?
[19:53] <cbsrobot> well to support encoding timecode tracks ...
[19:54] <ubitux> the only reason i'd see it necessary would be for transcoding
[19:55] <cbsrobot> you know the "-dcodec copy" issue on track
[19:55] <ubitux> but if you want to add the writing support, adding -timecode opt doesn't require it
[19:55] <ubitux> ok, so in order to keep the data in a transcode
[19:55] <cbsrobot> yeah
[19:56] <ubitux> timecode transcode is not yet supported indeed
[19:56] <cbsrobot> I guess the context would get really big, if we support every possible aspect of the mov container ...
[19:56] <cbsrobot> I'm wondering how much is really necessary
[20:55] <CIA-101> ffmpeg: 03Michael Niedermayer 07master * rc8e309c2a6 10ffmpeg/libavformat/utils.c:
[20:55] <CIA-101> ffmpeg: lavf: Do not attempt to use frame multi threading when probing.
[20:55] <CIA-101> ffmpeg: This fixes various problems with getting stream info. For example playback of the
[20:55] <CIA-101> ffmpeg: file of Ticket88. Multithreaded find_stream_info should be reenabled
[20:55] <CIA-101> ffmpeg: once it works correctly
[20:55] <CIA-101> ffmpeg: This partly reverts 212fd3a1f1121a9db20c478f1fccf15e8bb53c94
[20:55] <CIA-101> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[23:04] <CIA-101> ffmpeg: 03Stefano Sabatini 07master * r9997d41672 10ffmpeg/ (Changelog doc/ffprobe.texi doc/ffprobe.xsd ffprobe.c):
[23:04] <CIA-101> ffmpeg: ffprobe: add support to video frame information printing
[23:04] <CIA-101> ffmpeg: Add -show_frames option to ffprobe.
[23:04] <CIA-101> ffmpeg: Partially based on the work of Thomas Kuehnel <kuehnelth(a)googlemail.com>
[23:04] <CIA-101> ffmpeg: for SOCIS 2011.
[23:04] <CIA-101> ffmpeg: The wicked idea of creating a special "packets_and_frames" container for
[23:04] <CIA-101> ffmpeg: structured formats (JSON and XML) comes from Clément.
[23:04] <CIA-101> ffmpeg: 03Stefano Sabatini 07master * r78c47e0a1e 10ffmpeg/doc/filters.texi: doc/filters.texi: fix typo in volume description
[23:09] <ubitux> :)
[00:00] --- Sun Jan 8 2012
1
0
[00:04] <DrPastah> Stream #0:0(jpn): Video: h264 (High), yuv420p, 1864x1048, SAR 1:1 DAR 233:131, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
[00:04] <DrPastah> what does tbr, tbn and tbc mean?
[00:04] <DrPastah> and SAR and DAR?
[00:12] <JEEB> SAR seems to be the pixel aspect ratio set, and DAR seems to be the display aspect ratio of the end result I guess
[00:45] <DrPastah> which one is bit rate?
[00:45] <DrPastah> Stream #0:0(jpn): Video: h264 (High), yuv420p, 1864x1048, SAR 1:1 DAR 233:131, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
[00:49] <DrPastah> how can i view a file's video bitrate?
[01:06] <LunaVorax_win> Hello everyone!
[01:07] <LunaVorax_win> I'm a longtime FFMpeg user and I recently heard about the libav fork. I would like to know what's the difference between the two project.
[01:10] <LunaVorax_win> I also couldn't ignore some people telling me that they were some tensions between the two project so I precise that it's a real question. I'm not here to troll or anything.
[01:16] <JEEB> Just think of it as two projects doing development work, and there being various amounts of merging between them. No real need to go further overall.
[01:17] <LunaVorax_win> Hum ok JEEB thanks
[01:18] <LunaVorax_win> Oh err
[01:18] <LunaVorax_win> I have a technical question about lossless codecs.
[01:18] <LunaVorax_win> Is it me or is the "lossless" preset of the x264 codec is just a big joke?
[01:19] <JEEB> in what way?
[01:19] <LunaVorax_win> The picture is all blurry and the colors spread out of the egdes
[01:20] <LunaVorax_win> I've used it on a video games recording in 256colors, I had no other choice to use HuffYUV or CorePNG to have a good result
[01:20] <JEEB> it is lossless compared to the 4:2:0/4:2:2/4:4:4 picture that gets input
[01:20] <JEEB> (default is 4:2:0)
[01:21] <JEEB> that sounds to me what happens when RGB gets converted to 4:2:0 YUV
[01:21] <LunaVorax_win> So it's visually lossless or real lossless?
[01:21] <LunaVorax_win> Oh
[01:21] <LunaVorax_win> Maybe it's that
[01:21] <JEEB> it is visually lossless if compared to the input, that is what I mean
[01:22] <LunaVorax_win> Ok I see
[01:22] <JEEB> also, lately there's a bgr mode in x264 as well
[01:22] <LunaVorax_win> Even FFV1 messed up the colors and the black became light, you think it's the same kind of problem?
[01:22] <JEEB> uhh
[01:22] <JEEB> that sounds like a PC/TV range mismatch somewhere
[01:22] <LunaVorax_win> Hum so I'm wrongly using the codecs you mean
[01:23] <JEEB> or playing back the output incorrectly, or failing something else
[01:23] <JEEB> (or ffmpeg failing something, but it's more often PEBKAC)
[01:24] <LunaVorax_win> Ah I haven't checked if it was a wrong playback
[01:30] <JEEBsv> anyways, from YUV 4:4:4 would be closest, and then there's the BGR mode which should be one-to-one with 8bit RGB
[01:30] <JEEBsv> both supported by libx264 nowadays
[01:31] <LunaVorax_win> Hum ok I'll check that
[01:31] <JEEBsv> 4:2:0 YUV is what you will have to use for most output tho
[01:31] <JEEBsv> as in, what you use for youtube and such
[01:38] <LunaVorax_win> Hum ok, thank JEEBsv I'll definitely have to dig that, it's getting pretty complex for me.
[01:39] <LunaVorax_win> To be honest, it would have been much simpler if YouTube wasn't messing already with the uploaded videos.
[02:39] <lytran> Please tell me how to use segment muxer to create .ts every 10 seconds
[03:03] <DrPastah> -bufsize size Set video buffer verifier buffer size (in bits). what does this buffer do exactly? Is it where it waits a certain amount before playing?
[03:03] <DrPastah> The docs say this need to be set if I want to change the max bitrate
[03:25] <DrPastah> ah nvm
[03:35] <lytran> hi
[03:35] <lytran> please let me know is there any problem with follow command
[03:35] <lytran> ffmpeg -y -i udp://239.30.10.6:5106?reuse=1 -c:v libx264 -c:a libmp3lame -map 0 -f segment -container_format ts -segment_time 10 -segment_pattern %03d -segment_basename out iphonetest.m3u8
[03:35] <lytran> this command cause the error : "Could not write header for output file #0 (incorrect codec parameters ?)"
[03:36] <lytran> If I remove container_format this command run
[03:36] <lytran> but I cannot create ts segment
[03:49] <nd456> can anyone help me to create a timelapse? (out of still images)
[06:27] <MrJones_> hi
[06:41] <cyrus_mc> if I want to convert a mpeg1 file to mpeg4 what command line would I use. I tried the following ffmpeg -i input.mpeg -vcodec mpeg4 -b 409k -r 25 -acodec mp2 -ab 192k -ar 48000 -ac 2 -async 1 -f dvd -thread 2 -y ~/test.avi
[06:41] <cyrus_mc> but what came out only the audio would play
[06:42] <MrJones_> is someone with some libav* knowledge here and can spot the problem in this stream initialisation? http://www.homeofjones.de/temp/ffmpeg.txt I end up with samplerate 0 and 0 channels. what do I miss to get a correct initialisation and correct samplerate/channel info?
[07:14] <MrJones_> any hint appreciated :p I'm quite new to FFmpeg
[09:30] <DrPastah> I'm heaving problems encoding something
[09:30] <DrPastah> for some reason the audio cracks
[09:30] <DrPastah> and lags
[09:30] <DrPastah> what settings can i use to prevent this?
[11:19] <zap0> the right ones
[12:41] <osearth_> http://www.securityfocus.com/archive/1/521101/100/0/threaded
[13:44] <greentemik> Hi! :) Anyone could help me please?
[13:45] <greentemik> I am new user and want to compile ffmpeg with v4l support
[13:47] <ubitux> should be enabled by default
[13:48] <ubitux> if it doesn't support your webcam, you might want to try --enable-libv4l2 for userspace library wrapper
[14:04] <jkramer> Hi
[14:05] <jkramer> I'm trying to convert an MKV file to MP4 using this command: ffmpeg -i input.mkv -acodec libmp3lame -vcodec copy output.mp4
[14:05] <jkramer> But I'm getting this error: Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
[14:06] <jkramer> Not sure what to do now, I think vcodec copy should just copy the video stream and not do any processing which would require those parameters
[14:06] <jkramer> Ah wait, stream #0.1 is the audio stream
[14:12] <darkstarbyte> There is a way to do that without reconverting the thing
[14:12] <darkstarbyte> I have a script for it
[14:13] <darkstarbyte> I have to go
[14:13] <jkramer> Mind to share it? :)
[14:13] <darkstarbyte> I can later but I have to get to work now.
[14:15] <jkramer> Hmm, adding -ac 2 (found on some website) seems to work, but now I'm getting another error
[14:15] <jkramer> [mp4 @ 0x86f0dc0] pts < dts in stream 0
[14:15] <jkramer> av_interleaved_write_frame(): Invalid data found when processing input
[14:16] <superlinux-hp> hi. how can I concatenate two OGV files?
[15:37] Last message repeated 1 time(s).
[16:17] <Keyboard_Warrior> superlinux-hp, if you dont care about the ogv
[16:17] <Keyboard_Warrior> mkvmerge generally has pretty great merging tools
[16:17] <Keyboard_Warrior> i find that in alot of cases
[16:17] <Keyboard_Warrior> using mkvmerge to append 1 file to the other
[16:17] <Keyboard_Warrior> creates a perfect file with audio, subtitles, sync and everything
[16:17] <Keyboard_Warrior> preserved
[16:18] <Keyboard_Warrior> if you do, there are more complicated options
[16:22] <superlinux-hp> OK
[16:57] <anddam> hello
[17:00] <anddam> I'm converting wav files to m4a using ffmpeg -i <infile> <outfile>
[17:01] <anddam> I met a wav at 11 kHz and I get "Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height "
[17:01] <anddam> how do I specify the target sample rate?
[17:02] <anddam> I checked the man and aresample= seemed the right option but I get "aresample=44100: Invalid argument "
[17:13] <ubitux> anddam: -ar
[17:13] <anddam> thanks, that did it
[17:25] <anddam> bye
[20:28] <Polarfire> hi everyone
[20:28] <Polarfire> is this the right place to ask a question?
[20:34] <Polarfire> I'll go ahead and ask then.....
[20:34] <Polarfire> I use ffmpeg to stream to RTMP servers, and when doing a screencast my audio and video slowly get out of sync
[20:35] <Polarfire> streaming a file works fine....
[20:35] <Polarfire> Is there anything I can set that will keep the two channels locked together?
[20:36] <Polarfire> I am using x11grab and pulseaudio as my sources
[21:05] <jfroebe> I'm writing a script that converts audiobooks (m4b) to mp3 files splitting on the chapters so I can listen to them in my car. Does anyone know if I can attach a thumbnail to the mp3 file created by ffmpeg (libmp3lame acodec) upon creation?
[21:08] <jfroebe> I'm trying to keep the dependencies to a minimum if possible.. :)
[23:53] <greentemik> Hi!
[23:53] <greentemik> anyone could pls help me to compile ffmpeg on freebsd with v4l support?
[00:00] --- Sun Jan 8 2012
1
0
[00:00] <ubitux> the last one is the top of the callstack
[00:00] <OanaStratulat> so the problem started at the last line
[00:00] <ubitux> but keep in mind some functions may have been called (and returned) before
[00:00] <cbsrobot> ubitux: thanks
[00:00] <OanaStratulat> yes
[00:01] <OanaStratulat> ubitux: do you know where av_assert0 (..) is defined ?
[00:01] <OanaStratulat> in which file ?
[00:02] <ubitux> avassert.h i guess
[00:02] <ubitux> but it doesn't matter really
[00:02] <ubitux> the issue here is that the number of output channel is invalid
[00:02] <cbsrobot> ubitux: as we do not have AVMEDIA_TYPE_TIMCODE - can I assume AVMEDIA_TYPE_DATA is always a timecode track ?
[00:02] <ubitux> and is not defined correctly according to the specified channel layout
[00:02] <cbsrobot> what do you think ?
[00:03] <ubitux> cbsrobot: i don't think so :p
[00:03] <cbsrobot> ok - thats what I thought
[00:03] <cbsrobot> I'm looking into http://ffmpeg.org/trac/ffmpeg/ticket/236
[00:04] <ubitux> cbsrobot: if you fix this one, you will certainly want to fix #810 too
[00:04] <cbsrobot> and I solved one part, but the "gmcd" atom can be extended with the tmcd atom if it's a timecode track
[00:05] <ubitux> michaelni: hehe yeah /topic on irc should be part of the checklist :p
[00:05] <cbsrobot> but I'm not sure how to distingush between DATA and TIMECODE tracks - any ideas ?
[00:06] <michaelni> without reading the log, codec_id
[00:07] <durandal_1707> michaelni: -tag bug is already reported as #867 (for mov conainter only)
[00:08] <OanaStratulat> ubitux: the ch_count is 2 when i avlog
[00:08] <ubitux> ok, but the ch layout is incorrect right?
[00:09] <OanaStratulat> ubitux: it is 3
[00:09] <OanaStratulat> s->in_ch_layout
[00:09] <OanaStratulat> for this i am checking
[00:10] <ubitux> in_ch_layout is the input channel layout; it's a mask which describe how the input audio stream is composed
[00:10] <ubitux> and in_ch_count is the number of input channels in the stream
[00:10] <cbsrobot> michaelni: I'll try that
[00:10] <ubitux> you have the same with out_* for the output
[00:11] <OanaStratulat> so the out i need to test no?
[00:11] <ubitux> that might help you to understand a bit what's happening there
[00:11] <ubitux> [SWR @ 0xadb23c0] Value 22.000000 for parameter 'och' out of range
[00:11] <ubitux> Assertion s->out.ch_count failed at libswresample/swresample.c:229
[00:11] <ubitux> i have this
[00:11] <ubitux> och output channel count
[00:11] <OanaStratulat> yes the och is 0
[00:12] <OanaStratulat> http://pastebin.com/PFUx56WY
[00:12] <OanaStratulat> is 0 a good value or it must pe >0 always ?
[00:12] <ubitux> >0
[00:12] <ubitux> this is what the assert is checking
[00:12] <ubitux> it must be >0 at that point
[00:13] <ubitux> and if you look just a bit at the code, you'll see a check
[00:13] <ubitux> if(!s->out.ch_count)
[00:13] <ubitux> s->out.ch_count= av_get_channel_layout_nb_channels(s->out_ch_layout);
[00:13] <ubitux> basically, if you don't have a number of output channel specified, it tries to guess the number based on the channel layout
[00:13] <ubitux> but in that case, it seems to fail
[00:13] <ubitux> you have to figure out why
[00:14] <OanaStratulat> so i must dig in av_get_channel_layout_nb_channels right ?
[00:14] <ubitux> av_get_channel_layout_nb_channels() is likely correct
[00:14] <ubitux> but the input might not be
[00:15] <OanaStratulat> the input is 0
[00:15] <ubitux> (which means the out_ch_layout is wrong or something...)
[00:15] <OanaStratulat> yes
[00:15] <ubitux> it seems the layout is guess from the channel count and the channel count from the layout
[00:15] <ubitux> so since both are zero... heh
[00:16] <OanaStratulat> but if both are 0 it cannot guess no?
[00:16] <OanaStratulat> a test for 0 vals must be put there
[00:16] <OanaStratulat> right ?
[00:17] <ubitux> OanaStratulat: this is bothering me a bit
[00:17] <ubitux> i wonder if "[SWR @ 0xadb23c0] Value 22.000000 for parameter 'och' out of range
[00:17] <ubitux> should not be made more fatal
[00:17] <ubitux> like "hey you're trying to fed the swr with invalid input, just fix it"
[00:18] <ubitux> but i'm not sure if this won't break already playable inputs
[00:18] <ubitux> michaelni: you may want to comment on this :p
[00:19] <OanaStratulat> it`s kinda hard to start from scratch and repair bugs not knowing what the code does :(
[00:20] <ubitux> libswresample is for audio processing
[00:20] <ubitux> it helps to do misc convert (channel layouts changes, channel number changes, various mangling, etc.)
[00:21] <OanaStratulat> okok
[00:22] <ubitux> something is bothering me
[00:22] <ubitux> "[SWR @ 0xadb23c0] Value 22.000000 for parameter 'och' out of range" this leads to 0 in och option
[00:22] <ubitux> but not the default specified value
[00:22] <OanaStratulat> what is the default?
[00:22] <ubitux> look at the top of the file
[00:23] <ubitux> the AVOption array
[00:23] <ubitux> {.dbl=...} is the default value
[00:23] <ubitux> and this is set to 2
[00:23] <ubitux> but you says it's actually zero
[00:23] <OanaStratulat> you say it must never be 0
[00:23] <OanaStratulat> and when it is 0 why shouldn`t i change it to 2
[00:24] <OanaStratulat> to the default
[00:26] <OanaStratulat> if i do if(s->out.ch_count==0)s->out.ch_count=2; it says Can not resample 2 channels @ 32000 Hz to 22 channels @ 32000 Hz
[00:27] <OanaStratulat> so how does it get the 22 value ?
[00:28] <ubitux> 22 ch is the input i guess
[00:28] <ubitux> i'd personnally try to change write_number() in libavutil/opt.c
[00:28] <ubitux> and set the default value if it fails
[00:29] <ubitux> i'm not sure this will fix the issue, but at least it should fix the assert trigger
[00:30] <ubitux> maybe this is wrong to do but well
[00:30] <ubitux> you'lle certainly think of something better ;)
[00:30] <ubitux> -e
[00:32] <OanaStratulat> and in write_number i should check if o->name==och and if yes set default?
[00:33] <ubitux> alternately you may want to check ret value of the av_opt_set_int() in swr_alloc_set_opts()
[00:33] <ubitux> and return NULL in case one fails
[00:33] <OanaStratulat> 1st i want to choose the approach with write_number
[00:33] <OanaStratulat> to set the default
[00:33] <michaelni> i think in case of failure AVOptions should leave the last value
[00:34] <michaelni> not set the default
[00:34] <OanaStratulat> so is not good to set the default val if out of range /
[00:34] <michaelni> swr should fail if things are out of range
[00:34] <michaelni> SWR_CH_MAX 16
[00:35] <michaelni> so more than 16 should fail unless the define is chnaged
[00:35] <OanaStratulat> yes i have 22 channels
[00:35] <OanaStratulat> but can a good file not a fuzzed one have more than 16 channels ?
[00:36] <michaelni> it can, in which case SWR_CH_MAX can be increased
[00:36] <michaelni> but ive never seen more than 16
[00:38] <OanaStratulat> so if a file has more than 16 channels it should give an error no ? like "operations with 16+ channel files are not supported "?
[00:38] <OanaStratulat> and then return an error ?
[00:38] <michaelni> yes, the can maybe be achived my checling av_set_int() return but iam not sure what sets it to 22. ive not looked
[00:39] <ubitux> the input has 22 ch, so it is mapped to 22 for the output too
[00:39] <ubitux> afaiu
[00:39] <OanaStratulat> the input is fuzzed this is how i found the bug
[00:39] <ubitux> while the input seems to be changed into 2ch, the output isn't
[00:39] <michaelni> avfilter cant handle 22 either ...
[00:40] <OanaStratulat> so what approach must i use ?
[00:41] <OanaStratulat> add a check if there are more than 16 channels and inform the user ?
[00:44] <durandal_1707> what about this avpacket_split_sidedata, libav doesn't have this?
[00:44] Action: durandal_1707 is trying to make mid-stream changes of width/height working
[00:45] <michaelni> durandal_1707, they where working last i checked, and long before libav
[00:45] <durandal_1707> with it I cant get apply_param_change to work
[00:45] <durandal_1707> will compile libav now and see if this work at all
[00:45] <michaelni> -threads 1 is probably needed for res changes with come codecs
[00:46] <durandal_1707> michaelni: it is per packet
[00:46] <durandal_1707> at least it is supposed to be called from demuxer
[00:46] <OanaStratulat> michaelni: any opinions on how to deal with the 22 value ?
[00:47] <durandal_1707> than decoder just use new value - no need for extra hackery
[00:48] <michaelni> OanaStratulat, check av_opt_set_int() return value
[00:49] <OanaStratulat> michaelni: i look into that part of the code and i really do not understand a bit of it, sorry here
[00:51] <OanaStratulat> it gives a negative value
[00:51] <michaelni> that means error
[00:52] <michaelni> durandal_1707, which decode is this btw that doesnt work ?
[00:52] <durandal_1707> interplayvideo
[00:52] <OanaStratulat> so what should av_opt_set_int return ?
[00:52] <durandal_1707> btw apply_param_chane is missing in decode_video
[00:53] <michaelni> OanaStratulat, if it returns <0 then the callmg code should error out
[00:53] <OanaStratulat> so it must return an err and stop the program?
[00:53] <OanaStratulat> not go and assert after it no?
[00:54] <durandal_1707> assert should panic
[00:54] <michaelni> durandal_1707, its missing in libavs decode_video too
[00:54] <durandal_1707> michaelni: yes, and i'm working with code that have it
[00:55] <OanaStratulat> michaelni: when it gives <0 i should give an return averror no?
[00:57] <michaelni> OanaStratulat, depends on the function, some have NULL return on error some AVERROR, ffmpeg uses exit_program
[00:57] <OanaStratulat> michaelni: so a good way to handle this 22 channel problem is to check if av_opt_set_int() return <0 values no ?
[00:58] <michaelni> yes
[00:58] <OanaStratulat> michaelni: and if it does what kind of return i must use ?
[00:59] <michaelni> where is the -1 returning call ?
[00:59] <OanaStratulat> av_opt_set_int is returning -34
[01:00] <michaelni> ok but where ?
[01:00] <OanaStratulat> set_number(obj, name, 1, 1, val, search_flags)
[01:00] <OanaStratulat> this gives the -34
[01:01] <ubitux> from
[01:01] <ubitux> where?
[01:01] <ubitux> swr_alloc_set_opts?
[01:01] <OanaStratulat> i do not get this sorry
[01:01] <OanaStratulat> which function calls av_opt_set_int ?
[01:01] <ubitux> yes
[01:02] <OanaStratulat> in struct SwrContext *swr_alloc_set_opts
[01:03] <OanaStratulat> there are ich and och set
[01:05] <CIA-101> ffmpeg: 03Carl Eugen Hoyos 07master * rd185278c36 10ffmpeg/libavcodec/ (mjpegdec.c mjpegdec.h):
[01:05] <CIA-101> ffmpeg: Support decoding of some unusual jpeg samples.
[01:05] <CIA-101> ffmpeg: Avoid unsupported pix_fmts by upscaling chroma.
[01:05] <CIA-101> ffmpeg: Fixes ticket #878.
[01:05] <CIA-101> ffmpeg: 03Carl Eugen Hoyos 07master * r09f25a9cb0 10ffmpeg/libavcodec/ (raw.c rawdec.c):
[01:05] <CIA-101> ffmpeg: Allow decoding of uyvy422 CYUV with -vcodec rawvideo.
[01:05] <CIA-101> ffmpeg: FourCC CYUV can be Creative YUV and uyvy422 rawvideo.
[01:07] <OanaStratulat> michaelni: ^
[01:07] <michaelni> durandal_1707, where exactly did you add apply_param_change? and how exactly does it fail ?
[01:08] <michaelni> OanaStratulat, put the return check in ffmpeg.c av_opt_set_int(ost->swr, "och", enc->channels, 0);
[01:09] <michaelni> it should exit_program(1) in case of error
[01:09] <durandal_1707> michaelni: https://github.com/richardpl/libav/commit/fac8afe64ec57cd0fe37564ab9cfc152d…
[01:09] <durandal_1707> code in ffmpeg is just on different lines (like for audio)
[01:09] <OanaStratulat> michaelni: where exactly in ffmpeg ?
[01:10] <michaelni> apply_param_changes must be after av_packet_split_side_data
[01:10] <michaelni> OanaStratulat, there where configure is
[01:10] <durandal_1707> yup, there it is
[01:11] <OanaStratulat> michaelni: #if CONFIG_AVFILTER there?
[01:12] <michaelni> durandal_1707, apply_params sets with and then set_dimensions uses coded_width? this looks a bit odd
[01:13] <michaelni> OanaStratulat, line 1101
[01:16] <OanaStratulat> michaelni: no av_log with some information ?
[01:16] <OanaStratulat> michaelni: only the exit_program(1) ?
[01:19] <michaelni> av_log() too
[01:19] <OanaStratulat> what log to output ?
[01:19] <OanaStratulat> och > 16 ?
[01:23] <OanaStratulat> michaelni: av_log(0,0,"och >16"); is this good ?
[01:25] <michaelni> av_log(NULL, AV_LOG_FATAL,
[01:26] <michaelni> "too many output channels"
[01:26] <OanaStratulat> av_log(NULL, AV_LOG_FATAL, "och >16\n");
[01:26] <OanaStratulat> ok
[01:26] <OanaStratulat> michaelni: file a bug and then submit to melange is that ok?
[01:27] <CIA-101> ffmpeg: 03ami_stuff 07master * rfebf75f3d2 10ffmpeg/libavcodec/pnm.c:
[01:27] <CIA-101> ffmpeg: pam: Reject 64bpp rgba.
[01:27] <CIA-101> ffmpeg: Fixes ticket #883
[01:29] <michaelni> OanaStratulat, yes
[01:34] <OanaStratulat> michaelni: http://google-melange.appspot.com/gci/task/view/google/gci2011/7180407 marked as completed. https://ffmpeg.org/trac/ffmpeg/ticket/887 patch is on track and melange
[01:40] <CIA-101> ffmpeg: 03Carl Eugen Hoyos 07master * re9a591d1f0 10ffmpeg/libavcodec/Makefile: Fix compilation with --disable-everything --enable-demuxer=mov.
[01:40] <ubitux> I'd say "invalid number of output channels" instead
[01:41] <OanaStratulat> michaelni: should i change it ?
[01:42] <michaelni> yes
[01:42] <ubitux> OanaStratulat: if you can add some spacing around the '<' while you are it too&
[01:43] <OanaStratulat> ubitux: done
[01:43] <OanaStratulat> any other comments before commit?
[01:45] <ubitux> it's strange not to have the check on the ich too
[01:45] <OanaStratulat> add the check for ich too?
[01:46] <OanaStratulat> michaelni: ^
[01:46] <ubitux> oh, and better than "invalid ...", maybe "Unsupported number of input/output channels"
[01:46] <ubitux> since it's a number of channels not supported by swr
[01:46] <ubitux> but this is just nitpicking
[01:47] <ubitux> i'd say yes for ich, michaelni might want to confirm
[01:48] <michaelni> yes both should be checked ideally
[01:49] <OanaStratulat> av_opt_set_int(ost->swr, "ich", enc->channels, 0)
[01:49] <OanaStratulat> like this the function is called /
[01:50] <ubitux> huh?
[01:50] <OanaStratulat> for the ich
[01:50] <OanaStratulat> the test
[01:50] <OanaStratulat> av_opt_set_int(ost->swr, "och", enc->channels, 0) < 0 no ?
[01:50] <OanaStratulat> with "ich" ?
[01:50] <ubitux> just change the line above
[01:51] <ubitux> add the check on this: av_opt_set_int(ost->swr, "ich", dec->channels, 0); too
[01:51] <OanaStratulat> okok
[01:51] <ubitux> "Unsupported number of input channels" if set ich < 0, and "Unsupported number of output channels" if och < 0
[01:52] <ubitux> (if *set* och of course)
[01:54] <OanaStratulat> ubitux: http://pastebin.com/Sy4ru7g5 good ?
[01:54] <ubitux> please squash the commits
[01:55] <OanaStratulat> how do i do that ?
[01:55] <CIA-101> ffmpeg: 03Michael Niedermayer 07master * rc88f0b728c 10ffmpeg/libavcodec/tta.c:
[01:55] <CIA-101> ffmpeg: tta: Fix regression of 24bit decoding.
[01:55] <CIA-101> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[01:55] <CIA-101> ffmpeg: 03Michael Niedermayer 07master * rc4f237a981 10ffmpeg/libavcodec/x86/ (cabac.h h264_i386.h): (log message trimmed)
[01:55] <CIA-101> ffmpeg: Revert commit 599b4c6efddaed33b1667c386b34b07729ba732b
[01:55] <CIA-101> ffmpeg: Author: Mans Rullgard <mans(a)mansr.com>
[01:55] <CIA-101> ffmpeg: Date: Sun Dec 11 21:41:59 2011 +0000
[01:55] <CIA-101> ffmpeg: x86: cabac: replace explicit memory references with "m" operands
[01:55] <CIA-101> ffmpeg: This replaces the explicit offset(reg) memory references with
[01:55] <CIA-101> ffmpeg: "m" operands for the same locations. As a result, one fewer
[01:55] <CIA-101> ffmpeg: 03James Zern 07master * r95afa0a573 10ffmpeg/libavcodec/libvpxenc.c:
[01:55] <CIA-101> ffmpeg: libvpxenc: restore vp8flags for compatibility
[01:55] <CIA-101> ffmpeg: removed in 98df93c, this makes the documentation correct again.
[01:55] <ubitux> OanaStratulat: is the first patch already commited?
[01:55] <CIA-101> ffmpeg: Found-by: j(a)v2v.cc
[01:55] <CIA-101> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[01:55] <OanaStratulat> yes
[01:55] <ubitux> OanaStratulat: git commit ffmpeg.c --amend
[01:55] <ubitux> then check with git show
[01:56] <OanaStratulat> yes it is good
[01:57] <OanaStratulat> how can i remove a file from trac?
[01:58] <OanaStratulat> michaelni: 0001-Patch-for-assertion-error-in-swresample.c.-Fiexes-bu.2.patch use this patch . http://google-melange.appspot.com/gci/task/view/google/gci2011/7180407
[01:59] <OanaStratulat> michaelni: https://ffmpeg.org/trac/ffmpeg/ticket/887
[01:59] <ubitux> "inputput"
[02:00] <ubitux> otherwise LGTM
[02:00] <OanaStratulat> amend
[02:00] <ubitux> OanaStratulat: did you run the fate tests?
[02:00] <OanaStratulat> or can you change that locally ?
[02:00] <OanaStratulat> ubitux: no, how do i do that?
[02:00] <OanaStratulat> make fate ?
[02:00] <ubitux> make fate-rsync SAMPLES=fate-suite/
[02:01] <ubitux> then make fate SAMPLES=fate-suite/
[02:01] <ubitux> OanaStratulat: i can change locally
[02:01] <OanaStratulat> ubitux: thx for that, sorry
[02:02] <OanaStratulat> when i run make fate-rsync i get http://pastebin.com/aBhmQvWH
[02:03] <ubitux> mmh fun, seems like an old version of rsync
[02:04] <OanaStratulat> but when i run make fate-rsync in libav it works
[02:06] <ubitux> maybe they don't use this option
[02:08] <ubitux> OanaStratulat: what is the version of your rsync?
[02:08] <OanaStratulat> which rsync or how do i see ?
[02:08] <OanaStratulat> 2.6.9
[02:09] <ubitux> mmh ok pretty old
[02:09] <ubitux> the current version is 3.0.9
[02:09] <OanaStratulat> mhm
[02:09] <ubitux> Rsync version 2.6.9 released
[02:09] <ubitux> November 6th, 2006
[02:09] <OanaStratulat> lets try to make again the rsync
[02:09] <ubitux> welcome in the past ;)
[02:09] <OanaStratulat> from src
[02:10] <OanaStratulat> yes
[02:10] <ubitux> fate seems to pass btw
[02:10] <ubitux> michaelni: i'll push if you're ok with it
[02:11] <ubitux> http://blackhole.ubitux.fr/0001-ffmpeg-check-if-number-of-input-and-output-…
[02:11] <ubitux> this is the latest version
[02:11] <OanaStratulat> ubitux: thx
[02:13] <michaelni> ubitux, if you are ok with it then iam
[02:13] <michaelni> too
[02:14] <ubitux> michaelni: ok will push in a moment
[02:14] <ubitux> michaelni: you might be interested in cehoyos comment
[02:14] <ubitux> about the regression
[02:14] <OanaStratulat> michaelni: http://google-melange.appspot.com/gci/task/view/google/gci2011/7180407 link to close task
[02:15] <ubitux> OanaStratulat: please wait until i push ;)
[02:15] <OanaStratulat> okok
[02:15] <michaelni> ubitux, what comment what regression?
[02:15] <OanaStratulat> ubitux: how do i remove rsync from my computer ?
[02:16] <ubitux> michaelni: https://ffmpeg.org/trac/ffmpeg/ticket/887#comment:1
[02:16] <ubitux> OanaStratulat: no idea... i'm not using osx
[02:17] <OanaStratulat> but i think it`s the same like linux
[02:17] <ubitux> each linux has a specific method to install/remove app
[02:17] <OanaStratulat> michaelni: http://google-melange.appspot.com/gci/task/view/google/gci2011/7195360 please accept the claim
[02:44] <CIA-101> ffmpeg: 03Oana Stratulat 07master * ree4d43ef7a 10ffmpeg/ffmpeg.c:
[02:44] <CIA-101> ffmpeg: ffmpeg: check if number of input and output channels are valid.
[02:44] <CIA-101> ffmpeg: Fix Ticket887.
[02:46] <OanaStratulat> ubitux: what does regression mean ? in this context i mean
[02:46] <ubitux> it means the issue was not there before the given commit
[02:46] <OanaStratulat> thx
[02:46] <ubitux> or to be more specific, it was *working* before
[02:47] <ubitux> (basically not a bug in a new feature, but a bug in something that was working before)
[02:47] <ubitux> but even if it's a regression, the patch is useful there imo
[02:53] <CIA-101> ffmpeg: 03Aneesh Dogra 07master * r893f137679 10ffmpeg/libavcodec/4xm.c:
[02:53] <CIA-101> ffmpeg: 4xm: fix calculation of the next output line position in decode_i2_frame().
[02:53] <CIA-101> ffmpeg: The current code doesn't work unless width is an exact multiple of 16.
[02:53] <CIA-101> ffmpeg: Signed-off-by: Ronald S. Bultje <rsbultje(a)gmail.com>
[02:53] <CIA-101> ffmpeg: 03Aneesh Dogra 07master * r4b84f68223 10ffmpeg/libavcodec/4xm.c:
[02:53] <CIA-101> ffmpeg: 4xm: pass the correct remaining buffer size to decode_i2_frame().
[02:53] <CIA-101> ffmpeg: frame_size is the number of bytes left in the packet, so if we are passing
[02:53] <CIA-101> ffmpeg: buf-4 we can safely read frame_size+4 bytes.
[02:53] <CIA-101> ffmpeg: Signed-off-by: Ronald S. Bultje <rsbultje(a)gmail.com>
[02:53] <CIA-101> ffmpeg: 03Aneesh Dogra 07master * r295a7c0238 10ffmpeg/libavcodec/4xm.c:
[02:53] <CIA-101> ffmpeg: 4xm: Prevent buffer overreads.
[02:53] <CIA-101> ffmpeg: 4xm decoder while decoding i2 frames can overread the buffer if proper checks
[02:53] <CIA-101> ffmpeg: are not made.
[02:53] <CIA-101> ffmpeg: Signed-off-by: Ronald S. Bultje <rsbultje(a)gmail.com>
[02:53] <CIA-101> ffmpeg: 03Oana Stratulat 07master * r7f09791d28 10ffmpeg/libavcodec/amrnbdec.c:
[02:53] <CIA-101> ffmpeg: Report an error if pitch_lag is zero in AMR-NB decoder.
[02:53] <CIA-101> ffmpeg: This fixes an infinite loop in the decoder on specially
[02:53] <CIA-101> ffmpeg: crafted files, and fixes bug 151.
[02:53] <CIA-101> ffmpeg: Signed-off-by: Ronald S. Bultje <rsbultje(a)gmail.com>
[02:53] <CIA-101> ffmpeg: 03Anton Khirnov 07master * r6450599e22 10ffmpeg/libavformat/utils.c: lavf: refactor av_read_frame() to make it easier to understand.
[02:53] <CIA-101> ffmpeg: 03Anton Khirnov 07master * rf9b9dd8740 10ffmpeg/libavformat/utils.c: lavf: cosmetics, reformat av_read_frame().
[02:53] <CIA-101> ffmpeg: 03Diego Biurrun 07master * rdff4af448d 10ffmpeg/libavutil/timer.h: timer: K&R formatting cosmetics
[02:53] <CIA-101> ffmpeg: 03Ronald S. Bultje 07master * r2ba65879b5 10ffmpeg/libswscale/swscale.c:
[02:53] <CIA-101> ffmpeg: swscale: remove unused U/V arguments from yuv2rgb_write().
[02:53] <CIA-101> ffmpeg: Also document the function somewhat.
[02:53] <CIA-101> ffmpeg: 03Janne Grunau 07master * r9b4767e478 10ffmpeg/libavcodec/vp3.c:
[02:53] <CIA-101> ffmpeg: vp3: fix streams with non-zero last coefficient
[05:14] <Shimmy> https://ffmpeg.org/trac/ffmpeg/ticket/747
[05:14] <Shimmy> Can anyone help me witht this issue please
[10:45] <CIA-101> ffmpeg: 03Stefano Sabatini 07master * r9ac58ba133 10ffmpeg/cmdutils.c:
[10:45] <CIA-101> ffmpeg: cmdutils: add print_program_info() used in both show_banner() and show_version()
[10:45] <CIA-101> ffmpeg: This also make -version show program configuration and compilation
[10:45] <CIA-101> ffmpeg: information, which was previously shown only in the banner.
[10:45] <CIA-101> ffmpeg: 03Stefano Sabatini 07master * r49c207b820 10ffmpeg/ffprobe.c:
[10:45] <CIA-101> ffmpeg: ffprobe: fix NULL pointer dereference in writer_close()
[10:45] <CIA-101> ffmpeg: Fix crash.
[10:45] <CIA-101> ffmpeg: 03Stefano Sabatini 07master * rc5f4abf698 10ffmpeg/ffprobe.c: ffprobe: exit in case generic options are incompatible with strict XML output
[10:52] <OanaStra_> michaelni: ubitux ping
[12:10] <ubitux> anyone wants to propose something else than green for debug color?
[12:10] <av500> teal?
[12:11] <ubitux> you have to choose between green, blue, magenta, cyan
[12:11] <av500> apricot?
[12:11] <ubitux> :(
[12:11] <funman> rainbow!
[12:11] <ubitux> rainbow debug yeah
[12:11] <av500> if you toggle between 2 colors quickly, maybe we can have more shades?
[12:12] <ubitux> :)
[12:12] <av500> amiga could do it
[12:14] <funman> rockbox too ^_^
[12:15] <av500> indeed
[12:15] <av500> I was just googling that a few days ago :)
[12:15] <av500> funman: and I just restarted my SH-1 work :)
[12:17] <funman> ah?
[12:18] <CIA-101> ffmpeg: 03Clément BSsch 07master * red14b7242a 10ffmpeg/libavcodec/timecode.c:
[12:18] <CIA-101> ffmpeg: timecode: more tolerant frame rate check for drop flag.
[12:18] <CIA-101> ffmpeg: This fixes some timecode probing in MOV.
[16:19] <OanaStratulat> ubitux: michaelni ping
[16:27] <ubitux> heh i'm not that fast.
[17:01] <ubitux> saste: thanks for your reply on the subtitles thread :)
[17:42] <ubitux> OanaStratulat: pong
[17:48] <OanaStratulat> ubitux: michaelni ping
[17:48] <ubitux> 17:42:34 <@ubitux> OanaStratulat: pong
[17:48] <OanaStratulat> ubitux: i was afk. ptp-roman.org/crash2 can you verify this file if hangs for you?
[17:49] <OanaStratulat> ubitux: on my machine it uses all the memory, and it hang
[17:49] <OanaStratulat> hangs*
[17:50] <ubitux> indeed
[17:50] <ubitux> well it's not really a crash, but it fails indeed
[17:50] <ubitux> it's trying to allocate too much memory and then stop
[17:51] <OanaStratulat> and i cannot find where is the part of code where it hangs..
[17:51] <ubitux> valgrind notices some errors in zmbv.c
[17:51] <ubitux> in decode_frame
[17:52] <ubitux> i'm waiting for the leak report
[17:52] <OanaStratulat> ok
[17:52] <OanaStratulat> can you pastebin it afterwards ?
[17:54] <ubitux> if my system doesn't die yeah :p
[17:55] <ubitux> let's have faith in the oom killer
[17:55] <OanaStratulat> my system died after 5 minutes i think, it killed all my 8GB ram
[18:00] <ubitux> ok it got killed
[18:00] <OanaStratulat> the machine or the software?
[18:01] <ubitux> valgrind/ffmpeg
[18:01] <ubitux> so this is all i have: http://pastie.org/3138322
[18:01] <ubitux> i won't run this twice ;)
[18:01] <ubitux> good luck
[18:02] <OanaStratulat> this is wat i got too
[18:02] <OanaStratulat> what
[18:02] <OanaStratulat> so you think in decode_frame the bug should be?
[18:04] <ubitux> at least there is one
[18:04] <ubitux> the sample you have might trigger multiple ones
[18:04] <OanaStratulat> out[i * 3 + 2] = c->pal[(*src) * 3 + 2]; this is line 539
[18:10] <OanaStratulat> how does it alloc memory here?
[18:11] <ubitux> "Use of uninitialised value of size 8"
[18:11] <ubitux> no allocation issue here
[18:11] <ubitux> it's reading uninit stuff
[18:11] <ubitux> like c->pal, or src
[18:12] <OanaStratulat> so i should check if those vars are init ?
[18:14] <iive> it say it reads random data
[18:17] <OanaStratulat> *src is uint8_t how can i av_log it, with %d ?
[18:19] <OanaStratulat> *src is 0 so c->pal[] goes 0 to
[18:19] <OanaStratulat> is that correct or these values are wrong?
[18:22] <OanaStratulat> michaelni: ^
[18:26] <OanaStratulat> ubitux: when i use *src it is the location in the memory ?
[18:34] <durandal_1707> ohh
[18:37] <OanaStratulat> ubitux: have you said smth, my connection died
[18:59] <ubitux> i don't know if the values are wrong; it might be a lucky chance you get 0 here
[18:59] <ubitux> src is a pointer *src look at the data at address src
[19:00] <OanaStratulat> src is build up from c->cur and c->cur has a strange value
[19:00] <OanaStratulat> i will point it out in a moment, building ffmpeg now
[19:01] <CIA-101> ffmpeg: 03Reimar Döffinger 07master * r4dfb74cd4f 10ffmpeg/libavformat/utils.c: (log message trimmed)
[19:01] <CIA-101> ffmpeg: Flush decoders correctly in avformat_find_stream_info().
[19:01] <CIA-101> ffmpeg: The decoders should not only be flushed on EOF or error, but also when
[19:01] <CIA-101> ffmpeg: e.g. probe size was reached.
[19:01] <CIA-101> ffmpeg: It is best to just always flush by default and only disable it
[19:01] <CIA-101> ffmpeg: explicitly when we know that we have everything we need.
[19:01] <CIA-101> ffmpeg: Fixes trac ticket #879.
[19:10] <OanaStratulat> ubitux: michaelni when i try to make the latest git clone of ffmpeg i get http://pastebin.com/JALvmWvP
[19:25] <durandal_1707> OanaStratulat: perhaps ffmpeg is still running?
[19:26] <OanaStratulat> durandal_1707: resolved it, i was making outside the ffmpeg folder
[20:01] <OanaStratulat> ubitux: i have av_log c->cur the var on which src is initialized and it is 140267483458560 , can that be a good value?
[20:01] <ubitux> 140267483458560 = 0x7f9291866c00
[20:01] <ubitux> looks like a valid address so far
[20:04] <OanaStratulat> src=c->cur, not *src=c->cur
[20:04] <OanaStratulat> it`s the same/
[20:04] <ubitux> saste: i'm going to review your latest ffprobe patches; but since there is not patchset i'm a bit lost: could you sum-up the order required?
[20:06] <ubitux> OanaStratulat: src is a pointer
[20:06] <ubitux> after src = c->cur it points on the same value as c->cur
[20:06] <ubitux> c->cur is allocated iwth av_realloc_f(...)
[20:07] <ubitux> the allocated space is resized
[20:07] <OanaStratulat> do you consider this bug easy to repair ?
[20:07] <ubitux> but in this allocated space, some value may not be set before they are read with *src
[20:08] <OanaStratulat> so you say that the c struct values might not be set ? and after that they are read ?
[20:08] <ubitux> you need to be familiar with pointers and allocation at least to solve this issue
[20:08] <OanaStratulat> i`m not used to this..
[20:08] <OanaStratulat> ok so back to the drawing board
[20:09] <ubitux> opening a trac issue might be nice though
[20:09] <OanaStratulat> ok, doing it now
[20:10] <ubitux> OanaStratulat: please consider to point out 3 things: 1) invalid read 2) over-usage of the memory 3) zzuf crafted file
[20:10] <OanaStratulat> if i post your valgrind report is that ok?
[20:11] <ubitux> for the invalid read you can use my valgrind pastebin yes
[20:11] <ubitux> don't forget to use the preview function of trac to check if the message is well formated when quoting it
[20:11] <ubitux> (using {{{ and }}})
[20:12] <ubitux> and thank you for you work :)
[20:19] <saste> ubitux: ffprobe patches are more or less independent each from the other, but for the first one "ffprobe: move writer context registration and initialization in main()" which is required by the others
[20:19] <ubitux> ok
[20:39] <ubitux> michaelni: [PATCH] jpegdec: support ilv=1 grayscale jpeg-ls. you have typo in the long desc: s/Ticker/Ticket
[20:46] <ubitux> saste: i have "ffprobe: move writer context registration and initialization in main()" and "ffprobe: print error in main() rather than in probe_file()" in the branch, but i can't apply the -show_version one
[20:47] <ubitux> ah, maybe show_frames&
[20:47] <ubitux> mmh no doesn't apply
[20:47] <saste> ubitux: wait
[20:49] <saste> http://pastebin.com/qwaie9Ss
[20:50] <ubitux> thanks
[21:07] <michaelni> ubitux, typo locally fixed
[21:24] <durandal_1707> how useful would be to do dithering filter(s) for libavfilter
[21:47] <laurion> hi, can you help me, I want to fix a bug, do would you be kind to suggest an easy one?
[21:48] <laurion> maybe a crash or invalid read, I did that for libav
[21:53] <durandal_1707> laurion: search ffmpeg.org/trac/ffmpeg (note most of them are pretty hard) or find bug and fix it
[21:53] <laurion> http://ffmpeg.org/trac/ffmpeg/ticket/123
[21:54] <laurion> can you help me get started with it?
[21:54] <laurion> or is it too hard?
[21:55] <laurion> what can you tell me about it?
[21:56] <durandal_1707> you would need too downlad sample and see if it still cause crash
[22:03] <laurion> maybe at line 259 in imgutils.c
[22:03] <durandal_1707> what about it?
[22:04] <OanaStratulat> michaelni: please extend with 1 day http://google-melange.appspot.com/gci/task/view/google/gci2011/7195360
[22:06] <laurion> durandal_1707, and how do i test it
[22:06] <durandal_1707> test what? sample?
[22:06] <laurion> yep
[22:06] <laurion> valgrind?
[22:07] <durandal_1707> does ffmpeg crash?
[22:08] <laurion> how do i find out
[22:08] <laurion> i'm new here
[22:08] <durandal_1707> clone ffmpeg with git
[22:09] <laurion> I am currently compiling it
[22:09] <durandal_1707> build, install, and test
[22:09] <laurion> the testing part how does it work?
[22:09] <laurion> ffmpeg <file>?
[22:11] <durandal_1707> if you have experience with avconv from Libav it is similar to ffmpeg
[22:12] <OanaStratulat> ubitux: ping
[22:12] <ubitux> yup?
[22:12] <OanaStratulat> can you test a file for me and check if it hangs ?
[22:13] <OanaStratulat> ubitux: ptp-roman.org/corruptfile
[22:14] <ubitux> confirmed
[22:14] <OanaStratulat> what is your valgrind report because mine shows some errors in at 0x3B066CD: misaligned_stack_error_entering_dyld_stub_binder (in /usr/lib/system/libdyld.dylib)
[22:15] <ubitux> valgrind reports nothing here
[22:16] <OanaStratulat> mine neither, so how can i find out where it hangs?
[22:17] <ubitux> gdb, use ^C to break when it's in infinite loop, do a backtrace, locate the code where it is stalled, stare at the code & add printf to understand the issue
[22:18] <ubitux> this is how i would do it, certainly not the ultimate way of doing things
[22:18] <OanaStratulat> ok
[22:19] <OanaStratulat> ubitux: found a file which uses like 4 gb of ram with ffmeg
[22:20] <laurion> hmm there are no more ffmpeg tasks?
[22:21] <michaelni> OanaStratulat, extended by 24h
[22:21] <OanaStratulat> michaelni: thx
[22:23] <OanaStratulat> ubitux: false alarm with that hang...it works but it takes some time
[22:25] <durandal_1707> laurion: only extremly hard remains :/
[22:25] <laurion> which ones?
[22:28] <laurion> durandal_1707, I don't see any
[22:31] <durandal_1707> here is one http://google-melange.appspot.com/gci/task/view/google/gci2011/7185251
[22:35] <OanaStratulat> got a file that uses 5GB of memory and ffmpeg still runs
[22:39] <OanaStratulat> ubitux: michaelni having this bt report in which function does it hang ? http://pastebin.com/EpWV6H74 in #5 or #1 ?
[22:39] <OanaStratulat> #0 *
[00:00] --- Sat Jan 7 2012
1
0
[00:08] <ubitux> (diff: FFmpeg 0.9 FFmpeg 0.9.1)
[00:11] <iOOO9> scaling/resizing with "-vf scale=-1:704" instead of "-s 704x396" seems to be much slower
[00:11] <iOOO9> 55fps vs 21fps
[00:11] <iOOO9> is that understandable?
[00:14] <praedo> btw, why do i get this: Please use -b:a or -b:v, -b is ambiguous
[00:15] <sacarasc> Because that's the new syntax.
[00:20] <relaxed> iOOO9: because scale=-1:704 is encoding a larger frame.
[00:24] <rowan-> Is it possible to copy the video and audio streams from an AVCHD *.mts file without any alteration to the original into an M4V container? I have not been able to figure out the commands to do this.
[00:27] <iOOO9> relaxed: am i misinterpreting the syntax? wouldn't the longest side be 704px with both?
[00:34] <rowan-> Using: ffmpeg -i input.mts -vcodec copy -acodec copy test.m4v Results in no sound.
[00:44] <maujhsn> Can anybody tell me about the re-compile process in ffmpeg for using a plugin called "download helper"?
[00:48] <relaxed> iOOO9: "-vf scale=704:-1" == "-s 704x396" (depending on the aspect ratio)
[00:49] <maujhsn> Last year you could download videos off youtube using "realplayer's plug-in for "firefox" or "internet explorer" it seems to be much harder these days anybody have answers?
[00:49] <relaxed> rowan-: .... -f mp4 test.m4v
[00:51] <relaxed> maujhsn: why would you need to recompile ffmpeg for "download helper"?
[00:51] <rowan-> relaxed: thanks. Still no sound.
[00:51] <relaxed> pastebin the command and all output
[00:52] <rowan-> relaxed: MediaInfo was shoing that it was an MP$ with or without the -f flag.
[00:53] <maujhsn> relaxed I do not believe everything that I read take a look at this: http://www.downloadhelper.net/conversion-manual.php#install-other
[00:53] <rowan-> C:\Users\Rowan\Desktop\FFMPeg\bin>ffmpeg -i input.mts -vcodec copy -acodec copy
[00:53] <rowan-> -f mp4 test.m4v
[00:53] <rowan-> ffmpeg version N-36193-gf514695, Copyright (c) 2000-2011 the FFmpeg developers
[00:53] <rowan-> built on Dec 26 2011 17:55:53 with gcc 4.6.2
[00:53] <rowan-> configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
[00:54] <relaxed> pastebin.com
[00:54] <rowan-> relaxed: sorry :-) Let me figure that ourt...
[00:54] <rowan-> I really thought you meant past in and had just missed the spacve key!
[00:55] <rowan-> relaxed: http://pastebin.com/embed_js.php?i=mKM3yBVN
[00:56] <iOOO9> relaxed: ah, i had turned it the wrong way :)
[00:56] <iOOO9> thanks
[00:58] <relaxed> rowan-: do you hear audio with ffplay?
[00:59] <keeperofdakeys> iOOO9: in answer to your question about parts and profiles, they are different
[00:59] <iOOO9> keeperofdakeys: okay
[00:59] <maujhsn> relaxed "never mind" I have decided to uncomplicate things
[00:59] <keeperofdakeys> the two video parts (mpeg4 and h264) are entirely separate codecs, can can be implemented separately
[01:00] <iOOO9> keeperofdakeys: i see. then what are the profiles?
[01:00] <rowan-> relaxed: yes, but it does not actually play. It hangs at the end, just "clicking" repeating the last maybe 1 sec of sound over and over and the video is just stutter, stutter, stutter. Windows Media Player plays the video perfectly, but without sound.
[01:00] <keeperofdakeys> they define what technologies are used
[01:00] <iOOO9> how does ffmpeg chose container format for my output file? guessing by the file extension i give it?
[01:00] <keeperofdakeys> put simply, the higher the profile, the more cpu is required for encoding and decoding, but the better quality vs bitrate
[01:01] <keeperofdakeys> for example, mpeg4 has SP and ASP (simple profile isn't very good, due to the lack of bframes)
[01:01] <keeperofdakeys> h264 has base, mainline and high
[01:01] <relaxed> iOOO9: yes or you can force it with -f $format
[01:01] <keeperofdakeys> where minaline is decent, but you really want hihg
[01:01] <keeperofdakeys> *high
[01:02] <keeperofdakeys> for example, iOS only supports base and mainline
[01:02] <keeperofdakeys> even though it would be possible to use hardware decoding for it
[01:03] <keeperofdakeys> h264 also has levels, but they are just a more specific version of profiles
[01:04] <relaxed> rowan-: Well, ac3 is valid in mp4 so it should work. Try, ffmpeg -i input.mts -vcodec copy -acodec libvo_aacenc -ab 192k -f mp4 test.m4v
[01:06] <rowan-> relaxed: that seems to have worked. The video is not good enough quality to see if the audio is synced correctly. I am guessing that the audio was recompressed with this command?
[01:07] <relaxed> yes, aac in mp4 is more windows/os x friendly
[01:09] <rowan-> So I can presume that their would of been some loss to the audio stream, although unlikely to be descernible given the audio quality is fairly low anyway, but the Video has been coppied bit for bit?
[01:09] <maujhsn> relaxed in your example "ffmpeg -i input.mts -vcodec copy -acodec libvo_aacenc -ab 192k -f mp4 test.m4v" does test.m4v in the statement or can you use output.m4v?
[01:10] <rowan-> maujhsn: It's just the output filename, I could of used anything "helloworld.m4v"
[01:10] <relaxed> test.m4v is just the name of the output, you can call the output whatever you want
[01:10] <maujhsn> relaxed "Thanks"
[01:11] <maujhsn> rowan "Thanks"!
[01:13] <relaxed> rowan-: correct
[01:13] <rowan-> Thanks Relaxed, thanks for answering my questions. Hopefully the forum will be back online soon :-)
[01:13] <rowan-> Bye.
[01:13] <maujhsn> "Thanks guys take care"!
[01:13] <iOOO9> ah, great!
[01:25] <SteveTheCat> How do you copy subtitles in the conversion?
[01:25] <SteveTheCat> where you hardcode subtitles?
[01:34] <SteveTheCat> Anyone know?
[01:46] <keeperofdakeys> SteveTheCat: if they are hardsubs, they will be in the video stream itself
[01:46] <keeperofdakeys> if they are softsubs, -scodec copy
[01:46] <SteveTheCat> i tried that but i got an error for using -scodec copy
[01:47] <keeperofdakeys> SteveTheCat: in the output, under metadata, does it only list video and audio?
[01:47] <keeperofdakeys> if so, the subtitles are actually in the video
[01:49] <SteveTheCat> Could not write header for output file #0 (incorrect codec parameters ?)
[01:49] <SteveTheCat> and that's the video stream and i used -vcodec copy
[01:53] <metvik> is there any way for ffmpeg to extract dvb subtitles?
[01:56] <SteveTheCat> Is there a way to list subtitle codecs?
[01:57] <SteveTheCat> do i need to compile with --enable-libass?
[02:11] <SteveTheCat> i seem to be getting an error using -scodec ass: Could not write header for output file #0 (incorrect codec parameters ?)
[02:11] <SteveTheCat> this is what i've put ffmpeg -i "file.mkv" -vcodec mpeg4 -acodec libfaac -scodec ass test.avi
[02:19] <SteveTheCat> keeperofdakeys, is the paramters correct for what i've put?
[02:19] <keeperofdakeys> SteveTheCat: can you post the full output on dpaste.org?
[02:21] <SteveTheCat> keeperofdakeys: http://dpaste.com/682475/
[02:21] <SteveTheCat> wait
[02:21] <SteveTheCat> wrong paste
[02:22] <SteveTheCat> keeperofdakeys: I meant this one http://dpaste.com/682477/
[02:23] <keeperofdakeys> SteveTheCat: avi does not support subtitles
[02:23] <SteveTheCat> i want to hardcode it though
[02:23] <SteveTheCat> hardsub
[02:24] <keeperofdakeys> (theoretically it doesn't support mpeg4 or h264 either, but it has been hacked to work)
[02:24] <keeperofdakeys> SteveTheCat: I don't know how to do that with fmpeg
[02:24] <keeperofdakeys> *ffmpeg
[02:25] <keeperofdakeys> from looking around on google, it seems impossible with ffmpeg
[02:26] <SteveTheCat> keeperofdakeys: Is it possible to convert/export one audio track? So I can choose if I want english or jap?
[02:28] <keeperofdakeys> SteveTheCat: look at the -map argument
[02:29] <keeperofdakeys> you'll need to write -map aruments for all the streams you want
[02:29] <keeperofdakeys> any specific reason you want to hardcode subtitiles?
[02:55] <sam1> hi ,i use -x264opts profile=main ,but it is error with "[libx264 @ 0x2ada500] bad option 'profile': 'main'"
[02:59] <gfto> Guys -ss before output do not work as expected, it still is accurate to closest gop not the exact frame.
[02:59] <gfto> I tried latest ffmpeg git (and libav git) and the result is the same. ffmpeg -i file.mpg -vframes 100 -f image2 -ss 00:00:00.960 file-%03d.png
[02:59] <gfto> I expect the first extracted frame to be the 24-th frame (file.mpg is 25 fps) however
[02:59] <gfto> the output howver starts from the 12th frame (mpeg gop size is 12 so it skips the first 12
[02:59] <gfto> frames and starts decoding). Afair -ss when used as output should be frame accurate, not gop accurate
[02:59] <gfto> What am I douing wrong?
[03:00] <sam1> -ss should before -i
[03:02] <gfto> no it should not be there
[03:03] <gfto> when it is before input it just tries to seek and it is even more unaccurate
[03:04] <gfto> when it is after input (used as output option) ffmpeg decodes the output up to the frame and then starts to feed frames to the encoder (or at least it should do that :)
[04:12] <keeperofdakeys> gfto: you obviously don't understand how video encodiing works
[04:12] <gfto> probably
[04:12] <keeperofdakeys> you have key frames, which are tot[B[Byou have kkeyframeees
[04:12] <keeperofdakeys> theseare a complete picture
[04:13] <gfto> thanks for the lecture :) the problem was av delay
[04:13] <keeperofdakeys> you then have p frames, which recordthe changes from the key frame
[04:13] <gfto> when I compensate for av delay by adding couple of frames to -ss everything works
[04:13] <gfto> so no need to explain to be about frame types, thankyouverymuch :)
[04:13] <keeperofdakeys> ah, okay
[04:15] <gfto> mediainfo reports Delay relative to video : -504ms, so to have "frame accurate" output -ss I have to add to ss time 504 / (504 % 40) + 2 /b-frames/ = 14) and voila...
[04:19] <relaxed> gfto: did you try -itsoffset?
[04:24] <gfto> can I apply itsoffset only to one of the streams stream in the input?
[04:28] <relaxed> yeah but you'll need to use the same input twice
[04:28] <gfto> ok, found it, very awkward..will try it
[04:28] <gfto> thanks for the suggestion
[04:29] <gfto> any idea how to find audio delay only with ffmpeg without using mediainfo?
[04:29] <relaxed> I don't know. Did you try ffprobe?
[05:02] <sam1> hi
[05:50] <bigjohno> Hi, I am using ffserver to stream a live video from an IP camera sending an mp4 stream. For maximum browser compatibility experimentation has lead me to stream via a flv format. The only issue I have is when the feed file reaches maximum size after which it seems the browsers do not know how to show a live picture and the stream stops. I am considering stopping ffserver and deleteing the feed file periodically as a work around but am wondering if there i
[05:50] <bigjohno> s a solution to this?
[06:58] <sam1> ffmpeg -profile baseline/main/high doesn't work ?
[07:01] <sam1> paste here
[07:01] <sam1> http://dpaste.com/682608/
[07:02] <sam1> but i use "-profile baseline -acodec copy or -an " it works, why?
[07:07] <sacarasc> Put -profile baseline after -vcodec libx264...
[07:09] <sam1> http://dpaste.com/682610/
[07:09] <sam1> doesn't work
[07:09] <sam1> Put -profile baseline after -vcodec libx264..
[07:14] <relaxed> sam1: -profile:v main
[07:14] <relaxed> or baseline
[07:14] <sam1> wait a moment
[07:15] <sam1> it works thanks ,relaxed
[07:16] <sam1> but i use -x264opt profile=main ,it doesn't work
[07:20] <MrJones> hello
[07:20] <MrJones> http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/libavcodec_2utils_8c.html… talks a lot about requirements for the package input buffer
[07:20] <MrJones> now I simply get the package from av_read_frame()
[07:20] <MrJones> does that function care about all those alignment, padding size and whatever stuff which is apparently required?
[09:13] <j-b-r> Ok, I hope this is the right place to ask questions like this, but: can anyone give me a quick example of how to render styled subtitles from an mkv into a video with ffmpeg?
[11:38] <lytran> hi
[11:38] <lytran> please help me about ffmpeg usage
[11:41] <lytran> How can I create 10second ts segment with ffmpeg-0.9
[12:04] <saste> lytran: try the segment muxer
[12:18] <lavluda> is ffmpeg now supper stream to rtmp ?
[12:18] <lavluda> *support
[13:07] <xj> which is better for movie audio, faac or libaacplus?
[13:22] <j-b-r> As far as I know, both are pretty bad
[13:22] <j-b-r> I might be speaking out of my depth though. ¯\(º_o)/¯
[13:23] <xj> thanks
[14:49] <Mavrik> xj, libaacplus gives way better quality for bitrate, however it allows only up to 64k bitrate
[14:49] <Mavrik> xj, so if you want to encode up to 64k, libaacplus is way better, for everything else libfaac (or libvo_aacenc) is your only option
[14:50] <cbreak> or lame... :)
[14:50] <j-b-r> ...And that's why I use neroenc.exe
[14:50] <Mavrik> cbreak, hmm, lame isn't AAC (which can cause problems), not to mention it's not significantly better
[14:51] <Mavrik> j-b-r, of course, if you want piles of additional work on windows plaform :P
[14:51] <mohanohi> Hi. can i extract only odd frames with ffmpeg. I have footage for which i need to extract 1,3,5,7,9......... frames in image format
[14:52] <mohanohi> can anybody pls tell me if it is possible to do this?
[14:53] <xj> bummer
[14:53] <Mavrik> mohanohi, use "select" video filter
[14:54] <Mavrik> xj, what kind of videos are you encoding?
[14:54] <mohanohi> Mavrik : oh .. thank you :)
[14:54] <xj> just backing up my x-files collection to my new NAS
[14:55] <Mavrik> ah
[14:55] <Mavrik> xj, libfaac, 192k is more than enough ;)
[14:55] <Mavrik> or even less
[14:56] <xj> 200kb/s is the default in ffmpeg
[14:56] <xj> thanks Mavrik
[14:56] <Mavrik> (don't use defaults in ffmpeg) ;)
[14:57] <xj> i am only using the audio default
[15:08] <raven> hi
[15:09] <raven> how to check a (raw-dv) file with ffmpeg?
[15:12] <Mavrik> check?
[15:12] <raven> yes
[15:13] <raven> the file seems broken and after two days encoding of a 7 hour raw-dv file to mpeg4 i would like to know if this would work this time
[15:35] <raven> Mavrik?
[17:35] <flan_suse> When using cat + ffmpeg, the combined media file is only as long as the first input file. E.g, cat vid1.flv vid2.flv | ffmpeg -i - -vcodec copy -acodec copy combined.flv
[17:58] <raven> is ffmpeg able to combine two files and cut them simply?
[19:32] <MeCLovin> Hey guys, I've got a quick question! I'm trying to play a mp3 file silently with ffplay. But when I use the parameter -nodisp I don't get any audio :(! What am I doing wrong?
[19:44] <MeCLovin> nobody? I tried like 20 different builds :-/
[19:58] <Mavrik> um
[19:58] <Mavrik> you want to play an mp3 file silently.
[19:59] <Mavrik> and you have a problem that you can't hear audio?
[20:00] <MeCLovin> no, i want to hide the gui
[20:03] <Mavrik> hm, ffplay 1-18\ Tie\ Your\ Mother\ Down.mp3 -nodisp works fine for me
[20:03] <Mavrik> ffplay version 0.7.2-4:0.7.2-1ubuntu1, Copyright (c) 2003-2011 the Libav developers
[20:04] <MeCLovin> that's strange, I see that everything works (the console output looks just fine), but theres no sound..
[20:05] <Mavrik> hmm
[20:05] <Mavrik> which OS?
[20:05] <MeCLovin> win 7 x64
[20:11] <iive> Mavrik: that's not ffmpeg
[20:11] <Mavrik> iive, and?
[20:13] <iive> i mean, it is not ffmpeg project, its the libav fork.
[20:13] <Mavrik> hmm
[20:13] <Mavrik> you're right
[20:13] <MeCLovin> okay sorry then
[20:13] <iive> it would be good idea to compile recent ffmpeg release.
[20:14] <Mavrik> lemme go find my 0.9 deb
[20:17] <Mavrik> bah, didn't compile ffplay :(
[21:04] <markrose> I'm having some trouble with ffmpeg. It seems to be using an old version of libav*. When I compile ffmpeg without libavformat installed when I compile, ffmpeg output shows: "libavformat 53. 24. 0 / 53. 24. 0" . When I have the package libavformat-dev (version 0.7.2-1ubuntu1) installed and I compile, ffmpeg output shows "libavformat 53. 29.100 / 53. 29.100", which is newer. I thought the ffmpeg git repository contained the latest libav stuff?
[21:18] <glassresistor> is there a way to start an mp3 at an offset from a typical http source without having to download the audio from the first part of the offset(ie not wanting to download 1h of music to listen to the last 5min)
[21:19] <glassresistor> i expect the answer for this to be no, the mp3 is from 7digitals streaming server if that matters
[21:21] <Mavrik> hmm
[21:21] <Mavrik> it should be possible
[21:22] <markrose> if the mp3 is constant bitrate it should be possible (you'd have to download the first part, figure out where the audio starts, etc) then use HTTP 1.1's If-Range request
[21:23] <markrose> If-Range -> Range header, sorry
[21:34] <glassresistor> markrose: thanks I'm trying to do this in the browser using soundmanager2
[21:35] <glassresistor> so html5 and/or flash, it has an api for setting the offset, not sure if its taking advantage of that, im looking up 7digital now but i think its vbr
[22:18] <defaultro> hey folks, I made a dvd iso of our vacation using ffmpeg and dvdauthor. File size is about 8gb. Mplayer plays the iso fine. I started preparing imgburn but it is complaining and saying "this image has not been mastered correctly for burning onto two layer disk."
[22:18] <defaultro> what should I do?
[22:19] <microchip_> jump off a bridge :P
[22:19] <defaultro> i already did during our vacation
[22:28] <defaultro> i shrink it down to 4gb. It's just vacation so it's ok :)
[22:34] <oimon1> hi. if i have a silent video file (2 mins) and audio file (1 minute long) and would like to mux them together without transcoding, can i do it without truncating the length of the video file? i tried "fmpeg -i out.ogg -i out.ogv -acodec copy -vcodec copy output.ogv" but the first section of video is truncated
[00:00] --- Sat Jan 7 2012
1
0