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
December 2013
- 1 participants
- 54 discussions
[00:56] <llogan> ubitux: for Photoshop CS6 the curves file is .acv, not .asv as shown in the docs, but i'm unsure if asv is valid too
[01:19] <cone-455> ffmpeg.git 03Michael Niedermayer 07master:999ee28124f3: avcodec/utils: dont depend on the channel layout in unrefcount_frame()
[01:19] <cone-455> ffmpeg.git 03Michael Niedermayer 07master:4c1b4ae1baf7: avcodec/libutvideodec: use av_frame_move_ref()
[01:19] <cone-455> ffmpeg.git 03Michael Niedermayer 07master:7102083a26f7: avcodec/libutvideodec: free coded_frame with av_frame_free() instead if av_free*
[01:19] <cone-455> ffmpeg.git 03Michael Niedermayer 07master:985c5f226af3: avcodec/utils: check that extended data has been set correctly instead of forcing it in avcodec_decode_video2()
[01:51] <cone-455> ffmpeg.git 03Diego Biurrun 07master:c869fcdeac3b: configure: Move toolchain dependency declarations to a more appropriate place
[01:52] <cone-455> ffmpeg.git 03Michael Niedermayer 07master:1311ae8eeeb9: Merge commit 'c869fcdeac3b7cd71a852b928902daadeca55685'
[02:03] <cone-455> ffmpeg.git 03Diego Biurrun 07master:275651646651: configure: Split host and target libc detection
[02:03] <cone-455> ffmpeg.git 03Michael Niedermayer 07master:2836ef688b4e: Merge remote-tracking branch 'qatar/master'
[02:28] <clever> anybody on that knows the details of how a codec decoder works?
[02:28] <clever> i'm trying to figure out when av_frame_get_buffer is called and why the buffer isnt the right size
[03:24] <cone-455> ffmpeg.git 03Michael Niedermayer 07master:2bdda9a15c04: avcodec/ffv1enc: fix use of uninitalized variable in choose_rct_params()
[03:24] <cone-455> ffmpeg.git 03Michael Niedermayer 07master:0e575c24d62a: ffv1.4: use 2 coefficients for calculating the Y plane in the RCT
[04:20] <cone-455> ffmpeg.git 03Michael Niedermayer 07master:8e5a2989a387: avcodec/libvpx: set CODEC_CAP_EXPERIMENTAL correctly instead of testing at codec open time
[07:16] <anshul> I was looking for parameter ost->sync_opts (struct outputstream)
[07:17] <anshul> int64_t sync_opts; /* output frame counter, could be changed to some true timestamp */ // FIXME look at frame_number
[07:17] <anshul> can any one explain what does that fix mean, what is the significance of that variable
[07:22] <Compn> anshul : i think it means look at frame_number function and see whats wrong
[07:23] <anshul> frame_number is an variable
[07:24] <anshul> does it mean use frame number instead of int64_t sync_opts;
[07:59] <anshul> in ffmpeg.c function do_video_out in switch statement between case VSYNC_VSCFR and VSYNC_CFR the break is missing or break is not placed due to some ovious reason
[08:00] <anshul> if there is any reason to place the break, can any one tell me, because if I place break, the frame drop problem that I am facing is removed
[08:00] <anshul> if there is any reason to not place the break, can any one tell me, because if I place break, the frame drop problem that I am facing is removed
[08:27] <j-b> 'morning
[09:22] <mark4o> https://github.com/cisco/openh264
[11:02] <{V}> mark4o, "decoder features [..] Single thread for all slices" strange "feature"
[11:16] <mark4o> ...they never claimed they were all *good* features :P
[11:21] <plepere> hey, just to make sure : if I declare an asm function with 6 arguments, the arguments go in r0, r1, r2, r3, r4 and r5, leaving me with the other 10 registers to play with freely ?
[11:25] <anshul> ohh my machine is fate idle
[11:25] <anshul> depend on your hardware, and how much register it have
[11:26] <anshul> mark4o depend on your hardware, and how much register it have
[11:35] <pengvado> plepere: yes
[12:13] <cone-882> ffmpeg.git 03Diego Biurrun 07master:1a5fdf9519d7: configure: Move log2 dependency declaration to a place it takes effect
[12:13] <cone-882> ffmpeg.git 03Michael Niedermayer 07master:f8d8d2e235f6: Merge remote-tracking branch 'qatar/master'
[14:13] <BBB> ubitux: have an almost working version of idct16x16 (see github if you want to review), am tracing probably a final mismatch ATM
[14:13] <ubitux> you're awesome :)
[14:14] <ubitux> i'm still strugling with the lpf :p
[14:14] <BBB> it's not finished yet :-/ until all mismatches are gone
[14:14] <BBB> anyway
[14:14] <BBB> I'll get there, gotta run to work now
[14:14] <ubitux> i'm also trying to limit myself to 8 reg
[14:14] <BBB> maybe tonight
[14:14] <BBB> oh...
[14:14] <BBB> that's hard :)
[14:14] <BBB> but goodluck!
[14:14] <ubitux> a 16reg version will allow various optim already :p
[14:14] <ubitux> yeah i'll probably change my mind hehe
[14:17] <BBB> up to you ofc
[14:17] <BBB> do what you feel is best
[14:17] <BBB> bbl :)
[14:18] <ubitux> i would have expected something larger
[14:18] <ubitux> it looks nice
[14:43] <nevcairiel> stupid 32-bit, i wish it would go away
[14:43] <nevcairiel> but especially on windows its hard to throw it out because of compat with old things
[14:55] <cone-882> ffmpeg.git 03Michael Niedermayer 07master:8477e63d3c23: sonic: use M_SQRT2 Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[14:55] <cone-882> ffmpeg.git 03Michael Niedermayer 07master:ec4d761c745d: avcodec/sonic: fix memleaks
[15:51] <j-b> <3 smarter
[16:21] <cone-402> ffmpeg.git 03Michael Niedermayer 07master:4c32629b8259: avcodec/sonic: move version to the context
[16:21] <cone-402> ffmpeg.git 03Michael Niedermayer 07master:c61daa68e4f1: avcodec/sonic: add larger version and minor_version fields with version >= 2
[16:21] <cone-402> ffmpeg.git 03Michael Niedermayer 07master:6026a5ad4f13: sonic: Switch to rangecoder
[16:26] <smarter> michaelni: some of your commits contain things like "Fixes: CIDXXXX", what is that?
[16:26] <ubitux> coverity id
[16:26] <ubitux> (scan.coverity.com)
[16:27] <smarter> are the CIDXXX publicly available?
[16:27] <ubitux> i think you need an account
[16:30] <michaelni> smarter, i can give you an account, just need an email address
[16:37] <michaelni> smarter, is the @ubuntu address ok or should i use another ?
[16:38] <cone-402> ffmpeg.git 03Guillaume Martres 07master:679a6377e494: hevc: avoid some unnecessary differences with libav
[16:38] <cone-402> ffmpeg.git 03Guillaume Martres 07master:f90281ca97d4: hevc: Correctly set time_base
[16:43] <smarter> michaelni: sure
[16:44] <ubitux> is it ok to seek when a packet is not completely decoded?
[16:45] <michaelni> smarter, invite sent, if you get no mail in the next hour?, check your spam folder
[16:48] <Paranoialmaniac> ubitux: if it's not ok, we can't do gradual decoder refresh
[16:59] <ubitux> Paranoialmaniac: mmh?
[16:59] <ubitux> i just wonder if i'm supposed to send a null/0 packet before seeking or something
[16:59] <nevcairiel> why
[17:00] <ubitux> or if i can just reset my altered tmp packet
[17:00] <nevcairiel> seeking flushes the decoder, which should discard that
[17:00] <nevcairiel> if it does not, then the decoder is buggy
[17:00] <ubitux> ok, perfect then
[17:00] <ubitux> thx
[17:01] <Paranoialmaniac> oh, your case is before seek. sorry
[17:03] <Paranoialmaniac> ubitux: if you can't trust flush_buffer(), just reopen the decoder :P though this is an user side opinion
[17:04] <ubitux> oh i'm fine trusting it
[17:05] <ubitux> i was just trying to make some kind of seek fuzzer test
[17:05] <ubitux> and i was wondering if i could put it anywhere in the the decoding loop
[18:59] <cone-402> ffmpeg.git 03Michael Niedermayer 07master:7fa9f7ef1c2f: dvdsub_parse_extradata: fix memleak
[18:59] <cone-402> ffmpeg.git 03Michael Niedermayer 07master:3af9d8269ea2: avcodec/g2meet: check the return code of ff_set_dimensions()
[20:28] <saste> what's special about the native AAC encoder? ^
[20:29] <nevcairiel> it produces a native raw aac stream
[20:29] <nevcairiel> while the others can produce adts
[20:29] <nevcairiel> is all
[20:29] <nevcairiel> just set global_header? :p
[20:30] <saste> nevcairiel, yes, but what encoder should be considered to have a "correct" behavior?
[20:30] <nevcairiel> neither is wrong or correct
[20:30] <saste> well at least is confusing
[20:30] <saste> i'm tempted to close the ticket indeed...
[20:31] <saste> but probably we should document the behavior of the native encoder
[20:31] <saste> what's good raw AAC for?
[20:31] <nevcairiel> usually for muxing in mp4
[20:31] <nevcairiel> while adts is for TS
[20:40] <saste> nevcairiel, so basically there are three distinct bitstream formats for AAC
[20:40] <llogan> odd how mailman allowed those flipmailer emails in -devel...
[20:40] <nevcairiel> technically yes, but the LATM format has its own codec id because its really even more special
[20:41] <saste> raw AAC, ADTS (for MPEG-TS), and ASC for MP4/MOV output
[20:41] <nevcairiel> oh right
[20:41] <nevcairiel> 4 then with LATM
[20:42] <nevcairiel> i probably wouldnt really make a difference between raw and ASC though
[20:42] <saste> nevcairiel, i wonder if it would make sense to add an option to select the correct output, rather than having to mess with generic codec flags and bitstream filters
[20:42] <saste> native AAC will default to raw, unless flags +global_header is set
[20:43] <nevcairiel> the other encoder libs that have the capability simply use the global_header flag to produce raw+extradata, and adts otherwise
[20:43] <nevcairiel> iirc.
[20:43] <saste> in that case the output will be in ADTS format, and you need to add the aac_adtstoasc to mux to MP4
[20:44] <saste> and the MPEGTS muxer will complain in case of raw with no extradata
[20:44] <saste> tricky...
[20:44] <nevcairiel> raw with no extradata is a kinda bad format anyway
[20:45] <nevcairiel> native aac enc seems to always produce raw+extradata
[20:45] <nevcairiel> which would make it ASC
[21:49] <saste> michaelni: what to do with the infamous "Application provided invalid, non monotonically increasing dts to muxer in stream 0"?
[21:49] <saste> it is a deal breaker for a lot of streaming cases
[21:49] <saste> why is ffmpeg so picky about DTS timestamps? How to fix them?
[21:53] <michaelni> saste, dts cant go backward (unless theres a timestamp discontinuity)
[21:55] <michaelni> why is timestamp from the past fed in the muxer ?
[21:57] <michaelni> non monotone dts are like if you ask the code to decode packet N at time 5sec and after that packet N+1 at 2sec that is 3 sec before
[22:01] <saste> michaelni, they are usually from external sources
[22:03] <michaelni> so there some "external" source that contains invalid timestamps, and you want to mux that into ?
[22:04] <michaelni> or does that external source support timestamp discontinuities and its not marked correctly ?
[22:05] <michaelni> or its marked and does allow discontinuites and the discontinuity code fails ?
[22:08] <Compn> saste : michael wants to fix them. do you want ffmpeg to ignore timestamps, make up its own timestamps, or read some spec and fix some de/muxer to implement timestamp properly
[22:10] <wm4> michaelni: if I feed the decoder two null packets (i.e. data=null,size=null) after resetting the decoder, it crashes, and it seems to be a regression
[22:10] <wm4> michaelni: is that a bug, or is it allowed to crash if feeding it a null packet even after getting no frame?
[22:10] <wm4> michaelni: the decoder in question was h264
[22:11] <clever> ive run into some problems with the frame.data[0] pointer, it doesnt seem to be large enough to hold a full video frame
[22:11] <clever> i'm trying to figure out how large the buffer truely is, and how much data i should be copying into it
[22:11] <Daemon404> data[0] doesnt hold a frame
[22:11] <Daemon404> it holds *one plane* of that frame
[22:12] <clever> so i need to take the YUV data, split the 3 planes appart, and put them into [0] [1] and [2]?
[22:12] <wm4> I think there are libavutil functions to calculate this stuff, but it's a bit awkward to use
[22:12] <michaelni> wm4, allowed or not, it would be better if it didnt crash, can i reproduce this easily somehow ?
[22:12] <wm4> clever: what does the decoder output?
[22:12] <clever> wm4: a ~3mb blob of data, which is currently set to YUV420Planar
[22:13] <Daemon404> clever, you should really RTFM
[22:13] <clever> and a width/height value for the pixel size
[22:13] <wm4> michaelni: not sure...
[22:13] <Daemon404> this is all documented
[22:13] <clever> *looks*
[22:13] <clever> which document in doc/ ?
[22:13] <Daemon404> it is generated doc
[22:14] <Daemon404> http://ffmpeg.org/doxygen/trunk/structAVFrame.html
[22:14] <clever> i had read the comments on that in the .h file, it explains every pixel format except yuv420
[22:15] <Daemon404> it explains how planar formats are handled
[22:15] <Daemon404> and yuv420p is planar
[22:15] <Daemon404> (and marked as such)
[22:15] <clever> that would explain why populating [0] only adjusted the brightness of the green image
[22:15] <clever> and why it segfaults if i copy 3mb into [0]
[22:16] <clever> the only part i'm missing what percentage of the buffer goes into [0] [1] and [2], how much is y, u, and v
[22:16] <Daemon404> ...
[22:17] <Daemon404> thats not even ffmpeg specific
[22:17] <Daemon404> thats in teh definition of 4:2:0 chroma subsampling
[22:17] <Compn> Daemon404 : did you see what clever is trying to do ? :)
[22:17] <Daemon404> (which, shockingly, is what yuv420 is)
[22:17] <Daemon404> some rpi crap
[22:17] <clever> yeah, but 4 2 0 doesnt look like bit sizes, wouldnt that leave 0 bits for v?
[22:17] <Daemon404> it is the CHROMA SUBSAMPLING
[22:18] <clever> and the buffer size vs pixel size says 1.5 bytes per pixel
[22:18] <Daemon404> http://en.wikipedia.org/wiki/Chroma_subsampling#4:2:0
[22:18] <Daemon404> go read.
[22:18] <wm4> michaelni: oh well, trying to create a reproducable test case, I can't reproduce it anymore
[22:19] <clever> *reads*
[22:20] <Daemon404> also you need to copy line-by-line
[22:20] <Daemon404> you cant just shove teh whoel buffer in there
[22:21] <Daemon404> i think there's a function that exists to do this already
[22:21] <clever> the gpu does have 4 different YUV420 outputs, planar, packedplanar, semiplanar, and packedsemiplanar
[22:22] <JEEB> in general from GPU decoders you get NV12
[22:22] <Daemon404> if you can get planar
[22:22] <Daemon404> then get planar
[22:22] <wm4> semiplanar could be nv12...
[22:23] <clever> i do seem to be getting planar data, i just need to copy it into the data arrays in the frame now
[22:23] <saste> Compn, >read some spec and fix some de/muxer to implement timestamp properly
[22:23] <saste> no, do you?
[22:24] <wm4> michaelni: ok, this hack should make ffplay crash after some seconds of playing h264: http://sprunge.us/XbYY
[22:25] <Compn> saste : well which streaming is giving the error, and which spec to read ?
[22:25] <Compn> or 4th option, just remove the warning message and make users happy
[22:25] <michaelni> saste, i was trying to understand what you are doing to get the dts error
[22:26] <iive> clever: yuv420 is 12bit, it have 8 bits of Y sample, 8/4 bits for U and 8/4 bits for V.
[22:27] <clever> so the Y plane should just be width*height bytes in size
[22:27] <Daemon404> clever, you cant copy on one go
[22:27] <Daemon404> stride matters
[22:27] <clever> and the gpu says that the stride is the same as the width in this case
[22:27] <clever> but that may varry from file to file
[22:27] <wm4> god I hate it when people talk about "bits per pixels" with planar, subsampled yuv formats
[22:28] <wm4> it really doesn't help understanding and just confuses everyone
[22:28] <Daemon404> clever, avframe does not have width == stride
[22:28] <Daemon404> necessarily
[22:28] <Daemon404> http://pastebin.com/AK0RLBH4
[22:28] <Daemon404> something like this
[22:28] <clever> ah, the ffmpeg buffer may not be compatible
[22:28] <clever> is it valid to alter linesize[0] ?
[22:28] <clever> just to inform ffmpeg of the data format i already have
[22:28] <Daemon404> no
[22:28] <Daemon404> linesize is given to you
[22:29] <Daemon404> assuming ffmpeg allocs it for you
[22:29] <wm4> you could setup an AVFrame to point to your own buffer
[22:29] <Daemon404> you can yes
[22:29] <wm4> then setting linesize might be reasonable
[22:29] <clever> that would reduce the memcpy's going all over the place
[22:29] <Daemon404> but better make damn sure that its safe to do so
[22:29] <Daemon404> from the lib
[22:29] <wm4> but considering all the insane requirements on AVFrame data, it's probably better not to
[22:30] <Daemon404> wm4, it also cripples DR
[22:30] <clever> the omx lib will only modify the buffer when you call fillthisbuffer, which i run inside the end_frame function
[22:30] <Daemon404> clever, i would still copy it
[22:30] <clever> so it would depend on if ffmpeg calls end_frame while its using the old frame
[22:30] <clever> and if i double buffer it
[22:30] <Daemon404> for use with direct render in ffmpeg
[22:30] <wm4> copying to just make it work would probably be better at first
[22:30] <clever> yeah, let me implent the copy first
[22:32] <clever> hmmm, but i dont have 3 planes on the input size, just a single buffer with all the data
[22:33] <Daemon404> this is why you read their docs
[22:33] <Daemon404> (unless theyre shit and dont define anything)
[22:33] <clever> the docs are ~800 pages, they define a lot of things
[22:35] <clever> nope, no obvious part explaining where each plane starts in the buffer
[22:36] <Daemon404> where are these docs
[22:36] <clever> http://www.khronos.org/registry/omxil/specs/OpenMAX_IL_1_1_2_Specification.…
[22:37] <clever> just spotted a paragraph explaining that you cant put 2 planes in the same buffer, but nothing explaining which plane its giving, or why the buffer i have is width*height*12 bits in size
[22:38] <Daemon404> are you given a stride anywhere
[22:38] <clever> yeah, in the same area i'm given the width and height
[22:39] <Daemon404> i would think it is:
[22:39] <Daemon404> Y - starts at 0
[22:39] <Daemon404> U - starts at height * stride
[22:39] <clever> and v is just double that?
[22:39] <Daemon404> V - starts at U + (height / 2) + stride
[22:40] <clever> ah
[22:40] <nevcairiel> stride / 2 usually
[22:40] <Daemon404> er
[22:40] <Daemon404> woops
[22:40] <Daemon404> typo
[22:40] <Daemon404> V - starts at U + (height / 2 * stride)
[22:40] <Daemon404> nevcairiel, eh no
[22:40] <Daemon404> you should have 3 strides
[22:40] <Daemon404> not 1
[22:40] <nevcairiel> many apis i have seen just give you one stride or pitch or whatever, and assume you know how to handle the pixel format in question
[22:41] <clever> decoder->stride = portdef.format.image.nStride;
[22:41] <clever> this only has a single field in the struct
[22:41] <nevcairiel> but if they give you more then one stride, great
[22:41] <Daemon404> nevcairiel, kind of defeats the point of a stride for chrom planes
[22:41] <Daemon404> for alignment purposes anyway
[22:41] <nevcairiel> that depends what the main stride is aligned on
[22:41] <nevcairiel> :)
[22:41] <Daemon404> true
[22:42] <Daemon404> i guess V = U + ((height / 2) * (stride / 2)) maybe
[22:42] <Daemon404> but that seems pretty braindead.
[22:42] <Daemon404> (especaially undoc'd)
[22:43] <clever> your example increments the src pointer by stride after each line, what if i just keep that pointer between planes?
[22:43] <clever> and keep incrementing it by that much every time?
[22:43] <Daemon404> you need to increment by stride / 2 probably for chroma
[22:44] <clever> ah, thats simple enough to fix
[22:44] <Daemon404> buf += stride >> !!p; <-- too ricer?
[22:44] Action: Daemon404 runs in shame
[22:44] <clever> lol
[22:45] <clever> how about my insanely complex compile env!
[22:45] <clever> i couldnt get a perfectly matching cross compiler, so i just run the entire rpi os inside qemu-userspace
[22:45] <clever> so now i have a ~200mhz dual core arm with 3gig of ram
[22:46] <clever> instead of a 700mhz single core arm with 128mb ram
[22:46] <clever> cpu wise, its about equal to the raspberrypi, but its not going into swap hell and i'm less likely to unplug it by mistake mid-compile
[23:59] <cone-808> ffmpeg.git 03Michael Niedermayer 07master:e23b18321fb5: avcodec/hnm4video: change width/height to int
[23:59] <cone-808> ffmpeg.git 03Michael Niedermayer 07master:d9339ab55373: avcodec/h264: fix code that blindly dereferences NULL DPB
[00:00] --- Wed Dec 11 2013
1
0
[00:06] <gazarsgo> figured it out, i was putting the pix_fmt on the input instead of the output& positional command line args are hard :)
[00:15] <SirCmpwn> https://www.mediacru.sh/uIKKxpsXo0Nq.png
[00:15] <SirCmpwn> I'm having this weird playback problem on mobile devices
[00:16] <SirCmpwn> link, includes the videos: https://mediacru.sh/k-Em-UAO06Lg
[00:16] <SirCmpwn> it's offering mp4, webm, and ogv, and both webm and mp4 display the problem (haven't tried ogv)
[00:16] <SirCmpwn> ffmpeg is invoked like so: https://github.com/MediaCrush/MediaCrush/blob/master/mediacrush/worker.py#L…
[00:17] <klaxa> looks like the hardware decoder is b0rked
[00:18] <SirCmpwn> this doesn't occur on all videos, and is reproducable on several phones, so it's my problem
[00:18] <llogan> you should show your actual ffmpeg command and the complete ffmpeg console output instead of just a script
[00:19] <klaxa> it looks like that for me too on my phone though
[00:19] <SirCmpwn> https://gist.github.com/SirCmpwn/7ac9577c6ac17057c236/raw/48242082f6fedae50…
[00:19] <SirCmpwn> full output and original command
[00:21] <llogan> are these devices supposed to support High profile, level 3.1?
[00:21] <SirCmpwn> hmm, I can only reproduce on chrome for android, it works on firefox
[00:21] <SirCmpwn> presumably because firefox is selecting the webm instead? I thought the webm had that problem, too
[00:21] <klaxa> does firefox have access to hardware decoding? does firefox even us mp4?
[00:21] <klaxa> *use
[00:22] <SirCmpwn> llogan: how can I use a different one? I can re-encode it and test real quick
[00:22] <SirCmpwn> -profile main? -profile baseline?
[00:22] <llogan> "-profile:v baseline"
[00:22] <SirCmpwn> alrighty
[00:23] <llogan> but i guess you should confirm which is giving you The Troubles: the mp4 and/or the webm file
[00:25] <SirCmpwn> switching to the baseline profile seems to have fixed the problem on chrome for android
[00:25] <SirCmpwn> let me re-enable webm and disable mp4 and see if they also have the issue
[00:26] <llogan> try "-profile:v main" too.
[00:26] <SirCmpwn> yep, webm also has the problme
[00:26] <SirCmpwn> llogan: on mp4 or on webm
[00:26] Action: llogan knows nothing of VP*
[00:26] <llogan> the mp4
[00:26] <SirCmpwn> fair enough
[00:26] <SirCmpwn> okay, but I want to fix webm before I try that
[00:28] <SirCmpwn> https://gist.github.com/SirCmpwn/718b62d9c616694cb639/raw/6adc628f1b0b6c74e…
[00:28] <klaxa> are there even vp8 hardware decoders?
[00:29] <SirCmpwn> I'm not sure, but I doubt it
[00:29] <SirCmpwn> how do I view all the options for a particular codec again?
[00:31] <klaxa> ffmpeg --help encoder=libx264 for example
[00:32] <SirCmpwn> thanks
[00:38] <SirCmpwn> how can I set vp8 passes with ffmpeg?
[00:38] <SirCmpwn> there's an option for it with vpxenc, but I can't figure out how to convince ffmpeg to pass it down
[00:38] <SirCmpwn> I want to try using 2 passes
[00:41] <llogan> -pass 1, -pass 2?
[00:42] <llogan> http://trac.ffmpeg.org/wiki/vpxEncodingGuide may be useful for you
[00:42] <SirCmpwn> thanks
[00:50] <SirCmpwn> is there a generic way to pass an option down to the video encoder?
[00:51] <SirCmpwn> I want to try adjusting the arnr settings on vpxenc
[00:55] <SirCmpwn> ah, you can just use -arnr_strength and such
[00:56] <SirCmpwn> didn't help anything :(
[00:57] <llogan> did you try main yet for the mp4 output?
[00:58] <Cloudstrike> Hello i have a problem with some video files, if i try to encode video files, most files work but some encode for longer then 20 minutes (by some files 1 hour or longer). A normal file would be 200 MB but these files get up to 1.8 GB (source was under 200 - 300 MB) Here i have the information about the input: http://pastebin.com/u7EKv3mi
[00:58] <SirCmpwn> llogan: no, I'll give that a try now
[00:58] <SirCmpwn> llogan: mp4 doesn't work well on all devices, so I also need webm working
[01:00] <Cloudstrike> here what i use to encode it: ffmpeg -i wjq11iq9fub6.mp4 -y -acodec aac -strict experimental -ab 192 -ac 2 -s $size -vcodec libx264 -vpre fast -g 60 -crf 24 -threads 0 {upload_dir}/wjq11iq9fub6.mp4
[01:09] <Cloudstrike> ok
[01:56] <Zeranoe> I have two videos, encoded from different formats into the same format. ffprobe reports everything the same for the two files, except the bit rate is different. The issue is that only one of the files will play on with some special hardware. What hidden differences could be effecting this
[02:01] <sacarasc> If it's H264, then profile and level could be the difference.
[02:02] <Zeranoe> sacarasc: But if the files are going through the same encoding command, shouldn't that be wiped away?
[02:02] <gazarsgo> so& many& encoders& compiling
[02:04] <gazarsgo> do the instructions here include opencl support ? http://trac.ffmpeg.org/wiki/UbuntuCompilationGuide
[02:05] <sacarasc> Zeranoe: Try using mediainfo to get all the specs.
[02:05] <llogan> gazarsgo: you mean for the few filters that use it?
[02:06] <gazarsgo> is there a list of which filters support opencl ?
[02:06] <llogan> or for x264?
[02:07] <gazarsgo> is rtmp backed by x264 ?
[02:09] <llogan> unsharp and deshake, AFAIK
[02:10] <gazarsgo> arrrg i have to recompile x264 with opencl and then ffmpeg ? heh
[02:11] <elfMobile> trying to turn a bunch of pictures into a timelapse. I have pictures in different directories (a directory for each day). I can create a timelapse for each day but having trouble combining them. This is my command....
[02:11] <elfMobile> ffmpeg -r 60 -i ../1/out_%05d.jpg -r 60 -i ./out_%05d.jpg -c:v libx264 -r 60 1and2.mp4
[02:11] <elfMobile> I'm in directory 2. Trying to combine pictures from day 1 and day 2 into a single movie
[02:12] <llogan> gazarsgo: i doubt it's worth it
[02:12] <gazarsgo> what would make it worth it ?
[02:13] <gazarsgo> i have 1536 core GPU ...
[02:14] <llogan> if your hardware supports it and if you need to encode x amount of videos in n amount of time, and if the supposed decrease in encoding time with opencl is goodnuff to offset the time you're taking to implement and test it
[02:14] <gazarsgo> have to have a benchmark to determine if it's worth it :)
[02:14] <llogan> note that i've never actually tried it
[02:19] <llogan> elfMobile: ffmpeg -r 60 -i dir0/out_%05d.jpg -r 60 -i dir1/out_%05d.jpg -filter_complex "[0:v][1:v]concat=n=2:v=1:a=0,format=yuv420p[out]" -map "[out]" -c:v libx264 output.mp4
[02:20] <elfMobile> llogan, I think the command I ran actually just destroyed all the .jpg files I had in my 2nd directory
[02:21] <elfMobile> ... either that one or another command I ran. I think it took pictures from dir1 and put them in dir2
[02:21] <llogan> the one you showed doesn't look like it would do such a thing
[02:23] <elfMobile> http://pastebin.com/fzVCsg27
[02:23] <elfMobile> llogan, ^^ histtory | grep ffmpeg | pastebinit
[02:23] <llogan> you forgot the -i for your second directory in command 509
[02:24] <elfMobile> yeah... so what would that command even do? Replace all the files in the current directory?
[02:24] <llogan> unfortunaely the image2 muxer does not appear to ask for confirmation for overwrite
[02:25] <elfMobile> llogan, not a huge loss... but lesson learned
[02:25] <llogan> it would re-encode the files from the input and dump them into your output
[02:25] <llogan> don't feel bad. i overwrote a video myself today.
[02:26] <elfMobile> this was a timelapse of my son sleeping with his infrared baby camera
[02:26] <llogan> there are plenty of other kids out there to spy on if he's too old now
[02:27] <elfMobile> its only 1 day older today... it was from last night ;-)
[03:53] <Cloudstrike> Can somebody help me with this problem? http://pastebin.com/ZKbLKf8j
[03:53] <germanstudent> I try to find the exact ffmpeg (h264) parameters for youtube recommended encoding settings. I think I have most of it, someone interested in checking/completing? https://docs.google.com/spreadsheet/ccc?key=0AgT_7K9gOQjrdGRROVh1V0xWa01YNX…
[04:04] <Cloudstrike> the problem what i have is that this file encodes for longer then normaly. So i need help because of this problem the whole queue got stuck:/
[04:04] <Cloudstrike> and the output file will be 1.5 GB (normal it have to be 200 MB ~ 300 MB)
[04:19] <grepper> Cloudstrike: that's not released by ffmpeg, try #libav. I'm sure they will tell you to get a recent version :)
[04:29] <grepper> should be -ab 192k by the way, as the output shows
[04:53] <Cloudstrike> grepper: http://pastebin.com/tQdxAnTp
[04:53] <Cloudstrike> it is finished
[04:53] <Cloudstrike> but the filesize is too big
[04:55] <SirCmpwn> ffprobe appears to depend on file extensions for formats like bmp or png
[04:55] <SirCmpwn> is there a way to make it ignore the extension?
[04:55] <SirCmpwn> for example, ffprobe with foo.png and foo.whatever fails on the latter even when both are the same file
[05:00] <drv> image formats (with the image2 demuxer) are detected only based on extension, there's no probe function for image formats currently
[05:00] <SirCmpwn> alright, I'll fallback to imagemagick
[05:07] <relaxed> SirCmpwn: yes, ffmpeg -f image2 -vcodec png -i blah.ext
[05:07] <SirCmpwn> hahaha
[05:07] <SirCmpwn> I'm trying to detect the filetype of arbituary files, relaxed
[05:08] <relaxed> file blah.ext
[05:08] <SirCmpwn> yeah, but a little more complicated than that
[05:08] <SirCmpwn> I want to also take apart containers and examine the streams present
[05:08] <SirCmpwn> hence, ffprobe
[05:10] <Dirkson> Hey all. Converting to webm only uses one out of my eight cores. Any way I could make it chew up a bit more cpu?
[05:10] <SirCmpwn> -threads 7
[05:10] <SirCmpwn> vp8 suggests using actual_cores - 1
[05:11] <relaxed> SirCmpwn: tried mediainfo?
[05:12] <Dirkson> SirCmpwn: Doesn't affect cpu usage. Still hovers right around 1 core's worth of usage.
[05:12] <SirCmpwn> relaxed: hmm, I prefer ffprobe's output
[05:13] <SirCmpwn> Dirkson: can you show your full ffmpeg invocation?
[05:13] <Dirkson> SirCmpwn: Just a tick
[05:13] <SirCmpwn> in a pastebin or something, not directly here
[05:13] <Dirkson> SirCmpwn: It's small: ffmpeg -threads 7 -i "$1" -preset veryslow -pix_fmt yuv420p -map 0:0 -map 0:a:0 "$2".webm
[05:14] <Dirkson> SirCmpwn: $1 is the input file, $2 the output
[05:14] <SirCmpwn> I dunno if this'll help anything, but try explicitly declaring the vcodec and setting -threads after that
[05:14] <SirCmpwn> -vcodec libvpx
[05:14] <relaxed> it belongs after the input
[05:14] <Dirkson> *tinker*
[05:14] <SirCmpwn> relaxed: I've had -threads work as the first argument sometimes
[05:14] Action: SirCmpwn shrugs
[05:14] <relaxed> before the input means you want to decode the input using N threads
[05:15] <Dirkson> Hey, that's better! Now it's up to using a whole 4 cores : )
[05:19] <Dirkson> Get best results with 8 cores, turns out. There it edges up to nearly 5 cores of actual usage.
[05:19] <Dirkson> Must be talking a lot between the threads.
[05:20] <Dirkson> Still, that'll save a ton of time. Thanks relaxed, SirCmpwn
[05:21] <SirCmpwn> happy to help, Dirkson
[05:35] Action: Cloudstrike slaps grepper around a bit with a large trout
[05:35] <SirCmpwn> is there any codec that would theoretically be dangerous to decode user-supplied input from
[05:35] <SirCmpwn> codecs that can run arbituary code for some reason, or maybe take up a ridiuclous amount of time/cpu/memory
[05:35] <SirCmpwn> where "user" is not trusted
[05:37] <Cloudstrike> since i dont understand why ffmpeg arent able to encode my mp4 file i dont know how to fix that because i have the problem on many files, as i hosting my videos on a streaming server and serve it with jwplayer i need to solve this. I have to much problems by now on some files who encode for 1 hour instead of 20 minutes lol
[05:44] <Dirkson> SirCmpwn: *reads between the lines* I too am setting up a video site : )
[05:44] <SirCmpwn> Dirkson: I already have, I'm just making it better
[05:44] <SirCmpwn> https://mediacru.sh
[05:48] <Dirkson> SirCmpwn: Cool. I like this ^^
[05:49] <Dirkson> SirCmpwn: Like the default https and partial SPDY implementation : )
[05:49] <SirCmpwn> thanks Dirkson
[05:49] <SirCmpwn> it's open source: https://github.com/MediaCrush/MediaCrush
[05:50] <Dirkson> SirCmpwn: Now that's an interesting idea. It goes down - So what? The software is still available. Next guy can pick it up and run with it.
[05:50] <SirCmpwn> yup.
[05:50] <SirCmpwn> you can also run private instances for yourself, it's well documented if you don't want to use the public instance
[05:51] <Dirkson> SirCmpwn: Neat : )
[05:52] <Dirkson> SirCmpwn: Unsolicted advice: Be sure to document the installation procedure well too. Video's a bear to set up properly.
[05:52] <SirCmpwn> that's very well documented
[05:52] <SirCmpwn> have a look through the README
[05:53] <SirCmpwn> it has step by step instructions to go from fresh ubuntu or arch linux install to mediacrush server in about 5 minutes
[05:53] <Dirkson> Excellent
[05:55] <Dirkson> SirCmpwn: I've been sort of down this past week or so, realizing how quickly people have turned away from a somewhat open and reasonable platform (desktop computing) to closed walled-garden systems (Android/iphone/ipad/etc). Stuff like this gives me hope that people are still pulling for open standards : )
[05:55] <SirCmpwn> Dirkson: :)
[05:55] <SirCmpwn> Dirkson: you might want to hang out in #mediacrush here on freenode, if you're interested
[05:56] <Dirkson> Might could do : )
[05:56] <SirCmpwn> anyway, here's what I've been doing with ffprobe: https://gist.github.com/SirCmpwn/38c97f87cb758d8c0803
[07:08] <anshul> guys i have 5 image and want to convert mp4
[07:08] <anshul> I was able to successssfully convet it to mp4
[07:08] <anshul> but my problem comes when it drop the frames
[07:09] <anshul> my video already have very low frames, even single drop is not bearable to me
[07:12] <anshul> my command ffmpeg -y -loglevel 'debug' -f concat -i /tmp/tmpk7FXmb -vsync 1 -pix_fmt yuv420p -s 640x480 -r 1/5 "output/Great_Lakes_region_timeshare_camp.mp4"
[07:15] <anshul> nither this work ffmpeg -y -loglevel 'debug' -r 1/5 -f concat -i /tmp/tmpk7FXmb -vsync 1 -pix_fmt yuv420p -s 640x480 "output/Great_Lakes_region_timeshare_camp.mp4" 2> log.txt
[08:13] <IamTrying> Which AMR-WB decoder is stable please? ffdec_amrwb or amrwbdec ?
[08:21] <IamTrying> Is FFmpeg ARM-WB decoder based on this or the the common standards please? http://sourceforge.net/projects/opencore-amr/
[08:21] <relaxed> IamTrying: ffmpeg has native decoders
[08:26] <IamTrying> relaxed, i had 1 year of nightmare with audio encoder/decoders stability, i have been using faac/faad but they are broken not reliable. Now for this new year i am planning to change the faac/faad and use AMR-WB as default cause its most reliable and stable for long term. But i am getting confused i have two decoders:
[08:26] <IamTrying> relaxed, 1) http://paste.ubuntu.com/6549829/ - not ffmpeg decoder
[08:26] <sjuxax> Hello. I have a file muxed as mpegts that contains DV video and PCM audio. ffmpeg refuses to play, transcode, or remux this claiming "unknown codec". How do I get ffmpeg to remux the file into an appropriate container?
[08:26] <IamTrying> relaxed, 2) ffmpeg decoder: http://paste.ubuntu.com/6549834/
[08:26] <IamTrying> relaxed, any idea which decoder is native and original not modified (want to go for less risk for unstability)
[08:31] <relaxed> the latter is ffmpeg's native decoder
[08:32] <relaxed> I would use ffmpeg's
[08:33] <IamTrying> relaxed, Sony is using AMR-WB and its very stable reliable, but i am in puzzle if they used the FFMpeg's or the other one, cause its horrible when the problem starts while using with echo cancel and noise reduction algorithms
[08:35] <IamTrying> When i used Echo cancel and noise reduction algorithm with Faac/Faad encoder/decoder it never worked because the audio become un-natural speech like human voice is in machine voice
[08:35] <IamTrying> Then when i compared for research Sony, Polycom with same echo cancel/noise reduction algorithm they works perfects
[08:36] <IamTrying> Which means that encoder and decoder is causing the echo cancel/noise reduction to be failure. Therefore i need to go for the most native and original AMR-WB
[08:41] <relaxed> IamTrying: can't you test both and see which works the best?
[08:43] <IamTrying> OK - relaxed thank you
[08:44] <relaxed> IamTrying: my static build has both http://johnvansickle.com/ffmpeg/
[09:22] <viric> if I have two outputs, 0:0 and 0:1... and I get "100 buffers queued in output stream 0:1, something may be wrong.", can this mean that 0:0 stopped having pictures?
[10:30] <radu_> can anyone explain me what exactly this means: [flv @ 0x23f2940] Non-increasing DTS in stream 0: packet 9470 with DTS 467931, packet 9471 with DTS 467931
[12:14] <bencc2> when using image2pipe do I have to define the frame rate or can I just send frames in arbitrary times and let ffmpeg timestamp them?
[12:55] <relaxed> bencc2: the default is 25 I think
[12:58] <bencc2> relaxed: anyway to use timestamps without a constant fps?
[13:35] <SirCmpwn> so I'm trying to use x11grab to record my screen
[13:35] <SirCmpwn> and the performance is abysmal
[13:35] <SirCmpwn> suggestions?
[13:39] <Mavrik> get a super computer
[13:39] <Mavrik> that's all you can get without actually giving information
[13:40] <bencc2> I'm creating mp4 from images with "/ffmpeg -y -c:v png -f image2pipe -r 10 -i - -c:v libx264 -movflags +faststart test.mp4"
[13:41] <bencc2> but FF and Chrome can't play it (VLC can).
[13:41] <bencc2> do I have something wrong in my params?
[13:41] <SirCmpwn> ffmpeg -video_size 1920x1080 -framerate 32 -f x11grab -i :0.0+1920,0 foobar.mp4
[13:42] <SirCmpwn> the resulting video file is choppy and bad
[13:42] <bencc2> SirCmpwn: you mean that I should try with your params?
[13:42] <SirCmpwn> no, I'm elaborating on my own problems, bencc2
[13:42] <bencc2> ok. sorry
[13:44] <SirCmpwn> maybe I should set the mp4 to encode in real time
[13:44] <SirCmpwn> or choose a codec better suited for that purpose
[13:44] <SirCmpwn> and convert it later
[13:44] <SirCmpwn> can anyone suggest a codec with an emphasis on fast encoding?
[13:46] <DeadSix27> i always used veryfast/superfast on x264 when i needed fast encoding
[13:46] <SirCmpwn> I'll give that a shot, then
[13:46] <DeadSix27> also, those are presets
[13:46] <SirCmpwn> right
[13:46] <DeadSix27> (-preset veryfast)
[13:47] <JEEB> bencc2, can you pastebin a log of that?
[13:50] <bencc2> JEEB: http://dpaste.com/1498953/
[13:51] <bencc2> JEEB: I can send you the video if needed
[13:51] <JEEB> no need
[13:51] <JEEB> it's pretty obvious why you have low compatibility
[13:51] <JEEB> look for the Output #0 part
[13:51] <JEEB> look at the Stream #0:0 part
[13:52] <JEEB> then look at the colorspace in that (yuvXXX)
[13:52] <JEEB> then remind yourself that most end user decoders can only handle 4:2:0
[13:52] <bencc2> so what setting do I need to change? yuv?
[13:53] <JEEB> you need to tell libavcodec that you want to have a specific pix_fmt
[13:53] <bencc2> "ffmpeg -r 1/5 -i img%03d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4" ?
[13:53] <JEEB> after -i
[13:53] <JEEB> yes
[13:53] <JEEB> that should do it
[13:53] <bencc2> tried it. still same result
[13:53] <JEEB> even with -pix_fmt yuv420p?
[13:53] <bencc2> I'll try it again and paste the result
[13:55] <bencc2> JEEB: this is the output http://dpaste.com/1498954/
[13:55] <bencc2> trying to play in a browser
[13:56] <bencc2> FF on linux works
[13:56] <bencc2> Chrome and FF on windows don't work
[13:56] <JEEB> you're on Vista+ on windows, right?
[13:57] <bencc2> Windows 7
[13:57] <JEEB> and you have the media foundation stuff installed in it?
[13:57] <bencc2> no. I didn't install windows media player
[13:58] <bencc2> I thought that the browser have the codec builtin
[13:58] <JEEB> Firefox uses the MS components because it doesn't want to distro decoders :P
[13:58] <bencc2> I don't have a problem watching html5 vieos
[13:58] <bencc2> I can watch HTML5 youtube videos
[13:59] <JEEB> youtube generally gives you VPx :P
[13:59] <JEEB> http://fushizen.eu/u/jeeb/derp/HidamariHoneycombED.mp4 <- you can test with this, if you can get it to play you have the components :P
[14:00] <JEEB> if it doesn't then your firefox is either too old, or you just don't have the components :P
[14:01] <bencc2> yes. it plays in FF and Chrome
[14:01] <JEEB> also don't forget -movflags +faststart if you want to make sure the file can be played without loading the whole file :P
[14:03] <bencc2> first I want to make it work :)
[14:03] <JEEB> uhh
[14:03] <JEEB> I have no idea if the browsers want that or not, thus just keep it there
[14:03] <bencc2> ok. trying with +faststart
[14:04] <DeadSix27> anyone know how to disbale chapter files ?
[14:05] <DeadSix27> i mean, when converting a mkv to another mkv, how to not include chapters
[14:05] <DeadSix27> in the resulting mkv container
[14:06] <bencc2> JEEB: faststart doesn't help
[14:07] <JEEB> ok, so it's something else
[14:07] <JEEB> the video stream seems OK if you've kept the -pix_fmt yuv420p there
[14:09] <bencc2> JEEB: http://dpaste.com/1498967/
[14:10] <bencc2> it's easy to reproduce the result with phantomjs if it can help
[14:10] <bencc2> I'm getting "pipe:: Input/output error" in the last step every time
[14:10] <bencc2> not sure if that's related
[14:12] <bencc2> JEEB: if I'm converting the mp4 to mp4 with VLC I can see the video in FF
[14:12] <bencc2> maybe it's curropted because of the "pipe: Input/output error" ?
[14:12] <SirCmpwn> DeadSix27: -preset veryfast did the trick, thanks
[14:13] <JEEB> bencc2, if you want to remux you should be using things that /only/ do that
[14:13] <JEEB> to make sure nothing gets re-encoded in there :P
[14:13] <JEEB> GPAC's mp4box, L-SMASH's remuxer, or ffmpeg itself
[14:13] <JEEB> if it gets fixed by just remuxing, then it's a problem in ffmpeg's muxer
[14:14] <JEEB> (and with ffmpeg to remux you set -c to copy)
[14:14] <bencc2> JEEB: not sure I understand :)
[14:15] <JEEB> basically too many variables in "if I'm converting the mp4 to mp4 with VLC"
[14:15] <JEEB> use one of those things I mentioned to see if it is the mux
[14:15] <bencc2> ok
[14:16] <JEEB> if it's not, then compare the profiles of VLC's output and your output (profile is a standard thing that's noted and followed in a H.264 stream, you can just do `ffmpeg -i welp.mp4` to get that info)
[14:16] <DeadSix27> SirCmpwn: read the x264 documenation about what all that is btw
[14:16] <JEEB> although as far as I know high profile should be just fine
[14:16] <SirCmpwn> yeah, I know how it all works
[14:17] <SirCmpwn> I just didn't realize that the encoding might be the bottleneck, I thought it was an x11grab problem
[14:27] <stonie_> hi all .. how can i produce the best quality mpeg2 9mbit 720x576 out of a mpeg2 15mbit hd 1920x1080? ... right now i use "ffmpeg -report -i infile.mpg -threads 8 -aspect 16:9 -vcodec mpeg2video -b:v 9500k -flags +ilme+ildct -top 1 -s 720x576 -ac 2 -y -r 25 outfile.mpg" - which is quiet good "but not perfect"
[14:28] <JEEB> have fun diving into the encoder's code and seeing the options
[14:28] <JEEB> pretty much everything except for libx264 doesn't have any kind of preset system
[14:31] <stonie_> ...
[14:32] <JEEB> and since everything but libx264 is pretty much very unoften used...
[14:32] <JEEB> you can guess the interest of people to create those presets :)
[14:32] <JEEB> many of the options are shared between the mpegX encoders tho
[14:38] <JEEB> stonie_, there are some settings noted over at http://x264dev.multimedia.cx/archives/102 , which is a relatively old (by now) test of animation encoding. See the "ffmpeg mpeg2" part, but do note that some of those settings _will_ make the stream incompatible with DVD if that's what you're encoding for
[14:43] <stonie_> ok ill read thru thanks!
[14:43] <stonie_> what is "-dc" exactly for
[14:44] <stonie_> duration calculation?
[14:45] <JEEB> most probably not :P
[14:47] <JEEB> it even has an "explanation" @ http://ffmpeg.org/ffmpeg.html
[14:47] <JEEB> and the dc most probably has something to do with discrete cosine (transform)
[15:04] <bencc2> JEEB: maybe when piping images from phantomjs to ffmpeg it sends something bad at the end which cause ffmpeg to create corrupted mp4?
[15:06] <bencc2> JEEB: this fixes the video for me "ffmpeg -i input.mp4 -c copy output.mp4"
[15:07] <JEEB> bencc2, yeah -- then it's the muxing
[15:08] <JEEB> make it possible to reproduce and add an issue on the trac
[15:08] <JEEB> and you will either get told what you're doing wrong
[15:08] <JEEB> or the bug will get found
[15:09] <bencc2> JEEB: I'll add an issue
[15:09] <bencc2> JEEB: what is the correct way to stop a pipe?
[15:09] <bencc2> in phantomjs I'm calling phantom.exit() but maybe it's wrong
[15:09] <JEEB> I've no idea
[15:09] <bencc2> ok
[15:10] <JEEB> but yes, that's a possible error
[15:11] <bencc2> ok
[15:23] <iMath> which position should -y put to in this cmd
[15:23] <iMath> ffmpeg -f concat -i listfile.txt -c copy a.flv
[15:23] <iMath> ?
[15:26] <bencc2> I think it can be right after ffmpeg (not sure)
[15:28] <iMath> doesn't work
[15:36] <iMath> oh,my bad,u r right
[15:38] <stonie_> JEEB, ok ty.. was busy sry
[16:23] <gazarsgo> i'm trying to configure ffmpeg with --enable-opencl but it's bombing out ? i'm on master from git ...
[16:26] <DeadSix27> can you add ignored tags to ffmpeg?
[16:26] <DeadSix27> for example: -ignorethis "myString"
[17:26] <DelphiWorld> hey
[17:26] <DelphiWorld> how to compile FFMPEG with fPIC?
[17:28] <JEEB> --enable-pic
[17:28] <JEEB> mostly if you get an error it is related to your dependencies, not ffmpeg itself
[17:29] <viric> if the error is at ffmpeg build time.
[17:30] <DelphiWorld> thank JEEB
[17:41] <ThomasSeilund> Hi All, how do I seek and cut out a video sequence and keep same container (mpegts), vcodec (x264) and acodec (mp3) without loosing A/V sync. I have been trying for days but I cant find the right ffmpeg command to use!
[19:52] <grkblood13> pcm_s16le is supposed to have a data range from -32767 to +32768 correct?
[20:06] <klaxa> -32768 to 32767 probably
[20:07] <klaxa> negative numbers are one more because 0 is considered positive
[20:07] <klaxa> and it makes math easier
[20:41] <Mista_D> Can any filter be used to automagically fix botched file and drop out duplicate frames? Decimate doesn't seem to remove out of order ones. I have a case of video-stupidity: 24p got telecined, then bob deinterlaced to 60p. Trying to bring it back to its original state. Problem is that duplicate frames are out of order e.g. "3322432232" probably due to bad telicine/Bob deinterlace filter used
[20:41] <Mista_D> prior or bad video to begin with.
[20:44] <JEEB> ffmpeg has field matching and decimation filters
[20:45] <JEEB> ported from myrsloik's rewrite of the famous TIVTC filter
[21:07] <DeadSix27> amazing
[21:07] <DeadSix27> i just for the fun and boredom.. used ffmpeg to turn a midi into mp3
[21:07] <DeadSix27> and it uses the old 56k modem-ringing sounds as instruments
[21:08] <DeadSix27> now i have Erik satie's gym.1 in modem sounds.
[21:19] <gazarsgo> hmmm 15 fps through x264 at 1024x768 seems low ?
[21:40] <klaxa> gazarsgo, depends
[21:40] <gazarsgo> well turns out i'm not using my fancy gpu at all
[21:40] <gazarsgo> stupid xvfb :(
[21:48] <klaxa> err...
[23:35] <gazarsgo> how can i make ffmpeg scale the input to the output size rather than add pixels ?
[23:39] <llogan> gazarsgo: use the scale filter
[23:40] <gazarsgo> i'm reading about it, what if i have a nonlinear scaling factor to apply ?
[23:43] <llogan> gazarsgo: what do you mean?
[23:43] <gazarsgo> like my input is 960x507
[23:44] <gazarsgo> but i want to output 1024x768
[23:44] <klaxa> -vf "scale=1024:768" ?
[23:46] <beastd> gazarsgo: what do you want to achieve? people looking thinner?
[23:46] Action: llogan doesn't know what is being asked.
[23:50] <gazarsgo> i guess centering would fine instead of scaling
[00:00] --- Wed Dec 11 2013
1
0
[09:26] <plepere> hello, a small asm question : is it possible to put an instruction as macro parameter ?
[09:26] <plepere> so you have %2 r0,r1
[09:26] <ubitux> i think you can put whatever you want yes
[09:27] <nevcairiel> its quite common to use something like mov%2 r0, r1, and then use "u" and "a" parameters to build aligned and unaligned versions
[09:27] <plepere> great, thanks
[09:30] <ubitux> wm4: #3210
[10:14] <j-b> 'morning
[10:41] <cone-455> ffmpeg.git 03Michael Niedermayer 07release/0.11:929100ae989c: avcodec/cabac: force get_cabac to be not inlined
[10:41] <cone-455> ffmpeg.git 03Michael Niedermayer 07release/1.0:e28d96024bdf: avcodec/cabac: force get_cabac to be not inlined
[10:41] <cone-455> ffmpeg.git 03Michael Niedermayer 07release/1.1:b8eaf47917ab: avcodec/cabac: force get_cabac to be not inlined
[10:41] <cone-455> ffmpeg.git 03Michael Niedermayer 07release/1.2:86d4d4b011f2: avcodec/cabac: force get_cabac to be not inlined
[10:41] <cone-455> ffmpeg.git 03Michael Niedermayer 07release/2.0:7e7376095040: avcodec/cabac: force get_cabac to be not inlined
[10:41] <cone-455> ffmpeg.git 03Michael Niedermayer 07release/2.1:69a283e0d21e: avcodec/cabac: force get_cabac to be not inlined
[13:40] <ubitux> saste: http://sprunge.us/KSSY
[13:40] <ubitux> 12:58:07 < viric> it also allocates 24GB. Good that it uses only one. Clever linux malloc.
[13:41] <ubitux> :D
[13:47] <ubitux> > ost is a pointer, why are you taking its address?
[13:47] <ubitux> what am i reading again :(
[13:49] <Compn> reproduced >> <wm4> => segfault [02:20] <wm4> ffplay test.mkv -vf format=
[13:49] <Compn> at least with my old nightly build :P
[13:50] <ubitux> i reported that
[23:57] <cone-455> ffmpeg.git 03Carl Eugen Hoyos 07master:aae5c4d40e7f: doc: Fix adelay example.
[00:00] --- Tue Dec 10 2013
1
0
[09:21] <Whiskey> Why is it not possible for ffmpeg to calculate bitrate for ACC?
[09:29] <zap0> Why is it possible for ffmpeg to calculate bitrate for ACC?
[09:40] <Whiskey> not for me
[09:40] <Whiskey> it say N/A on that one
[10:52] <viric> [output stream 0:1 @ 0x1b63900] 100 buffers queued in output stream 0:1, something may be wrong.
[10:52] <viric> I don't know how to interpret this message...
[23:16] <Zeranoe> Can I strip all metadata, or as must as possible with FFmpeg? Maybe -metadata or -map_metadata?
[23:23] <llogan> Zeranoe: "-map_metadata -1" IIRC
[23:38] <gazarsgo> aaarg figures my question is already on stack overflow
[23:39] <llogan> gazarsgo: what's the link?
[23:39] <gazarsgo> http://stackoverflow.com/questions/19759138/error-using-ffmpeg-image2pipe-w…
[23:39] <gazarsgo> it's answered correctly to boot
[23:40] <llogan> see the -sameq comment
[23:41] <llogan> you're the second person today to be using that command
[23:41] <gazarsgo> i have run into several other people in #phantomjs also :)
[23:41] <gazarsgo> i wonder if they also intend to try out a NVidia GRID gpu though w/ the OpenCL support :)
[23:50] <gazarsgo> hmmm i can get it to work with pngs on my filesystem but not from my pipe :(
[00:00] --- Tue Dec 10 2013
1
0
[00:00] <Zeranoe> smarter: Do you know if the vp8 encoder needs to be disabled when compile vpx so FFmpeg uses vp9?
[00:13] <Zeranoe> Does ffurl_register_protocol depend on anything? Or is there any reason it wouldn't be compiled into an LGPL build?
[00:28] <smarter> Zeranoe: no need to
[01:14] <Zeranoe> is ffurl_register_protocol dependent on Linux? I'm not seeing it anywhere in the Windows builds.
[01:22] <bri> Zeranoe: iirc, that was 'hidden'
[01:26] <Zeranoe> Does this have anything to do with it: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=8e76a19b63a3fa322a64a7… Looks like that commit made it internal
[01:27] <wm4> are you dealing with software that tries to call this function?
[01:28] <bri> i think so. i asked how to use my own protocols a while back. the idea is that you can pass in a custom protocol now on the open functions
[01:28] <Zeranoe> wm4: Probably, someone just reported to me that they couldn't use that function
[01:28] <wm4> yeah, you can't define user-defined protocols anymore
[01:28] <wm4> you can still do user-defined IO though
[01:29] <Zeranoe> wm4: So what would an alternative be for them?
[01:30] <wm4> they can create a stream with user callbacks with avio_alloc_context()
[01:32] <bri> Zeranoe: there's a huge comment about it at the top of avformat.h
[01:35] <Zeranoe> bri: I guess they didn't read that
[01:35] <bri> we did some custom protocols way back then and was hit by that change too :P
[01:51] <cone-351> ffmpeg.git 03Michael Niedermayer 07master:0538b29ae800: avcodec/cabac: force get_cabac to be not inlined
[02:31] <cone-351> ffmpeg.git 03Michael Niedermayer 07master:63f74cedc9c7: avcodec/cavsdec: reset stc
[02:31] <cone-351> ffmpeg.git 03Michael Niedermayer 07master:9ca32b2060ec: avcodec/cavsdec: print warning if no frame has been decoded
[03:16] <llogan> what does the noise bsf do? i do not understand the contents of libavcodec/noise_bsf.c and using it just seems to screw up the video
[03:17] <llogan> kind of fun though
[04:14] <cone-351> ffmpeg.git 03Michael Niedermayer 07master:bc1b828536cd: avcodec/cavsdec: use more specific error codes
[04:14] <cone-351> ffmpeg.git 03Michael Niedermayer 07master:be99054e77f1: avcodec/cavsdec: print error messages in case of errors
[07:32] <ubitux> BBB: frame parallel=1 sample uploaded in http://lucy.pkh.me/samples/vp9/etv5k/ - artefacts reproducible
[07:33] <ubitux> (around 7 sec at least)
[09:06] <trunk> hi,all. does ffmpeg support "ftypmp42"?
[09:07] <trunk> i only find in source "ffio_wfourcc(pb, "mp41");",not have ffio_wfourcc(pb, "mp42");
[10:27] <j-b> 'morning
[10:40] <ubitux> philipl is not here anymore?
[10:41] <ubitux> ah, seems in holidays
[12:16] <cone-611> ffmpeg.git 03Diego Biurrun 07master:3d7c84747d4b: x86: Initialize mmxext after amd3dnow optimizations
[12:16] <cone-611> ffmpeg.git 03Michael Niedermayer 07master:5b4d57455d5b: Merge remote-tracking branch 'qatar/master'
[12:48] <BBB> ubitux: wanna debug/fix? :)
[12:52] <ubitux> BBB: not really :)
[12:52] <ubitux> the last encode will be available tomorrow
[12:54] <ubitux> libvpx still needs ~30 hours to encode 3.5 minutes on an i7 2600 @_@
[13:00] <BBB> ok
[13:00] <BBB> well I guess I'll have to look at it then, that kinda sucks but what can I do
[13:03] <ubitux> BBB: i think the crash i reported is more important though :p
[13:04] <saste> how can i do an out-of-tree build?
[13:04] <ubitux> saste: git clean your source directory, go into another, and run the configure from here
[13:05] <saste> ubitux, thx, will try
[13:23] <michaelni> rm config.h/mak should be enough, no git clean needed
[13:38] <BBB> ubitux: no, basic functionality and tests therefore is most important
[13:38] <BBB> ubitux: crashes come second; a product is only somewhat useful if it crashes, but is completely useless if it can't decode correct content
[13:39] <ubitux> yeah but crashes are security relevant :p
[13:39] <BBB> otherwise it'd be totally ok to break non-broken file playback to fix crashers, which makes no sense
[13:40] <ubitux> btw, there is no unsigned pcmp*b?
[13:41] <ubitux> mmh i guess it doesn't actually matter&
[13:41] <nevcairiel> it just compares bits more or less
[13:49] <BBB> well it matters for pcmpgtw
[13:49] <BBB> ubitux: if you need unsigned, just pxor 0x80
[13:50] <BBB> ubitux: that makes it signed (it's basically the same as -128) and then you can use pcmpgtw
[13:50] <ubitux> yeah ok
[13:50] <ubitux> i use it only with the b compare anyway
[13:50] <ubitux> still dunno how to exploit the result though
[13:50] <BBB> masking
[13:51] <BBB> if (a) { res = b(); } else { res = c(); }
[13:52] <BBB> mask = a; res_a = b(); res_b = c(); res = (res_a & a) | (res_b & ~a);
[13:52] <BBB> ~a is the same as pxor(a, 0xffffffffffffffff)
[13:52] <BBB> but there's also pnand for this purpose
[13:53] <BBB> er, pandn
[13:53] <ubitux> i mean i don't know how to check the result of that pcmp..b thing to branch
[13:53] <BBB> you don't branch
[13:53] <BBB> simd is branchless
[13:53] <BBB> you do both codepaths and and/or the results
[13:53] <BBB> check my line again
[13:54] <BBB> mask = a; res_a = one_code_path(); res_b = else_code_path(); res = pand(res_a, a) | pandn(res_b, a)
[13:54] <ubitux> oh
[13:54] <BBB> note how there's no branch
[13:54] <BBB> makes sense now? :)
[13:54] <ubitux> yeah but it sounds inefficient
[13:55] <ubitux> oO
[13:55] <BBB> right, it does, but it's not
[13:55] <BBB> because you do 2 codepaths for 16 pixels at a time
[13:55] <BBB> so it's still 8 pixels per codepath on average
[13:55] <ubitux> i wrote the 16 and 8 paths
[13:55] <BBB> for the branchy part - and 16 for the unbranchy part
[13:55] <BBB> cool
[13:55] <ubitux> i was wondering about the 4/2 at the end
[13:56] <BBB> right, so it's like this
[13:56] <ubitux> so i'll compute all these paths all the time? oO
[13:56] <BBB> for 16wd, yes
[13:56] <BBB> for 8wd, only 3
[13:56] <BBB> for 4wd, only 2
[13:56] <ubitux> fear.
[13:56] <BBB> :)
[13:56] <BBB> it's worth it, really
[13:56] <BBB> this is one of the criticisms of the vp8 loopfilter btw
[13:56] <ubitux> i wonder how it could be more efficient than branching
[13:56] <BBB> that it had two completely unrelated filtering elements that had to both be run in simd
[13:57] <BBB> like I said, you do 16 per simd iteration
[14:02] <ubitux> sure but if i have to compute the 4 paths all the time...
[14:07] <ubitux> it's too bad the 4/2 paths can't be computed using the 8/16 formula with dummy values
[14:07] <BBB> you can share some code between the 4/2 paths iirc
[14:08] <BBB> they are similar to the vp8 loopfilter
[14:08] <ubitux> yes probably
[14:08] <ubitux> it's still mostly a byte-per-byte case
[14:08] <BBB> but yes you're right and this is likely going to be a criticism on the codec if we get around to writing a blog post about the decoder
[15:40] <zidanne> Why would ic->duration become wrong? This is my log line: seekTo called for 900 secs. (ic->duration: 11676735, xduration: 11.000000) xduration is ic->duration divided by 1000000
[16:00] <cone-611> ffmpeg.git 03Michael Niedermayer 07master:6005ab3e0ed6: avcodec/mjpegenc: use av_log2_16bit() in encode_block()
[16:24] <ubitux> BBB: so even in the cas ewhere there is no postprocessing to do (fm=0), we're going to compute the whole 4 paths and rewrite dst?
[18:04] <cone-611> ffmpeg.git 03Michael Niedermayer 07master:dc1b0a54f9fe: avformat/utils: provide more IO statistics in debug output at start and end of av_find_streaminfo()
[18:04] <cone-611> ffmpeg.git 03Michael Niedermayer 07master:1565a9a9e90c: avformat/utils: factor rfps calculation out
[18:04] <cone-611> ffmpeg.git 03Michael Niedermayer 07master:e2bf00ce4643: avformat/mov: calculate rfps from the first 100 frames of the index
[18:26] <Compn> http://torrentfreak.com/court-open-source-project-liable-for-3rd-party-drm-…
[18:26] <Compn> Rathann : ^^
[18:26] <Rathann> hi
[18:27] <Rathann> WTF
[18:27] <Rathann> madness...
[18:28] <Daemon404> damn... i was about to link the obligatory america, fuck yeah video
[18:28] <Daemon404> but germany.
[18:28] <Compn> rtmpe is in ffmpeg you know...
[18:30] <av500> ...This means that if any company or individual wants to use an open (or closed) source binary (commercial or not), they are liable for it if it contains any illegal functions...
[18:30] <av500> well duh, yes of course
[18:30] <av500> live by the binary, die by the binary
[18:31] <Compn> is distributing an 'illegal function' illegal ?
[18:31] <av500> distributing DRM circumvetion might be
[18:31] <bri> isn't that like a gun company being responsible for murders?
[18:31] <av500> no
[18:31] <Compn> only if the gun can decrypt something :D
[18:31] <av500> exactly
[18:31] <bri> eheh
[18:31] <Compn> lol
[18:31] <av500> kill somebody, fine
[18:31] <av500> copy a movie, big problem
[18:32] <Daemon404> guns *can* decrypt things
[18:32] <Daemon404> but i prefer a $5 wrench.
[18:32] <av500> one can always make new people, but that movie ticket is lost forever
[18:41] <Compn> so ffmpeg "banned in germany" news post ? :)
[18:43] <nevcairiel> how does rtmpe defeat a DRM? dont you need a valid encryption key or something?
[18:44] <Compn> theres a key
[18:44] <Compn> 'adobe flash player 0001' or something
[18:44] <wm4> just because it's DRM it hasn't to be effective
[18:44] <Compn> 'right
[18:44] <wm4> you could even just have a single "copyrighted" bit
[18:44] <wm4> remember, lawyers are not intelligent beings
[18:45] <Compn> copyright, trademark and encryption , all in one
[18:45] <nevcairiel> there is actually precedence that a protection needs to be somewhat effective for it to count in germany
[18:45] <Compn> without the key, you cant decrypt
[18:45] <Compn> so thats effective, no ?
[18:45] <Compn> also theres rtmpe10 too
[18:46] <Compn> which is heavily encrypted
[18:46] <nevcairiel> a WEP encrypted wifi is now considered like running a completely free wifi in the eyes of the law, for example :p
[18:46] <nevcairiel> and i believe backup of DVD is no longe illegal because the CSS protection has been deemed stupid
[18:46] <Compn> beastd : whats wrong with germany? http://torrentfreak.com/court-open-source-project-liable-for-3rd-party-drm-…
[18:46] <beastd> hi
[18:48] <beastd> oh dear. i know nothing about the details. seems seriously ill though---
[18:49] <Compn> is there any news in the german open source .... community ?
[18:52] <{V}> how is it news that they're responsible for what they distribute? especially binaries?
[18:54] <Compn> {V} : the ruling means ffmpeg is illegal in germany
[18:54] <Compn> with a 250,000 euro fine for production, distribution and possession of an illegal piece of software.
[18:54] <Compn> even posession of the software is illegal
[18:54] <Compn> you guys are doing a binary vs source issue, this is much deeper than that
[18:55] <Compn> (btw all distros in germany shipping ffmpeg would also be illegal...)
[18:56] <beastd> i think it is not decided yet
[19:02] <Compn> beastd : wheres the german court website ?
[19:04] <Compn> i guess theres a few different courts of course
[19:04] <Compn> so we need to find out what court this was in
[19:04] <Compn> to see if we can read opinion / ruling / judgement
[19:04] <nevcairiel> i'll wait for a more credible page to post this anyway, you know, with actual information on the source and such
[19:05] <Compn> like heise ?
[19:05] <Compn> or slashdot linking back to torrentfreak ? :P
[19:06] <{V}> http://raschlegal.de/uploads/media/LG_HH__B.v._25.04.13__Az._310_O_144-13.p…
[19:06] <nevcairiel> heise would be ok, they usually research stuff to find the real source :p
[19:06] <Compn> oo
[19:07] <Compn> i see RTMPE and $250,000
[19:07] <wm4> this is ridiculous
[19:08] <wm4> software can download video from some streaming site -> illegal, pay 250.000
[19:08] <nevcairiel> thats also 8 month old
[19:08] <wm4> true
[19:08] <j-b> lol
[19:08] <j-b> VLC is infriging
[19:08] <nevcairiel> its just the injunction to block spreading of the software
[19:08] <j-b> RTMPE
[19:08] <j-b> Oh My God, I'm going to get suuuuued
[19:09] <bencoh> :]
[19:10] <{V}> here's the december one: http://raschlegal.de/uploads/media/LG_Hamburg_Urt__v__29_11_2013__AZ__310_O…
[19:10] <Compn> {V} : so is the torrent freak article correct ?
[19:10] <nevcairiel> the article on torrentfreak is really terrible, it doesnt really distinguish anything between the injunction or any following legal proceedings
[19:11] <Compn> true
[19:11] <Compn> http://www.golem.de/news/streaming-video-gericht-macht-geschaeftsfuehrer-fu…
[19:12] <Compn> searching german news , past week, for 'jdownloader2'
[19:12] <{V}> Compn, I haven't decyphered the german yet.
[19:12] <Compn> something something software patents
[19:13] <Compn> i guess this is more encryption law
[19:14] <{V}> the article that linked to that last pdf was http://raschlegal.de/news/jdownloader2-lg-hamburg-bestaetigt-haftung-des-ge…
[19:15] <Compn> so the hamburg regional court
[19:15] <nevcairiel> well the judgement does mention one specific clause in the law that is limited to applications that have the primary goal to circumvent (or at least make it easier to) protections, which one could argue an app like jdownloader is
[19:15] <nevcairiel> but a video player wouldnt have this primary purpose
[19:16] <Compn> by that logic , you could just put a video player in jdownloader to get around that
[19:16] <Compn> jmediaplayer
[19:16] <nevcairiel> wouldnt really change the primary function of jdownloader
[19:16] <nevcairiel> which is to make it easier to steal stuff from the web
[19:17] Action: Compn steals all of nevcairiel's digital bits
[19:17] <nevcairiel> of course if you get a smart judge and good lawyers, it should be easy to demonstrate that RTMPE is not safe
[19:17] <nevcairiel> or secure
[19:18] <nevcairiel> anyhow the main point is not about RTMPE
[19:18] <nevcairiel> because their real gripe was that it had a specific download plujgin for their myvideo.de domain
[19:18] <nevcairiel> not a generic RTMPE downloader
[19:18] <beastd> i would have expected to find sth here: http://justiz.hamburg.de/urteilsdatenbank/
[19:19] <beastd> but couldn't find it
[19:20] <Compn> nevcairiel : that part about posessing encryption decrypting software ?
[19:20] <Compn> i guess i'd have to read the german law
[19:20] <nevcairiel> i suppose the lesson is that a company needs to be careful what they ship
[19:20] <Compn> (translated to english)
[19:20] <Compn> posessing man
[19:21] <Compn> ignore shipping
[19:21] <Compn> merely posessing
[19:21] <nevcairiel> the law doesnt make rtmpe alone illegal, the judgement is pretty specifically tailored to jdownloader and its special myvideo plugin, that did more then that
[19:22] <Compn> its about the encryption in rtmpe
[19:22] <Compn> afaict
[19:22] <Compn> maybe i am wrong
[19:22] <nevcairiel> I just read the judgement
[19:22] <nevcairiel> since you know, i am german :P
[19:22] <Compn> i dont know whos german around here
[19:22] <beastd> the thing is with thing being copy protected or not AFACIT
[19:22] <Compn> can you link us to the law ?
[19:23] <Compn> not the judgement, but the actual part in the law
[19:23] <ubitux> any trick to fill a xmm reg with 1's?
[19:23] <beastd> in germany you supposedly not allowed to circumvent copy protectsion
[19:23] <nevcairiel> rtmpe is not a copy protection though
[19:23] <nevcairiel> its a transport encryption
[19:23] <nevcairiel> like ssl
[19:23] <Compn> nevcairiel : you are german, but are you a lawyer? :P
[19:24] <nevcairiel> everyone is a lawyer on the interwebs
[19:24] <Compn> ianal
[19:24] <Compn> :)
[19:24] <beastd> nevcairiel: IANAL but the haburg court obviously rated rtmpe as copy protected.
[19:25] <nevcairiel> not alone
[19:25] <nevcairiel> everywhere RTMPE is mentioned, they also mention some kind of security token
[19:25] <michaelni> ubitux, some compare equal instruction of the register with itself
[19:25] <Compn> almost every rtmpe stream has a security token
[19:25] <Compn> and ffmpeg has support to enter security tokens
[19:25] <Compn> i think.
[19:25] <Compn> rtmpdump does anyhow
[19:25] <ubitux> michaelni: pcmpeqb mx, mx?
[19:26] <michaelni> ubitux, yes
[19:26] <ubitux> ok, good enough, thx
[19:27] <nevcairiel> Compn: the primary law being used here is http://www.gesetze-im-internet.de/urhg/__95a.html
[19:27] <nevcairiel> specifically 3) 3.
[19:28] <Compn> thank you
[19:28] <Compn> although probably cant trust google translator
[19:28] <Compn> :)
[19:28] <nevcairiel> which basically says that software with the primary goal to break protection is forbidden
[19:29] <wm4> so yeah, change jdownload into a video player
[19:29] <wm4> with additional save function
[19:30] <nevcairiel> just use a video player which already has this functionality? :p
[19:30] <nevcairiel> it also says that sofware which would be useless once this function is taken out, also qualifies for these rules
[19:30] <Compn> jdownloader isnt useless without that plugin
[19:31] <Compn> actually a very useful tool when dealing with file locker sites
[19:31] <nevcairiel> but a special rtmpe video player might be :p
[19:32] <Compn> dont sections 1 and 2 on that page also apply ?
[19:32] <nevcairiel> the third is what was specificlaly named in the judgement, but sure
[19:32] <Compn> Technical measures are effective, to the extent they use a protected work or other protected under this Act subject matter protected by the right holder through an access control, a protection mechanism, such as encryption, scrambling or other transformation or a mechanism to control the duplication, which achieves the protection objective ensure, is kept under control.
[19:33] <Compn> encryption, right there
[19:33] <Compn> to control duplication, e.g. if you dump network packets, you cant decode it unless you decrypt it
[19:34] <nevcairiel> it also says access control or protection, which is arguable if thats something rtmpe as a transport encryption is good for
[19:34] <Compn> if you dont have the key, you cant access it :P
[19:35] <Compn> or security token
[19:35] <nevcairiel> i thought its just a key-exchange algorithm using DH
[19:35] <nevcairiel> like ssl
[19:36] <Compn> theres a couple different keys
[19:36] <Compn> first is the adobe flash player 0001 which is in all rtmpe i think
[19:36] <Compn> then theres security tokens, which are in ... 30-50% of streams
[19:37] <Compn> sometimes those are hardcoded in .swf players
[19:37] <nevcairiel> the implementation in ffmpeg looks like a normal DH key exchange
[19:37] <nevcairiel> so just transport protection
[19:37] <Compn> ffmpeg does not have any list of security tokens ,anyways
[19:38] <Compn> so its primary function isnt to ripoff your protected stream
[19:38] <Compn> although it can be used to do so
[19:38] <nevcairiel> all i can read makes rtmpe sound like a light-weight version of rtmps (which just uses ssl/tls)
[19:38] <Compn> sorry, i'm mixing up usa laws of copy protection tools . so its all confusing to me.
[19:41] <Compn> well i dont know all rtmpe stuff. theres rtmpe10 handshake and securetoken http://www.wowza.com/forums/content.php?450-How-to-protect-RTMP-streaming-u…
[19:42] <nevcairiel> sounds like its an addon to rtmpe, not part of rtmpe itself
[19:59] <zidanne> which third party libraries do we have support for mp3 decoding?
[19:59] <nevcairiel> there is a native mp3 decoder
[20:45] <Compn> zidanne : i dont think ffmpeg has mpg123 wrapper anymore
[20:56] <wm4> nevcairiel: what are you doing about mpeg4 + GMC? it seems many hw decoders don't support it (fully), yet advertise mpeg4 support
[20:57] <nevcairiel> i dont think i have ever seen a GMC sample
[20:58] <nevcairiel> plus my mpeg4 hw support is pretty limited, and i dont plan to extend it, more likely remove
[20:58] <wm4> I had 3 users who hit this problem now
[20:58] <wm4> and it's not like I have many users
[20:58] <nevcairiel> do you have a sample at hand?
[20:59] <nevcairiel> i only support mpeg4 through nvidias cuvid interface, maybe its api is smart enough to refuse and trigger a fallback to software
[20:59] <Compn> wm4 : you sound like every single hw mpeg4 player ever
[20:59] <Compn> theres mpeg4 files that wont play on hw, get over it ;)
[20:59] <wm4> apparently this is affected https://trac.ffmpeg.org/ticket/3138 https://dl.dropboxusercontent.com/u/3219541/harlock-ep20.mkv
[21:00] <nevcairiel> Compn: the problem in a software player is that you want to fallback to software decoding, preferably seamless
[21:00] <wm4> but I didn't exactly check this myself
[21:00] <Compn> ah ;p
[21:00] <Compn> mpeg4 in mkv ?
[21:00] <wm4> hw decoders will just eat whatever they get, and decode abstract art if unsupported features are used
[21:00] <Compn> i guess that was before the great h264...
[21:01] <JEEB> in between ogm and H.264 in matroska
[21:11] <nevcairiel> wm4: i do indeed see quite a lot of corruption in that sample with hw decode
[21:11] <wm4> nevcairiel: I guess it's time to disable mpeg4 by default then, heh
[21:11] <nevcairiel> but mpeg4 hwaccel is explicitly disabled by default, and if someone turns it on ... i'll just tell em not to
[21:11] <wm4> yeah
[21:12] <nevcairiel> i should turn mpeg4-mt back on though
[21:12] <Daemon404> why give users buttons that break things
[21:12] <nevcairiel> because they bitch and whine otherwise
[21:12] <Daemon404> so? a kid can bitch and whine cause he wants to play with fireworks
[21:12] <Daemon404> im still not gonna let a small child play with fireworks.
[21:13] <nevcairiel> its not like its a common type of video
[21:13] <wm4> nevcairiel: you disable ffmpeg mt decoding for some codecs?
[21:13] <nevcairiel> i actually explicitly enable it on those where i want it
[21:13] <llogan> Daemon404: i would. i don't like kids.
[21:13] <nevcairiel> .. which is kinda all that support it, except mpeg4
[21:13] <nevcairiel> i should dig up that sample that broke with mt
[21:13] <nevcairiel> probably a seeking thing
[22:07] <cone-799> ffmpeg.git 03Carl Eugen Hoyos 07master:af7562a03556: Ignore es_map_length when parsing mpeg program stream map.
[22:09] <relaxed> ubitux michaelni, Hi. This change to freetype2 in debian unstable causes configure to fail with git when trying to enable it. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731015
[22:14] <michaelni> relaxed, is there a tested patch that fixes it ? (i dont want to randomly change includes hoping it fixes something)
[22:14] <relaxed> http://pastie.org/pastes/8531653/text
[22:14] <relaxed> config.log ^^
[22:15] <relaxed> One on the libav devs said, "elenril : seems we're using the api wrong"
[22:15] <relaxed> I have no patch for it.
[22:16] <relaxed> I assume libav will patch it soon. I just wanted to bring it to your attention.
[22:19] <nevcairiel> michaelni: i have a h264 interlaced clip that multi-threads extremely poorly, and because its 4:2:2 10-bit, it barely reaches realtime speed. do you know if the mt capability of such interlaced clips can be improved?
[22:19] <nevcairiel> I can provide the sample once its finished uploading
[22:22] <beastd> relaxed: does it compile if loosen the configure check
[22:23] <relaxed> It expects /usr/include/freetype2/freetype/freetype.h which is now located at /usr/include/freetype2/freetype.h
[22:24] <relaxed> I'm confused by you're use of "loosen"
[22:24] <beastd> relaxed: I mean just change the code in configure to not test for freetype but assume it is there
[22:25] <beastd> it seems to me the issue is only in configure and not in the actual code using freetype
[22:29] <michaelni> nevcairiel, without seeing the clip, yes PAFF MT can be improved
[22:30] <nevcairiel> michaelni: clip is here http://files.1f0.de/samples/h264-422-10bit-interlaced-slow-decode.mkv .. i can also open a ticket if you prefer
[22:30] <relaxed> beastd: I'm sure I could hack it to build for me but that's not important. This was just a heads up.
[22:30] <michaelni> nevcairiel, yes please open a ticket
[22:30] <nevcairiel> ok
[22:32] <beastd> relaxed: Sorry, just trying to offload a bit of work on you. Does configure succeed if you just drop the line that starts with "enabled libfreetype" ?
[22:34] <beastd> relaxed: if configure succeeds, it would be nice if you could try to build ffmpeg. i will look at how to fix configure in the meantime. just trying to make sure the drawtext filter does not have any problem but configure is the only culprit.
[22:37] <Zeranoe> Has there been recent development on how bitrate settings are applied? Before I didn't have th ability to control the bitrate of a encoder, now I do.
[22:39] <Zeranoe> No wait, nevermind
[22:43] <relaxed> Did you read this? http://www.freetype.org/freetype2/docs/tutorial/step1.html
[22:50] <beastd> relaxed: I understood we should use the marco instead of the header name
[22:52] <beastd> and to my findings so far the drawtext filter is doing fine. i currently do not yet see a good way to bolt it on the configure check which is directly using the header name
[23:41] <beastd> That would be the ugly way to fix the freetype detection in configure: http://pastebin.com/t5P8ZrjT
[23:42] <beastd> Beware untested. I have another idea to approach it.
[23:49] <Daemon404> why on earth does freetype do that
[23:50] <Daemon404> that is so incredibly braindead...
[00:00] --- Fri Dec 6 2013
1
0
[00:05] <DelphiWorld> thank guys all
[00:05] <DelphiWorld> nighty
[00:05] <DelphiWorld> see ya llogan
[01:35] <Rick27> Hi! I'm wondering if the zero latency option in x264 is useful if I just want to grab my screen without further external processing. Will the end result (recorded screen -> file, no live streaming) differ if I enable zero latency?
[01:35] <grkblood> how is stdout of ffmpeg encoded?
[01:35] <grkblood> is it utf8?
[02:08] <Zeranoe> Does the mjpeg encoder allow for a b:v setting? It seems to ignore whatever I set
[04:56] <trunk> hi,all,i have a problem with using ffmpeg. i use ffmpeg 2.1.1 to transcode a mp4 file,but it isn't played in andriod 4.4
[04:57] <trunk> i use handbreak to transcode same mp4 file, it works in andriod 4.4
[05:36] <Zeranoe> trunk: How are you encoding the video
[05:37] <trunk> @<Zeranoe> ffmpeg -i 8.mp4 -f mp4 8_12.mp4
[05:38] <trunk> i foung ffmpeg metadata like this: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41
[05:39] <trunk> but handbreak like this major_brand : mp42 minor_version : 0 compatible_brands: mp42isomavc1
[05:44] <Zeranoe> trunk: You might want to use more options: ffmpeg -i 8.mp4 -c:v libx264 -crf 20 -preset slow -tune film -strict experimental -c:a aac -b:a 128k 8_12.mp4
[05:45] <Zeranoe> trunk: Also, you should find out what AVC your phone can play, some have different capabilities
[05:59] <myxomop> hellO!
[05:59] <trunk> i try it
[05:59] <myxomop> i'm attempting to find an m3u8 url by using the firefox dev console on the following page http://watch.opb.org/video/2365119019/
[05:59] <myxomop> but am having some issues
[06:00] <myxomop> have read online that this is the way to capture videos which are packaged as lots of small mp2t files
[06:04] <myxomop> wondering if ffmpeg has a way of simplifying this
[06:06] <Zeranoe> myxomop: Looks like possibly brightcove stuff
[06:07] <Zeranoe> looks like .ts fragments
[06:07] <myxomop> aye
[06:07] <myxomop> VideoDownloader plugin sees them as mp2t files
[06:07] <myxomop> but the dev console sees .ts fragments
[06:07] <myxomop> either way it's all split
[06:09] <myxomop> i read here: http://forum.videohelp.com/threads/348180-Download-Youtube-video-with-multi…
[06:09] <myxomop> that finding the m3u8 file is required before ffmpeg can process the file
[06:09] <myxomop> the stream. rather
[06:09] <myxomop> but i can't find the url
[06:11] <myxomop> Zeranoe, how unsnatchable is Brightcove media?
[06:11] <Zeranoe> myxomop: Well, if that's all you need: http://ga.video.cdn.pbs.org/cove2.0/oregon-field-guide/b13ba1c4-2782-48f7-b… I've never done this before though
[06:14] <myxomop> i will try that with the syntax suggested on the help page and see what happens
[06:14] <myxomop> thanks
[06:14] <myxomop> how did you find it, out of curiosity?
[06:17] <Zeranoe> myxomop: Use this one btw: http://ga.video.cdn.pbs.org/cove2.0/oregon-field-guide/b13ba1c4-2782-48f7-b… It's the highest quality. Wireshark
[06:21] <Zeranoe> myxomop: ffplay http://ga.video.cdn.pbs.org/cove2.0/oregon-field-guide/b13ba1c4-2782-48f7-b… works for me. Just feed it into FFmpeg with -i http://ga.video.cdn.pbs.org/cove2.0/oregon-field-guide/b13ba1c4-2782-48f7-b…
[06:21] <Zeranoe> myxomop: -c:v copy -c:a copy out.ts should do it
[06:23] <myxomop> how long should it take? i entered the first string from that help page a whole minute ago and it's still chugging
[06:24] <myxomop> i'll try yours next
[06:25] <Zeranoe> myxomop: Well the video is 10 minutes, so your fps should tell you. ffmpeg -i http://ga.video.cdn.pbs.org/cove2.0/oregon-field-guide/b13ba1c4-2782-48f7-b… -c:v copy -c:a copy out.mp4
[06:25] <myxomop> fps?
[06:26] <Zeranoe> frames per second. Mine just finished with that command, I was averaging 100fps
[06:27] <Zeranoe> sorry, output needs to be out.ts, not mp4. You'll get a bitstream error
[06:27] <myxomop> i don't see anything telling me the rate of capture in the cmd window
[06:27] <myxomop> it's just sort of stalled
[06:27] <myxomop> since you mention mp4, how would I go about changing filetypes?
[06:30] <Zeranoe> myxomop: ffmpeg -i "http://ga.video.cdn.pbs.org/cove2.0/oregon-field-guide/b13ba1c4-2782-48f7-b…" -c:v copy -bsf:a aac_adtstoasc out.mp4
[06:32] Last message repeated 1 time(s).
[06:35] <myxomop> trying that now
[06:35] <myxomop> thanks
[06:46] <Zeranoe> myxomop: Did it work?
[06:48] <myxomop> still chugging
[06:48] <myxomop> the .mp4 output strign is
[06:48] <myxomop> the other one finished
[06:48] <myxomop> output folder is same as the ffmpeg .exe, yes?
[06:49] <Zeranoe> yes
[06:49] <Zeranoe> well, out.mp4 will be saved to where ever you cmd is open
[06:49] <trunk_> i use "ffmpeg -i 8.mp4 -c:v libx264 -crf 20 -preset slow -tune film -strict experimental -c:a aac -b:a 128k 8_12.mp4" ,but the mp4 file does't play in andriod 4.4
[06:49] <trunk_> @<Zeranoe>
[06:50] <myxomop> the out.ts works in vlc
[06:50] <myxomop> what would be a simple string to convert this to .mp4?
[06:50] <myxomop> perhaps something that doesn't require the original stream, but can work with the local file
[06:52] <Zeranoe> myxomop: ffmpeg -i out.ts -c:v copy -bsf:a aac_adtstoasc out.mp4
[06:52] <Zeranoe> trunk_: what player are you using
[06:53] <trunk_> <Zeranoe> andriod chrome
[06:54] <myxomop> complete success. thank you so much, Zeranoe
[06:55] <Zeranoe> trunk_: does it say if it's the video or audio thats an issue?
[06:58] <trunk_> ffmpeg -i 8.mp4 -c:v libx264 -crf 20 -preset slow -tune film -strict experimental -an -y 8_12.mp4 ,it works , is it audio error?
[06:59] <Zeranoe> trunk_: It must be. Do you have more than one channel?
[06:59] <Zeranoe> trunk_: *two
[07:00] <Zeranoe> I know the internal AAC encoder isn't LC, but Android should be backward compatible...
[07:02] <Zeranoe> Actually, looks like it is LC
[07:04] <trunk_> ffmpeg -i 8.mp4 -c:v libx264 -crf 20 -preset slow -tune film -strict experimental -c:a aac -b:a 128k -ac 2 -y 8_12.mp4
[07:04] <trunk_> it does't work
[07:05] <trunk_> can't play
[07:08] <Zeranoe> trunk_: Can you try another player, other than chrome
[07:11] <trunk_> chrome firefox opera all can't
[07:12] <Zeranoe> trunk_: How about with an actual media player?
[07:12] <LithosLaptop> what OS?
[07:12] <trunk_> os is ok
[07:13] <LithosLaptop> Firefox can only play H.264 on Windows or opertating systems exposing H.264 decoders
[07:13] <LithosLaptop> ok
[07:14] <trunk_> andriod 4.3 can play
[07:14] <Zeranoe> Again, can you try it with an actual media player?
[07:15] <trunk_> andriod 4.3 can play,but andiod 4.4 can't
[07:15] <trunk_> vlc ok
[07:17] <LithosLaptop> tried baseline profile?
[07:17] <LithosLaptop> -profile:v baseline -level 3.0
[07:18] <LithosLaptop> also check the resolution and framerate
[07:18] <Zeranoe> LithosLaptop: Video is fine
[07:18] <Zeranoe> it worked with an
[07:18] <trunk_> same mp4 file andriod 4.3 can play,but andiod 4.4 can't
[07:19] <LithosLaptop> ohh only the audio,,
[07:19] <LithosLaptop> tried libmp3lame? MP3 can be muxed into MP4 container
[07:20] <LithosLaptop> not sure what players support it
[07:20] <LithosLaptop> will also give better quality than the internal aac encoder
[07:21] <LithosLaptop> the internal aac only starts sounding transparent >= 256Kbps so it isn't recommended to use it at 128Kbps like above
[07:21] <LithosLaptop> libmp3lame should be fine at 128Kbps
[07:21] <trunk_> the mp4 file encodeed by handbreak can work
[07:22] <Zeranoe> trunk_: paste the settings used for handbreak. I need to go, good luck
[07:24] <trunk_> i use handbreak ui in windows
[07:25] <trunk_> no more settings
[07:58] <monokrome> Hey, all.
[07:59] <monokrome> Trying to figure out if there's a way to losslessly compress an MOV file?
[08:06] <mark4o> monokrome: you have a MOV file with uncompressed data?
[08:17] <monokrome> yes
[08:17] <monokrome> I assume it's uncompressed. It's huge. Maybe I'm wrong.
[08:18] <mark4o> ffmpeg or ffprobe should show the codec it is using
[08:26] <mark4o> monokrome: if your video really is uncompressed (codec is rawvideo) then you can compress it with -c:v libx264 -crf 0 or another lossless codec
[08:27] <mark4o> if it is already compressed then you probably won't be able to make it any smaller losslessly
[08:33] <kcm1700> regarding sws_scale, is there a way to prevent writing out of image? if width=88, stride = 128, sws_scale writes 96 bytes per line, but I want to constrain the region.
[12:04] <tvkamara> greetings, i'm trying to encode my desktop to html5 video (mp4, x264) with ffmpeg (output to stdout) and pipe it with node.js to http response
[12:05] <tvkamara> everything works fluently if i use -g 0 (every frame is an i-frame) but for everything else the stream becomes choppy
[12:06] <tvkamara> if i pipe the output to a file, i can see that the file size grows sort of in bursts, in a similar way that it "lags" in the browser
[12:08] <tvkamara> with -g 0 the file size seems to grow more "real time" and that's probably why i can also stream it fluently in a browser
[12:10] <tvkamara> the problem is that with these settings the bandwidth used is around 50MB :), i'm wondering if there are some sort of buffers when using ffmpeg with higher i-frame options or is the burstiness explained by mp4 file format..
[13:20] <coalado> hey there
[13:21] <coalado> I'd like to distribute ffmpeg together with my application to mux/demux . But to avoid license/patent problems, I'd like to use a version that cannot be used to encode/decode (e.g. h246).
[13:22] <coalado> does anybody know about static builds that have this option disabled?
[13:49] <Mavrik> building yourself with licensing restrictions you need is going to be noticably easier than finding a static build by your liking
[14:42] <radu_> hey, I have the following issue running /usr/local/bin/ffmpeg -i rtmp://{...}.com/chat/mp4:10000096.mp4 -q:v 0.6 -r 10 -s 160x120 /home/site/public/mobile-stream/frames/10000096_data/frame-%06d.jpg
[14:43] <radu_> the files are not written immediately
[14:43] <radu_> instead they are buffered somehow
[14:43] <radu_> and written after a while
[14:43] <radu_> if I look in the dir after 10 minutes I see all 10k files written in a 10 second interval
[14:44] <radu_> frame-001530.jpg frame-001531.jpg ...
[14:46] <radu_> and after that it starts writing properly (10/second)
[15:26] <Whiskey> Hay everyone :)
[15:27] <coalado> hi
[15:28] <Whiskey> i are using php, and select a movie from an mysql database, is it possible to conver it whit exec direct in someway or do i need to save it somewhere before i can convert it
[15:38] <stonie_> hi all.. im trying to encode a .rec file (which is ts) from a hd recorder into mpeg2 .. but it stops after a few moments with the following: http://pastebin.com/x32bYeC9
[16:17] <stonie_> hiho
[16:50] <deodamus> Hi I'm having a trouble to install ffmpeg to Centos 5.9 can anyone help me on this? Here's my pastebin url : http://pastebin.com/B1AV2jzT
[16:53] <JEEB> the problem is that you're trying to link an ffmpeg to x264, and it seems like a lot of its dependencies are shared, but they're not linked in :P Now, for building libx264 for ffmpeg you can just not try and do such a full x264 (cli tool) build
[16:53] <JEEB> --disable-cli
[16:53] <JEEB> (for x264's compilation)
[16:54] <JEEB> (remember to clean first)
[17:17] <Whiskey> How do i convert some fileformat to h264 lossless?
[17:18] <Whiskey> i did try to do "ffmpeg -strict -i ils-lfls11-sample.avi -vcodec mpeg4 -acodec aac output.mk" then it ask to overwrite orginal file why? when i will create a new one
[17:19] <ubitux> because -i is considered an argument of -strict
[17:19] <ubitux> use -strict experimental for instance
[17:19] <ubitux> and as output option btw
[17:19] <Whiskey> donŽt get it
[17:19] <saste> ubitux, you gonna review aeval?
[17:20] <saste> anyway wait still i'm still working on it
[17:20] <ubitux> Whiskey: "-strict -i" "-i" is passed as argument to "-strict" in your cmd line
[17:20] <Whiskey> aha
[17:20] <ubitux> -strict takes an argument
[17:20] <ubitux> hence the "-strict experimental" suggestion
[17:20] <ubitux> also move it to output option
[17:21] <ubitux> saste: maybe :p
[17:21] <ubitux> saste: i sure can wait to review :)
[17:22] <Whiskey> but then i cant use it right?
[17:23] <ubitux> Whiskey?
[17:23] <Whiskey> yeh
[17:24] <ubitux> explain what you don't understand
[17:27] <Whiskey> everything
[17:27] <Whiskey> why does it overwrite the orginal file
[17:29] <ubitux> i told you twice
[17:30] <Whiskey> yeh and i still did not get it
[17:30] <Whiskey> and if i try to create a flv
[17:30] <Whiskey> Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height i get that
[17:31] <Whiskey> it was 48000Hz i guss thats the error
[17:31] <ubitux> "-i" is passed as an argument to "-strict" because you didn't specify any argument
[17:31] <ubitux> so your input file is not prefixed by an "-i"
[17:31] <ubitux> and thus is considered an output file
[17:31] <Whiskey> hmm so then i need to qoute it maybe?
[17:32] <ubitux> ...
[17:32] <ubitux> no you need to add an argument to "-strict"
[17:32] <ubitux> such as "experimental"
[17:32] <Whiskey> yeh even if i add that its will overwrite orginal file
[17:33] <ubitux> what's your command line?
[17:33] <Whiskey> "ffmpeg -strict experimental ils-lfls11-sample.avi ils-lfls11-sample.mp4"
[17:33] <ubitux> why did you remove the -i?
[17:33] <Whiskey> whit it i get "-strict: No such file or directory"
[17:34] <Whiskey> whit it after strict it works almost
[17:34] <Whiskey> encoder 'aac' is experimental and might produce bad results.
[17:34] <Whiskey> Add '-strict experimental' if you want to use it.
[17:34] <Whiskey> is what i get then
[17:35] <ubitux> you removed the -i
[17:35] <ubitux> i told you maybe 4x to just add a parameter to -strict
[17:36] <ubitux> why did you remove the -i?
[17:36] <Whiskey> you donŽt listen
[17:36] <Whiskey> if i have it before -strict
[17:36] <Whiskey> i get error
[17:36] <Whiskey> if i use it after -strict experimental i get error
[17:36] <ubitux> oh please some explain it to him i'm fed up
[17:37] <Whiskey> sudo /usr/bin/ffmpeg -strict experimental -i ils-lfls11-sample.avi ils-lfls11-sample.mp4 <-- its there
[17:37] <ubitux> right, now move it as output option
[17:37] <ubitux> ffmpeg -i INPUT -strict experimental OUTPUT
[17:37] <Whiskey> ooo
[17:37] <stonie_> hi all.. im trying to encode a .rec file (which is ts) from a hd recorder into mpeg2 .. but it stops after a few moments with the following: http://pastebin.com/x32bYeC9
[17:38] <JEEBsv> before -i means you want to set it for input, decoding
[17:39] <Whiskey> one last question, can you get it whitout lose any or almost nothing of the quality
[17:39] <Whiskey> as its real blurry when i open it, and then mp4 alot higher standard then old avi
[19:22] <Whiskey> hmm not mutch life here
[20:06] <deodamus> hi folks, is there a precompiled ffmpeg with x264 that I can install on a centos 5.9 box? I'm running in to roadblocks when I try to compile both x264 and ffmpeg with x264
[20:06] <sacarasc> What kernel are you using?
[20:06] <sacarasc> You might be able to use one of them...
[20:06] <deodamus> sacarasc: 2.6.18-274.3.1.e15
[20:07] <sacarasc> Ah.
[20:08] <deodamus> and static builds for older kernels out there?
[20:09] <sacarasc> I wouldn't think so, as 2.6.32 is the latest long term support kernel out there.
[20:10] <deodamus> rabble. :\
[20:13] <deodamus> sacarasc: for x264 support, ffmpeg MUST be compiled with x264, is that correct?
[20:13] <sacarasc> Yes.
[20:14] <sacarasc> x264 is just for encoding, for decoding, you don't need x264.
[20:14] <deodamus> yea I do because I'll be encoding with it
[20:22] <llogan> deodamus: what are the compiling problems you are experiencing?
[20:24] <deodamus> llogan: the latest I got when compiling ffmpeg is "relocation R_X86_64_32S against 'a local symbol' can not be used when making a shared object; recompile with -fPIC
[20:24] <llogan> how did you configure x264 and ffmpeg?
[20:25] <deodamus> well because I wasn't sure what was causing problems the latest compile of ffmpeg that I tried was ./configure --prefix=/usr/local --enable-libx264 --enable-gpl
[20:25] <deodamus> just to get down to the simplest compile with x264
[20:26] <llogan> what about x264?
[20:26] <llogan> i mean, what configure options did you use for x264?
[20:27] <deodamus> i tried a bunch of options but if i'm correct the last one i tried to attempt was ./configure --enable-pthread --enable-mp4-output -enabled-shared
[20:27] <llogan> why shared?
[20:27] <llogan> pthread is default
[20:28] <deodamus> i've been following guides that i've found across the web so that was just a borrowed config
[20:28] <llogan> https://trac.ffmpeg.org/wiki/CentosCompilationGuide
[20:29] <deodamus> I think I have tried this one, let me try it again and I'll get you the error from 'make'
[20:30] <deodamus> it's compiling now, but note that it ignored the --disable-shared option
[20:31] <llogan> what ignored --disable-shared?
[20:31] <Whiskey> try to build ffmpeg now to get that x264 code
[20:31] <Whiskey> try to build ffmpeg now to get that x264 codec
[20:31] <deodamus> when i configured it, it said --disable-shared was unknown
[20:32] <llogan> i don't see --disable-shared listed for x264 or ffmpeg on that guide
[20:32] <deodamus> oh that's my fault
[20:32] <deodamus> i misread
[20:32] <deodamus> apologies
[20:32] <deodamus> lemme try that again
[20:33] <deodamus> compiling now, i'll let you know what it says
[20:37] <deodamus> ok so the error I got on this compile is a bunch of undefined references to 'vpx_codec'
[20:37] <deodamus> I can pastebin if you guys want to read the entire thing
[20:38] <deodamus> http://pastebin.com/hJCmeyX1
[20:38] <deodamus> seems to be trying to reference a couple other codecs
[20:43] <llogan> do you have more than one set of the header files for each library installed?
[20:43] <deodamus> i'm not sure of that. how would I check for that?
[20:49] <llogan> deodamus: i guess you can try "sudo updatedb && locate lame.h"
[20:49] <llogan> or use find, or manually root around for it
[20:51] <deodamus> llogan: can only find one header file at /usr/local/include/lame/lame.h
[20:52] <llogan> maybe it's a PKG_CONFIG issue, but i'm not sure
[20:54] <Whiskey> canŽt get x264 shit to work
[20:55] <llogan> --enable-laxitive
[20:55] <deodamus> har
[20:56] <llogan> deodamus: i don't know why it does that, but if you don't plan on encoding with libmpelame or libvpx you can omit those...doesn't solve the problem though
[20:57] <deodamus> llogan: i don't plan on using those, just need x264... how do i omit them?
[20:59] <llogan> "cd ~/ffmpeg_sources/ffmpeg && make distclean" then run the ffmpeg configure line without --enable-libmp3lame and --enable-libvpx and remove whatever else you don't want
[21:00] <llogan> you'll probably want libfdk_aac though
[21:01] <deodamus> this is the x264 configure
[21:02] <deodamus> and i just realized where it's referencing these encoders, the path doesn't exist
[21:02] <viric> I'm failing to get afade working, for t=in
[21:02] <viric> it does nothing
[21:02] <deodamus> the path /var/www/ffmpeg-source doesn't exist
[21:02] <juesor> so i posted this question earlier about a bug that was brought up https://trac.ffmpeg.org/ticket/1778 it's been 14 months and i was curious if there is any change on this
[21:03] <viric> is there any constraint for afade to work?
[21:03] <juesor> i did not submit that ticket but it would fix the problem i am having
[21:03] <llogan> viric: i guess you want to play "20 questions" because I don't see a pastebin link
[21:03] <viric> llogan: right
[21:04] <viric> http://sprunge.us/CJCU
[21:04] <viric> llogan: well, I tried 'out' there. 'out' mutes all the audio. 'in' does nothing.
[21:05] <llogan> juesor: you could mention in that ticket that you're willing to pay a bounty for it to be fixed
[21:05] <llogan> or provide a patch
[21:07] <juesor> at this point i would be willing
[21:08] <viric> llogan: for the samples: [Parsed_ashowinfo_3 @ 0x1922f80] n:0 pts:0 pts_time:0 pos:129038 fmt:fltp channels:2 chlayout:stereo rate:48000 nb_samples:1536 checksum:5B057CB3 plane_checksums: [ C58EC1A8 C501BAFC ]
[21:08] <llogan> was that your complete console output?
[21:11] <llogan> viric: start time in afade is st, not ss
[21:12] <llogan> ah, i missed ss is start_sample
[21:18] <llogan> viric: when do you want the fade in to start, and how long should the fade operation last?
[21:27] <viric> llogan: fadein, from 0 to 5 would be fine
[21:29] <viric> but anything I test, results in no fade.
[21:30] <viric> llogan: looking at frame checksums before and after afade, I see that it's applied at the first moment. Maybe it's a pts thing?
[21:31] <viric> llogan: aha. d=500 does a fadein for about 2seconds
[21:38] <llogan> viric: i wonder why it does that
[21:38] <viric> no idea.
[21:39] <viric> I never got near the code of ffmpeg... I'm learning how to use it :)
[21:40] <viric> Is there any filter that will scale the video just to SAR 1:1 ?
[21:42] <llogan> there is setdar and setsar, but i'm not really clear what you're asking or what you're trying to do
[21:44] <viric> I have: 720x576 [SAR 64:45 DAR 16:9]
[21:44] <viric> and I want something 'similar' but with SAR 1:1 :)
[21:45] <viric> scale=1024x768 seems ok
[21:58] <viric> mhm I fail to understand how can I 'fade' video, in a way that one stream is *delayed* in the timeline. That is:
[21:58] <viric> a cover video goes from second 0 to 5.
[21:59] <viric> the long play video (input 0 to 2h) should go from second 4 to 2h4s. And I'd use 1s of fade in/out.
[21:59] <viric> But I don't know how to make one stream not "start" at time 0. How can I make the long play video start from second 4?
[22:01] <viric> a black color src of 4 seconds, and concat with the long play?
[22:12] <llogan> viric: wouldn't 1024x768 give a sar of 4:3? you wanted 1:1?
[22:12] <llogan> "scale=iw*(sar):ih"
[22:12] <viric> did I write that? I meant 1024x576
[22:13] <llogan> that example may calculate it for you
[22:13] <viric> ah great
[22:13] <viric> thank you!
[22:18] <viric> I always have lots of troubles with drawtext to draw a '
[22:19] <viric> drawtext=text=L\\\\\'origen de l\\\\\'excessiva
[22:19] <viric> why 5 slashes? no idea.
[22:19] <viric> less, doesn't work. doesn't print the '
[22:29] <llogan> http://www.ffmpeg.org/ffmpeg-utils.html#Quoting-and-escaping
[22:30] <llogan> http://ffmpeg.org/ffmpeg-filters.html#Text-expansion
[22:34] <viric> llogan: hm somehow that quoting/escaping doesn't match either my experience or my understanding :)
[22:40] <llogan> yeah, it can be confusing
[22:40] <viric> My experience tells me: 5 backslashes
[22:44] <viric> do you have any idea about what I said about 'delaying' the start of a stream?
[22:46] <viric> and do you know any way to encode *fast* video and audio, for tests? I just want to check that things appear on time
[22:48] <llogan> i didn't get to the delaying yet. you want to encode quickly?
[22:48] <viric> both things are unrelated, but yes.
[22:49] <viric> I see x264 has ultrafast... but my computer may be really slow :)
[22:49] <viric> (I don't need x264 specifically, but this has the ultrafast thing)
[22:49] <llogan> did you try it?
[22:49] <viric> I don't get even 25fps :D
[22:50] <llogan> filtering can introduce slowness too
[22:50] <viric> aha. maybe it's that.
[22:50] <llogan> you could also use ffplay to preview filtering
[22:51] <stonie_> hi all.. im trying to encode a .rec file (which is ts) from a hd recorder into mpeg2 .. but it stops after a few moments with the following: http://pastebin.com/x32bYeC9
[22:51] <llogan> except i'm not sure if it works with filter_complex. you may have to use movie and amovie multimedia source filters
[22:51] <llogan> stonie_: what's avconv?
[22:51] <viric> but with ffplay at most I get realtime
[22:52] <viric> I want to check if an overlay is placed for 10s at 1h point. How can I check that, without encoding 1h?
[22:52] <llogan> -t option
[22:52] <llogan> -t 12, -t 00:00:12, etc
[22:52] <viric> hm that will make it encode only 12 seconds
[22:53] <llogan> isn't that what you wanted?
[22:53] <viric> but I want to check what happens between 1h and 1h10s
[22:53] <stonie_> llogan, isnt that ffmpeg ?
[22:53] <llogan> oh. i am reading badly today
[22:53] <stonie_> under new name?
[22:53] <llogan> no
[22:53] <llogan> stonie_: that's what they want you to think
[22:54] <stonie_> llogan, ye i c.. but within debian ffmpeg seems to be depreciated :-(((
[22:54] <llogan> so you'll either have to get real ffmpeg to get help here, since we obviously can't support junk we don't make, or get help from the fork
[22:54] <llogan> that's not our ffmpeg. that's the fake ffmpeg. please read the link i just gave you
[22:54] <stonie_> thats shit .. ye ill do that
[22:55] <stonie_> why did debian remove ffmpeg
[22:55] <llogan> or http://trac.ffmpeg.org/wiki/UbuntuCompilationGuide
[22:55] <stonie_> id like to have it back in the repository
[22:56] <llogan> because when the fork forked the guy that maintained the ffmpeg package in debian joined the fork side, and then switched to the fork on his own account.
[22:56] <llogan> then made the "ffmpeg is not developed anymore" and "deprecated" messages; referring to the fork's temporary, so-called ffmpeg version.
[22:57] Action: llogan is a broken record
[22:57] <llogan> or a parrot
[22:57] <llogan> resulting in users assuming they are referring to FFmpeg
[22:58] <llogan> of course this was a nice side effect for them
[22:58] <stonie_> hate it when this happens in the open source community
[22:58] <stonie_> and ye, i can assume that you told that likt 10.000 times
[22:59] <stonie_> but thanks from my side for the info
[23:00] <llogan> i suppose you could mention you support the packaging of real ffmpeg at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729203
[23:01] <viric> I've a stream called [x]
[23:02] <viric> is there any filter line I can do, to copy it to another name?
[23:02] <viric> [x] nothing [v]
[23:03] <viric> ah, copy! :)
[23:20] <viric> llogan: I have a new amovie stream in the filter, and in it, afade works fine
[23:21] <viric> but with the main video, it has that weird 'seconds' units
[23:30] <viric> I don't really understand when I want -vf or when I want -filter_complex
[23:40] <relaxed> -filter_complex is for multiple inputs
[23:42] <viric> [png @ 0xa2b61c0] get_buffer() failed
[23:42] <viric> [png @ 0xa2b61c0] thread_get_buffer() failed
[23:42] <viric> what can this be?
[23:42] <viric> relaxed: ah ok!
[23:48] <viric> I've "the same" ffmpeg 2.1.1 in two machines, one i686 and the other x86_64. My command works in x86_64, fails in the other (get_buffer failed9
[23:48] <viric> )
[23:50] <viric> auhm. failing mallocs. grrr
[23:52] <viric> it takes far more virtual mem in i686 than x86_64... weird
[00:00] --- Fri Dec 6 2013
1
0
[02:39] <BBB> ubitux: yes, 3=n_args, 4=n_regs
[02:40] <BBB> ubitux: also feel free to ask in #x264dev if nobody here knows, they're very knowledgeable on this
[02:59] <cone-875> ffmpeg.git 03Michael Niedermayer 07master:dd5f925927d6: avformat/utils: Fix pts_wrap_behavior calculation with negative first_dts
[02:59] <cone-875> ffmpeg.git 03Michael Niedermayer 07master:d7ead9ad4450: avformat/utils: also fix wrapping of start_time in update_initial_timestamps()
[02:59] <cone-875> ffmpeg.git 03Michael Niedermayer 07master:394b0c830a21: avformat/utils: correct for timestamp wrap earlier
[02:59] <cone-875> ffmpeg.git 03Rainer Hochecker 07master:f65afef1df49: mpegts: do not set pts for missing dts in video streams
[03:01] <BBB> ubitux: and yes I see decoding bugs in other samples using parallelmode also, maybe mv related
[03:02] <BBB> (it happens in heavy motion, not low motion)
[04:48] <cone-875> ffmpeg.git 03Anton Khirnov 07master:c255f0b001da: avconv: initialize hwaccel_pix_fmt
[04:48] <cone-875> ffmpeg.git 03Michael Niedermayer 07master:c30281164352: Merge remote-tracking branch 'qatar/master'
[06:42] <smarter> michaelni: now that http://git.videolan.org/?p=ffmpeg.git;a=commit;h=97de206b44a48da726807cc3e7… has been merged, http://git.videolan.org/?p=ffmpeg.git;a=commit;h=758b6d39f685a510f48ff9e4c0… could be reverted, this would reduce the delta with libav
[06:42] <smarter> (and it makes sense)
[07:46] <ubitux> BBB: ok
[07:46] <ubitux> BBB: http://lucy.pkh.me/samples/vp9/etv5k/
[07:46] <ubitux> i started the frame parallel=1 just now, will add here when done
[10:53] <durandal_1707> wm4: why phase filter should use flags?
[10:53] <durandal_1707> i just copied what mp=phase did
[10:58] <wm4> my mistake
[12:03] <cone-351> ffmpeg.git 03Michael Niedermayer 07master:f1783c05f139: Revert "avcodec/hevc: calculate checksum only if AV_EF_EXPLODE is set"
[12:03] <michaelni> smarter, reverted
[12:04] <smarter> thanks!
[12:48] <BBB> ubitux: ok, I have parkjoy and sintel and pedestrian samples
[12:48] <BBB> now I only need to find some place to upload it
[14:55] <cone-351> ffmpeg.git 03Michael Niedermayer 07master:34b16e2d364c: avformat/utils: reorder operations in update_wrap_reference()
[14:55] <cone-351> ffmpeg.git 03Michael Niedermayer 07master:f3008f30fb58: avformat/utils: move update_wrap_reference() up
[15:58] <michaelni> ubitux, did you see "https://github.com/FFmpeg/FFmpeg/pull/48" "Add True Peak calculation to EBU R128 loudness scanner." ?
[15:59] <ubitux> michaelni: no but it looks a lot like the code i wrote a long while ago :p
[16:00] <michaelni> then please comment/close/whatever it
[16:04] <ubitux> cbsrobot_ asked me to change the unit of the report
[16:04] <ubitux> i never took the time to deal with it
[16:08] <ubitux> commented
[16:39] <michaelni> ubitux, thx
[17:38] <ubitux> michaelni: did you see the swr invalid read ticket?
[17:38] <ubitux> (#3193)
[20:48] <cone-351> ffmpeg.git 03Michael Niedermayer 07master:a6af5da7a2f8: swresample: use the internal buffer for resampling the last few samples
[21:22] <cone-351> ffmpeg.git 03Diego Biurrun 07master:5ec467328122: configure: Add detected C library and host compiler to informative output
[21:23] <cone-351> ffmpeg.git 03Michael Niedermayer 07master:517ec808595d: Merge commit '5ec467328122b80fac94c2d5e3e7540d50381868'
[22:10] <ubitux> michaelni: thx!
[22:14] <cone-351> ffmpeg.git 03Diego Biurrun 07master:bd8b6185f6d1: configure: Detect msvcrt libc with a CPP check instead of a link check
[22:15] <cone-351> ffmpeg.git 03Michael Niedermayer 07master:8dd4f5ecf95b: Merge remote-tracking branch 'qatar/master'
[23:58] <Zeranoe> Looks like libvpx now has vp9 support. Can FFmpeg use libvpx to encode vp9?
[23:59] <smarter> Zeranoe: yes, but you need to pass ffmpeg the flag "-strict experimental" for now
[00:00] --- Thu Dec 5 2013
1
0
[02:24] <raytiley> I'm trying to take mp3 audio from a mpeg transport stream and repackage it as flvtags. Does anyone know in the payload of a flvtag, should the mp3 header be included?
[03:57] <aFeijo> yo mates, can I use ffmpeg to mix audio? to group small audio files into one, to add some effects and such?
[03:57] <relaxed> aFeijo: sure but sox may be the better tool
[03:58] <aFeijo> sox? googling
[03:58] <relaxed> http://sox.sourceforge.net/
[03:58] <aFeijo> yeah found it :)
[03:58] <aFeijo> relaxed, a client asked me if I can implement a php site (with drupal) that the user can select sounds, effects, and in the end he can download it
[03:58] <aFeijo> sound like fun
[04:49] <tm512> is there a way to limit ffmpeg's memory usage? I was trying to use -f lavfi to do a music visualization, but about one minute into the output video, it consumed enough memory to lock my computer up so badly, I had to do a hard shutdown
[04:49] <tm512> which seems unusual really
[05:11] <phunyguy> hello, weird question here, I have flac audio with the majority of them having cover art embedded into the metadata, I am trying to use ffmpeg in a sync script for my nexus device to transcode it to ogg to save space, but it complains about the cover art metadata (thinks it is an mjpeg stream)
[05:12] <phunyguy> is there a way for ffmpeg to carry over that cover art and add it to the vorbis tags?
[05:20] <Fusl> phunyguy: already tried -vn -sn? -vn removes image/video streams and -sn subtitle streams
[05:20] <phunyguy> well I don't want to remove them
[05:21] <phunyguy> I want it to include the cover art in the ogg
[05:21] <Fusl> hmm
[05:21] <Fusl> okay then i do not have an idea, sry
[05:21] <phunyguy> k.
[05:21] <phunyguy> thanks anyway
[05:22] <phunyguy> I could probably dump the flac image metadata with metaflac, and find a way to import it to the ogg after the fact
[05:24] <phunyguy> but it is going to annoy me into using mp3, which I do not want :(
[05:24] <Fusl> https://trac.ffmpeg.org/ticket/2729
[05:25] <phunyguy> Fusl: changing to mp3 it works
[05:25] <phunyguy> I just.... ugh.
[05:26] <Fusl> can you send me an example file? (just crop it to 15 sec length)
[05:26] <phunyguy> :-/
[05:26] <phunyguy> I suppose
[05:27] <phunyguy> I could also just send you the paste of the output
[05:27] <phunyguy> not sure what good the actual audio will do you
[05:27] <Fusl> yea
[05:29] <phunyguy> https://dpaste.de/mPf4
[05:29] <phunyguy> forgot to include command, but it is just codec params
[05:29] <Fusl> please include the cmd
[05:30] <Fusl> it's easier readable for me
[05:30] <phunyguy> ffmpeg -i input_file.flac -codec:a libvorbis -q:a 4 "/tmp/temp.ogg"
[05:30] <Fusl> seems just like this one: http://avp.stackexchange.com/questions/5443/preserve-embedded-album-art-whe…
[05:31] <Fusl> http://superuser.com/questions/169151/embed-album-art-in-ogg-through-comman…
[05:31] <phunyguy> if I remove the codec params and just tell it to output mp3, I get: https://dpaste.de/pMwt
[05:31] <phunyguy> yeah I saw the first one
[05:32] <phunyguy> I was just hoping for an easier solution, like how MP3 works :(
[05:32] <phunyguy> but I think right now, for my purposes, MP3 will be fine.
[05:34] <Fusl> k
[05:38] <phunyguy> blech. such a waste of space for terrible quality.
[05:38] <phunyguy> wonder how m4a will work
[05:39] <phunyguy> nope, same as ogg
[05:44] <phunyguy> ahh well. It is what it is.
[05:44] <phunyguy> stick to what works.
[08:07] <ItsMeLenny> is there a way just to print the video stream information
[08:07] <SirCmpwn> man ffprobe
[08:11] <ItsMeLenny> thanks, didnt help much
[08:13] <relaxed> ItsMeLenny: man ffprobe | less +/select_streams
[08:13] <ItsMeLenny> pattern not found
[08:14] <ubitux> update
[08:14] <ItsMeLenny> avconv
[08:14] <ubitux> it's a fork, and it hasn't select_streams
[08:14] <ubitux> see http://ffmpeg.org/ffprobe.html for current manual/features
[11:34] <stein_> hi all...
[11:34] <stein_> http://pastebin.com/xVt65HQ3
[11:35] <stein_> im getting that error msg, and encoding stops
[11:35] <stein_> on debian 7
[11:54] <Floh79> Hi, is there a way to override ffmpeg the incoming codec?
[11:54] <Floh79> The problem is, ffmpeg doesn't recognize input-codec properly.
[11:54] <JEEB> you can have -f or -c before -i
[11:55] <JEEB> and that sets stuff for input
[11:56] <Floh79> ok like ffmpeg -f -vcodec x264 -i "rtmp://....." ?
[12:01] <Floh79> Ok, well I found out "-f x264" is wrong. So what is the proper codec if I want get rtmp-stream with h.264 codec?
[12:02] <JEEB> the rtmp format is most probably already set correct by the input name :P
[12:02] <JEEB> so you want -c:v h264
[12:02] <JEEB> (H.264 is the video format, x264 is an encoder that encodes stuff into that format)
[12:02] <JEEB> and h264 is H.264 in libavcodec
[12:03] <Floh79> Hm... thank you but I got error:
[12:03] <Floh79> Failed to set value '-c:v' for option 'f': Invalid argument
[12:04] <Floh79> tried with: ./ffplay -v debug -c:v h264 "rtmp://
[12:04] <JEEB> you are setting -f without a value? I don't see any reason why that would work
[12:04] <Floh79> There is no -f
[12:04] <JEEB> -f is for setting "format" and -c is for setting "codec"
[12:04] <Floh79> So I have to use both.
[12:04] <JEEB> no
[12:05] <JEEB> <Floh79> Failed to set value '-c:v' for option 'f': Invalid argument <- and yes, there was a -f clearly
[12:05] <JEEB> I was commenting on that :P
[12:05] <JEEB> but yes, like that line you have with ffplay
[12:05] <JEEB> just set the video "codec" to h264 for input
[12:05] <JEEB> I'm not sure if ffplay can take that option btw
[12:05] <Floh79> Ah... I pasted wrong attempt. :D
[12:07] <Floh79> ./ffplay -v debug -c:v h264 "rtmp://
[12:07] <Floh79> -> Failed to set value 'h264' for option 'c:v': Option not found
[12:08] <JEEB> yes, I have no idea if ffplay handles that option at all
[12:09] <JEEB> ffmpeg and ffplay do not share all settings
[12:09] <Floh79> Ok, tried with ffmpeg (this is what I'm trying to get work).
[12:09] <Floh79> http://pastebin.com/b356sRCJ
[12:13] <JEEB> it seems to be set properly, but it seems to fail getting needed information from the stream
[12:14] <Floh79> I see...
[12:14] <Floh79> without setting codec it works fine.
[12:14] <Floh79> Our problem is...
[12:14] <Floh79> ...from our server h.264 and h.263 is working fine.
[12:14] <Floh79> But we try to get stream from other server working.
[12:15] <Floh79> There it only works if h.263 is streamt. But if I try with h.264, nothing works.
[12:15] <Floh79> I only get such error if server is streaming h.264:
[12:15] <Floh79> [flv @ 0x7f03340008c0] Non-increasing DTS in stream 0: packet 31 with DTS 1023, packet 32 with DTS 1023
[12:16] <Floh79> Because it says "[flv @ 0x...." I believe ffmpeg detects wrong codec. Am I right?
[12:16] <JEEB> no
[12:16] <JEEB> rtmp is flv
[12:16] <JEEB> container-wise
[12:17] <Floh79> Ah ok...
[12:17] <JEEB> that's a libavformat error/warning, not -codec as far as I can see
[12:17] <Floh79> I see... so Non-increasing DTS is the cause, am I right?
[12:18] <JEEB> yes, you have a packet first that has a DTS (decoding time stamp) of 1023, and then you get another with the same DTS
[12:19] <Floh79> Hm... ah... I see...
[12:19] <Floh79> ...so the server sent duplicate DTS...
[12:22] <Floh79> Could I ask you a favor? Could you test our streaming server with your ffmpeg please?
[12:22] <Floh79> ffplay would be sufficient. If its ok for you.
[12:24] <Floh79> If I understand properly DTS means audio, right?
[12:26] <JEEB> that is the audio format, which is unrelated
[12:27] <JEEB> as I said, "decoding time stamp"
[12:27] <JEEB> there's also PTS which is "presentation time stamp"
[12:27] <Floh79> Ah... ok.
[12:28] <Floh79> Could I tell ffmpeg to ignore duplicate DTS?
[12:28] <JEEB> you could hack libavformat, I guess?
[12:28] <JEEB> see where that warning/error comes from
[12:28] <JEEB> and poke the code :P
[12:29] <Floh79> Ok, well then... :)
[12:29] <Floh79> Are we sure that stream is not working with ffmpeg if dts sometimes is not increased in next packet?
[12:30] <JEEB> I do not know the intricasies of how that happened and if it's valid in FLV
[12:30] <JEEB> better create a ticket on the issue tracker if you want an official'ish reply
[12:30] <Floh79> I see.
[12:31] <Floh79> The problem is, we don't know yet if stream from other server is conform.
[12:31] <Floh79> But thank you very much.
[12:36] <Floh79> Are there higher verbose level than debug?
[15:16] <tiksa_> hi all. could some help: how can I give a video as an input and then pass it to a filter so that the output (from the filter) is an image (nth frame of the video)
[15:28] <saste> tiksa_, select='not(mod(n, PERIOD))'
[15:28] <saste> or framestep may be another choice
[15:28] <tiksa_> gonna try that, thanks
[15:37] <tiksa_> how can I repeat that output video (1 frame) for m times?
[15:40] <tiksa_> I don't think concat filter is meant for this case..
[15:41] <saste> tiksa_, you should set the correct output rate to duplicate frames
[15:41] <saste> what's your exact use case?
[15:43] <tiksa_> well it's a long story :) I'm creating a system that generates ffmpeg commands with long filter piping. I've managed to create many kind of effects, including cross dissolve between two videos (with filters overlay, fade, trim etc..) but the problem is that
[15:45] <tiksa_> the cross dissolve works now only if the second video is trimmed to start at least x seconds later so that I can get the fading video material for the cross dissolve effect
[15:47] <tiksa_> but if I want that the second video (that fades in while the first is fading out) starts from 0 AFTER the fade is over, so that the video material for cross dissolve is a static image, the first frame of the second video
[15:47] <tiksa_> this is a bit complex to explain..
[15:48] <tiksa_> sorry for that
[15:50] <tiksa_> one way is to give image as input (the first frame of the fadein video) and fade it during the cross dissolve
[15:51] <tiksa_> but I need to generate that image on the fly
[15:52] <tiksa_> actually that is the problem: how to generate a video on the fly that takes nth frame of one of the input videos and shows it for m seconds
[15:55] <saste> you can extract the image and loop it for n-times
[15:55] <saste> probably a dedicated dup filter may also do
[16:54] <Digitalis> hi
[16:55] <Digitalis> i am getting this error message when trying to use an rstp input : [rtsp @ 0292ab60] method SETUP failed: 459 Aggregate operation not allowed rtsp://localhost:8554/vlc.sdp: Invalid data found when processing input
[16:55] <Digitalis> i can open that rtsp stream with vlc
[16:56] <Digitalis> any idea ?
[17:00] <Digitalis> http://pastebin.com/5p2fXKRY
[17:02] <Digitalis> :(
[17:50] <Mista_D> Going from MPEG2 TS file to x264 MP4 file. can I keep 29.79 Drop Frame timing? Is it automatic?
[18:03] <Digitalis> anyone knoes about using rtsp with ffmpeg ?!!!
[18:06] <Digitalis> sigh
[18:40] <brontosaurusrex> Digitalis, "This paste has been removed!"
[18:44] <Digitalis> removed ? how and by who ?
[18:46] <Digitalis> http://pastebin.com/yYCLMZhE
[19:13] <brontosaurusrex> Digitalis, perhaps try something like : ffmpeg -rtsp_flags listen -i rtsp://ownaddress/live.sdp output
[19:14] <brontosaurusrex> from http://ffmpeg.org/ffmpeg-protocols.html#rtsp
[19:16] <Digitalis> the problem seems to occur because i have to use the tx mixer to make the stream and ffmpeg doesn't like it
[19:17] <Digitalis> ts mixer *
[19:17] <viric> how would you recomme
[19:18] <Digitalis> i'll try that flag but i can't see how it could help for this problem thanks anyway
[19:18] <viric> nd to add an overlay in a video, that switches from one png to another at different time points? It's for the slides of a conference.
[19:19] <viric> a vf of movie=..., set pts, overlay, ... ? one like that per png? What if there are one hundred pngs?
[19:19] <viric> let's say that I know the time points. :)
[19:20] <brontosaurusrex> viric, is that a theoretical question?
[19:21] <Digitalis> Bronto i tried with the flag and i get no error it's just freezing
[19:21] <Digitalis> really weird ...
[19:23] <Digitalis> i even tried with a file output
[19:23] <viric> brontosaurusrex: well, I never did that before. If I have 200 slides, it may end up with 200 video streams overlayed somehow...
[19:24] <brontosaurusrex> viric, shrug
[19:24] <viric> if anyone knows any blog or wiki page sharing an experience like that, I'd thank it
[19:25] <Digitalis> well i got some animated overlay image may be you can convert it
[19:26] <Digitalis> i broadcast a video with an overlayed animated image
[19:26] <Digitalis> so if you convert your png to an animated one ...
[19:28] <Digitalis> you can use this to convert your images : http://image.online-convert.com/convert-to-gif
[19:28] <viric> by animated... do you mean creating a video file?
[19:28] <Digitalis> no
[19:29] <Digitalis> i broadcast a video with an overlayed animated gif
[19:29] <viric> hm well.. I have ~ 200 time points in a 2h talk.
[19:29] <Digitalis> may be you could do the same thing
[19:29] <viric> a 2h gif?
[19:30] <Digitalis> i see but what could be an easier way to do it ? i can't see
[19:30] <Digitalis> it's a n animated gif you choose the delay between the images
[19:30] <viric> having a 200-line filter with movie= :)
[19:30] <Digitalis> ok
[19:31] <viric> never trie.d
[19:34] <Digitalis> the easier way could be to capture a video from an image viewer then you overlay the video
[19:34] <viric> auhm. not a bad idea.
[19:35] <Digitalis> using a desktop capture
[19:35] <viric> yes, clear
[19:35] <viric> damnit, I write STARTTLS every time I have to type STARTPTS
[19:35] <Digitalis> you play your video and you capture at the same time in you image viewer
[19:36] <Digitalis> then the capture video will be sync with the first one
[19:36] <Digitalis> can't imagine a faster and easier way to do it
[19:40] <saste> Digitalis, what are you trying to achieve?
[19:41] <viric> she advisesme
[19:41] <Digitalis> my first step is to be able to get the rstp stream from vlc
[19:41] <Digitalis> but ffmpeg makes an error bcs i have to mux the rstp stream with ts
[19:42] <Digitalis> i can read the stream from another vlc but ffmpeg doesn't like it
[19:46] <blez> is there ffplay for os x?
[19:50] <Digitalis> i don't understand ffmpeg is supposed to support mpeg ts ? no ?? and i get an error when it's ts and no when i don't use the ts mux
[19:51] <Digitalis> i'm lost
[19:52] <Digitalis> i use ts mux because if i don't use it the stream is broken every time it plays the next video, may be you know another way of making it works ?!
[19:56] <Digitalis> http://pastebin.com/yYCLMZhE
[20:00] <Digitalis> i am programming two versions of a gui using ffmpeg to broadcast easily to ustream, and this problem blocks everything, help will be appreciated
[20:04] <llogan> Digitalis: you have two -f declared for one output, as far as i can tell
[20:05] <llogan> also -pix_fmt is shown twice...not that it matters
[20:06] <Digitalis> hmmm it's probably bcs i tried another version with another output, but i'm going to check it thanks
[20:06] <llogan> it won't make a difference since it appears that the input can not be processed anyway
[20:08] <llogan> is the 459 message originating from librtmp or native rtmp?
[20:09] <llogan> can anything else access the input properly?
[20:09] <llogan> https://trac.ffmpeg.org/ticket/1941
[20:10] <Digitalis> http://pastebin.com/CTKNu8CL
[20:10] <Digitalis> yes i works to read the rtsp from another vlc
[20:11] <Digitalis> it*
[20:11] <llogan> the problem is not with your commands, AFAIK, but with the input
[20:11] <llogan> is vlc making the stream?
[20:11] <Digitalis> yes
[20:11] <Digitalis> it works if i don't use the ts mux
[20:11] <viric> hm should 'overlay' support different frame formats per input? ffmpeg hangs here...
[20:12] <Digitalis> but i need the ts mux or the stream is broken everytime it plays the next video
[20:12] <Digitalis> but ts is supported by ffmpeg right ? so i can't understand ...
[20:13] <viric> llogan: http://sprunge.us/dMAh
[20:13] <llogan> compare native rtmp to librtmp. maybe they will perform differently. other than that i don't know
[20:13] <viric> llogan: it hangs after 25 frames (1 second)
[20:13] <Digitalis> i made a new try and a new pastebin
[20:14] <llogan> oh, i misread. that's rtsp.
[20:14] <llogan> i don't know if it makes a difference
[20:14] <Digitalis> yes
[20:14] <Digitalis> the input is rtsp , from vlc
[20:15] <Digitalis> http://pastebin.com/CTKNu8CL
[20:15] <Digitalis> that's my new try after what you said
[20:17] <Digitalis> i can use h264 and mpeg and i still get the same error
[20:18] <viric> llogan: is that enough info, in the pastebin, to have any idea of why does it hang?
[20:20] <DelphiWorld> hi GUYS
[20:20] <DelphiWorld> LD ffmpeg_g
[20:20] <DelphiWorld> libavcodec/libavcodec.a(libx264.o): In function `X264_init':
[20:20] <DelphiWorld> '/usr/local/src/FFMpeg/ffmpeg/libavcodec/libx264.c:570: undefined reference to `x264_encoder_open_140'
[20:21] <DelphiWorld> any clue?
[20:22] <llogan> you have two different versions of x264 installed simultaneously in two different places
[20:23] <DelphiWorld> llogan: how to diagnose that dear, please?
[20:23] <DelphiWorld> what's the .so name?
[20:24] <llogan> see if you have multiple x264.h files
[20:24] <DelphiWorld> good point, hold on
[20:25] <DelphiWorld> thank llogan
[20:25] <viric> How would you make a png appear overlayed at second N to second M, using a filter?
[20:26] <llogan> http://ffmpeg.org/ffmpeg-filters.html#Timeline-editing
[20:26] <llogan> overlay=enable='between(t,10,3*60)'
[20:27] <viric> ah
[20:27] <viric> let's see
[20:27] <llogan> are you tying to loop a-image.mkv?
[20:27] <DelphiWorld> thank llogan, i removed the old x264, now what should i do to eliminate the issue?
[20:28] <viric> llogan: no
[20:28] <viric> llogan: I created it 1 second long, thinking that the overlay would last 1 second, and then go away.
[20:28] <viric> btw, on enable: [overlay @ 0x192ba20] Option 'enable' not found
[20:28] <viric> I'm using ffmpeg 1.2. Should I be using 2.0?
[20:28] <viric> or 2.x
[20:29] <llogan> i guess your ffmpeg is too old. you can verify is you have timeline support in overlay with "ffmpeg -filters"
[20:29] <llogan> users should use ffmpeg from git head
[20:29] <viric> :)
[20:29] <viric> and is head 2.x or 1.2.x?
[20:30] <viric> ffmpeg -filters | grep enable, doesn't say much
[20:30] <llogan> it won't say enable
[20:31] <llogan> git "head" is the most current code in the repository
[20:31] <llogan> it is not under a release branch
[20:32] <viric> ah
[20:32] <viric> so master head.
[20:32] <DelphiWorld> i'm git headed
[20:32] <Digitalis> so it's just not possible to do it with ffmeg ?
[20:32] <Digitalis> is it a bug ?
[20:32] <DelphiWorld> gooooooood i'm FFMPEGIFIED
[20:32] <viric> For grep overlay, I get:overlay VV->V Overlay a video source on top of the input.
[20:32] <viric> I've no idea what should tell there if it supports 'enable' or not
[20:32] <llogan> Digitalis: maybe. there is a bug report, but how do you know it is not the fault of vlc?
[20:33] <llogan> can you use a different protocol?
[20:33] <DelphiWorld> llogan: thank dude
[20:33] <DelphiWorld> do someone know any good rtmp server?
[20:33] <DelphiWorld> rtmp / rtsp
[20:33] <Digitalis> i suppose it's not a vlc bug because i can play the stream for another vlc ...
[20:33] <Digitalis> from *
[20:33] <llogan> that does not eliminate that vlc is not the problem if another vlc can play it
[20:34] <Digitalis> you're right ... i have to find another way of testing it
[20:34] <llogan> viric: then i guess it's too old
[20:34] <viric> I'll try to build 2.1.1
[20:35] <Digitalis> is there a way of doing a rtsp stream without ts that will not be broken when it plays the next video ?
[20:35] <Digitalis> as it works without ts .... but it breaks the stream...
[20:35] <llogan> i don't know. you've asked this many times. try ffmpeg-user mailing list if you dont get an answer here
[20:35] <Digitalis> ok thanks
[20:36] <llogan> you'll need to provide your ffmpeg command, the complete ffmpeg console output, and your vlc command and output could be useful too
[20:36] <llogan> https://trac.ffmpeg.org/wiki/MailingListEtiquette
[20:38] <Digitalis> i've done it before but i tried less complex command like the one i pastedbin
[20:38] <Digitalis> it seems it's always the same error even if i change the other parts of the command
[20:38] <viric> Is there any kind of ffmpeg output that I could pipe into ffplay?
[20:38] <viric> that'd take very little encoding effort
[20:39] <llogan> Digitalis: the other parts do not matter because ffmpeg can not seem to decode your input
[20:39] <Digitalis> you're right llogan
[20:40] <Digitalis> i'll try to find another way to test the vlc output
[20:40] <llogan> Digitalis: did you see? https://trac.ffmpeg.org/ticket/1941 (not that it is particularly useful)
[20:40] <Digitalis> ohhh.... i've done it... now i remember i've used it with jtvlc
[20:41] <Digitalis> yes i've seen the ticket but it has not been reviewed by anyone so i thought it was just something i was doing wrong just like for the ticket
[20:42] <DelphiWorld> llogan: where to put the x264 presets? ffmpeg saying preset not found
[20:42] <Digitalis> so the vlc output is not wrong bcs it worked with jtvlc too
[20:42] <llogan> viric: ffmpeg -f lavfi -i testsrc -c:v copy -f nut - | ffplay -
[20:43] <Digitalis> that pipe work on windows ?
[20:43] <llogan> viric: but i don't know why you would want to do that
[20:43] <llogan> Digitalis: i know nothing of windows
[20:43] <Digitalis> ok
[20:44] <llogan> Digitalis: what's your vlc command?
[20:45] <DelphiWorld> llogan: where to put the x264 presets? ffmpeg saying preset not found
[20:45] <llogan> DelphiWorld: the presets are internal. there are no preset files for x264
[20:46] <DelphiWorld> ok llogan
[20:51] <DelphiWorld> anyone know a free open rtsp server that i can use ffmpeg to push to it?
[20:52] <Digitalis> jtv ?
[20:52] <DelphiWorld> what is jtv?
[20:52] <Digitalis> streaming servers
[20:52] <Digitalis> with chat
[20:53] <DelphiWorld> no, is service not server
[20:53] <DelphiWorld> i'm looking for something like crtmpserver
[20:53] <Digitalis> hmm i probably don't understand what you mean ... sorry
[20:54] <Digitalis> ffmpeg can rtsp output
[20:54] <DelphiWorld> i want to have my own rtmp/rtsp server
[20:55] <Digitalis> ffserver is not good for you ?
[20:55] <DelphiWorld> ffserver is buggy and not longer maintained at i heard
[20:57] <Digitalis> darwin ?
[20:58] <Digitalis> live555 media server
[20:58] <llogan> actually stefano has been doing some work on ffserver lately. i'm not sure if he will continue
[20:59] <juesor> I am looking for some clarity on Closed Captions and transcoding/reencoding
[20:59] <juesor> #1778: EIA-608 / EIA-708 Closed Captions disappear when transcoding/reencoding
[21:00] <DelphiWorld> Digitalis, darwine require rtp / sdp streaming... dan, live555 rtsp server dont support live streaming
[21:00] <Digitalis> opsss
[21:01] <DelphiWorld> lol, i tryed all pocible solution
[21:01] <DelphiWorld> i'm stuck with CRTMPServer
[21:01] <DelphiWorld> but it's pretty complex to configure
[21:03] <viric> llogan: T.C overlay VV->V Overlay a video source on top of the input.
[21:04] <viric> timeline support!
[21:06] <viric> right, between() works great!
[21:07] <viric> thank you!
[21:21] <DelphiWorld> mmmmmmmmm no luck for me
[21:35] <bacon1989> so I was wondering, is there an opensource media server out there in the wild?
[21:36] <bacon1989> something along the lines of a service that you setup that when you pass it a video, and ask it to convert it, it will spit out a converted file for you?
[21:36] <bacon1989> and you cna query it on it's progress, cancel the conversion processs
[22:11] <DelphiWorld> llogan: alive?
[22:59] <DelphiWorld> llogan ?
[23:17] <llogan> DelphiWorld: i was afk
[23:19] <DelphiWorld> llogan: np
[23:19] <DelphiWorld> llogan: can you verify my ff config?
[23:19] <DelphiWorld> ffserver
[23:29] <llogan> DelphiWorld: i've never used ffserver
[23:29] <DelphiWorld> llogan: then nevermind :)
[23:29] <llogan> but you should use recent ffmpeg due to some documentation updates
[23:29] <llogan> i mean ffserver
[23:30] <llogan> https://trac.ffmpeg.org/wiki/Streaming%20media%20with%20ffserver
[23:40] <DelphiWorld> llogan: i'm on git head
[00:00] --- Thu Dec 5 2013
1
0
[00:14] <cone-672> ffmpeg.git 03Michael Niedermayer 07master:210a78aeb509: doc/examples/filtering_audio: init packet0.data
[01:32] <cone-672> ffmpeg.git 03Michael Niedermayer 07master:4d0ac9aee920: Makefile: add dependancies for ffversion.h
[04:08] <ian_m> I am suspicious of the pts set in x11grab.c. It is set to av_gettime but it should be in time_base units, which is set to 1/framerate
[04:17] <ian_m> Ah, that's a private time_base
[04:31] <cone-672> ffmpeg.git 03Michael Niedermayer 07master:0cc5011f9a1b: avfilter/vf_pad: fix req_end
[04:46] <michaelni> BBB, ubitux it seems there are some asan failures in vp9 fate tests (http://fate.ffmpeg.org/report.cgi?time=20131203002327&slot=x86_64-debian-as…)
[04:54] <BBB> michaelni: file track issue, will look over weekend
[04:54] <BBB> probably missing size check in vp9 parser
[04:54] <BBB> (on flush)
[04:54] <michaelni> ok, thansk
[04:55] <BBB> np
[09:58] <cone-604> ffmpeg.git 03Michael Niedermayer 07release/2.1:cbcc18bd9f94: avfilter/vf_pad: fix req_end
[12:42] <cone-604> ffmpeg.git 03Anton Khirnov 07master:089fac77a6bf: alsa-audio-dec: explicitly cast the delay to a signed int64
[12:42] <cone-604> ffmpeg.git 03Michael Niedermayer 07master:0e15a344c1ce: Merge remote-tracking branch 'qatar/master'
[13:27] <BBB> michaelni: see email on list
[13:27] <BBB> michaelni: missing zero-size check afaics
[13:29] <BBB> or maybe this one is better
[13:29] <BBB> not sure
[14:37] <cone-604> ffmpeg.git 03Ronald S. Bultje 07master:9695fb262219: vp9_parser: handle zero-sized packets.
[15:31] <wm4> is there any reason the strength parameter in gradfun is limited to 64 or so?
[15:31] <wm4> the limit was 255 in mplayer
[15:33] <ubitux> yes
[15:33] <ubitux> while fixing the asm to match the C
[15:33] <ubitux> we needed to avoid overflows, which was reachable with such a large strength
[15:34] <ubitux> loren (iirc) said it made no sense to have such a huge stregnth anyway
[15:34] <ubitux> so we lowered it and fixed the asm
[15:34] <wm4> oh ok
[15:34] <wm4> huge strength is nice to get more blurrrrrrr
[15:34] <ubitux> :)
[15:38] <ubitux> wm4: see 2d66fc543b01995d6146fc132a778d3e722ca665
[15:39] <wm4> thanks
[15:39] <ubitux> and the other commits around
[15:39] <ubitux> for the asm fixes etc
[15:41] <ubitux> http://ffmpeg.org/pipermail/ffmpeg-devel/2012-December/135921.html
[15:42] <ubitux> wm4: are you looking at dropping some of your filters to use the ff ones?
[15:46] <wm4> I'm adding a weird redirection
[15:46] <wm4> that uses lavfi when available, and otherwise the builtin ones
[15:46] <ubitux> ah, fun
[15:47] <ubitux> with both built?
[15:47] <wm4> yes
[15:48] <wm4> the goal is not bothering users with the difference, as well as preventing users from using the old crappy implementations
[15:49] <ubitux> so you're adding options mapping for every common filter?
[15:49] <wm4> yes
[19:25] <ubitux> BBB: i'd like to add a local named register in addition to the named parameters on the cglobal prototype
[19:26] <ubitux> so i have cglobal foo, 3,3,0, a,b,c
[19:26] <ubitux> should i do sth like cglobal foo, 3,4,0,a,b,c,d?
[19:26] <nevcairiel> yes
[19:27] <ubitux> assuming foo(a,b,c) and d local
[19:27] <ubitux> ok
[19:27] <ubitux> thx
[19:27] <ubitux> :)
[19:33] <llogan> ffmpeg.org being slow (for me at least)
[20:35] <llogan> wm4: yeah... phase could use a zample
[20:35] <llogan> blame paul.
[20:35] <wm4> anyway, I figured out that phase doesn't use flags
[20:36] <wm4> I was just confused
[20:36] <wm4> but still, fuck the avoption parser
[21:13] <cone-661> ffmpeg.git 03Michael Niedermayer 07master:04e06cdf7d35: avcodec: split mp2 encoder into float and fixed
[21:13] <cone-661> ffmpeg.git 03Michael Niedermayer 07master:babb611d3541: libavcodec/mpegaudio: change CONFIG_FLOAT to USE_FLOAT
[21:18] <re-G> JEEBsv: hi. you asked information about my flv metadata problem
[21:20] <re-G> i'm using pipe to output flv to flash player and it seems that ffmpeg puts duration correct but for some reason flash player (via mediaelement.js) cannot read the duration unless i put duration manually with -metadata option
[21:20] <ubitux> http://www.csr.com/products/60/aptx does anyone has sample/doc/whateverinfo about this codec?
[21:21] <ubitux> i'd eventually like to look at this codec if no one is working RE etc
[21:22] <wm4> what was done to vf_noise is pretty stupid
[21:23] <wm4> it now supports specifying noise params per component
[21:23] <wm4> which is not helpful at all, because you can't predictably set noise for e.g. luma only
[21:23] <wm4> because if the format is RGB, the first component is R and not luma
[21:23] <wm4> so you'll get noise in R only
[21:38] <cone-661> ffmpeg.git 03Stefano Sabatini 07master:704cc5e75df3: ffprobe: free shared writer context on exit
[21:40] <llogan> saste: http://funding.openinitiative.com/ might be worth looking into
[21:44] <saste> llogan, interesting
[00:00] --- Wed Dec 4 2013
1
0
[00:00] <ian_m> since x11grab may not be able to provide exactly 30 fps
[00:07] <ian_m> I gave you the full command above. Do you want me to post the output with -r 30?
[00:08] <llogan> both commands in separate pasebin links
[00:09] <ian_m> ok, I used the sections feature from pastie. I will make seperate pasties for them.
[00:10] <ian_m> llogan: only x11grab http://pastie.org/8524075
[00:10] <llogan> sorry, i see you already provided the overlay link earlier
[00:10] <llogan> there is no console output in this last link you provided
[00:11] <ian_m> right, I thought you wanted only the command in its own link
[00:11] <ian_m> or something
[00:11] <ian_m> it's the same as the first link...
[00:14] <ian_m> OK, here they are one more time. command+output for only x11grab: http://pastie.org/8524085 and for x11grab+video4linux2: http://pastie.org/8524055
[00:14] <llogan> thanks
[00:14] <ian_m> no problem
[00:27] <llogan> ian_m: do you know if this used to be faster with a previous ffmpeg version?
[00:28] <ian_m> llogan: no, but I can try with an older version
[00:30] <llogan> ian_m: does it perform differently if you replace the -framerate for x11gram with -r?
[00:30] <llogan> *x11grab
[00:30] <ian_m> llogan: yes
[00:30] <llogan> ah, you mentioned that before
[00:30] <ian_m> right
[00:31] <ian_m> I don't want to destroy the timestamps from x11grab though
[00:35] <llogan> ian_m: i'm not sure why it's so slow... you might want to try the ffmpeg-user mailing list.
[00:35] <ian_m> ok
[00:35] <llogan> sorry
[00:35] <ian_m> no problem, thanks for looking at it
[01:35] <z1lt0id> Hi guys just wondering what type of deinterlacer the default ffmpeg one is
[01:35] <z1lt0id> is it a field deinterlacer
[01:35] <z1lt0id> or a smart one like yadif
[01:50] <llogan> z1lt0id: you mean -deinterlace?
[02:08] <gamax92> Hello. Just a quick question on why ffmpeg is dropping frames when converting a series of images to a video.
[02:08] <gamax92> http://pastebin.com/57uMhnqJ Here is my command and output log.
[02:09] <llogan> gamax92: probably because your input frames are changing pixel formats
[02:10] <gamax92> Hmm, do you know how to get them all in the same format then? The images were created from imagemagick.
[02:12] <llogan> you could probably use convert or mogrify to make them all the same
[02:16] <gamax92> Ahh, changing the format from png to something like bmp worked.
[02:17] <gamax92> thanks llogan
[02:18] <gamax92> oh one more thing, the quality I get from the resulting video is very bad.
[02:18] <gamax92> How can I improved it
[02:19] <klaxa> use different encoding settings
[02:19] <klaxa> are you aiming for a specific device?
[02:19] <gamax92> youtube.
[02:19] <klaxa> or is "just an up-to-date encode" what you want
[02:19] <klaxa> ah
[02:20] <klaxa> just use the extension .mkv instead of .avi, ffmpeg will probably choose rather well suited codecs
[02:20] <klaxa> youtube knows how to handle mkv
[02:20] <gamax92> ooh thats much better.
[02:20] <klaxa> if you want more specific settings see the x264 encoding guide: https://trac.ffmpeg.org/wiki/x264EncodingGuide
[02:20] <gamax92> thanks
[02:21] <gamax92> Now to just make my C application record more than 10 seconds of video before crashing, lol.
[02:22] <klaxa> heh
[02:22] <llogan> gamax92: odd. it will skip frames if you use -r as an input option, even -r 25 (which is the default), but not if you omit -r or use -framerate
[02:23] <gamax92> well, when i didn't put the input framerate the video was 24 seconds instead of 10.
[02:23] <llogan> yes. so use -framerate instead
[02:23] <gamax92> for input or output?
[02:23] <llogan> input
[02:28] <gamax92> oh right
[02:29] <gamax92> would it be possible to read the frames in their raw state? The program dumps the frames as a RGB-640x480 raw data.
[02:29] <llogan> i believe so. or you could pipe directly from your program to ffmpeg
[02:29] <gamax92> wouldn't that involve writing binary data to the program's output?
[02:32] <llogan> i don't know anything about your program. as for raw input, something like: ffmpeg -f rawvideo -s 1280x720 -pix_fmt rgb24 -i
[02:33] <llogan> untested. you may have to monkey with it
[02:33] <gamax92> alright, I'll try that.
[02:50] <SirCmpwn> how do I include man pages when compiling and installing ffmpeg from source
[03:17] <llogan> SirCmpwn: they should automatcially be generated
[03:17] <SirCmpwn> yeah, I fixed my problem
[03:17] <SirCmpwn> sorry for the trouble
[03:17] <llogan> what was the problem and how did you fix it?
[03:17] <SirCmpwn> the problem was that I was building it from fish, not bash
[03:18] <SirCmpwn> and I hadn't sourced /etc/profile.d/perlbin.sh
[03:18] <SirCmpwn> I fixed it by building it from bash after sourcing that
[03:18] <llogan> oh
[03:20] <llogan> SirCmpwn: how do you like fish?
[03:20] <SirCmpwn> I'm not sure how I feel about fish
[03:20] <SirCmpwn> I think it's really nice, but I miss things like !!
[03:20] <SirCmpwn> if they could get off their high horse and add support for it, fish'd be amazing
[03:22] <z1lt0id> Interesting when I compile FFMPEG i get freetype2 not found but it is installed.
[03:22] <z1lt0id> is there a reason why this would be happening?
[03:23] <llogan> use pastebin to show the head and tail (or at least the first and last ~50 lines) of config.log
[03:24] <z1lt0id> okidoki
[03:54] <z1lt0id> http://pastebin.com/B9xCBqSM
[03:54] <z1lt0id> sorry for the delay
[03:54] <z1lt0id> my freetype.h is located in /usr/include/freetype2
[03:54] <z1lt0id> hope that helps llogan :)
[04:01] <drv> it looks like it should be in a freetype dir (i believe that is how the official freetype make install places it)
[04:02] <drv> mine is in /usr/include/freetype2/freetype/freetype.h for maximum redundancy ;)
[04:05] <z1lt0id> ahhh
[04:07] <z1lt0id> testing that now
[04:07] <z1lt0id> yeah i was using the infinality freetype2 patches
[04:11] <z1lt0id> indeed i copied it a freetype dir and it worked
[04:11] <z1lt0id> i informed the packager maintainer of the infinality fonts on arch
[04:11] <z1lt0id> thank you :)
[05:10] <SirCmpwn> any solution for dithering problems with h264->gif?
[05:44] <LithosLaptop> dithering problems?
[06:36] <Evil_J0k3r> hey, I'm trying to grab my X screen with x11grab. the higher i set the input size the worse my performance gets. is this normal behaviour? I'm trying to set up some script that always records the last minutes of a game (like the new consoles). I'm not sure if this is normal behaviour or a bug in xorg or r600g.
[06:36] <Evil_J0k3r> command: 'nice -n 19 ffmpeg -f x11grab -r 25 -s 1920x1080 -i :0 -c:v rawvideo -f null -y /dev/null'
[06:41] <relaxed> of course it is
[06:43] <Evil_J0k3r> relaxed: why is that so? i guess it's related to buffer copy?
[06:43] <Evil_J0k3r> and is there some way to get better perfomance?
[06:46] <relaxed> larger frames require more resources
[06:48] <Evil_J0k3r> y, but I'm not doing anything with the frames, i jsut grab them and discard them
[06:48] <Evil_J0k3r> this shouldnt have such a high impact
[06:49] <Evil_J0k3r> the most computational power is normally used for encoding
[06:58] <relaxed> you're interfacing with X11 too
[07:38] <SirCmpwn> LithosLaptop: ffmpeg -i whatever foo.gif -> foo.gif has dithering artifacts all over it, every time
[07:39] <LithosLaptop> I don't get it. It is supposed to dither
[12:13] <mrmr> is it possible to record skype conversations? like input and output audio?
[13:22] <Floh79> Hi, I'm trying to play rtmp stream with avplay (even tried with ffplay). But nothing happens. How can I find out why nothing happens?
[13:23] <Floh79> http://pastebin.com/rhQN2SG1
[15:24] <Digitalis> hi
[15:25] <Digitalis> i am using ffmpeg with a input from vlc (rtp connexion) and transcode it to h264 then send it to a wowza server
[15:26] <Digitalis> everything is fine but when vlc plays the next video of the playlist i get the error "PES packet size mismatch" then ffmpeg seems to be frozen
[15:26] <Digitalis> any idea is welcome
[16:27] <Digitalis_> any idea for my problem ?
[18:48] <Digit_> hi again
[18:49] <Digit_> trying to use ffmpeg with an rtp input from vlc and i get a lot of different errors
[18:50] <Digit_> PES packet size mismatch ,error while decoding MB 0 15, bytestream (-5), Failed to update header with correct duration.ra Failed to update header with correct filesize., Error while decoding stream #0:0: Invalid data found when processing input
[18:51] <Digit_> i am getting image and sound in the output streaming but with artifacts and something like lag
[18:57] <Digit_> any idea ?
[19:41] <bacon1989> Hello peeps
[19:42] <bacon1989> I'm a little new to ffmpeg, and i've been looking to how I could use it to find out more media information on a given file
[19:43] <bacon1989> i've been looking at ffprobe, and i'm wondering if the statically compiled ffmpeg.exe includes ffprobe in it?
[19:43] <blez> I want to input a stream in stdin and ouput in stdout, how to do that?
[19:44] <blez> "ffmpeg -i - -acodec libmp3lame -" ?
[19:44] <blez> (I'm on Windows)
[19:50] <Digit_> what do you mean by stdin ?
[19:51] <blez> ok, let's say it's not stdin. I have the line: ffmpeg -i http://asd/some.ogg and I want to convert it to mp3 and stream it to stdout
[19:51] <blez> how?
[19:52] <Digit_> well i don't know what you mean with stdout ...
[19:52] <blez> "ffmpeg -i http://asd/some.ogg -acodec libmp3lame -" says: Unable to find a suitable output format for 'pipe:'
[19:52] <Digit_> oh pipes....
[19:52] <Digit_> i never used ffmpeg with pipes
[19:53] <cbsrobot> blez: specify the format with -f
[19:53] <cbsrobot> f.ex -f pcm_s16le
[19:53] <blez> WORKS
[19:54] <blez> yey, thanks.
[19:54] <Digit_> any idea for my problem ?
[19:57] <blez> cbsrobot with -f mp3 what quality it the output?
[19:58] <blez> kbps/hz?
[19:58] <cbsrobot> blez: are you sure you want to pipe mp3 ?
[19:58] <blez> why not
[19:59] <cbsrobot> then I guess it would be something like -f libmp3lame -b:a 128k -ac 2 -r:a 44100
[20:00] <blez> with -f mp3 does it pipe the same quality as the input?
[20:00] <cbsrobot> blez: just make sure the receiving end can handle it ....
[20:00] <cbsrobot> what is same qulaity when you go from ogg -> mp3 ?
[20:01] <blez> I mean, is there a way to encode ogg -> mp3 without changing the quality?
[20:01] <blez> or channels or whatever
[20:02] <cbsrobot> blez: there are some default settings when you don't specify anything
[20:02] <cbsrobot> but if you want to make sure it keeps some values I suggest you specify them
[20:02] <blez> so would -f mp3 be the same as the input?
[20:03] <cbsrobot> s/some/the same/
[20:04] <cbsrobot> blez: no idea what your input values are, so I suggest you specify them
[20:05] <blez> the input is a web radio, so it will vary
[20:06] <cbsrobot> use ffprobe to grep the values and use them in your script
[20:07] <blez> yes, that would work
[20:07] <cbsrobot> blez: what exactly are you trying to do ?
[20:08] <cbsrobot> webradio -> ffmpeg (transcode to mp3) --> ???
[20:09] <blez> webradio ripper
[20:09] <blez> which rips everything to mp3
[20:10] <Digit_> http://pastebin.com/nUfxyhEs
[20:16] <cbsrobot> Digit_: if you record it to a file - is the file playable ?
[20:16] <Digit_> no it's send to wowza server
[20:16] <Digit_> sent
[20:16] <Digit_> oh if i do ... gulp
[20:17] <wm4> someone remind me how to pass multiple flags to a fucking flags option?
[20:17] <cbsrobot> wm4: -flags +onething+otherthing-thatone
[20:18] <wm4> cbsrobot: doesn't work, I'm trying ffplay -vf phase=mode=+t+p
[20:18] <cbsrobot> ah wait - in a filter ....
[20:18] <wm4> which fails with [phase @ 0xade780a0] [Eval @ 0xb0ffbb2c] Undefined constant or missing '(' in 't'
[20:18] <cbsrobot> try: phase=mode=\+t\+p
[20:18] <wm4> wat
[20:18] <wm4> are you serious
[20:19] <cbsrobot> just guessing
[20:19] <wm4> well it doesn't work either
[20:19] <cbsrobot> had it lately and \ helped
[20:19] <wm4> Error initializing filter 'phase' with args 'mode=+t+p'
[20:19] <wm4> also this filter doesn't even give an example https://ffmpeg.org/ffmpeg-filters.html#phase
[20:23] <Digit_> how do i pm someone
[20:24] <llogan> /msg llogan greetings crgrat. are your intersted in sendings monies to my cousin in Tanzania?
[20:25] <llogan> Digit_: ^
[20:25] <wm4> hm -vf noise=allf=+t+u somehow works
[20:25] <Digit_> the file is playable but i get a lot of artifacts like frames are missing and when vlc plays the next file it's freezing
[20:26] <Digit_> i get the same error than when i am sending to the server
[20:26] <Digit_> the only difference is that the sound is desync on the server
[20:26] <Digit_> i can't understand why it makes so many error reading the input
[20:28] <llogan> bacon1989: from zeranoe? "Static builds provide one self-contained .exe file for each program (ffmpeg, ffprobe, ffplay)."
[20:28] <Digit_> ho thanks llogan
[20:30] <llogan> blez: going from vorbis to mp3 will not be the same quality (but if you do it good enough you may not notice)
[20:31] <blez> llogan what should I do? -b:a -b:c ?
[20:31] <llogan> i've never seen -b:c before
[20:31] <blez> I mean -ac
[20:32] <llogan> use -q:a or -b:a to mess with quality/bitrate
[20:32] <llogan> https://trac.ffmpeg.org/wiki/Encoding%20VBR%20%28Variable%20Bit%20Rate%29%2…
[20:32] <llogan> i need to CamelCase those links...
[20:33] <llogan> blez: you probably don't need to mess with -ac
[20:39] <Digit_> i tried with udp, it's not better
[20:43] <Digit_> how could be the stream coming from vlc not compatible with ffmpeg ? i mean rtp is rtp ... isn't it
[22:25] <bb0x> hi guys ... how can i check if the ffmpeg binary is compiled using frei0r or not ?
[22:26] <bb0x> I'm having problems building frei0r-plugins-devel on centos 5
[22:45] <re-G> bb0x: just run ffmpeg binary and check configuration line
[00:00] --- Wed Dec 4 2013
1
0