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 2015
- 1 participants
- 62 discussions
[00:00:16 CET] <xintox_> i can send you the command i'm using if you want to reproduce it. but like i said the link and cookie expires. so its no use to post in a bug report
[00:00:32 CET] <kierank> well this is open source, someone has to care then
[00:00:40 CET] <kierank> or you can try and fix yourself
[00:00:47 CET] <JEEB> if you scroll up the lines from kierank starting with 'nobody knows what a neulion key is'
[00:00:55 CET] <JEEB> there is all that's required, more or less :P
[00:01:14 CET] <xintox_> ok. i figured you guys would know what neulion is
[00:01:32 CET] <xintox_> its a cdn provider for m3u8/hls streaming that uses an encryption key.
[00:01:49 CET] <JEEB> *finally* you mentioned the actual thing you had issues with.
[00:02:02 CET] <JEEB> ok, so you are having issues with the hls "demuxer"
[00:02:09 CET] <xintox_> yeah
[00:02:37 CET] <xintox_> from what i can tell ffmpeg isn't getting the updated cookie on the key file once it starts recording.
[00:03:30 CET] <xintox_> perhaps there's an option i'm missing. but i don't know what it is.
[00:04:10 CET] <JEEB> there seems to be some logic for cookies at least in the hls "demuxer"
[00:04:18 CET] <xintox_> i saw that
[00:04:40 CET] <xintox_> on the mailing list thread where it was submitted he said the cookies will pile up and still need to be fixed.
[00:04:45 CET] <xintox_> that may be the isuee
[00:04:57 CET] <xintox_> too long a cookie after 30-60 seconds and it crashes
[00:05:14 CET] <xintox_> because he's just appending the cookie to the existing one
[00:06:35 CET] <JEEB> "char *cookies; ///< holds HTTP cookie values set in either the initial response or as an AVOption to the HTTP protocol context"
[00:06:43 CET] <JEEB> > initial response
[00:06:55 CET] <JEEB> so if you get it later it might not get it
[00:07:31 CET] <xintox_> it needs to re-apply the cookie on each key request....because neulion is chaning that every 10 seconds.
[00:08:20 CET] <xintox_> i think it just grabs it on the intiial request...is that what you're seeing?
[00:08:32 CET] <JEEB> no, that's what I'm reading off a random comment
[00:08:42 CET] <JEEB> in the hls "demuxer"
[00:08:59 CET] <xintox_> do u have a link to the line #?
[00:09:37 CET] <JEEB> it does hit open_url for each segment and keys, though
[00:10:01 CET] <JEEB> which does have av_dict_set(&opts, "cookies", c->cookies, 0); in it
[00:10:10 CET] <xintox_> what about appending vs. overwriting? Someone mentioned that as a possible problem.
[00:10:24 CET] <JEEB> "// update cookies on http response with setcookies"
[00:10:51 CET] <xintox_> does it do cookies += newCookie or cookies = newCookie
[00:11:16 CET] <xintox_> i don't know C so i'm not sure what the syntax would be.
[00:11:19 CET] <JEEB> whatever update_options(&c->cookies, "cookies", u->priv_data); and av_dict_set(&opts, "cookies", c->cookies, 0);
[00:11:22 CET] <JEEB> does
[00:12:16 CET] <JEEB> oh, update_options was just on top of it
[00:16:15 CET] <xintox_> what repo is that in?
[00:16:24 CET] <xintox_> i don't see 'av_dict_set(&opts, "cookies", c->cookies, 0);' in FFMpeg repo
[00:17:49 CET] <JEEB> the actual repo is on videolan.org, but mirrored on github and I'm going to link there due to the code browser looking better https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/hls.c#L606
[01:00:40 CET] <xintox_> JEEB: thanks. how come i don't see that in the repo when i download it?
[01:01:18 CET] <JEEB> no idea? make sure you're on the master branch?
[01:01:23 CET] <xintox_> yup
[01:01:24 CET] <xintox_> on master
[01:02:40 CET] <xintox_> weird
[01:02:42 CET] <xintox_> ack 'av_dict_set(&opts, "cookies", c->cookies, 0);'
[01:02:44 CET] <xintox_> doesnt' find it
[01:02:50 CET] <xintox_> i see its there
[01:02:58 CET] <JEEB> git grep is your friend
[01:07:26 CET] <xintox_> that works :)
[01:08:07 CET] <xintox_> now i'm wondering. if this is only for the key request...because the request to the playlist has its own set of cookies that need to persist.
[01:08:22 CET] <xintox_> afaik the playlist cookies don't change, only the key file cookies
[02:11:36 CET] <Timothy_Gu> xintox_: FYI, ack uses regex by default so you need to escape the paren: ack 'av_dict_set\(&opts, "cookies", c->cookies, 0\);'
[02:39:30 CET] <xintox_> Timothy_Gu: thanks!
[02:44:57 CET] <cone-037> ffmpeg 03Michael Niedermayer 07master:80bfce35ccd1: swscale/x86/rgb2rgb_template: Do not crash on misaligend stride
[08:50:42 CET] <zhuhc> I found that the ffmpeg H.265 decoder is not compatible with the iOS platform when the neon assembly code is enabled. When I run the decoder to decode one H.265 clip, it crashed. When I disable the neon assembly code, it worked fine.
[09:01:59 CET] <cone-777> ffmpeg 03Michael Niedermayer 07master:a066ff89bcba: swscale/x86/rgb2rgb_template: Fallback to mmx in interleaveBytes() if the alignment is insufficient for SSE*
[10:19:11 CET] <cone-777> ffmpeg 03Paul B Mahol 07master:04cc4d055079: avfilter/af_sofalizer: check av_fft_init return code
[10:36:53 CET] <cone-777> ffmpeg 03Matthieu Bouron 07master:0c59d40ae06b: lavfi: use a video frame pool for each link of the filtergraph
[10:36:54 CET] <cone-777> ffmpeg 03Matthieu Bouron 07master:ae1c750cb49f: lavc/utils: use AVPixFmtDescriptor to probe palette formats
[10:47:16 CET] <cone-777> ffmpeg 03Anton Khirnov 07master:1f821750f0b8: hevcdsp: split the qpel functions by width instead of by the subpixel fraction
[10:47:17 CET] <cone-777> ffmpeg 03Anton Khirnov 07master:818bfe7f0a3f: hevcdsp: split the epel functions by width
[10:47:18 CET] <cone-777> ffmpeg 03Anton Khirnov 07master:688417399c69: hevcdsp: split the pred functions by width
[10:47:19 CET] <cone-777> ffmpeg 03Anton Khirnov 07master:a853388d2fc5: hevc: change the stride of the MC buffer to be in bytes instead of elements
[10:47:20 CET] <cone-777> ffmpeg 03Anton Khirnov 07master:0cef06df0739: checkasm: add HEVC MC tests
[10:47:20 CET] <cone-777> ffmpeg 03Anton Khirnov 07master:e7078e842d93: hevcdsp: add x86 SIMD for MC
[10:47:22 CET] <cone-777> ffmpeg 03Hendrik Leppkes 07master:9db8c2d7470a: Merge commit '1f821750f0b8d0c87cbf88a28ad699b92db5ec88'
[10:47:23 CET] <cone-777> ffmpeg 03Hendrik Leppkes 07master:14a28298cb88: Merge commit '818bfe7f0a3ff243deb63c4b146de2563f38ffd4'
[10:47:24 CET] <cone-777> ffmpeg 03Hendrik Leppkes 07master:6f0eb6229218: Merge commit '688417399c69aadd4c287bdb0dec82ef8799011c'
[10:47:25 CET] <cone-777> ffmpeg 03Hendrik Leppkes 07master:d665d191a2ba: Merge commit 'a853388d2fc5be848cca839a9fdf39a97c2d7b0e'
[10:47:26 CET] <cone-777> ffmpeg 03Hendrik Leppkes 07master:32105588fb23: Merge commit '0cef06df073934ca08d0357fcbbbcf2bc9b2a0cd'
[10:47:27 CET] <cone-777> ffmpeg 03Hendrik Leppkes 07master:577e0132a2b5: Merge commit 'e7078e842d93436edba1f30af1f9869d3913f7fe'
[11:22:54 CET] <cone-777> ffmpeg 03Michael Niedermayer 07release/2.0:f23efdd2401d: swscale/x86/rgb2rgb_template: Do not crash on misaligend stride
[11:22:55 CET] <cone-777> ffmpeg 03Michael Niedermayer 07release/2.1:00c016a5f7d2: swscale/x86/rgb2rgb_template: Do not crash on misaligend stride
[11:22:57 CET] <cone-777> ffmpeg 03Michael Niedermayer 07release/2.2:442e7c910a59: swscale/x86/rgb2rgb_template: Do not crash on misaligend stride
[11:22:58 CET] <cone-777> ffmpeg 03Michael Niedermayer 07release/2.2:ef23c40d435b: swscale/x86/rgb2rgb_template: Fallback to mmx in interleaveBytes() if the alignment is insufficient for SSE*
[11:23:00 CET] <cone-777> ffmpeg 03Michael Niedermayer 07release/2.3:633bf6246cfa: swscale/x86/rgb2rgb_template: Do not crash on misaligend stride
[11:23:01 CET] <cone-777> ffmpeg 03Michael Niedermayer 07release/2.3:f8b25be7f751: swscale/x86/rgb2rgb_template: Fallback to mmx in interleaveBytes() if the alignment is insufficient for SSE*
[11:23:02 CET] <cone-777> ffmpeg 03Michael Niedermayer 07release/2.4:bfebe3defed4: swscale/x86/rgb2rgb_template: Do not crash on misaligend stride
[11:23:03 CET] <cone-777> ffmpeg 03Michael Niedermayer 07release/2.4:3440a9ba4f37: swscale/x86/rgb2rgb_template: Fallback to mmx in interleaveBytes() if the alignment is insufficient for SSE*
[11:23:04 CET] <cone-777> ffmpeg 03Michael Niedermayer 07release/2.5:f8b83cfa1c85: swscale/x86/rgb2rgb_template: Do not crash on misaligend stride
[11:23:05 CET] <cone-777> ffmpeg 03Michael Niedermayer 07release/2.5:dbc37977793b: swscale/x86/rgb2rgb_template: Fallback to mmx in interleaveBytes() if the alignment is insufficient for SSE*
[11:23:06 CET] <cone-777> ffmpeg 03Michael Niedermayer 07release/2.6:45430c37531c: swscale/x86/rgb2rgb_template: Do not crash on misaligend stride
[11:23:07 CET] <cone-777> ffmpeg 03Michael Niedermayer 07release/2.6:26e98f9ae54e: swscale/x86/rgb2rgb_template: Fallback to mmx in interleaveBytes() if the alignment is insufficient for SSE*
[11:23:08 CET] <cone-777> ffmpeg 03Michael Niedermayer 07release/2.7:e7e4c65571d8: swscale/x86/rgb2rgb_template: Do not crash on misaligend stride
[11:23:09 CET] <cone-777> ffmpeg 03Michael Niedermayer 07release/2.7:3ffc22443579: swscale/x86/rgb2rgb_template: Fallback to mmx in interleaveBytes() if the alignment is insufficient for SSE*
[11:23:10 CET] <cone-777> ffmpeg 03Michael Niedermayer 07release/2.8:31aeb9653360: swscale/x86/rgb2rgb_template: Do not crash on misaligend stride
[11:23:11 CET] <cone-777> ffmpeg 03Michael Niedermayer 07release/2.8:20a48eaaf18b: swscale/x86/rgb2rgb_template: Fallback to mmx in interleaveBytes() if the alignment is insufficient for SSE*
[11:57:26 CET] <cone-777> ffmpeg 03Paul B Mahol 07master:c54632d3811d: avfilter/vf_stereo3d: add direct (faster) path:
[13:59:02 CET] <durandal_1707> atomnuker: tried sofalizer?
[14:20:33 CET] <atomnuker> durandal_1707: testing it now
[14:22:14 CET] <atomnuker> any specific way I should give it a try?
[14:22:33 CET] <atomnuker> I just got a bunch of SOFA files and feed them through the filter
[14:22:55 CET] <atomnuker> (using headphones but can try speakers)
[14:24:56 CET] <atomnuker> the headphone SOFA files don't seem to work ("Not a SimpleFreeFieldHRIR file")
[14:35:59 CET] <durandal_1707> yea, only some sofa files works
[14:38:39 CET] <durandal_1707> atomnuker: ARI database, hrtf b
[15:36:33 CET] <cone-777> ffmpeg 03erankor 07master:23ac99dc17b0: libavutil: add aes-ctr support
[15:36:34 CET] <cone-777> ffmpeg 03erankor 07master:4469e8ebb2f3: movenc: support cenc (common encryption)
[15:38:21 CET] <j-b> Seriously.
[15:38:50 CET] <j-b> The guy uses his full name+email on the mailing-list. How hard is that to check when pushing his patches?
[15:40:29 CET] <kierank> lol kaltura
[15:42:47 CET] <j-b> sorry, but here, the issue is the committer, not the author.
[15:43:41 CET] <kierank> ofc
[15:45:09 CET] <durandal_1707> so revert
[15:45:23 CET] <j-b> Of course not, reverts are bad
[15:46:18 CET] <j-b> but not caring about proper authorship is a bad idea.
[15:46:29 CET] <durandal_1707> rebase it!
[15:47:06 CET] <j-b> :D
[15:47:49 CET] <j-b> you can do everything with rebases, IIRC
[16:09:27 CET] <durandal_1707> PS4 based on FreeBSD?
[16:11:03 CET] <BtbN> Yes, even the PS3 uses a BSD-Based OS
[17:15:15 CET] <Daemon404> [14:46] <@j-b> but not caring about proper authorship is a bad idea.
[17:15:15 CET] <Daemon404> [14:46] <@durandal_1707> rebase it!
[17:15:27 CET] <Daemon404> ^ yes elvis is happy he has full authorship
[17:15:29 CET] <Daemon404> anatoly too
[17:16:24 CET] <TimNich> I wondered who would bring back Elvis...
[18:37:00 CET] <durandal_1707> Compn: why ambisonic was never commited to mplayer?
[18:37:40 CET] <Daemon404> nevcairiel, im i dense, or is this incorrect: http://ffmpeg.org/pipermail/ffmpeg-devel/2015-December/185248.html
[18:37:49 CET] <Daemon404> it looks like exactly what we were discussing to me
[18:38:10 CET] <nevcairiel> aliasing shit is over my head anyway
[18:59:21 CET] <rcombs> anyone ever seen the configure check for iconv check without `-liconv`, but then ffmpeg_g fail to build without the flag?
[18:59:27 CET] <rcombs> (seeing this now on OSX)
[19:02:11 CET] <Daemon404> os x / iconv always is weird...
[19:02:17 CET] <Daemon404> usually due to system iconv vs ports iconv
[19:18:08 CET] <cone-777> ffmpeg 03Reynaldo H. Verdejo Pinochet 07master:5a31f2318b8f: ffserver: allocate AVStream's internal too
[19:18:09 CET] <cone-777> ffmpeg 03Reynaldo H. Verdejo Pinochet 07master:eb68c35670af: ffserver: be explicit on failed fork() msg
[19:18:11 CET] <cone-777> ffmpeg 03Reynaldo H. Verdejo Pinochet 07master:1fa81430ca97: ffserver: use EXIT_FAILURE on failed child fork()
[19:18:12 CET] <cone-777> ffmpeg 03Reynaldo H. Verdejo Pinochet 07master:dadb95142bd4: ffserver: free pathname before bailing out
[19:18:13 CET] <cone-777> ffmpeg 03Reynaldo H. Verdejo Pinochet 07master:0bdf84b6b052: ffserver: explicitly use time_t for uptime calc
[19:19:25 CET] <Daemon404> i didnt know J_Darnley and wm4 were related
[19:20:55 CET] <Daemon404> ... 5a31f2318b8fed1f4711cb86eab6d9b679946878 makes my sad inside
[19:20:58 CET] <Daemon404> me*
[19:25:14 CET] <Daemon404> oh good it didnt even hit the ML
[19:25:44 CET] <reynaldo> Daemon404: hey o/
[19:25:56 CET] <reynaldo> whats up with that one ?
[19:26:10 CET] <Daemon404> uh
[19:26:13 CET] <Daemon404> it's wrogn on many levels
[19:26:18 CET] <Daemon404> it's half-assed at the very best
[19:26:38 CET] <Daemon404> its doign a bunch of stuff with internal non-public fields instead of fixing it properly (to use new_stream)
[19:26:51 CET] <Daemon404> it reads like "could be bothered to fix it properly'
[19:27:11 CET] <reynaldo> it only adds a malloc and states theres a better solution to it
[19:27:20 CET] <Daemon404> yes
[19:27:23 CET] <Daemon404> it's a half assed fixed
[19:27:27 CET] <Daemon404> [18:26] <@Daemon404> it reads like "could be bothered to fix it properly' <---
[19:27:27 CET] <reynaldo> and it is, but the code is a bit too intrincated there and its not trivial
[19:27:46 CET] <reynaldo> so my intention is to get it fixed for the user that reported it and work on a proper and more involved fix as time allows
[19:27:52 CET] <reynaldo> thats why I added the fix me
[19:27:55 CET] <Daemon404> the latter rarely happens
[19:27:58 CET] <Daemon404> we have fixmes from 2001.
[19:28:04 CET] <reynaldo> this was a regresion actually, it used to work
[19:28:04 CET] <Daemon404> it's bad practice.
[19:28:19 CET] <reynaldo> Daemon404: if it serves of anything you can trust me on it
[19:28:52 CET] <Daemon404> 'serves of anything'?
[19:29:53 CET] <reynaldo> with you feeling sad that is
[19:31:55 CET] <reynaldo> this got broken when AVStream.internal was introduced, seomeone pushed a related preemptive fix (on the same lines) back then (few weeks ago) but it wasn enough, the server was segfaulting, some user reported it, this is a fix
[19:32:03 CET] <reynaldo> done in the same way the preemptive changes were done
[19:32:13 CET] <reynaldo> the ones that werent enough to avoid this crashing
[19:32:23 CET] <Daemon404> i guess i differ in opinion from most here
[19:32:28 CET] <Daemon404> fix it right or dont do it at all
[19:32:40 CET] <Daemon404> see the aforementioned fixmes dating back 14 years
[19:32:57 CET] <reynaldo> I dont think mines are
[19:33:09 CET] <reynaldo> but if you see some please ping me on it and I will see through it
[19:33:42 CET] Action: Daemon404 writes a note ;)
[19:33:46 CET] <reynaldo> ;)
[19:34:04 CET] <Daemon404> ffserver is a great example of not dogfooding
[19:34:16 CET] <Daemon404> (wrt public api)
[19:34:28 CET] Action: Daemon404 still isnt sure why/who uses it
[19:46:41 CET] <JEEB> recently it's been really popular on #ffmpeg and people notice that almost no-one can support you with it
[19:46:52 CET] <JEEB> I've been pointing people towards ffmpeg itself as much as possible
[20:17:29 CET] <Compn> durandal_1707 : commit it :)
[20:17:34 CET] <Compn> just ask michaelni for svn write
[20:28:45 CET] <durandal_1707> let mplayer RIP
[20:32:18 CET] <kierank> +1
[20:53:54 CET] <J_Darnley> [Tue 19:19] <@Daemon404> i didnt know J_Darnley and wm4 were related <-- What do you mean?
[20:58:32 CET] <cone-777> ffmpeg 03Paul B Mahol 07master:09d84e00bd88: avfilter/af_ladspa: unbreak Mch -> Nch plugins, where M < N
[20:59:30 CET] <Daemon404> [18:19] -!- jlfhdvfjabsdfg is now known as J_Darnley
[20:59:42 CET] <Daemon404> im referring to wm4's email address and trac name
[20:59:46 CET] <J_Darnley> ah
[22:32:29 CET] <ubitux> why is mmx prefered over mmxext? (libswscale/x86/yuv2rgb.c)
[22:42:47 CET] <Compn> possibly faster, although i'm guessing.
[22:45:06 CET] <cone-777> ffmpeg 03Andreas Cadhalpun 07master:ecf63b7cc24b: ffm: reject invalid codec_id and codec_type
[22:45:12 CET] <ubitux> if mmx is faster, what would be the point of the presence of mmxext code, since every cpu supporting mmxext should be supporting mmx
[22:49:53 CET] <Compn> its possible that when it was created, mmxext was faster
[22:49:59 CET] <Compn> i mean, the cpu at the time...
[22:50:06 CET] <Compn> but now cpus have changed
[22:50:42 CET] <Compn> probably i should stfu and wait for michaelni to chime in
[22:54:19 CET] <Compn> it would be interesting to benchmark functions across different cpu arch
[22:56:04 CET] <nevcairiel> ubitux: how is mmx preferred?
[22:56:34 CET] <nevcairiel> contrary to more typical dsp init functions, this one returns a function pointer, so whichever is earlier in the function prevails
[22:56:52 CET] <ubitux> ah fuck i can't read
[22:57:11 CET] <ubitux> yeah i had my the typical dsp init in mind
[22:57:22 CET] <ubitux> expectations vs reality
[22:57:24 CET] <ubitux> :(
[22:57:27 CET] <ubitux> thx
[23:40:14 CET] <ubitux> http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libswscale/x86/yuv2rgb_templ…
[23:40:26 CET] <ubitux> why is srcSliceY only honored for dst?
[23:40:48 CET] <ubitux> shouldn't simply y start at srcSliceY and srcSliceY removed from line 55?
[23:41:04 CET] <ubitux> (i suppose it works because the slices are always the full frame)
[23:41:07 CET] <ubitux> michaelni ^
[23:47:16 CET] <ubitux> http://pastie.org/10634985
[23:47:18 CET] <ubitux> sth like this
[23:47:55 CET] <michaelni> ubitux, if i dont miss somethng, then this is because sws_scales input is a slice and not a full frame, the output is a full frame
[23:48:19 CET] <michaelni> the output cannot just be a slice for non trivial cases
[23:48:27 CET] <ubitux> mmh
[23:48:33 CET] <michaelni> because, with vertical scaling lines dot match up 1:1
[23:48:40 CET] <michaelni> unless its nearest neighbor
[23:49:19 CET] <michaelni> also if fate doesnt test slices then some synthetic test would be a rather good idea
[23:50:05 CET] <ubitux> in what case does slicing happens exactly?
[23:50:12 CET] <ubitux> isn't the sole purpose for threading purpose?
[23:53:14 CET] <ubitux> so you're saying it happens with vertical scaling
[23:53:21 CET] <ubitux> i need a use case :p
[00:00:00 CET] --- Wed Dec 16 2015
1
0
[00:22:48 CET] <TikityTik> I'm having issues trying to find the font arial with my fontconfig
[00:22:59 CET] <TikityTik> [Parsed_subtitles_0 @ 0000000005377900] fontconfig: cannot find font 'Arial', falling back to 'll\lalcgülgÇlgül]l¡l\lV82'
[00:26:18 CET] <TD-Linux> that's my favorite font
[01:15:43 CET] <prelude2004c> hey guys.. i finally got sTARTX going and ffmpeg sees it... amazing.. now i am missing something.. i have set ffmpeg with -hwaccel vdpau which it does not complain about and then i -c:v nvenc to transcode it to something else. The issue on the decrytion is that it still doesn't use GPU to decode the data and tee it off to new ffmpeg stuff.. not sure what to do
[01:15:43 CET] <prelude2004c> :(
[01:25:39 CET] <prelude2004c> hey guys.. how does one transcode a h264 source to a raw input source using the GPU decoder ?
[02:26:58 CET] <Guiri> Howdy. I'm having trouble getting the concat filter to work with films with different resolutions. I've tried specifying the scale parameter within filter_complex. I'm not sure what I'm doing incorrectly: http://fpaste.org/300868/45014277/
[02:48:33 CET] <Guiri> Will I have to setsar=1/1 for each video stream in the concat filter?
[02:51:35 CET] <Guiri> So I tried [0:v:0] setsar=1/1 [sar0]; [sar0] [0:a:0] for each of the inputs. It seems to complain about using the setsar filter too many times
[03:03:32 CET] <satt> Guiri: I'm doing something similar, quite new to ffmpeg tho. I setsar for each input
[03:04:12 CET] <satt> this is what my filter argument looks like for each input
[03:04:27 CET] <Guiri> I did try to set it after each video, but got Too many inputs specified for the "setsar" filter.
[03:04:36 CET] <satt> [$count:v]scale=if(gt(ih\,iw)\,-2\,$VID_WIDTH):if(gt(ih\,iw)\,$VID_HEIGHT\,-2),pad=$VID_WIDTH:$VID_HEIGHT:(ow-iw)/2:(oh-ih)/2,setsar=sar=1/1[v$count];
[03:04:56 CET] <Guiri> ah ty
[03:06:27 CET] <Guiri> interesting. So in my command line, I pipe the total [v] into scale, transforming into [v2], but this is after the concat filter. Your scaling seems to occur before?
[03:06:53 CET] <Guiri> I'm also curious about your scaling syntax. I used trunc() after -1 died with some weird resolutions.
[03:08:43 CET] <Guiri> Hmm, too many inputs specified for the scale filter now.
[03:08:54 CET] <satt> I'm probably not the one to give advice on how my scaling works haha - most of my filter text is from people I've asked on here
[03:09:06 CET] <satt> I can paste a full command though, hang on
[03:09:22 CET] <Guiri> Lemme paste my full command and maybe we can spot the differences
[03:10:08 CET] <satt> ffmpeg -i input1.mp4 -i input2.mp4 -filter_complex [0:v]scale=if(gt(ih\,iw)\,-2\,374):if(gt(ih\,iw)\,668\,-2),pad=374:668:(ow-iw)/2:(oh-ih)/2,setsar=sar=1/1[v0]; [1:v]scale=if(gt(ih\,iw)\,-2\,374):if(gt(ih\,iw)\,668\,-2),pad=374:668:(ow-iw)/2:(oh-ih)/2,setsar=sar=1/1[v1]; [v0] [0:a:0] [v1] [1:a:0] concat=n=2:v=1:a=1 [v] [a] -map [v] -map [a] output.mp4
[03:12:00 CET] <Guiri> ah that's interesting. I think I see now. one second
[03:12:06 CET] Action: Guiri goes and fucks up more code
[03:12:12 CET] <satt> lol
[03:12:51 CET] <satt> mine has been working on the vast majority of the videos I put though, but occasionally I'm running into an issue where the parsed pad value is negative
[03:15:58 CET] <Guiri> Hmm, complains about the scale being called too often. This is what I have so far based on yours: http://fpaste.org/300881/45014573/
[03:18:45 CET] <Guiri> Ah, found a bug. I was mapping v2 on accident
[03:19:01 CET] <satt> ah nice
[03:22:21 CET] <Guiri> satt: Getting closer. New error. Do you see any bugs? http://fpaste.org/300882/46099145/
[03:22:47 CET] <prelude2004c> hey guys.. how come --enable-ffplay does not enable ffplay when i compile ffmpeg ?
[03:22:51 CET] <prelude2004c> what do i have to do to get ffmplay going ?
[03:23:44 CET] <satt> Guiri: post the output with the error. nothings jumping out at me from the command
[03:25:48 CET] <Guiri> satt: http://fpaste.org/300883/45014631/
[03:28:48 CET] <satt> Guiri: alright so it's Input link in1:v0 parameters (size 640x430, SAR 1:1) do not match the corresponding output link in0:v0 parameters (640x524, SAR 1:1)
[03:30:32 CET] <satt> looks like trunc(ow/a/2)*2 is giving a different number for the height scale for each video file, so they can't be concat'd
[03:31:21 CET] <Guiri> I see
[03:31:23 CET] <satt> you could add a pad argument and pad the smaller scale video to the size of the larger one
[03:31:28 CET] <Guiri> So how does your scaling function and pad get around it?
[03:31:31 CET] <Guiri> I guess, what do they do
[03:32:08 CET] <satt> pad adds empty space (black, or you can specify a color) around the video file to make it the correct dimensions
[03:33:15 CET] <satt> you'll have to either pad the smaller file to the larger files dimensions, or crop the larger file to the smaller files dimensions
[03:34:17 CET] <satt> the argument is pad=width,height,xpos,ypos
[03:34:43 CET] <satt> so to pad the smaller file to the larger files dimensions, your argument will look something like
[03:35:55 CET] <satt> pad=$largestWidth:$largestHeight:(ow-iw)/2:(oh-ih)/2
[03:36:12 CET] <satt> (ow-iw)/2:(oh-ih)/2 this will center the padded video
[03:36:59 CET] <Guiri> Hmm. So $largestWidth has to be a preset, like 640x480?
[03:37:08 CET] <Guiri> why scale then as well, in your case?
[03:38:15 CET] <Guiri> Life was so much easier when I was just scaling one movie :-)
[03:39:50 CET] <satt> my command is supposed to scale down, and pad to the correct resolution - so with an input 300x600 and an input 300 x 700, it should scale down the 300x700 video and pad the result to 300x600 (keeping the original aspect ratio, adding black bars on the sides)
[03:40:05 CET] <satt> I say supposed to, because it doesn't seem to always work :D
[03:40:13 CET] <Guiri> OK
[03:40:18 CET] <satt> haha yeah its much easier to scale one thing
[03:40:28 CET] <Guiri> Now that I understand your command, I 'll try to replace mine with it and see what happens
[03:41:29 CET] <Guiri> And that's why you do it after each movie. When I had everything the same input resolution, I could do it after the [v] and map it to [v2] before calling -map [v2]
[03:41:34 CET] <satt> But $largestWidth doesn't have to be a preset -- what I do is use ffprobe and get the width/height of all my inputs, find the smallest dimensions, and scale everything down to that. using bash
[03:41:37 CET] <Guiri> But in this case, I need to correctly scale and pad before I concat them
[03:42:22 CET] <satt> yup that's why each input has a scale/pad argument
[03:42:34 CET] <satt> you should be able to scale/pad and concat all in one statement though
[03:42:41 CET] <Guiri> Interesting
[03:47:13 CET] <Guiri> satt: http://fpaste.org/300886/14501475/ closer
[03:47:50 CET] <Guiri> [{0}:v:0]scale=if(gt(ih,iw), -2, 640):if(gt(ih,iw), 480, -2),pad=640:480:(ow-iw)/2:(oh-ih)/2,setsar=sar=1/1[v{0}];
[03:48:02 CET] <Guiri> where {0} are interpolated depending on the index of the video in the list
[03:48:11 CET] <Guiri> thus, 0:v:0 and v0, etc.
[03:50:41 CET] <satt> yup! looks like you need to escape the commas though
[03:50:42 CET] <satt> [Parsed_scale_0 @ 0x7fce6a51bac0] Invalid size 'if(gt(ih'
[03:50:51 CET] <satt> just put a
[03:50:52 CET] <satt> \
[03:50:59 CET] <satt> in front of each comma in there
[03:51:37 CET] <satt> like this scale=if(gt(ih\,iw)\,-2\,374)
[03:53:00 CET] <Guiri> interesting.
[03:53:40 CET] <Guiri> Negative values are not acceptable.
[03:53:48 CET] <Guiri> I assume that's for the -2 that I copied from your stuff?
[03:53:56 CET] <Guiri> so the first is if(), -2, 640
[03:54:02 CET] <Guiri> and the second if(), 480, -2
[03:54:25 CET] <satt> is that in the padding? that's the same issue I have
[03:54:55 CET] <satt> I don't think its from the -2
[03:55:32 CET] <Guiri> Yeah, Failed to configure input pad on Parsed_pad_1
[03:55:54 CET] <satt> yup same as me. I'm not quite sure how to fix it
[03:56:46 CET] <satt> its happening because iw is larger than ow I believe - so (ow-iw)/2 gives a negative value
[03:56:51 CET] <Guiri> Is there a way to print out what oh-ih ends up as and such?
[03:57:05 CET] <satt> probably, but I'm not sure
[03:57:26 CET] <Guiri> Is there a way to print out what oh-ih ends up as and such?
[03:57:30 CET] <Guiri> sorry, repost
[03:58:14 CET] <satt> maybe try (iw-ow)/2 - doesn't work for me usually but maybe that'll do it for you
[03:58:26 CET] <satt> otherwise maybe someone else in here can help us out??
[03:58:29 CET] <Guiri> satt: http://superuser.com/questions/547296/resizing-videos-with-ffmpeg-avconv-to…
[03:59:34 CET] <satt> hmm interesting
[04:02:35 CET] <Guiri> It works!
[04:03:19 CET] <Guiri> Dear God, that line made my code shitty.
[04:04:37 CET] <satt> that line worked for you! great!
[04:08:34 CET] <satt> Worked on my test case too!
[04:09:03 CET] <satt> Longest command ever haha but it works. Gonna test it on a full batch of vids
[04:09:13 CET] <Guiri> K
[04:09:18 CET] <Guiri> Do you also get this warning now though? Warning: data is not aligned! This can lead to a speedloss
[04:10:07 CET] <satt> not on my testcase, no
[04:10:27 CET] <satt> thats strange though
[04:11:05 CET] <satt> is the audio in sync?
[04:11:19 CET] <Guiri> I don't know why it wouldn't be
[04:12:14 CET] <satt> noticed on the superuse page you linked:
[04:12:15 CET] <satt> Note that the numbers for width and height have to be divisible by 2 in order to work for most codecs.
[04:13:04 CET] <Guiri> Hmm
[04:13:17 CET] <Guiri> I seem to remember using the trunc() function to ensure the width and height were even?
[04:14:10 CET] <Guiri> trunc(/2)*2?
[04:17:10 CET] <satt> is one of your inputs not divisible by 2?
[04:17:43 CET] <satt> they look like they are 692x568 and 708x476...should be fine
[06:02:31 CET] <prelude2004c> hey.. anyone know why this is not using the decoding engine ?
[06:02:31 CET] <prelude2004c> ${ffmpeg} -y -hwaccel vdpau -i "$stream" -c:v mpeg2video -threads 0 -pix_fmt yuv420p -c:a copy -f mpegts - | tee
[06:02:55 CET] <prelude2004c> i don't get it.. worked earlier where i saw the GPU decoder go up but now i can't get it to work.. i ahve no idea why
[06:06:59 CET] <prelude2004c> anyone ?
[06:44:50 CET] <waressearcher2> prelude2004c: hallo
[06:45:20 CET] <prelude2004c> hi
[06:45:26 CET] <prelude2004c> oh a bot :(
[07:01:10 CET] <waressearcher2> prelude2004c: wie geht's ?
[07:02:09 CET] <prelude2004c> what ?
[07:02:40 CET] <waressearcher2> naja
[07:02:44 CET] <waressearcher2> egal
[08:53:29 CET] <_vaibhavingale_> Hi, I am trying to make hls segments using ffmpeg cli. It does create the segments but its not get played by safari or vlc or itunes. can you please tell me where am I doing mistake?
[08:53:47 CET] <_vaibhavingale_> cli and its output: http://pastebin.com/BXrnxfzW
[08:53:58 CET] <_vaibhavingale_> ffmpeg -y -v verbose -i s.m4a -map 0 -codec:a libmp3lame -f ssegment -segment_time 10 -segment_list_flags +live -segment_list hls.m3u8 -segment_format mpegts segment%03d.ts
[08:55:34 CET] <waressearcher2> _vaibhavingale_: hallo
[08:57:10 CET] <_vaibhavingale_> waressearcher2: hi
[08:58:36 CET] <_vaibhavingale_> I am doing audio only encoding.
[09:02:38 CET] <Filko> hello, I want to make code for video processing what will use ffmpeg for encoding and decoding. What coding language will be good for cross-platform (Win & Linux) and not so hard to learn if I'm know coding basics
[09:03:42 CET] <waressearcher2> Filko: hallo
[09:05:25 CET] <Filko> Long ago I learn C++ but had no practice all this time. And for me it is not so easy language
[09:05:53 CET] <Filko> i'm not a developer, just know how to make "hello world" and simple apps
[09:21:07 CET] <_vaibhavingale_> I have cheked the type $file segment000.tc -> segment000.tc: data
[09:22:11 CET] <_vaibhavingale_> If I checked the output of apple's tools output of hls its, file fileSequence0.mp3 -> fileSequence0.mp3: Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v1, 32 kbps, 44.1 kHz, JntStereo
[10:37:22 CET] <bencc> I have a .wmv file that is actually asf playlist
[10:37:30 CET] <bencc> how can I tell ffmpeg that this is asf?
[11:19:52 CET] <sant527> I am not able to convert a recorded video from my setup box. The video plays well in the setupbox. Here are the more details. http://pastebin.com/z3eSH1gQ
[11:31:59 CET] <sant527> Can anyone help me with my question
[11:43:55 CET] <waressearcher2> sant527: hallo
[11:44:14 CET] <waressearcher2> bencc: wie geht's es dir ?
[11:44:31 CET] <sant527> waressearcher: hello
[11:44:39 CET] <JEEB> bencc: ffmpeg doesn't do playlists in general (HLS is a special case and the exception, not the rule)
[11:46:17 CET] <JEEB> and asf itself is for the container you call wmv, as that's what it actually means. the fact that the same name is used for their playlists extension-wise is just unfortunate :)
[11:51:59 CET] <khali> bencc: did you try -f asf before -i?
[11:52:55 CET] <khali> ah sorry just reading JEEB's comment
[11:53:04 CET] <khali> my suggestion won't help then
[12:01:02 CET] <sant527> waressearcher: hello
[12:09:33 CET] <nguydavi> Hi, when extracting subtitles, is it possible to not have the <font> tags ? http://pastebin.com/iHt3d162
[12:19:23 CET] <bencc> thanks
[13:34:28 CET] <anshul_> what is the proper way to print timestamp as overlay?
[13:39:21 CET] <anshul_> these %things dont work for mw
[13:39:23 CET] <anshul_> these %things dont work for me
[13:52:07 CET] <durandal_1707> escape them
[13:52:27 CET] <durandal_1707> Or use filter-script
[14:02:36 CET] <drwx> what's the iframe webui module for?
[14:05:35 CET] <AndrewMock> https://trac.ffmpeg.org/ticket/4284
[14:17:23 CET] <Duality> hi all
[14:17:27 CET] <Duality> ffmpeg is awesome :)
[14:18:13 CET] <DHE> yes. yes it is. :)
[14:18:35 CET] <anshul_> durandal_1707: it looks like %T , %m are removed from source code, I tried till 7 /, as soon as it stop giving error stray %, in overlay it shows like %m not its alternative variable
[14:18:41 CET] <Duality> I made ffmpeg play bad apple on a ledmatrix
[14:20:41 CET] <waressearcher2> Duality: ffmpeg oder ffplay ?
[14:22:35 CET] <Duality> waressearcher2: ffmpeg, i piped the output into a script i made that runs it on a ledmatrix
[14:22:49 CET] <waressearcher2> was ist fur ledmatrix
[14:23:15 CET] <Duality> waressearcher2: and red ledmatrix 96 x 48
[14:23:56 CET] <waressearcher2> warte mal, ist das diese dinge das über alle Las Vegas benutzen ?
[14:24:31 CET] <Duality> waressearcher2: https://youtu.be/QTXkxrPD9WQ
[14:24:35 CET] <Duality> it's not that big
[14:24:52 CET] <waressearcher2> Duality: kennst du DOOM2 um diese Dinge spielen ?
[14:25:27 CET] <Duality> maybe if i get X11grab to work
[14:26:30 CET] <waressearcher2> aber warum sprehst du english eigentlich, kannst do nicht deutche sprehen ?
[14:26:37 CET] <Duality> but you can really play anything on it, you just have to write software that sends its frames to the board
[14:27:15 CET] <Duality> no I can't speak it, but I can understand it a little :D (I am near the German border so .. yea )
[14:28:17 CET] <Duality> I am from the Nethelands :)
[15:04:28 CET] <Duality> jeej i can caputure x11 with ffmpeg and display on the ledboard :)
[15:41:18 CET] <prelude2004c> good morning everyone
[15:41:56 CET] <waressearcher2> prelude2004c: hallo, wie geht's ?
[15:42:14 CET] <waressearcher2> prelude2004c: es ist 0:41am hier
[15:42:20 CET] <waressearcher2> kein morgen
[15:43:05 CET] <waressearcher2> prelude2004c: bist du ein Amerikaner ?
[15:51:13 CET] <Lirk> hi all
[15:51:25 CET] <waressearcher2> Lirk: hallo
[15:51:28 CET] <Lirk> I use ffmpeg for restreaming http stream to rtmp
[15:52:09 CET] <Lirk> but if no connection on http, ffmpeg send error and stops streaming to rtmp
[15:52:28 CET] <Lirk> how i can to set infinity reconnection to http stream?
[15:53:27 CET] <waressearcher2> Lirk: woher kommst du ?
[15:53:48 CET] <furq> Lirk: which rtmp server
[15:53:58 CET] <Lirk> flms
[15:54:02 CET] <Lirk> adobe flms
[15:54:16 CET] <furq> nvm then
[15:54:18 CET] <Lirk> but problem not in rtmp server
[15:54:28 CET] <furq> well no but you can do that with nginx-rtmp exec_pull
[15:54:31 CET] <Lirk> problem in bad http connection
[15:55:02 CET] <furq> but if you're using fms then i have no good suggestion
[15:55:54 CET] <Lirk> main question is: how i can to set infinity reconnection to http stream
[15:56:02 CET] <Lirk> i have INPUT error
[15:57:36 CET] <Lirk> I used -reconnect_streamed described in official doc, but in works only 5 times
[16:19:32 CET] <t4nk072> hi everyone! I would like to know if it is possible to extract the quantized transformed coefficients of a HEVC stream. Help?
[16:19:40 CET] <waressearcher2> t4nk072: hallo
[16:23:43 CET] <max246> hello
[16:24:01 CET] <waressearcher2> max246: hallo Kumpel, wie geht's wie steht's ?
[16:24:15 CET] <max246> I am trying to get my ffmpeg working with a blackmagic capture card
[16:24:46 CET] <max246> I need to achieve some settings to manage to get the live feed working, but it seems very tricky
[16:25:02 CET] <max246> I would like to get some help, to figure out what format is 10bit 4:4:4RGB
[16:26:08 CET] <max246> ffplay -video_size hd1080 -pixel_format uyvy422 -framerate 59.94 -f dshow -i video="Decklink Video Capture" -format x264 show me a black windows
[16:26:25 CET] <max246> but I know that is wrong because I am using uyvy422 instead of the RGB 10bit 4:4:4
[16:26:44 CET] <max246> is someone able to tell me which pixel format is this RGB ?
[16:39:38 CET] <paule32_> hello
[16:40:05 CET] <waressearcher2> paule32_: hallo
[16:40:22 CET] <paule32_> is it possible to add user/pass for several streams?
[16:40:39 CET] <furq> i take it this question is for me
[16:40:43 CET] <paule32_> or must i have different locations with different .httaccess
[16:41:15 CET] <furq> https://github.com/arut/nginx-rtmp-module/wiki/Directives#on_publish
[16:41:52 CET] <furq> i use that with nginx-lua for auth
[16:42:12 CET] <Mavrik> max246, I'm not sure RGB 10-bit is even supported as a pix format atm
[16:42:40 CET] <paule32> furq: i have no plan how to setup it
[16:44:07 CET] <paule32> have i add auth to squid and forward port 3128 to 80 via iptables ?
[16:45:31 CET] <furq> paule32: https://groups.google.com/d/msg/nginx-rtmp/Tv8hQ14tsgE/5REh-oSvMrAJ
[16:45:33 CET] <furq> something like that
[16:46:12 CET] <furq> and stream to rtmp://abc.de/live/mystream?mypassword
[16:53:30 CET] <nguydavi> Hi, when extracting subtitles, is it possible to not have the <font> tags ? http://pastebin.com/iHt3d162
[17:05:40 CET] <prelude2004c> sup guys.. good day
[17:07:07 CET] <prelude2004c> so i got vdpau working with ffmpeg and nvidia... things are well from any source that is mpeg2 and i show the decoder is working and the encoder is working as i transcode it to nvenc h264 .. the problem lies in a source that is h264. The card ( M4000 ) shows it supports h264 decoding but yet the coder does not budge and my cpu's are being used.. Any suggestions. My Code looks like this : ${ffmpeg} -hwaccel vdpau
[17:07:07 CET] <prelude2004c> -i "$stream" -c:v mpeg2video -pix_fmt yuv420p -map 0:p:$6 -threads 0 -slices 4 -c:a ac3 -b:a 128k -f mpegts - | tee ...
[17:22:28 CET] <prelude2004c> anyone ?
[17:32:06 CET] <shincodex> relro option what is the point
[17:32:14 CET] <shincodex> It adds protection on the elf itself?
[17:32:20 CET] <shincodex> does it come with a cost of runtime speed?
[18:08:48 CET] <awidgery> Can anyone help me with ffserver? I have set it up and it works when I pipe in an existing MP3 file, but doesn't work when I pipe in a live feed from a USB microphone. But when I kill the ffmpeg command I hear a half second (or so) of audio from the USB mic that *is* piped through... confused!
[18:10:19 CET] <shincodex> deadlock?!
[18:58:01 CET] <paule32> furq: ?
[18:58:23 CET] <paule32> i have change the config, and restart nginx server
[18:58:42 CET] <paule32> now, i don't get stream to work
[18:59:08 CET] <paule32> i have try my server with/without port
[18:59:16 CET] <paule32> with/without password
[18:59:29 CET] <furq> pastebin the config
[18:59:30 CET] <paule32> but no connection
[18:59:43 CET] <Guiri> Hi gang. i was trying to think of a way to load test an RTMP stream for N-connections. I thought about spinning up ffplay but other than looking for it breaking up, are there any statistics about missed frames I can collect?
[19:03:22 CET] <DHE> shouldn't ffplay log errors to stderr by default if the decoder has an issue?
[19:04:54 CET] <paule32> furq: http://fpaste.org/301236/02670145/
[19:06:24 CET] <furq> are you streaming to rtmp://abc.de/live/mystream?psk=secret
[19:07:59 CET] <paule32> ah, no
[19:09:11 CET] <paule32> ok, furq, it works, thank you
[19:10:10 CET] <paule32> who is working under linux, and want to code a settings editor/project for ffmpeg/nginx?
[19:10:20 CET] <paule32> with me
[19:10:54 CET] <paule32> as framewotk Qt5
[19:11:02 CET] <paule32> with
[19:11:08 CET] <paule32> framework
[19:42:50 CET] <jacob___> Hi is ffmpeg written in C++ or C?
[19:43:10 CET] <shincodex> c
[19:43:28 CET] <furq> jacob___: https://ffmpeg.org/developer.html#C-language-features
[19:43:30 CET] <shincodex> but you can easily tell that shit to suck it
[19:43:37 CET] <shincodex> and just link in libstdC++
[19:45:39 CET] <shincodex> oh but if you were looking in terms of using it in C# then you would have easy time interopping it if you are the type to assume others arn't so good at that.
[20:05:40 CET] <pkeuter> is there a way to do a generate a h264 dash manifest file in ffmpeg? and if so, is it also possible to keep a single mp4 file?
[20:06:33 CET] <rjp421> can i change the listening port of the listening http server for the cmd 'ffmpeg -loglevel info -r 10 -vcodec -s 320×240 -f video4linux2 -i /dev/video0 http://localhost/webcam.mjpeg' ? i want it to listen on 0.0.0.0:1234, changing from 'localhost' doesnt work
[20:20:03 CET] <Mcl0vin> hi folkd
[20:20:07 CET] <Mcl0vin> folks
[20:21:45 CET] <Mcl0vin> can someone please help me join two flv files together, one is a video and the other is audio.
[20:25:30 CET] <rjp421> Mcl0vin, somewhere in https://sonnati.wordpress.com/2011/08/19/ffmpeg-%E2%80%93-the-swiss-army-kn… i think they show how to do that
[20:27:46 CET] <Mcl0vin> rjp421: see now , I extract the vid to .avi then convert it to .h246 , then convert the audio to .mp3 then join everything to .mp4
[20:28:02 CET] <Mcl0vin> it take a while and becoming boaring :)
[20:29:02 CET] <furq> ffmpeg -i video.flv -i audio.flv -c copy dest.mp4
[20:39:44 CET] <triune> Can anyone help me out on combining two filters... I'd like to take the showwaves output of the 2nd command and diffference overlay it over-top the 1st command which has a mandelbrot output :
[20:39:46 CET] <triune> http://pastebin.com/raw.php?i=yEv3DXT1
[20:43:35 CET] <triune> can filters even be combined like this? might have to be 2-pass or even 3, but I'm not sure how to combine them with a difference effect
[20:56:03 CET] <DHE> yes, but you need to fix the syntax.
[20:58:53 CET] <DHE> ugh, sorry I don't have time right now...
[21:00:23 CET] <DHE> you can chain filters semi-arbitrarily using the 'graph' notation where you use semicolons and labels to mark the connected endpoints
[21:04:36 CET] <Filarius> hello, what I can use to easily make video processing code with using ffmpeg for only video encode and decoder? Like I want to develop application what will only work with only RGB frames without need to learn how another things work.
[21:04:57 CET] <Filarius> I'm not so good in C++
[21:05:33 CET] <Mavrik> Yeah, not sure if that's really possible or a good idea.
[21:07:17 CET] <Filarius> last idea I had - use pipes, but it is also will take some time to learn for me
[21:18:36 CET] <jacob___> I am totally into pixel gaming?))
[21:32:28 CET] <triune> DHE: (or anyone else) does that hold true for chaining filters for overlays that apply in an additive/subtractive/multiplicative manner? I've seen how to group multiple filters to different graph regions just nothing similar to what you're referring
[21:51:25 CET] <Mcl0vin> furq: are you still around ?
[21:52:46 CET] <Mcl0vin> i am getting this error : http://pastebin.com/T4PMZTys
[21:54:34 CET] <furq> neither of those codecs are supported in mp4
[21:55:01 CET] <furq> use flv or mkv
[21:55:37 CET] <Mcl0vin> furq: you are refering to the output format right?
[21:55:47 CET] <furq> yes
[21:55:51 CET] <Mcl0vin> gotcha
[21:56:36 CET] <Mcl0vin> furq: that worked !
[21:56:38 CET] <Mcl0vin> thank you
[21:56:50 CET] <TD-Linux> nellymoser and vp6, wow
[21:56:55 CET] <InTheWings> Is that normal that avformat returns AV_NOPTS_VALUE for both pkt pts and dts with raw hevc ?
[21:58:59 CET] <JEEB> sounds like business as usual in raw video land
[21:59:02 CET] <Mavrik> yp
[21:59:15 CET] <Mavrik> no container means no timestamps on the format
[21:59:16 CET] <JEEB> you can go check what L-SMASH Works does with raw streams
[21:59:23 CET] <JEEB> with lavc
[22:00:12 CET] <JEEB> I think it's around https://github.com/VFR-maniac/L-SMASH-Works/blob/master/common/lwlibav_vide…
[22:00:46 CET] <JEEB> not sure if you get the "frame rate" exported with raw hevc
[22:01:08 CET] <InTheWings> everything is set: frame rate and pkt has also correct duration
[22:01:18 CET] <InTheWings> do, at least dts could be inferred
[22:01:31 CET] <JEEB> ok
[22:07:06 CET] <jafa> feeding data through avcodec then feeding the result through a filter graph... on seek I flush avcodec... trying to figure out how to flush the filter graph (it contains video WIP due to deinterlacing)
[22:07:46 CET] <jafa> if I pass the filter graph a NULL buffer (EOF) I can then drain the output ok, but then the graph won't accept any further data.
[22:08:19 CET] <BtbN> re-create it
[22:08:43 CET] <jafa> recreate the filter graph every seek?
[22:08:49 CET] <Mavrik> jafa, did you try with the push flag?
[22:09:08 CET] <Mavrik> there's a flag that always pushes the frames through the graph
[22:09:15 CET] <Mavrik> but recreating it isn't really expensive
[22:09:19 CET] <Mavrik> so you can do that too
[22:09:24 CET] <jafa> tried with NULL (EOF) and push flag
[22:09:56 CET] <jafa> don't have any data to push unless I make up some dummy data
[22:13:25 CET] <jafa> would that just be a matter of calling avfilter_graph_config() again or would the inputs and outputs need to be recreated?
[22:21:07 CET] <jafa> just calling avfilter_graph_config again doesn't work
[22:23:10 CET] <paule32> so, i have start a project for this channel: fftool - downloadable ar http://kallup.net/data/
[22:23:58 CET] <paule32> no functions implemented; only a first thing of twistet minds
[22:24:16 CET] <paule32> any feedback here in this channel
[22:55:49 CET] <shincodex> has anyone done dlopen("libavcodec", RTLD_NOW); and it worked
[22:59:32 CET] <Li> I was able to reduce file size using this command "ffmpeg -i 1.mp4 -vf scale=iw/2:-1 -strict -2 1.mp4" but the text rendered unreadable! is there any better ways to do it?
[23:00:38 CET] <pzich> Are you using x264?
[23:02:01 CET] <pzich> if so, try adjusting the CRF, -crf 1 is lossless (but huge), -crf 51 is super small (but terrible quality): https://trac.ffmpeg.org/wiki/Encode/H.264#crf
[23:02:53 CET] <JEEB> crf 1 has never been lossless
[23:02:58 CET] <JEEB> crf zero is lossless
[23:03:02 CET] <JEEB> (for 8bit)
[23:03:18 CET] <JEEB> -q:v 0 with libx264 is always lossless (8-10bit)
[23:04:44 CET] <pzich> oops, yes I meant 0
[23:18:41 CET] <xintox_> anyone get ESPN streaming to work with ffmpeg?
[23:52:32 CET] <Li> guys I don't even know what you're talking about .. it's just a command syntax I copied paste from online page .. if you want to help please give me the complete modified command line
[00:00:00 CET] --- Wed Dec 16 2015
1
0
[01:10:29 CET] <xintox_> .
[02:10:48 CET] <atomnuker> it's surprising how much swapping the phase of one channel can affect audio
[02:11:31 CET] <atomnuker> talking about headphones here so no cross-channel interference
[02:12:04 CET] <atomnuker> you'd think the brain wouldn't care about the phase of the signal entering either ear
[02:14:31 CET] <atomnuker> but the phase is probably used in determining the location of a noise source
[10:54:15 CET] <cone-144> ffmpeg 03Agatha Hu 07master:f1a889737532: avcodec/nvenc: set slice number to 1 to improve encoding quality
[10:54:15 CET] <cone-144> ffmpeg 03Agatha Hu 07master:758be4575649: avcodec/nvenc: clamp initial qp value to [1, 51]
[11:38:20 CET] <Fyr> guys, is it possible for change NUL in Windows into /dev/null? I always mistype when converting on Windows platform.
[11:39:49 CET] <nevcairiel> NUL is a magic device offered by the OS itself, its not some magic that ffmpeg implements
[11:40:31 CET] <Fyr> nevcairiel, where can I read about this?
[11:49:51 CET] <Compn> Fyr : i dont think you can rename NUL on windows, no
[11:50:00 CET] <Compn> if you are running a pro gram , you can create a named pipe
[11:50:07 CET] <Compn> but it will be //something
[11:50:42 CET] <Compn> if you made a script just define /dev/null as NUL ? :P
[11:51:32 CET] <Fyr> yeah, it looks like it's the only way.
[12:27:40 CET] <nevcairiel> anyone know if i can cheat thunderbird into showing attached patches inline even though their content type is set to octet-stream?
[12:30:54 CET] <nevcairiel> ah found it
[12:30:57 CET] <nevcairiel> mimetype overrides
[12:35:35 CET] <thardin> I'm seeing ML drama
[12:37:03 CET] <nevcairiel> when isnt there any
[12:37:22 CET] <nevcairiel> this mats guy is rather peculiar as it is however
[12:39:12 CET] <thardin> yes. somewhat colorful
[12:39:37 CET] <thardin> a fellow ham operator as well, sm6sxl
[12:43:28 CET] <atomnuker> a ham operator, huh? that explains a lot
[12:43:40 CET] <nevcairiel> why, are they rude by nature?
[12:44:21 CET] <thardin> not the ones I know. but he's a southerner
[12:45:50 CET] Action: atomnuker tries with all his strenght, with all his power not to say anything, and succeeds
[12:46:32 CET] <thardin> perhaps people in here know: where do I figure out how to set up something like a virtual sound card using say alsa?
[12:46:52 CET] <atomnuker> pulseaudio
[12:47:00 CET] <atomnuker> creating a virtual sink is easy
[12:47:16 CET] <nevcairiel> its pretty easy in pure alsa as well
[12:47:17 CET] <thardin> I poked with pulseaudio too. set up a monitor
[12:47:25 CET] <nevcairiel> where do you want teh audio to go
[12:47:45 CET] <thardin> I want to shove it onto a gnuradio flowgraph
[12:48:43 CET] <atomnuker> yeah, gnuradio supports alsa only IIRC and since you can only have 1 main marked alsa-emulation sink in PA it would make things difficult
[12:49:34 CET] <nevcairiel> no idea how gnuradio works, but you could setup an alsa device that pipes the audio somewhere for example
[12:50:39 CET] <thardin> is there something like a patch panel for alsa?
[12:52:19 CET] <thardin> or hm.. I'll put it like this: my current goal is to get freedv to work with hackrf as an RF frontend. I can specify which alsa device to use as the audio source in gnuradio.
[12:52:49 CET] <thardin> fiddled around a bit with ~/.asoundrc so far
[13:03:03 CET] <cone-144> ffmpeg 03Jean Delvare 07master:932cbc846f55: avfilter/vf_delogo: fix show option when clipping
[15:24:46 CET] <J_Darnley> Oh lord. What eldritch abomination is attached to that ticket?
[15:24:59 CET] <JEEB> any comments? https://kuroko.fushizen.eu/patches/ffmpeg/0001-movenc-use-similar-logic-to-…
[15:25:16 CET] <JEEB> (not on my machine with git send-email set up yet)
[15:49:37 CET] <ubitux> http://pastie.org/10632266 so libav is updating its about page?
[15:53:37 CET] <j-b> m
[15:57:24 CET] <atomnuker> m for murder?
[16:06:39 CET] <durandal_1707> ubitux: name calling, who are legends?
[16:07:22 CET] <ubitux> like i know
[16:19:59 CET] <durandal_1707> anybody going to try sofalizer?
[16:20:23 CET] <durandal_1707> its funny name for the filter
[16:25:11 CET] <atomnuker> I'll give it a try
[16:25:17 CET] <atomnuker> libnetcdf seems to be in the debian repos
[16:25:26 CET] <JEEB> hmm, can someone remind me at which point options like maxrate/bufsize are dropped when parsing options?
[16:26:13 CET] <JEEB> because I can see the initial option parsing matches the options, but after the output gets opened the stuff is no longer there so it's being ignored due to flags or whatever
[16:26:35 CET] <J_Darnley> Huh? Are they not global options in the codec context struct?
[16:27:27 CET] <JEEB> yeah
[16:28:22 CET] <J_Darnley> ... I should have phrased that question differently. I'm not sure your answer means. :)
[16:29:22 CET] <JEEB> in the end it should go to the encoder codec context for that stream afaik
[16:29:32 CET] <JEEB> becoming rc_*
[16:31:35 CET] <JEEB> basically my use case is that I'm trying to push -maxrate and -bufsize out with -c copy :)
[16:31:47 CET] <JEEB> they're getting filtered out somewhere along the way
[16:31:55 CET] <J_Darnley> ah
[17:43:20 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:8405b6329463: avcodec/vp8: Do not use num_coeff_partitions in thread/buffer setup
[17:43:20 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:54e94522b899: avcodec/h264_slice: Limit max_contexts when slice_context_count is initialized
[17:43:20 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:1258bdf7f098: avcodec/cabac_functions: Fix "left shift of negative value -31767"
[17:43:20 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:ed3d43367694: avcodec/cabac: Check initial cabac decoder state
[17:43:20 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:0cd23e0d1e89: avcodec/hevc: Check entry_point_offsets
[17:43:21 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:8ef86669ca25: avcodec/jpeg2000dwt: Check ndeclevels before calling dwt_decode*()
[17:43:21 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:c1db1a5ff47f: avcodec/jpeg2000dwt: Check ndeclevels before calling dwt_encode*()
[17:43:22 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:694416e327c2: avcodec/hevc_cabac: Fix multiple integer overflows
[17:43:22 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:4fe6f9f6271c: avcodec/hevc: allocate entries unconditionally
[17:43:24 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:c1d29678f1ca: avcodec/vp3: Clear context on reinitialization failure
[17:43:24 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:6c25411c06a9: avcodec/utils: Use 64bit for aspect ratio calculation in avcodec_string()
[17:43:26 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:fad0748b9221: avcodec/utils: Clear dimensions in ff_get_buffer() on failure
[17:43:26 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:900039e7dc32: avcodec/h264_refs: Check that long references match before use
[17:43:28 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:cf1f615b67a4: avformat/dump: Fix integer overflow in av_dump_format()
[17:43:28 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:07a30246315b: avutil/integer: Fix av_mod_i() with negative dividend
[17:43:30 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:88ccca204ab6: avutil/mathematics: Do not treat INT64_MIN as positive in av_rescale_rnd
[17:43:31 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:fc69fa8474ae: avcodec/mpeg4videodec: Check available data before reading custom matrix
[17:43:32 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:710dccf0360b: avcodec/vp3: always set pix_fmt in theora_decode_header()
[17:43:33 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:d259a0534ee2: avcodec/apedec: Check length in long_filter_high_3800()
[17:43:33 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:86a52988bd50: avutil/mathematics: return INT64_MIN (=AV_NOPTS_VALUE) from av_rescale_rnd() for overflows
[17:43:35 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:da87a699ea9c: avutil/timecode: Fix fps check
[17:43:35 CET] <cone-037> ffmpeg 03Timo Teräs 07release/2.7:76cb34f7f5b8: mpegencts: Fix overflow in cbr mode period calculations
[17:43:37 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:e3ffc7ab4a07: avcodec/vp3: Fix "runtime error: left shift of negative value"
[17:43:37 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:4e80d4bf2558: avformat/smacker: fix integer overflow with pts_inc
[17:43:38 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:bdf79f29db6f: avcodec/wmaprodec: Fix overflow of cutoff
[17:43:39 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:1601420be4b5: avcodec/wmaprodec: Check bits per sample to be within the range not causing integer overflows
[17:43:41 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:d092b7f04ca8: avcodec/dirac_parser: Fix potential overflows in pointer checks
[17:43:42 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:ece3912daf65: avcodec/dirac_parser: Add basic validity checks for next_pu_offset and prev_pu_offset
[17:43:43 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:d17298b666bc: avcodec/dirac_parser: Check that there is a previous PU before accessing it
[17:43:43 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:5af5396970b7: avcodec/hevc: Fix integer overflow of entry_point_offset
[17:43:45 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:dc0bc71471bf: swscale/utils: Fix for runtime error: left shift of negative value -1
[17:43:45 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:0a06e2824a67: avcodec/pgssubdec: Fix left shift of 255 by 24 places cannot be represented in type int
[17:43:46 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:0f331f94c0db: avcodec/jpeg2000dec: Check bpno in decode_cblk()
[17:43:47 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:548a07cdc439: avcodec/vp3: ensure header is parsed successfully before tables
[17:43:49 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:d013f51303de: avcodec/hevc: Check max ctb addresses for WPP
[17:43:50 CET] <cone-037> ffmpeg 03Andreas Cadhalpun 07release/2.7:9a8d2f51cf05: mjpegdec: consider chroma subsampling in size check
[17:43:51 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:8be41ad2bb32: avutil/mathematics: Fix division by 0
[17:43:52 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:5c7ffbbda3e7: avformat/matroskaenc: Check codecdelay before use
[17:43:52 CET] <cone-037> ffmpeg 03Rainer Hochecker 07release/2.7:93fa19addf6d: avformat/utils: estimate_timings_from_pts - increase retry counter, fixes invalid duration for ts files with hevc codec
[17:43:54 CET] <cone-037> ffmpeg 03zjh8890 07release/2.7:a9ce4583dfbb: avcodec/aarch64/neon.S: Update neon.s for transpose_4x4H
[17:43:55 CET] <cone-037> ffmpeg 03Michael Niedermayer 07release/2.7:4aa876f2880c: avformat/mxfenc: Do not crash if there is no packet in the first stream
[17:58:27 CET] <debianuser> thardin: I'm not sure what you need, but in alsa you can do `sudo modprobe snd-aloop` to load a virtual "Loopback" soundcard, which allows you to record from hw:Loopback,1,x whatever you play to hw:Loopback,0,x. Mixing works too, e.g. dmix:Loopback,0,x and dsnoop:Loopback,1,x. Jack/cadence uses it for alsa->jack routing.
[18:30:06 CET] <wyatt8740> Hi, I'm interested in trying to make a filter that takes a video from a capture card that sees video game console 240p frames as 480i fields and outputs a proper progressive video. I've gotten what I want by taking the input, running it through the de-interleaving filter ('il'), outputting to a lossless picture format, using imagemagick to split each output frame into two frames, sequencing them together at double the interlaced fram
[18:30:06 CET] <wyatt8740> erate with ffmpeg, and then (to fix the aspect ratio) nearest neighbor doubling the vertical resolution of the video. but that's a LOT of work for a clean image. ( example output https://www.youtube.com/watch?v=_NaixKn-YcM )
[18:30:18 CET] <wyatt8740> But I've never done a filter before - is there a good guide I should follow?
[18:30:28 CET] <wyatt8740> I know how to write code in C but not extremely well.
[18:37:23 CET] <wyatt8740> or is there already some filter I don't know of and I've just made a rube goldberg method?
[18:41:07 CET] <kierank> yadif has a mode
[18:41:29 CET] <wyatt8740> which one? I tried 1 and 3 and neither worked
[18:41:34 CET] <wyatt8740> despite looking like they should
[18:41:45 CET] <wyatt8740> *despite it looking like they should
[18:44:27 CET] <wyatt8740> specifically, the entire picture would move up and down a pixel with each frame
[18:46:42 CET] <kierank> Need to give yadif a weaved frame
[18:46:53 CET] <wyatt8740> yes, and this was.
[18:47:02 CET] <wyatt8740> wasn't it?
[18:47:04 CET] <wyatt8740> :p
[18:47:24 CET] <wyatt8740> or do you mean a video that isn't marked as 480i
[18:47:44 CET] <kierank> A picture with two fields interleaved
[18:48:07 CET] <wyatt8740> would I use the il filter for that, too?
[18:48:20 CET] <kierank> Depends on source
[18:49:13 CET] <wyatt8740> should I give you a compressed version of my source?what exactly do you mean by that?
[18:49:20 CET] <wyatt8740> my input is a 480i video at 29.97 fps
[18:55:13 CET] <wyatt8740> I'm trying to find one that does what I think you're wanting it to, but nothing's working right kierank. I am pretty sure it's already correctly done
[18:55:21 CET] <wyatt8740> but yadif isn't handling it properly
[18:57:05 CET] <wyatt8740> yadif=3 is making every other frame look smeared/blurred like this http://i.imgur.com/yfkGVPr.png
[18:57:43 CET] <wyatt8740> look at the pokemon center sign
[19:01:11 CET] <wyatt8740> my method gave this, though http://i.imgur.com/DkpfIFy.png
[19:03:58 CET] <wyatt8740> notice that the player sprite is even off horizontally. At no point in my version is the player at that point, in the yadif version he's in between game boy pixels
[19:05:32 CET] <nevcairiel> typical video processing algorithms are usually not optimized for pixel art content like this
[19:05:41 CET] <nevcairiel> so artifacts may be more obvious than on any typical videos
[19:06:11 CET] <wyatt8740> Yeah, and that's why I was asking about writing a filter for it :\
[19:06:33 CET] <wyatt8740> anyway, I'm looking at the 'il' filter code right now
[19:06:41 CET] <wyatt8740> since it's pretty small looking
[19:12:09 CET] <Daemon404> you can do this entirely with avisynth fwiw
[19:12:28 CET] <Daemon404> including point resizing
[19:13:32 CET] <wyatt8740> daemon404: sounds interesting, and I'll look into it. I would love for this to be something I could do with ffmpeg though
[19:13:48 CET] <wyatt8740> daemon404: other problem, I run linux
[19:14:17 CET] <JEEB> vapoursynth then
[19:14:23 CET] <Daemon404> it can probably be done with the ffmpeg cli as-is now, but itll be ugly/painful
[19:14:49 CET] <JEEB> although the live part doesn't fit into avs/vs too well
[19:14:53 CET] <wyatt8740> I'd like to ease the pain because my tiny brain has problems with complex filters.
[19:15:05 CET] <wyatt8740> ('filter_complex')
[19:15:31 CET] <JEEB> (it used to fit into vs until the unlimited frame count thing was removed, although Myrsloik can probably correct me on that)
[19:15:34 CET] <wyatt8740> also, if I could find a way to split the top and bottom portions of a frame into two separate frames with ffmpeg I could do it.
[19:16:50 CET] <wyatt8740> There are lots of people with capture cards like mine and I hear people complaining about it a lot. It even makes some people spend hundreds on cards that properly handle 240p sources
[19:17:24 CET] <wyatt8740> I'd love to be able to go to my default answer of "ffmpeg can do that, it can do anything"
[19:17:58 CET] <wyatt8740> If it weren't for me needing to use imagemagick to split the deinterleaved frames into two frames each, it all could be done with ffmpeg still
[19:18:19 CET] <wyatt8740> the nearest neighbor scaling bit is in swscaler
[19:18:29 CET] <wyatt8740> *swscale
[19:18:43 CET] <durandal_1707> wyatt8740: separatefields?
[19:18:46 CET] <nevcairiel> dont we have a filter for that
[19:19:20 CET] <durandal_1707> or you want add missing pixels
[19:20:02 CET] <wyatt8740> durandal_1707: first off, I get the name. That's Roland's sword, right?
[19:20:15 CET] <wyatt8740> second, looks like that filter may be a winner. Gonna try it
[19:26:32 CET] <wyatt8740> durandal_1707: that gets the frames in the wrong order
[19:26:49 CET] <wyatt8740> I've tried setfields and it doesn't seem to do much unless that needs to go in a filter_complex
[19:27:26 CET] <Daemon404> you can speicfy the order
[19:27:29 CET] <Daemon404> http://ffmpeg.org/ffmpeg-filters.html#separatefields
[19:27:34 CET] <wyatt8740> yes, I tried with setfield
[19:27:45 CET] <wyatt8740> and it didnt work no matter what option i used (tff, bff, prog)
[19:32:45 CET] <wyatt8740> oh derp
[19:32:58 CET] <wyatt8740> doing two 'vf's doesn't run the first one through the second
[19:33:04 CET] <wyatt8740> had to use some labels, appears to work now.
[19:36:01 CET] <wyatt8740> alright, vf "setfield=tff[setfields]; [setfields]separatefields [halfwide]; [halfwide]scale=720x480:flags=neighbor [out]" worked
[19:36:08 CET] <wyatt8740> sorry for wasting time in the -devel channel :p
[19:40:48 CET] <wyatt8740> thanks durandal_1707
[19:40:58 CET] <wyatt8740> that's exactly what I was looking for
[19:56:33 CET] <cone-037> ffmpeg 03Rostislav Pehlivanov 07master:ade31b9424f6: aacenc: switch to using the RNG from libavutil
[20:22:41 CET] <cone-037> ffmpeg 03Michael Niedermayer 07master:997de2e8107c: avfilter/vf_mpdecimate: Add missing emms_c()
[20:38:04 CET] <cone-037> ffmpeg 03Michael Niedermayer 07master:1925eaeaa6f2: avfilter/vf_decimate: change ts_unit to AVRational
[20:52:32 CET] <ubitux> wyatt8740: if that command works for you, you can just do -vf "setfield=tff,separatefields,scale=720x480:flags=neighbor"
[20:56:03 CET] <wyatt8740> great, thanks ubitux
[20:56:16 CET] <cone-037> ffmpeg 03Andreas Cadhalpun 07master:22e960ad478e: golomb: always check for invalid UE golomb codes in get_ue_golomb
[21:47:05 CET] <cone-037> ffmpeg 03Michael Niedermayer 07master:30fe3fd52721: avfilter/vf_decimate: Check that input parameters match
[22:04:39 CET] <cone-037> ffmpeg 03Paul B Mahol 07master:2f12172d6709: avfilter/af_sofalizer: add frequency domain processing and use it by default
[22:35:23 CET] <jamrial> durandal_1707: check the section around line 6000 in configure, you need to add a line for sofalizer now that it depends on avcodec
[22:45:26 CET] <cone-037> ffmpeg 03Paul B Mahol 07master:e8586ecb86f4: configure: add conditional library dependency for sofalizer and showfreqs
[23:24:19 CET] <xintox_> anyone have a fix for this? 'Unable to get key file'
[23:24:32 CET] <xintox_> it fails a few times, then works for about 2 minutes, then crashes on this error.
[23:25:01 CET] <xintox_> there was a thread about 6 months ago about the key file setting a new cookie every 2 minutes. I don't know if its been addressed. but ffmpeg should read in the new cookie
[23:26:19 CET] <Compn> what key xintox_ ?
[23:26:31 CET] Action: Compn afk
[23:39:32 CET] <cone-037> ffmpeg 03Michael Niedermayer 07master:06987dab972e: avfilter/vf_decimate: fix typo in fraction
[23:42:10 CET] <xintox_> Compn: its a neulion key
[23:42:31 CET] <JEEB> what does that have to do with FFmpeg?
[23:42:43 CET] <xintox_> ffmpeg craps out trying to download it
[23:43:47 CET] <JEEB> I'm pretty sure the FFmpeg code base doesn't have neulion mentioned in it... so you might want to actually say what you're doing and if you feel like, it create a bug report with enough information or a way to reproduce
[23:46:53 CET] <xintox_> i thought i did
[23:47:16 CET] <xintox_> the neulion key sets a new cookie every few minutes. it seems ffmpeg is not picking up this cookie for subsequent requests to the keyfile.
[23:47:28 CET] <JEEB> then why did you keep spamming this channel with it :P
[23:48:02 CET] <xintox_> ?
[23:48:14 CET] <xintox_> spamming?
[23:48:24 CET] <xintox_> i asked like 3 times over the past few days.
[23:48:39 CET] <xintox_> nobody responded until now
[23:48:58 CET] <JEEB> because your sentences definitely weren't something you could just stick onto
[23:49:06 CET] <kierank> nobody knows what a neulion key is
[23:49:13 CET] <kierank> you need to explain wtf it is
[23:49:15 CET] <kierank> why you need it
[23:49:17 CET] <kierank> how to test
[23:49:18 CET] <kierank> and open a ticket
[23:49:21 CET] <nevcairiel> note that this channel is for development, not bug reports or user inquiries, so chances of getting a response in here arent that high to begin with
[23:49:21 CET] <JEEB> ^this
[23:49:30 CET] <JEEB> kierank put it well :P
[23:49:40 CET] <JEEB> and bug reports go onto the trac
[23:49:55 CET] <JEEB> (as he said)
[23:50:42 CET] <xintox_> i can't just a link for debugging as they expire. i needed to find a dev who can reproduce this in realtime with a valid link.
[23:50:58 CET] <kierank> why not download the link
[23:51:01 CET] <kierank> to a file
[23:52:50 CET] <J_Darnley> Hey, they bought divx. I didn't even hear about that.
[23:54:04 CET] <xintox_> kierank: what good will that do? the problem is with the server setting a cookie.
[23:54:34 CET] <kierank> then good luck
[23:54:46 CET] <kierank> do a pcap or something
[23:54:51 CET] <xintox_> pcap?
[23:54:59 CET] <kierank> packet capture
[23:55:12 CET] <xintox_> its over https
[23:55:16 CET] <xintox_> i can't get the packets
[23:55:29 CET] <kierank> erm yes you can
[23:55:47 CET] <J_Darnley> They magically appear on your PC without travelling over an interface? Wow. Sign me up!
[23:57:01 CET] Action: J_Darnley leaves
[23:57:13 CET] <xintox_> wha'ts with all the attitude?
[23:57:27 CET] <xintox_> this is issue is talked about all over video forums
[23:57:38 CET] <xintox_> nobody seems to have a fix
[23:57:54 CET] <xintox_> i'm just trying to get to the bottom of it
[23:59:05 CET] <JEEB> well, first of all you've not even once mentioned what on earth you're using out of FFmpeg. I can guess a couple of http-based streaming thingos, but you have definitely not mentioned even one of them. Also, if it's such a big thing, is there a bug report about it on the trac?
[23:59:38 CET] <xintox_> i haven't seen one
[23:59:49 CET] <xintox_> i'm new to ffmpeg. so i'm not sure what lal you need.
[00:00:00 CET] --- Tue Dec 15 2015
1
0
[00:18:34 CET] <icheyne> hi guys. I can't get MP4 files to play on my TV from 2010. It's one of the old xvid/avi playing TVs. The audio stutters a lot. Do you know of any compatibility settings I can try?
[00:21:45 CET] <pzich> icheyne: if it's H.264 compatible and you're talking about trying different profiles, you can try: https://trac.ffmpeg.org/wiki/Encode/H.264#iOS
[00:21:47 CET] <paule32> thx
[00:21:53 CET] <paule32> it works
[00:21:58 CET] <icheyne> hmm
[00:22:02 CET] <paule32> great project
[00:22:36 CET] <paule32> but the encoder is so slooowww
[00:22:40 CET] <icheyne> pzich: OK thank that's worth a try
[00:22:59 CET] <paule32> i have lattency > 5 seconds
[00:23:40 CET] <furq> paule32: are you using rtmp or hls
[00:23:47 CET] <paule32> rtmp
[00:24:47 CET] <furq> https://github.com/arut/nginx-rtmp-module/wiki/Directives#buflen
[00:24:54 CET] <furq> i guess you could try that but it can be overridden by the client
[00:25:13 CET] <furq> hls is much worse for latency fwiw
[00:27:39 CET] <paule32> thx
[00:28:16 CET] <furq> vlc or whatever player you're using should have a configurable buffer size
[00:37:53 CET] <icheyne> pzich that didn't work - thanks though. I'll keep trying.
[00:38:59 CET] <paule32> furq: what are the vlc screen options for a screen rect?
[00:39:23 CET] <furq> idk i only use vlc for testing streams
[00:59:08 CET] <paule32> ah i have done it
[00:59:18 CET] <paule32> -s is for size
[01:01:05 CET] <paule32> and -i :0.0,sx,sy is for screen 0 with sub pixel (start + offset) sx = size x, and sy = size y, so you can hidde things, if you want
[01:01:09 CET] <paule32> cewl
[01:20:50 CET] <TD-Linux> cluelessperson, also note you can set various -speed options to make the encoder go faster.
[01:21:11 CET] <furq> can you set those through ffserver though
[01:21:29 CET] <TD-Linux> no idea
[01:21:57 CET] <TD-Linux> but if you can't it's totally useless :)
[01:22:30 CET] <furq> i don't think that's the thing that makes ffserver useless
[01:22:32 CET] <cluelessperson> TD-Linux, 1. it seems to use a single thread by default.
[01:22:38 CET] <furq> yes it does
[01:23:09 CET] <TD-Linux> furq, well... :)
[01:23:12 CET] <cluelessperson> 2. 4 threads on a 3ghz xeon isn't enough to power webm streaming? wtf
[01:23:24 CET] <furq> it's enough to power webm streaming if you use vp8
[01:23:36 CET] <TD-Linux> and vp9 if you set proper speed options (barely)
[01:23:47 CET] <cluelessperson> furq, ah, maybe this is using vp9
[01:23:48 CET] <furq> last time i tried i got about 5fps on an overclocked i7 at 720p
[01:23:52 CET] Action: cluelessperson checks debugging
[01:23:59 CET] <furq> granted i didn't mess around with speed settings
[01:24:10 CET] <furq> and the multithreading didn't seem to be doing anything
[01:24:21 CET] <TD-Linux> with vp8 I can pretty easy get few hundred fps on my laptop
[01:24:27 CET] <furq> yeah vp8 is much faster
[01:24:48 CET] <TD-Linux> hangouts is trialing vp9... so it's realtime on some systems at least
[01:24:48 CET] <furq> still not as fast as x264 though ;_;
[01:25:40 CET] <kepstin> I suspect that if you tune vp9 to be as fast as vp8, you probably lose most of the efficiency improvements...
[01:25:56 CET] <cluelessperson> how to choose between vp8 and vp9?
[01:26:05 CET] <furq> -c:v libvpx
[01:26:10 CET] <furq> in ffserver i have no idea
[01:26:16 CET] <TD-Linux> kepstin, maybe, but vp9 has some features that are disproportionately good
[01:26:26 CET] <TD-Linux> e.g. not being limited to 4x4 transforms
[01:26:52 CET] <kepstin> right, but then the encoder has to spend more time deciding which type of transform to use :)
[01:27:22 CET] <kepstin> (but with good heuristics, i suppose it could still provide some improvements at the same speed)
[01:27:27 CET] <TD-Linux> yes, but the gains are worth the time spent, especially on higher resolutions
[01:27:35 CET] <cluelessperson> I'm doing this. ffmpeg -i avengers.mp4 -codec:v libvpx -threads 8 test1.webm
[01:27:41 CET] <cluelessperson> and can barely keep up
[01:28:17 CET] <cluelessperson> it IS vp8
[01:28:18 CET] <cluelessperson> wtf
[01:28:30 CET] <kepstin> sure, but if you're doing realtime stuff there is a maximum amount of time you have per frame :)
[01:28:37 CET] <TD-Linux> cluelessperson, specify a speed
[01:28:41 CET] <cluelessperson> 5 FPS
[01:28:56 CET] <cluelessperson> straight up conversion it's outputting 5FPS
[01:29:01 CET] <cluelessperson> that's soo bad
[01:29:01 CET] <furq> which ffmpeg/libvpx version
[01:29:03 CET] <cluelessperson> Stream #0:0 -> #0:0 (h264 (native) -> vp8 (libvpx))
[01:29:03 CET] <cluelessperson> Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))
[01:29:14 CET] <TD-Linux> yeah even with defaults 5FPS doesn't make much sense though
[01:29:34 CET] <cluelessperson> furq,
[01:29:34 CET] <cluelessperson> ffmpeg version 2.4.3-1ubuntu1~trusty6 Copyright (c) 2000-2014 the FFmpeg developers
[01:29:34 CET] <cluelessperson> built on Nov 22 2014 17:07:19
[01:29:41 CET] <furq> yeah that's pretty old
[01:29:44 CET] <TD-Linux> no your libvpx
[01:29:55 CET] <furq> if your libvpx is that old then i'm not surprised it's slow
[01:30:01 CET] <cluelessperson> furq, http://hastebin.com/coseporiwo.pas
[01:30:04 CET] <furq> although maybe a bit surprised it's that slow
[01:30:23 CET] <TD-Linux> ehh I'm still a bit surprised. but cluelessperson, try specifying -speed 2
[01:30:27 CET] <TD-Linux> higher numbers = faster
[01:30:52 CET] <cluelessperson> TD-Linux, the quality is already terrible.
[01:31:01 CET] <furq> yeah because you're not specifying a bitrate or crf
[01:31:12 CET] <cluelessperson> I'll try those options out. bbs
[01:31:15 CET] <cluelessperson> Thank you
[01:31:23 CET] <cluelessperson> friend is bothering me so I might disappear shortly
[01:31:42 CET] Action: TD-Linux notes to set Daala's default quality to crf 5 so that people are amazed by the quality
[01:46:17 CET] <xintox_> anyone familiar with neulion streams?
[01:46:40 CET] <xintox_> they key only downloads after about 5 attemps
[02:31:14 CET] <Guiri> I have a weird issue. I wrote a python script that streams movies using the -concat filter. It works fine on my laptop, ffmpeg installed with Homebrew, but fails on my server, also installed via Homebrew: http://fpaste.org/300445/05658314/
[02:33:32 CET] <Guiri> Perhaps my scaling function isn't robust enough against weird resolutions? http://fpaste.org/300446/45005677/
[02:35:35 CET] <Guiri> It's similar to the last comment here: http://stackoverflow.com/questions/19425674/ffmpeg-concat-and-scale-simulta…
[04:03:38 CET] <cluelessperson> So what's a well support stream format that I should do?
[04:27:51 CET] <cluelessperson> furq, I was specificying a bitrate in ffserver however
[04:34:19 CET] <cluelessperson> How does youtube handle streaming so well?
[04:34:32 CET] <cluelessperson> do they just pretranscode it to a streamable format?
[05:11:25 CET] <kepstin> all the youtube content (except live stuff) is batch transcoded to multiple formats that are ready for streaming, yeah. Youtube servers are just glorified fileservers.
[05:12:19 CET] <kepstin> you upload a video, they start transcoding on multiple machines to maybe 6-8 different audio/video formats depending on video resolution
[05:13:38 CET] <kepstin> they even go back and re-encode old videos into newer formats
[05:22:14 CET] <Guiri> Back, laptop battery died. Any takers on my SAR issue with scale above?
[07:01:25 CET] <xintox_> can anyone play this url? http://content-ausc1.uplynk.com/channel/439e26ab1ca449139fd9d73d1809a562/i.…
[07:04:04 CET] <pinPoint> play?
[07:04:46 CET] <xintox_> stream it with ffmpeg
[07:06:33 CET] <paule32_> good morning
[07:06:36 CET] <pinPoint> erm. I have no idea how
[07:07:19 CET] <paule32_> can i stream a picture in picture? e.g. in corner a webcam, or view and on rest the desktop?
[10:18:55 CET] <xintox_> does anyone know how to pass my own key file to an encrypted stream?
[10:19:05 CET] <xintox_> such that ffmpeg decrypts it in the output?
[10:44:27 CET] <khali> paule32_: I think the overlay filter can do that
[10:44:45 CET] <khali> there are examples in the ffmpeg-filters man page
[10:54:24 CET] <tobylane> I'm changing the location of the ffmpeg libs in a program, and afterwards I get this error dyld: lazy symbol binding failed: Symbol not found: _swr_free
[10:54:31 CET] <tobylane> Expected in libavresample.2.1.0.dylib
[10:55:24 CET] <tobylane> avresample is depending on another dylib that is in the same folder, and where it is looking for (/usr/local/lib)
[11:23:13 CET] <pkeuter> when i have a h264 file which looks fine, and then convert it to uncompressed avi, the video starts jumping all up and down (on tv, not on my computer), so it must have something to do with interlacing, but anyone has an idea on how to fix this?
[12:30:45 CET] <pkeuter> anyone?
[12:31:13 CET] <Fyr> K!
[12:46:54 CET] <khali> pkeuter: we can't help you without more details, starting with the exact command line and the exact output from ffmpeg
[12:47:05 CET] <khali> all that should go to pastebin and you post the link here
[13:47:38 CET] <Nosomy> can someone explain to me why the decoder flac to wav by ffmpeg isn't correct?
[13:48:41 CET] <dv_> define "isn't correct"
[13:48:53 CET] <Nosomy> no same stream.
[13:49:22 CET] <dv_> how exactly? difference in the sample values? length difference? dropped samples? gaps?
[13:49:33 CET] <Nosomy> difference in the sample values.
[13:49:53 CET] <dv_> and you are 100% sure you decode to the exact same sample format?
[13:50:12 CET] <Nosomy> same flac source
[13:50:21 CET] <Nosomy> very diffs wavs outs
[13:50:39 CET] <dv_> I mean, if the flac file contains 24-bit samples, but ffmpeg's wav output uses 16 bit, it will of course be different
[13:50:56 CET] <Nosomy> flac is 16bits.
[13:51:12 CET] <Nosomy> Lav Filters, OpenCodec from Xiph, and Cue Tools, generates correct wavs.
[13:51:33 CET] <dv_> hm, may be a bug indeed then.
[13:55:29 CET] <furq> how are you comparing them
[13:56:34 CET] <Nosomy> Look top the hexadecimal stream in wav.
[13:56:51 CET] <Nosomy> with hexaeditor.
[14:01:52 CET] <Nosomy> is strange, if ffmpeg is based on lavfilters, why the differece?
[14:03:11 CET] <fritsch> lol
[15:34:05 CET] <paule32_> can i customize the string/stream url
[15:34:24 CET] <paule32_> actually i have the application section
[15:34:34 CET] <paule32_> maybe "live"
[15:35:10 CET] <paule32_> then the entry/publish point is: rtmp://server.tld/live/mystream
[15:35:36 CET] <paule32_> but i can't see "mystream" in config file
[15:42:30 CET] <DHE> while I don't have an RTMP server myself, "live" is considered the 'application' name so you might go looking in that direction
[15:43:51 CET] <furq> paule32_: you can publish to anything under rtmp://abc.de/live/
[15:44:08 CET] <furq> if you want to restrict then see nginx-rtmp on_publish
[15:44:50 CET] <furq> assuming your application name is live ofc
[16:49:55 CET] <Nosomy> updated
[16:49:59 CET] <Nosomy> problem solved
[16:52:48 CET] <paule32_> DHE: do you would like a account?
[16:53:13 CET] <DHE> no no...
[16:57:35 CET] <paule32_> so, i can subsi sub application names/streams?
[16:59:22 CET] <paule32_> i don't follow the last session in detail, so i ask it again:
[16:59:59 CET] <paule32_> how can i make the stream faster, but with minimal quality lost
[17:00:28 CET] <furq> pastebin your current ffmpeg command
[17:01:20 CET] <Nosomy> crf?
[17:02:15 CET] <paule32> http://fpaste.org/300661/50108891/
[17:02:46 CET] <furq> use a faster preset
[17:03:01 CET] <furq> i'm surprised you're having speed issues at 640x480 10fps though
[17:03:26 CET] <paule32> what is better? 10, 5, 2?
[17:03:42 CET] <furq> ?
[17:03:49 CET] <paule32> fps
[17:03:59 CET] <furq> better for what
[17:04:08 CET] <paule32> -r 10, -r 5 -r 2
[17:05:01 CET] <furq> i don't know what you mean by "better"
[17:05:09 CET] <furq> lower framerates will encode faster but look worse
[17:05:53 CET] <Nosomy> bitrate value, lol
[17:06:07 CET] <BigD> Figured out how to merge files from my camcorder into a single file - now would like to optimize the file for youtube. ffprobe result of 1 of 3 files http://pastebin.com/Y2ewjDiU
[17:07:39 CET] <Nosomy> make list.txt file 'file01.mp4' in another line: file '02.mp4"
[17:07:45 CET] <BigD> I record my teams soccer games - post them for players to review. Just need to optimize - since it take too long to do.
[17:07:49 CET] <Nosomy> for echa file
[17:07:54 CET] <Nosomy> e to end
[17:07:59 CET] <furq> BigD: i take it you have limited upload bandwidth
[17:08:05 CET] <furq> otherwise there's no reason to optimise for youtube
[17:08:08 CET] <Nosomy> ffmpeg -f concat -i list.txt.
[17:08:13 CET] <Nosomy> -c copy
[17:08:20 CET] <BigD> yes, very limited unfortunately.
[17:08:37 CET] <furq> i would probably just reencode to 720p
[17:08:48 CET] <furq> there's not much difference between 720p and 1080p on youtube
[17:09:07 CET] <paule32> BigD: under Windows?
[17:09:24 CET] <BigD> yes under windows
[17:09:38 CET] <paule32> ask google about "manycam"
[17:09:50 CET] <BigD> code I use: ffmpeg -f concat -i h:\mylist.txt -c copy final.mp4
[17:10:08 CET] <furq> i like how two people have answered the question you said you'd solved
[17:11:02 CET] <furq> anyway i would probably just downscale to 720p at default settings and go from there
[17:11:24 CET] <BigD> furq: default setup on camera?
[17:11:30 CET] <furq> default ffmpeg x264 settings
[17:11:50 CET] <furq> if by optimise you mean reencoding rather than recording it differently
[17:12:06 CET] <BigD> furq: can you get sample ffmpeg please
[17:12:33 CET] <furq> ffmpeg -i source.mp4 -c:v libx264 -vf scale=1280:720 -c:a copy dest.mp4
[17:13:25 CET] <furq> the defaults are -preset medium and -crf 23 which is a good place to start, tweak those as needed
[17:13:33 CET] <BigD> furq: I still need to concat 3 files
[17:14:28 CET] <furq> ffmpeg -f concat -i h:\mylist.txt -c:v libx264 -vf scale=1280:720 -c:a copy dest.mp4
[17:15:09 CET] <BigD> furq: thanks much appreciated.
[17:15:48 CET] <Nosomy> diffs codecs need reencode to concat
[17:16:00 CET] <Nosomy> same codecs you can use copy
[17:16:10 CET] <furq> if they're all from the same camcorder i imagine they're all the same codec and size
[17:16:16 CET] <furq> plus he's reencoding them anyway
[17:16:20 CET] <shincodex> how does this damn library handle putting images from a camera onto a sdl surface and something corrupts
[17:16:27 CET] <Nosomy> i prefer copy
[17:16:38 CET] <BigD> furq; yes all the same codex see http://pastebin.com/Y2ewjDiU
[17:16:39 CET] <furq> good for you
[17:17:14 CET] <shincodex> say I have rtsp stream and if it ever flakes out for a microsecond and come back can pixel buffer for that perticular frame be partial Or no frame at all reject dropped broken
[17:18:33 CET] <Nosomy> camcorder?
[17:18:34 CET] <Nosomy> lol
[17:20:25 CET] <Nosomy> for windows, better capture tool is Fraps (catch all), after is dxtory with utvideo, and for last ffmpeg with screen capturer recorder
[17:21:01 CET] <furq> who are you talking to
[17:21:38 CET] <Nosomy> just comment
[17:24:21 CET] <furq> paule32: fyi -x264opts keyint and -g are the same option, so you probably don't want them to be set to different values
[17:26:29 CET] <furq> there's also no reason to change it from the default unless you care about seeking
[17:28:01 CET] <BtbN> OBS is also decent for capturing on Windows
[17:28:19 CET] <BtbN> (And also on linux/osx, with the multiplatform version)
[17:28:24 CET] <Nosomy> BtbN, only for lossy
[17:28:31 CET] <BtbN> why?
[17:28:33 CET] <furq> doesn't everyone use shadowplay now
[17:28:44 CET] <furq> or whatever the amd knockoff is called
[17:28:51 CET] <Nosomy> x264 lossless in OBS take much cpu yet with ultrafast
[17:28:52 CET] <BtbN> Why would a lossless recording from OBS be any worse than one from fraps/dxtory?
[17:29:04 CET] <BtbN> Use hardware encoding then.
[17:29:20 CET] <Nosomy> Hardware encoding isn't lossless
[17:29:29 CET] <BtbN> yes it is, if you set it into lossless mode.
[17:29:33 CET] <BtbN> And x264 lossless ultrafast takes barely any CPU.
[17:29:48 CET] <BtbN> You trade filesize against CPU usage.
[17:30:09 CET] <furq> i like how people are obsessed with having a lossless step to preserve quality before uploading it to youtube
[17:30:14 CET] <furq> where quality goes to die
[17:30:39 CET] <BtbN> It's usualy more about post-processing it without quality loss
[17:30:55 CET] <furq> it's still going to end up being horribly compressed though
[17:30:58 CET] <Nosomy> because this lossless if possible upload is recommend
[17:33:15 CET] <pepee> I'm running this command to make a video from an image and an audio file, how could I improve the quality of the final video? it looks bad at the start of the output video: ffmpeg -y -loop 1 -r 2/3 -i /tmp/in.jpeg -i /tmp/in.ogg -c:v libvpx -c:a copy -shortest -tune stillimage -f webm /tmp/out.webm
[17:33:25 CET] <Nosomy> BtbN isn't, CQP 0 H.264 Quicksync isn't lossless, although it is much closer to a lossless than x264 crf 1
[17:33:48 CET] <BtbN> No idea about QSV, i don't care about that.
[17:34:04 CET] <BtbN> But i'd be surprised if it doesn't have a lossless setting.
[17:35:09 CET] <shincodex> is there a way to dictate ffplay to receieve frames at a rate so if i say 15fps I get 15 frames in a second.
[17:35:46 CET] <BigD> furq: got [mp4 @ 04c32da0] Codec for stream 1 does not use global headers but container format requires global headers (ffmpeg -f concat -i h:\mylist.txt -c:v libx264 -vf scale=1280:720 -c:a copy dest.mp4)
[17:36:28 CET] <Nosomy> BigD
[17:37:26 CET] <Nosomy> try ffmpeg -f concat -i mylist -c copy -bsf:v h264_mp4toannexb out.mp4
[17:38:37 CET] <BigD> furq: still processing - not sure if that error will affect output file
[17:39:19 CET] <BigD> Nosomy: thanks, I will give that a try afterwards
[17:39:33 CET] <Nosomy> BigD how is your list format?
[17:41:39 CET] <BigD> Nosomy: 3 mp4 files ( one is 4gb, other is 2.6gb and the last one is 600mb)
[17:43:46 CET] <Nosomy> BigD
[17:43:51 CET] <Nosomy> how i use: http://pastebin.com/Bxci4ALA
[17:43:55 CET] <Nosomy> and works
[17:45:00 CET] <Nosomy> the files need stay the same folder of ffmpeg.
[17:45:48 CET] <Nosomy> otherwise you must pass the fullpath
[17:46:42 CET] <BigD> Nosomy: yes, that is what I was using but now trying to reduce video from 1080p to 720p - for uploading to youtube since I have limited upload bandwidth
[17:47:04 CET] <Nosomy> in this case need reencode
[17:47:13 CET] <furq> BigD: you can usually ignore that error
[17:47:29 CET] <furq> and yeah it'll take a while
[17:47:51 CET] <furq> the result should be a lot less than 23mbit though
[17:48:45 CET] <BigD> furq: thanks I will ignore error message, just waiting for it to finish. Anything I can do to speedup.
[17:48:52 CET] <furq> not while it's running
[17:49:14 CET] <furq> you can use -preset fast (or faster/veryfast/ultrafast) but those will make the output file bigger
[17:50:19 CET] <furq> if you're going to do a speed vs size comparison you might want to just use the 600mb input file to test with
[17:50:29 CET] <furq> speed vs size vs quality, rather
[17:50:58 CET] <fritsch> durandal_1707: JEEB thanks again for your help yesterday - it's now finished (with sws_scale jpeg range): https://github.com/xbmc/xbmc/pull/8583#issuecomment-164490025
[17:51:36 CET] <BigD> furq: okay - guess I can't have my cake and eat it. (fast and small file). Agree I will use a small file for testing (speed, size, quality)
[17:51:54 CET] <furq> yeah the settings you use will be a compromise between all three
[17:53:01 CET] <Nosomy> fast and small file = bad quality
[17:53:21 CET] <BigD> furq: will it automatically use multi-threading on a 64 bit processor.
[17:53:25 CET] <pepee> I'm making a video from an image + an audio file, how could I improve the quality of the final video? the 1st frame looks very pixelated, then quality improves with the next frames. cmd is: ffmpeg -y -loop 1 -r 2/3 -i /tmp/in.jpeg -i /tmp/in.ogg -c:v libvpx -c:a copy -shortest -tune stillimage -f webm /tmp/out.webm
[17:53:26 CET] <furq> yes
[17:54:11 CET] <pepee> would I have to make 2 passes?
[17:54:30 CET] <Nosomy> vpx and quality is more hard to hit the both
[17:55:16 CET] <BigD> Nosomy: understand - hence will play around with a small file to see what we can live with - just for player reviews via youtube.
[17:56:19 CET] <Nosomy> pepee, vpx and 2pass is almost necessary
[17:57:35 CET] <Nosomy> small file with good quality requeires slower presets.
[17:57:43 CET] <Nosomy> BigD.
[17:58:19 CET] <Nosomy> *requires.
[17:58:52 CET] <pepee> Nosomy, ah, thanks
[18:01:09 CET] <pepee> is there a way to tell ffmpeg to make two passes by itself, automatically?
[18:01:40 CET] <Nosomy> nop, you need made a script for this
[18:02:02 CET] <Nosomy> or rentered with command
[18:02:40 CET] <Nosomy> *reenter
[18:04:02 CET] <Nosomy> ffmpeg [other params] -an -pass 1 nul
[18:04:02 CET] <Nosomy> ffmpeg [other same before params ] -pass 2 out.file
[18:07:32 CET] <pepee> well, that's sad. libx264 "just works", but vpx doesn't look as good :(
[18:07:56 CET] <Nosomy> vpx default is bad
[18:08:14 CET] <furq> pepee: libvpx uses a really low bitrate by default
[18:08:31 CET] <pepee> what could be an option/workaround?
[18:08:47 CET] <furq> -b:v 0 -crf 20
[18:09:02 CET] <pepee> hmm, thanks, lemme try
[18:09:16 CET] <furq> that crf value might be totally wrong, i know it's not the same for vpx as it is for x264
[18:09:27 CET] <furq> tune it as you see fit, lower numbers = higher quality
[18:09:36 CET] <Nosomy> and inst'.
[18:09:49 CET] <Nosomy> crf of x264 is 1 to 51
[18:09:58 CET] <Nosomy> vpx is 4 to 64
[18:10:22 CET] <Nosomy> the ranges
[18:10:29 CET] <pepee> yep, that looks MUCH better
[18:10:31 CET] <furq> also don't use -crf with 2-pass
[18:11:13 CET] <Nosomy> crf not work with 2pass.
[18:11:19 CET] <furq> right
[18:11:51 CET] <Nosomy> only for make 1pass of 2passes encode work,
[18:13:18 CET] <Nosomy> though who use crf isn't concerned about filesize
[18:14:47 CET] <Nosomy> crf of x264 is float, of vpx is integer, correct furq?
[18:14:59 CET] <pepee> thank you very much, people
[18:27:08 CET] <awidgery> Hi - can anyone help me with a problem with choppy audio RTP streaming over wifi?
[18:28:50 CET] <BtbN> Don't use Wifi.
[18:36:00 CET] <waressearcher2> GPRS ?
[18:36:48 CET] <DHE> wifi sucks. it's unreliable and inconsistent. it might be good for HTTP based streaming like youtube, HLS or .mp4 streaming but not realtime
[18:38:08 CET] <BtbN> A good wifi link and a TCP based protocol can work out ok
[18:40:49 CET] <Mavrik> DHE, RIGHT.
[18:41:02 CET] <Mavrik> except that it works just fine in several environments where high-performance udp streaming is used :P
[18:41:23 CET] <Mavrik> But yeah, in bad envrionments, TCP helps.
[18:43:10 CET] <DHE> but I mean in general. 2.4 GHz wifi is subject to interference from other 2.4 GHz devices, including but not limited to wireless phones, microwave ovens, your neighbour's wifi, and your other neighbour's wifi.
[18:43:18 CET] <DHE> it's not reliable at all
[18:44:02 CET] <Mavrik> Indeed. The person talking about wifi didn't say he's on 2.4GHz though.
[18:44:37 CET] <Mavrik> awidgery, can you use anything else except RTP?
[18:46:54 CET] <waressearcher2> aber warum nicht 5GHz oder 60GHz ?
[18:53:38 CET] <awidgery> Yes, I can use any protocol that will give a reasonably low latency. I'm going from Raspberry Pi - Wifi - iOS app/Mac. The weird thing that is I go RPi - wifi - ethernet - Mac it works perfectly
[18:53:56 CET] <awidgery> I'm on 2.4GHz, yes
[18:57:15 CET] <Mavrik> Hmm.
[18:57:51 CET] <Mavrik> awidgery, try using MPEG2-TS over UDP or MPEG2-TS over TCP
[18:58:03 CET] <Mavrik> That usually gave significantly better results.
[18:58:36 CET] <awidgery> OK so my current command is: ffmpeg -f alsa -i plughw:1,0 -acodec libmp3lame -ab 128k -ac 1 -ar 44100 -f rtp rtp://234.5.5.5:1234
[18:58:46 CET] <mifritscher> hi
[18:58:55 CET] <awidgery> What would you recommend trying?
[18:59:18 CET] <DHE> mpegts over udp needs a throttler
[18:59:33 CET] <mifritscher> why does ffmpeg ignore filters given with vf if streaming to ffserver? if I use it e.g. recording to file or stream it raw via udp it works file
[18:59:47 CET] <shincodex> you ever hit a turtle with your car before]
[19:00:40 CET] <Mavrik> awidgery, -f mpegts udp://234.5.5.5:1234
[19:04:02 CET] <awidgery> Mavrik, that command runs fine on the Pi, but VLC on the Mac refuses to connect. Can you still use the multicast IP with udp:// ?
[19:04:21 CET] <Mavrik> yes, certanly, that's how IPTV works :)
[19:04:58 CET] <awidgery> Hmm weird - VLC refuses to load the stream at all when I point it to udp://234.5.5.5:1234
[19:06:30 CET] <c_14> awidgery: try adding a ?listen to the end when playing
[19:08:17 CET] <awidgery> Mavrik, c:14: OK VLC works if I point it to udp://@234.5.5.5:1234
[19:08:29 CET] <awidgery> The choppiness is (mostly) gone - yay!
[19:08:31 CET] <Mavrik> yp
[19:08:38 CET] <Mavrik> try it with TCP as well
[19:08:49 CET] <Mavrik> it might be more reliable but it could also be significantly worse :)
[19:08:57 CET] <Mavrik> not sure if you can multicast tcp tho
[19:09:02 CET] <Mavrik> you'll have to unicast it
[19:09:17 CET] <awidgery> Mavrik: "tcp://234.5.5.5:1234: Network is unreachable"
[19:09:31 CET] <Mavrik> yeah, do tcp://<machine-ip>:1234
[19:09:38 CET] <awidgery> I've not done unicast - what command do I use for that?
[19:09:39 CET] <Mavrik> and on VLC tcp://127.0.0.1:1234
[19:11:10 CET] <awidgery> "Connection to tcp://191.168.1.201:1234 failed: Connection refused
[19:11:10 CET] <awidgery> tcp://191.168.1.201:1234: Connection refused"
[19:11:43 CET] <awidgery> "Connection to tcp://192.168.1.201:1234 failed: Connection refused
[19:11:43 CET] <awidgery> tcp://192.168.1.201:1234: Connection refused" - 192.168.1.201 is the IP of the Macbook (receiving device)
[19:12:01 CET] <c_14> you need to start the player first
[19:12:03 CET] <c_14> then the streamer
[19:12:07 CET] <c_14> tcp is connection oriented
[19:12:09 CET] <Mavrik> Probably need something listening on that port first :)
[19:12:11 CET] <c_14> you always need the "server" first
[19:13:37 CET] <awidgery> Hmm - that's not going to work anyway for my application - it's a baby monitor, so I want the Pi to be transmitting constantly, and the mobile app to be able to pick up the audio...
[19:13:56 CET] <Mavrik> Well, then you need a better wifi :)
[19:14:37 CET] <c_14> Or make it more complex
[19:15:27 CET] <awidgery> Is there any way to get ffmpeg/VLC to buffer at either end?
[19:15:35 CET] <c_14> By turning the "monitor" into a tcp server that starts streaming whenever clients connect
[19:15:39 CET] <c_14> awidgery: it should do that automatically
[19:16:31 CET] <awidgery> I originally tried using icecast/darkice (using TCP I think) but the latency was 15s+. And a baby can do a lot in 15 seconds :)
[19:24:28 CET] <awidgery> Mavrik c_14 thanks for your help
[19:54:55 CET] <cbsrobot_> wyatt8740: you could also try the http://ffmpeg.org/ffmpeg-filters.html#hqx filter
[19:55:16 CET] <wyatt8740> cbsrobot_: I was the one who requested that filter
[19:55:21 CET] <wyatt8740> but thanks
[19:55:36 CET] <wyatt8740> It's not what I was looking for
[19:56:09 CET] <wyatt8740> ( ee https://trac.ffmpeg.org/ticket/3404 )
[19:56:11 CET] <wyatt8740> *see
[19:56:21 CET] <cbsrobot_> I thought it could help for pixel art - instead of swscale
[19:56:31 CET] <wyatt8740> it only works on lossless video anyway
[19:56:54 CET] <wyatt8740> and interference-ridden analog S-video capture is not exactly ideal
[19:58:52 CET] <wyatt8740> That filter I requested mainly because it wasn't in ffmpeg yet and sometimes it does look cool. But for pixel art sometimes I want it to stay pixelly.
[20:00:00 CET] <llogan> scale=w:h:flags=neighbor
[20:02:27 CET] <hid> hi
[20:02:50 CET] <hid> how can I convert spc music files to wav?
[20:03:32 CET] <furq> with foobar2000
[20:03:38 CET] <furq> or preferably not at all
[20:07:17 CET] <hid> oh I found out deadbeef open them :o
[20:07:25 CET] <hid> thx furq
[20:07:54 CET] <furq> yeah anything good should open them
[20:08:09 CET] <furq> there's no reason to convert them unless you're a fan of using a thousand times more space than you need to
[21:45:53 CET] <MrGlass> If I use options like '-vcodec copy', does that also copy thinks like presets & such? My assumption is thats a transcoder setting & not a codec setting so it wouldn't, but figured I could ask
[21:46:34 CET] <BtbN> It's -c:v, and it can't copy what's not there.
[21:46:36 CET] <TD-Linux> no, it copies the video bitstream exactly, there is no transcoding.
[21:47:35 CET] <TD-Linux> "presets" are an encoder specific setting, they don't have any meaning in a video file
[21:52:42 CET] <MrGlass> hrm, so if I'm trying to use vcodec copy with the -ss command (to segment some video), will it not do a transcode to deal with a keyframe thats before the start time
[21:53:40 CET] <DHE> depends where on the commandline you put the -ss option. Before or after the input file matters
[21:54:12 CET] <MrGlass> after, as part of the output
[21:54:41 CET] <MrGlass> I'm trying to take a file and cut it into 1 minute segments
[22:56:45 CET] <DHE> MrGlass: there is a 'segment' output format you might be able to use.
[23:15:40 CET] <satt> Hey guys, still having an issue with padding - my command is generating negative values sometimes. Pretty new to this still, any help is appreciated!
[23:16:09 CET] <satt> Here's my log/some other details for failed files https://gist.github.com/StoryStar/d720f9a9727a93b20a43
[23:17:19 CET] <satt> I'm concatenating a bunch of different files together. My current filter text looks like this:
[23:17:21 CET] <satt> [$count:v]scale=if(gt(ih\,iw)\,-2\,$VID_WIDTH):if(gt(ih\,iw)\,$VID_HEIGHT\,-2),pad=$VID_WIDTH:$VID_HEIGHT:(ow-iw)/2:(oh-ih)/2,setsar=sar=1/1[v$count];
[23:17:48 CET] <satt> also tried this, but it seemed to cause more issues than it fixed
[23:17:49 CET] <satt> [$count:v]scale=if(gt(iw\,ih)\,$VID_WIDTH\,$VID_HEIGHT):if(gt(iw\,ih)\,$VID_WIDTH\,$VID_HEIGHT),pad=$VID_WIDTH:$VID_HEIGHT:(ow-iw)/2:(oh-ih)/2,setsar=sar=1/1[v$count];
[23:23:48 CET] <xintox_> Unable to open key file
[23:24:00 CET] <satt> other info - the majority of my videos (if not all) are in portrait (cell phone videos mostly), $VID_HEIGHT and $VID_WIDTH are the smallest dimensions of all the inputs
[23:24:07 CET] <xintox_> anyone have a fix for this?
[23:43:27 CET] <llogan> xintox_: how to duplicate issue?
[23:47:38 CET] <xintox_> llogan: can i pm you?
[00:00:00 CET] --- Tue Dec 15 2015
1
0
[01:14:31 CET] <cone-533> ffmpeg 03Paul B Mahol 07master:e6258677ee93: avfilter/af_sofalizer: make it possible to configure speaker elevation
[01:18:25 CET] <philipl_> BtbN: It has got silly yes.
[01:19:04 CET] <philipl> I don't think adding an exception is actually practical. It amounts to relicensing which requires every person with a copyright interest to agree to it.
[01:19:42 CET] <philipl> Andreas' position is, I don't think, a mainstream one.
[01:20:10 CET] <philipl> but I did actually email Bradley Kuhn to see if I could his opinion on the situation. Perhaps he will reply.
[01:27:45 CET] <philipl> BtbN: As a first step, there's no controversy about checking in the header and not changing the licensing mode.
[01:47:19 CET] <cone-533> ffmpeg 03zjh8890 07release/2.8:cd83f899c94f: avcodec/aarch64/neon.S: Update neon.s for transpose_4x4H
[01:47:20 CET] <cone-533> ffmpeg 03Michael Niedermayer 07release/2.8:f87d2617d52c: Changelog: Update
[02:15:06 CET] <cone-533> ffmpeg 03Michael Niedermayer 07master:537e901fe66c: avformat/mxfenc: Fix integer overflow in length computation
[02:15:07 CET] <cone-533> ffmpeg 03Michael Niedermayer 07master:861f47ddf463: avformat/mov: Enable parser for mp3s by old HandBrake
[02:56:24 CET] <cone-533> ffmpeg 03Michael Niedermayer 07master:c62d1780fff8: avformat/hlsenc: Check the return code of avformat_write_header()
[03:30:15 CET] <cone-533> ffmpeg 03Michael Niedermayer 07release/2.8:e3f08d9359c3: avformat/mxfenc: Fix integer overflow in length computation
[03:30:16 CET] <cone-533> ffmpeg 03Michael Niedermayer 07release/2.8:07b43fb69afd: avformat/mov: Enable parser for mp3s by old HandBrake
[03:30:16 CET] <cone-533> ffmpeg 03Michael Niedermayer 07release/2.8:d07f6582018d: avformat/hlsenc: Check the return code of avformat_write_header()
[09:33:32 CET] <xintox_> can someone help me debug a stream. it works about 1/5th the time. but usually fails to get the key.
[09:35:42 CET] <xintox> i can pm stream url
[09:35:54 CET] <xintox> i think the cookies for key requests are not being forwarded on subsequent calls
[09:43:01 CET] <kurosu> hi
[09:43:24 CET] <xintox> hi kurosu
[10:12:20 CET] <fritsch> michaelni: thx for the mp3 fix
[10:12:56 CET] <michaelni> np
[10:14:06 CET] <cone-189> ffmpeg 03Nicolas George 07master:1acc90eaa54a: lavf/tee: fix side data double free.
[13:19:29 CET] <cone-039> ffmpeg 03Paul B Mahol 07master:49d97d9bcab8: avfilter/af_sofalizer: move modulo operation out of loop
[13:19:29 CET] <cone-039> ffmpeg 03Paul B Mahol 07master:780c4223a543: avfilter/af_sofalizer: remove reorder hack
[17:14:09 CET] <ubitux> nlmeans is actually pretty simple (~80 lines of filtering code), but there is really a large room for speedup :p
[17:27:08 CET] <cone-538> ffmpeg 03Michael Niedermayer 07master:b51e7554e74c: avformat/mxfenc: Do not crash if there is no packet in the first stream
[17:57:24 CET] <cone-538> ffmpeg 03Paul B Mahol 07master:f69f050a3168: avfilter/af_sofalizer: fix calculation of split point
[18:14:01 CET] <jamrial> ubitux: http://pastebin.com/Yi3FgbGg
[18:17:27 CET] <ubitux> mmh looking at it
[18:19:29 CET] <atomnuker> https://0x0.st/-kn.jpg
[18:21:51 CET] <cone-538> ffmpeg 03Clément BSsch 07master:5083900b73d1: lavfi/ebur128: apply I dual mono correction only if I available
[18:40:57 CET] <thardin> has anyone successfully set up gnuradio such that it can present audio sources/sinks that freedv can hook into?
[18:41:11 CET] <thardin> err, wrong channel
[18:52:36 CET] <cone-538> ffmpeg 03Paul B Mahol 07master:ac25d1d35e99: avfilter/af_sofalizer: switch comments positions to correct order
[18:56:29 CET] <cone-538> ffmpeg 03Nicolas George 07release/2.8:1450a39ad495: lavf/tee: fix side data double free.
[18:56:30 CET] <cone-538> ffmpeg 03Michael Niedermayer 07release/2.8:95a144ae62b1: avformat/mxfenc: Do not crash if there is no packet in the first stream
[21:42:36 CET] <durandal_170> 16.2 channel layout
[21:42:45 CET] <BtbN> why? how?
[21:49:56 CET] <RiCON> https://en.wikipedia.org/wiki/Surround_sound#/media/File:Sound-10_2.svg
[21:50:12 CET] <nevcairiel> isnt 16.2 the new proposal for modern surround
[22:16:03 CET] <xintox_> hello
[22:16:19 CET] <xintox_> anyone want to help me with a problem?
[22:16:34 CET] <xintox_> ffmpeg crashes like 10 times before it starts reading the stream.
[22:42:26 CET] <xintox_> .
[22:42:56 CET] <atomnuker> hm, what's the stream type?
[23:08:49 CET] <kierank> michaelni: seems your suggestion to support bigger depths works
[23:08:55 CET] <kierank> and I read valid VLCs now
[23:17:09 CET] <michaelni> kierank, great, feel free to commit the vlc patch then, or if you prefer i can push it too ?
[23:21:58 CET] Action: michaelni realizes kierank has no write access?!
[23:25:21 CET] <michaelni> kierank, ive added you to ffmpegteam on videolan git, should work now
[23:30:31 CET] <cone-538> ffmpeg 03Andreas Cadhalpun 07master:28e9b7e8aed9: fate: increase FUZZ by 1 for aac-tns-encode
[23:38:35 CET] <xintox_> atomnuker: neulion
[23:41:51 CET] <xintox_> atomnuker: it works. but it takes about 5-10 attempts before it sticks
[23:57:26 CET] <cone-538> ffmpeg 03Kieran Kunhya 07master:906c0b77164e: get_bits: Support max_depth > 2 in GET_RL_VLC_INTERNAL
[00:00:00 CET] --- Mon Dec 14 2015
1
0
[00:00:07 CET] <klemax> thanks
[00:02:16 CET] <klemax> furq: line 3: COUNT+: syntax error: operand expected (error token is "+")
[00:02:33 CET] <furq> $(()) is a bashism iirc
[00:02:45 CET] <klemax> yeah
[00:03:15 CET] <furq> replace it with expr or run it with bash
[00:04:06 CET] <klemax> I'm running it with bash. btw, ffprobe: unrecognized option 'v'
[00:04:33 CET] <furq> what version?
[00:04:38 CET] <furq> that works fine for me with 2.8.3
[00:05:07 CET] <klemax> FFprobe version 0.6.5, im using rpmforge's package.
[00:05:22 CET] <furq> oh man
[00:05:31 CET] <klemax> yeah, sorry.
[00:05:31 CET] <furq> i'd be surprised if it worked at all then
[00:05:39 CET] <klemax> :)
[00:05:54 CET] <furq> you might be better off replacing ffprobe with mediainfo --Inform="General;%Duration%"
[00:06:00 CET] <furq> then divide by 1000 at the end
[01:04:18 CET] <E-TARD> i need help
[01:04:24 CET] <E-TARD> how do i make this ffmpeg -f dshow -r 30 -video_size 640x480 -pix_fmt yuv420p -rtbufsize 2100M -i video="Logitech QuickCam Pro 9000":audio="Samson C01U (Samson C01U " -profile:v baseline -codec:v libx264 -vb 800k -video_size 640x480 -codec:a aac -ac 2 -ar 44100 -ab 128k -map 0 -f hls -hls_flags delete_segments http://192.168.1.2:8090/feed.m3u8
[01:04:29 CET] <E-TARD> work with ffserver
[01:06:20 CET] <E-TARD> all i need is the <Stream> part of the conf file. i just don't know what to input
[01:07:13 CET] <E-TARD> the server is telling me "[POST] "/feed.m3u8 HTTP/1.1" 404 146"
[01:09:47 CET] <E-TARD> help me :(
[01:10:36 CET] <Prelude2004c> hey anyone here know how to ignore " no screens found " error on xorg ?
[01:11:34 CET] <E-TARD> ffserver help?
[01:12:50 CET] <E-TARD> "[POST] "/feed0.ts HTTP/1.1" 404 146" "[POST] "/feed.m3u8 HTTP/1.1" 404 146" ffserver how to config it
[01:55:07 CET] <E-TARD> there is not much help online when it comes to ffmpeg & there is even less help on the net for FFserver.
[01:55:16 CET] <E-TARD> so can some one help me with ffserver
[02:03:30 CET] <E-TARD> ffserver help?
[02:04:46 CET] <jimby> E-TARD: the list is pretty good about help, but you may have to wait a while to get an answer
[02:05:11 CET] <jimby> i probably do not know the answer, but what is your question?
[02:05:36 CET] <E-TARD> well this is all i got. i can get on the board never got the email for my user
[02:05:58 CET] <E-TARD> ffmpeg -f dshow -r 30 -video_size 640x480 -pix_fmt yuv420p -rtbufsize 2100M -i video="Logitech QuickCam Pro 9000":audio="Samson C01U (Samson C01U " -profile:v baseline -codec:v libx264 -vb 800k -video_size 640x480 -codec:a aac -ac 2 -ar 44100 -ab 128k -map 0 -f hls -hls_flags delete_segments http://192.168.1.2:8090/feed.m3u8
[02:06:13 CET] <E-TARD> all i get is this from ff server
[02:06:15 CET] <E-TARD> Sat Dec 12 17:01:30 2015 192.168.1.2 - - [POST] "/feed0.ts HTTP/1.1" 404 146
[02:06:15 CET] <E-TARD> Sat Dec 12 17:01:32 2015 192.168.1.2 - - [POST] "/feed.m3u8 HTTP/1.1" 404 146
[02:06:18 CET] <E-TARD> why
[02:06:51 CET] <c_14> you want to push to the ffm
[02:06:53 CET] <c_14> not the m3u8
[02:07:13 CET] <E-TARD> ok hold on let me try that
[02:07:24 CET] <c_14> also, most of those options are going to be overridden
[02:07:30 CET] <c_14> by the options set in the ffserver config
[02:08:30 CET] <E-TARD> i'm just useing the ffserver to put out the stream not to change it
[02:08:49 CET] <c_14> doesn't matter
[02:08:59 CET] <c_14> ffserver pushes its options to the client ffmpeg
[02:09:14 CET] <c_14> (unless you use -override_ffserver or something)
[02:09:42 CET] <E-TARD> so i changed it to ffm
[02:09:46 CET] <E-TARD> this si what i get
[02:09:47 CET] <E-TARD> Press [q] to stop, [?] for help
[02:09:47 CET] <E-TARD> av_interleaved_write_frame(): Unknown error00:01.22 bitrate=N/A
[02:09:48 CET] <E-TARD> Last message repeated 1 times
[02:09:48 CET] <E-TARD> [hls @ 0000000004792560] Cannot use rename on non file protocol, this may lead to races and temporarly partial files
[02:09:48 CET] <E-TARD> Error writing trailer of http://192.168.1.2:8090/feed.ffm: Error number -10053 occurredframe= 54 fps= 32 q=33.0 Lsize=N/A time=0
[02:10:05 CET] <c_14> pastebin your ffserver.conf
[02:10:47 CET] <E-TARD> http://pastebin.com/GrdfF91P
[02:11:06 CET] <c_14> feed1.ffm
[02:11:39 CET] <E-TARD> same thing
[02:12:01 CET] <E-TARD> [hls @ 00000000005750e0] Cannot use rename on non file protocol, this may lead to races and temporarly partial files
[02:12:02 CET] <E-TARD> Error writing trailer of http://192.168.1.2:8090/feed1.ffm: Error number -10053 occurredframe= 54 fps= 32 q=33.0 Lsize=N/A time=
[02:12:18 CET] <E-TARD> why is this so hard to do
[02:12:28 CET] <E-TARD> i have been working on this 3 dasy now
[02:12:32 CET] <c_14> what are you even trying to do
[02:12:33 CET] <c_14> that won't work
[02:12:36 CET] <E-TARD> i will kill for a gui
[02:12:42 CET] <c_14> you can't output hls to ffserver
[02:13:09 CET] <E-TARD> how then step by step how in the hell do i do this
[02:13:14 CET] <c_14> do what?
[02:13:22 CET] <E-TARD> ffmpeg -f dshow -r 30 -video_size 640x480 -pix_fmt yuv420p -rtbufsize 2100M -i video="Logitech QuickCam Pro 9000":audio="Samson C01U (Samson C01U " -profile:v baseline -codec:v libx264 -vb 800k -video_size 640x480 -codec:a aac -ac 2 -ar 44100 -ab 128k -map 0 -f hls -hls_flags delete_segments http://192.168.1.2:8090/feed.m3u8
[02:13:29 CET] <E-TARD> web cam hls to the server
[02:13:33 CET] <c_14> that doesn't tell me what you're trying to do
[02:13:52 CET] <E-TARD> stream live webcam using hls to ffserver
[02:13:59 CET] <c_14> that won't work
[02:14:01 CET] <c_14> ever
[02:14:05 CET] <c_14> ffserver doesn't take hls as input
[02:14:17 CET] <E-TARD> ok how about an out
[02:14:36 CET] <c_14> go back a step, what are you trying to do
[02:15:00 CET] <c_14> Stream from a webcam
[02:15:06 CET] <c_14> To where, in what format
[02:15:18 CET] <E-TARD> i am a lifecaster streaming my webcam 24/7 to my viewers. i want to stream hls to from my webcam with ffserver
[02:15:43 CET] <E-TARD> so my viewers can see the feed with hls
[02:15:59 CET] <E-TARD> there are no tuts for this
[02:16:31 CET] <E-TARD> so from ffmpeg to ffserver what should i use
[02:17:33 CET] <E-TARD> so my viewers can see the feed with hls
[02:20:56 CET] <E-TARD> ok so i pulled out all the hls junk out of ffmpeg
[02:20:57 CET] <E-TARD> ffmpeg -f dshow -r 30 -video_size 640x480 -pix_fmt yuv420p -rtbufsize 2100M -i video="Logitech QuickCam Pro 9000":audio="Samson C01U (Samson C01U " http://192.168.1.2:8090/feed1.ffm
[02:21:09 CET] <E-TARD> ffmpeg seems to be happy
[02:21:20 CET] <E-TARD> but ffserver only kind of happy
[02:21:47 CET] <E-TARD> http://192.168.1.2:8090/feed.m3u8 vlc not happy with that link
[02:22:20 CET] <E-TARD> in http://192.168.1.2:8090/stat.html i get WAIT_FEED
[02:23:45 CET] <c_14> What I'd do is get ffmpeg to output hls onto your disk somewhere and then just serve that using a normal webserver.
[02:25:23 CET] <E-TARD> that will not work. one i'm testing this out on my lan for now but later ffserver is going to be on my dedicated at fdcservers.net and I don't want to run a webservice
[02:26:25 CET] <E-TARD> it would seem i got ffmpeg down pat I just need to get ffserver to do it's part & then im done
[02:26:54 CET] <E-TARD> so whats the deal with WAIT_FEED
[02:27:52 CET] <c_14> No idea. Never really use ffserver
[02:28:48 CET] <E-TARD> man the ffmpeg devs really need to stop working on code & start typing up some tut on how to use any of this or make a GUI
[02:29:15 CET] <E-TARD> what good is it to make something if no one knows how to use it.
[02:30:52 CET] <E-TARD> with a power house command line app like ffmpeg there really needs to be TuT's
[02:32:12 CET] <jimby> E-TARD: ffmpeg actually has fairly good documentation for a FOSS project. sure it needs work, just like every other project
[02:32:44 CET] <E-TARD> and i will reply with this "what good is it to make something if no one knows how to use it."
[02:32:52 CET] <E-TARD> lol
[02:44:07 CET] <JEEB> ffserver is one of those things that very few people use and I genuinely feel sorry for those who do
[02:44:31 CET] <JEEB> ffmpeg itself is what people generally care of
[02:44:49 CET] <E-TARD> you feel sorry becasue it sux or no tut?
[02:45:49 CET] <JEEB> because it is almost unmaintained (there's like one or two guys committing into it) and there for whatever reason are people who want to use it who then hit the wall that it's not the streaming server they want :P
[02:46:08 CET] <JEEB> pretty much all streaming can be done with just ffmpeg and possibly a *real* streaming server like one of those *cast ones
[02:46:14 CET] <JEEB> icecast or whatever
[02:46:21 CET] <JEEB> or plugins for nginx/apache
[02:46:40 CET] <JEEB> the moment you try to use ffserver you go into "here be dragons" territory
[02:46:44 CET] <E-TARD> you see it is the streaming server i want. i just have no way to know how to use it
[02:47:25 CET] <JEEB> pretty sure it isn't what you want, you are wishing it is what you'd want
[02:47:37 CET] <E-TARD> ffserver will do what i need to just need info on how to get it working.
[02:47:56 CET] <JEEB> if you are going to do HLS, just do it with a proper httpd which will handle it all for you
[02:48:11 CET] <JEEB> and just output into places the httpd can access
[02:48:57 CET] <E-TARD> times like this i wish i had $800 so i can buy https://evostream.com/
[02:49:06 CET] <JEEB> you can output rtmp for nginx's thing or http for icecast and friends with ffmpeg itself
[02:49:27 CET] <E-TARD> i hate sooooo nginx
[02:49:33 CET] <E-TARD> will not go there
[02:49:43 CET] <JEEB> yet it is very good at what it does, which is serving static files over HTTP(S)
[02:49:56 CET] <E-TARD> i only work lighttpd and apache
[02:49:56 CET] <JEEB> and that is exactly what you need for HLS
[02:50:06 CET] <JEEB> well, whatever fits your fancy
[02:50:24 CET] <JEEB> HLS is literally static files being generated by ffmpeg or whatever else you're encoding with
[02:50:48 CET] <JEEB> I'm pretty sure ffserver cannot make virtual files and let you not have the output on a file system
[02:51:16 CET] <jimby> E-TARD: you might consider VLC media player (https://en.wikipedia.org/wiki/VLC_Media_Player) it purports to support HLS
[02:51:27 CET] <E-TARD> never seen any tuts on doing that with lighttpd or apache. if you know of any let me know.
[02:51:32 CET] <JEEB> jimby: that requires the same thing
[02:51:42 CET] <JEEB> you need a httpd that then serves the files
[02:51:51 CET] <E-TARD> VLC hates me
[02:51:56 CET] <jimby> i don't use the server stuff myself, just the client for playback
[02:51:59 CET] <JEEB> E-TARD: you output the m3u8 and segments somewhere
[02:52:05 CET] <E-TARD> i can get the video working but not sound
[02:52:07 CET] <JEEB> have a httpd share that shit
[02:52:15 CET] <JEEB> ???
[02:52:17 CET] <JEEB> profit
[02:52:32 CET] <JEEB> seriously, that's all. if you need a tutorial for that I'm really really sorry
[02:53:00 CET] <jimby> if you're not getting sound, it's likely you are not coordinating your mixer / record with mixer / playback
[02:53:14 CET] <E-TARD> so it just serves that m3u8 file & thats it?
[02:53:41 CET] <E-TARD> vlc: core debug: using encoder module "x264"
[02:53:41 CET] <E-TARD> core debug: removing module "x264"
[02:53:41 CET] <E-TARD> x264 debug: framecount still in libx264 buffer: 0
[02:53:59 CET] <JEEB> like, if your webroot is /muh_hls/ then you do ffmpeg -i welp -c:v libx264 -c:a aac -crf 23 -maxrate 3M -bufsize 6M /muh_hls/das_stream.m3u8
[02:54:15 CET] <JEEB> and you get das_stream.m3u8 being updated
[02:54:27 CET] <JEEB> as well as das_stream-NUMBER.ts segments written there
[02:54:38 CET] <JEEB> and then you have a player open the m3u8
[02:54:40 CET] <JEEB> done
[02:55:36 CET] <JEEB> HLS literally throws away the good points of actual streaming protocols in order to make use of the large amount of HTTP infrastructure for static files we already have
[02:56:22 CET] <E-TARD> no i know HLS is a step back & RTMP is way better
[02:56:39 CET] <JEEB> I wouldn't call rtmp better in any other way than being an actual streaming protocol
[02:56:48 CET] <E-TARD> lol
[02:56:51 CET] <JEEB> for further documentation on HLS-specific options like setting URLs and shit in the playlists see https://www.ffmpeg.org/ffmpeg-all.html#hls-1
[02:58:38 CET] <E-TARD> thats all i know is rtmp i been doing my cast with crtmpserver for some time but i can stand the bugs in crtmpserver any more & crtmpserver is dead. also flash is dead so for my viewers to view me i got to use what works for them.
[03:00:31 CET] <E-TARD> i sure as hell don't like hls lol
[03:00:50 CET] <JEEB> anyways, HLS isn't brain surgery. make a httpd serve a directory that is write'able by the user running ffmpeg. then point the output towards that dir with a filename.m3u8 output playlist name. voila, you get HLS and you can access it with players through that playlist's URL
[03:01:15 CET] <E-TARD> then thats what i will do
[03:01:45 CET] <E-TARD> one ? does DASH work the same way as hls?
[03:01:52 CET] <JEEB> yes
[03:01:57 CET] <JEEB> you have a playlist
[03:02:04 CET] <JEEB> and then you have initialization segments
[03:02:11 CET] <JEEB> and then you have the actual segments
[03:03:01 CET] <JEEB> but the idea is the same, static files then shared by a httpd
[03:03:08 CET] <E-TARD> i see. thank you for all of your help JEEB jimby c_14
[03:04:08 CET] <jimby> yw - hope you can get it working
[03:04:19 CET] <JEEB> also man do I hate the fact that all of those JS-based DASH implementations suck dongs
[03:04:42 CET] <JEEB> esp. if you hit them with something totally nobody ever thought of
[03:04:47 CET] <JEEB> (sarcastically)
[03:04:58 CET] <E-TARD> oh i know DASH is more 2017
[03:05:09 CET] <JEEB> like, having samples of audio come for .9 seconds before you get video
[03:05:27 CET] <JEEB> that seems to be an incomprehensive idea
[03:05:37 CET] <E-TARD> DASH has a long way to go
[03:08:06 CET] <JEEB> what ffmpeg outputs as-is from static files should work fine since it tries to make both streams start at zero and all, but as soon as you try to do proper broadcast timestamp shit they fall apart in various ways
[03:08:12 CET] <JEEB> chrome wouldn't play at all
[03:08:23 CET] <JEEB> firefox would play but wouldn't let you seek within the first second or so
[03:08:37 CET] <E-TARD> grr
[03:08:48 CET] <E-TARD> something is not working with ffmpeg
[03:08:49 CET] <JEEB> funny enough MS's Edge supports both HLS and DASH natively out of the box
[03:08:54 CET] <E-TARD> ffmpeg -f dshow -r 30 -video_size 640x480 -pix_fmt yuv420p -rtbufsize 2100M -i video="Logitech QuickCam Pro 9000":audio="Samson C01U (Samson C01U " -profile:v baseline -codec:v libx264 -vb 800k -codec:a aac -s 640x480 -ac 2 -ar 44100 -ab 128k -map 0 -f hls -hls_flags delete_segments out.m3u8
[03:09:04 CET] <E-TARD> i open the out.m3u8 with vlc
[03:09:14 CET] <E-TARD> i see the video but nothing is moving
[03:09:28 CET] <E-TARD> it's like a still
[03:09:32 CET] <JEEB> probably waits for the next IRAP
[03:09:41 CET] <JEEB> although it's HLS...
[03:10:11 CET] <JEEB> anyways, fuck this shit - I need at least five hours of beauty sleep and it's 0400 here already
[03:10:14 CET] <E-TARD> it crashed my vlc
[03:10:19 CET] Action: JEEB hits the sack
[03:10:42 CET] <E-TARD> grrr soemthing is worng with m3u8 file
[03:10:56 CET] <E-TARD> .ts files work
[03:22:36 CET] <E-TARD> i have one more hls ? it will be my last one(i'm sure your all sick of me) but if i do ffmpeg hls on my pc how do i get the files over to the webserver?
[03:23:51 CET] <E-TARD> you see i feel this is why i need ffserver
[03:43:34 CET] <E-TARD> anyone?
[03:44:18 CET] <c_14> sshfs
[03:44:20 CET] <c_14> or equivalent
[03:44:49 CET] <E-TARD> eeewww really
[03:45:23 CET] <E-TARD> well thank you
[03:45:28 CET] <E-TARD> now i know
[03:45:38 CET] <E-TARD> so back to ffserver
[03:45:47 CET] <E-TARD> wish me luck
[05:57:33 CET] <xintox> howdy
[05:57:41 CET] <xintox> does anyone stream in here?
[05:57:51 CET] <xintox> trying to find where other streamers hangout
[06:24:18 CET] <waressearcher2> xintox: hallo
[07:10:47 CET] <waressearcher2> xintox: geht's es dir gut ?
[07:27:26 CET] <chovy> anyone know why neulion key requests get dropped after a few minutes?
[07:35:26 CET] <waressearcher2> chovy: hallo
[08:22:43 CET] <chovy> hi
[08:22:48 CET] <chovy> waressearcher2: you again :)
[08:22:49 CET] <chovy> nein!
[08:22:54 CET] <chovy> engriefen!
[08:34:44 CET] <cluelessperson> What causes stuttering in a stream with ffserver?
[08:38:51 CET] <techtopia> not enough bandwidth for the chosen bitrate
[08:43:39 CET] <cluelessperson> techtopia, I'm pretty sure there is though, however.
[08:44:09 CET] <cluelessperson> techtopia, https://cluelessperson.com/stream/
[08:45:47 CET] <cluelessperson> techtopia, it definitely stutters/lags more with more action in the scenes
[09:12:37 CET] <cluelessperson> ffserver is outright skipping
[09:12:46 CET] <cluelessperson> and I've tried changing a lot of configuration options
[09:13:07 CET] <cluelessperson> https://cluelessperson.com/stream/test.conf
[09:36:46 CET] <cluelessperson> so i think the stuttering is due to tFFMPEG being VERY slow
[10:05:18 CET] <xintox> hello
[10:05:31 CET] <xintox> can someone help me figure out why key requests are failing intermittently?
[10:05:54 CET] <xintox> i can play my stream but it craps out frequently.
[10:30:11 CET] <xintox> .
[11:36:44 CET] <kevmitch> i encoded progressive dvd with actual framerate around 23.976, but I used the dejudder filter to smooth it out so that it's essentially constant at that rate
[11:37:47 CET] <kevmitch> this seems to have the desired effect that the real frame rate is 23.976, but ffmpeg -i says 239.76 fps
[11:38:47 CET] <kevmitch> is there any way to fix it so the "container" fps is correct - I'm using mkv
[11:42:52 CET] <waressearcher2> kevmitch: hallo
[12:40:28 CET] <waressearcher2> xintox: ist alles in ordnung Schätzchen ?
[13:12:10 CET] <paule32> hello
[13:12:23 CET] <paule32> i have compile the new 2.8.3 version
[13:12:45 CET] <paule32> after that, i have install it via Makefile
[13:13:08 CET] <paule32> but, when i try to start the ffserver i get this: http://fpaste.org/300278/14500085/
[13:22:25 CET] <waressearcher2> paule32: hallo
[13:23:03 CET] <paule32> hi, you speak german
[13:23:04 CET] <paule32> ?
[13:24:30 CET] <waressearcher2> paule32: ein ganz klein wenig
[13:24:45 CET] <paule32> no problem
[13:25:05 CET] <paule32> have you seen the post?
[13:26:21 CET] <paule32> i don't be run the ffserver
[13:26:55 CET] <paule32> core dump
[13:31:16 CET] <waressearcher2> paule32: ich weiß nicht viel über das ffserver Ding
[13:32:25 CET] <paule32> go to lunch ..
[13:32:36 CET] <paule32> may be others can help
[14:38:37 CET] <fritsch> Is it possible to alloc an AVFrame, give it an external ARGB buffer, width, height, pitch
[14:38:45 CET] <fritsch> and then use that in encode2?
[14:40:54 CET] <fritsch> http://pastebin.com/raw.php?i=s9rvNiba <- i want to avoid using sws_scale to create yet another intermediate buffer
[15:03:51 CET] <durandal_170> fritsch: you pass pointers from AVFrame
[15:04:38 CET] <fritsch> durandal_170: yeah - that's intended
[15:05:41 CET] <durandal_170> then AVFrame is not refcounted
[15:06:13 CET] <fritsch> i think I don't get what you are telling me
[15:06:18 CET] <fritsch> here is perhaps the complete code:
[15:06:37 CET] <fritsch> https://github.com/fritsch/xbmc/commit/94da09cbc0797b72736b0c05c38d632cbc8f…
[15:07:13 CET] <fritsch> generate a jpg from argb data with only ffmpeg
[15:07:14 CET] <fritsch> was the idea
[15:07:25 CET] <fritsch> encode to mjpg and serialize the encoded frame
[15:14:02 CET] <fritsch> durandal_170: https://github.com/fritsch/xbmc/commit/d4380bc664bcf84e5246ee73b0c76110ef1c… <- this is causing a segfault ... cause the encoder somehow things of different planes I think
[15:18:31 CET] <durandal_170> so argb is output format?
[15:22:52 CET] <fritsch> durandal_170: nope it's input
[15:23:10 CET] <fritsch> durandal_170: output is: PIX_FMT_YUVJ420P
[15:25:15 CET] <durandal_170> than I guess some of pointers are not set
[15:25:28 CET] <fritsch> it crashes in ffmpeg
[15:25:30 CET] <durandal_170> for the output
[15:25:39 CET] <fritsch> when it wants to access frame->data[1] and frame->data[2]
[15:25:43 CET] <fritsch> and I have no idea why
[15:25:59 CET] <fritsch> cause it should access it
[15:26:01 CET] <durandal_170> yes, you havent set them
[15:26:07 CET] <fritsch> yeah?
[15:26:10 CET] <fritsch> why should I set them
[15:26:15 CET] <fritsch> i have a ARGB interlaved input
[15:26:23 CET] <fritsch> so online linesize[0] is relevant in my eyes
[15:26:36 CET] <durandal_170> Yuv uses 3 planes for output
[15:26:39 CET] <fritsch> s/online/only/
[15:26:44 CET] <fritsch> but the output is written in avpkt
[15:26:48 CET] <fritsch> if I get this right
[15:27:04 CET] <fritsch> https://ffmpeg.org/doxygen/2.7/group__lavc__encoding.html#gaa2dc9e9ea2567eb…
[15:28:42 CET] <durandal_170> you must call swscale to convert argb to yuv
[15:31:10 CET] <fritsch> that's what I want to avoid :-(
[15:31:17 CET] <fritsch> as that would give me another intermediate buffer
[15:31:35 CET] <fritsch> oki
[15:31:38 CET] <fritsch> will do :-(
[15:32:50 CET] <durandal_170> IIRC swscale can do it inplace
[15:33:49 CET] <fritsch> okay
[15:35:05 CET] <JEEB> if you are so afraid of extra buffers then just encode it with an encoder that can handle RGB or whatever :P
[15:37:05 CET] <JEEB> although you will most probably have libraries do zomg extra memory allocations omg
[15:38:13 CET] <JEEB> ok, generic thumbnailing? what the flying fuck are you being afraid of having input and output in separate buffers...
[15:38:54 CET] <JEEB> also if it's thumbnails they should be in YCbCr originally in most cases since that's what video contains after all... unless you are grabbing the RGB from the video renderer?
[15:39:58 CET] <JEEB> also I deeply recommend the zimg library for many scaling and colorspace conversion routines like that. ffmpeg does have a filter that uses it, but depending on your needs it might be simpler to just use it separately
[15:40:04 CET] <JEEB> https://github.com/sekrit-twc/zimg
[15:40:32 CET] <JEEB> (vapoursynth also lately switched to zimg instead of swscale as the base of its sw colorspace conversion routines)
[15:41:26 CET] <fritsch> JEEB: those are covers ...
[15:41:27 CET] <fritsch> cd covers
[15:42:04 CET] <fritsch> i have input an output in different buffers of course I have ...
[15:42:27 CET] <fritsch> but creating a scale context for some 20000 covers is not really what I want to do
[15:43:13 CET] <JEEB> cd covers in jpeg most probably are YCbCr to begin with, PNG is pretty much the exception in such cases
[15:43:51 CET] <JEEB> but sure, if your workflow autoconverts to rgb then you just have to bite the bullet and convert it to YCbCr with something in order to get JPEG (unless it has an RGB mode)
[15:45:50 CET] <fritsch> jep - the architecture sucks :-) and everyting that reaches that level was an GL Surface before ...
[15:46:00 CET] <fritsch> so back and forth and back and forth
[15:48:34 CET] <JEEB> you could just do the RGB<->YCbCr on the GPU then
[15:49:38 CET] <JEEB> but yeah, for software conversion and scaling there's swscale and zimg
[15:51:09 CET] <JEEB> I think zimg still doesn't have optimized code paths for non-planar RGB though so welp
[15:52:23 CET] <paule32> hello
[15:53:08 CET] <paule32> http://fpaste.org/300278/14500085/
[15:53:15 CET] <paule32> can you help me?
[15:53:28 CET] <paule32> the 2.8 ffserver will not start
[15:53:37 CET] <paule32> 2.8.3
[16:08:21 CET] <fritsch> JEEB: durandal_170 thx it's working
[16:52:54 CET] <tobylane> I'm changing the location of the ffmpeg libs in a program, and afterwards I get this error dyld: lazy symbol binding failed: Symbol not found: _swr_free
[16:53:10 CET] <tobylane> Expected in libavresample.2.1.0.dylib
[17:05:52 CET] <paule32> hello pepee
[17:06:03 CET] <pepee> hello paule32
[17:06:07 CET] <paule32> can you help me to get ffserver work?
[17:07:16 CET] <paule32> i have download 2.8.3, compile, and install it
[17:07:32 CET] <paule32> when i try to start ffserver, i get: http://fpaste.org/300278/14500085/
[17:09:35 CET] <pepee> sorry, I don't know how to use ffserver
[17:09:47 CET] <pepee> but that looks like a serious problem...
[17:10:11 CET] <pepee> I guess you could attach ffserver to gdb and print a backtrace
[17:10:35 CET] <pepee> or submit a bug report and attach your /etc/ffserver.conf
[17:11:53 CET] <paule32> what is the latest stable version?
[17:18:00 CET] <waressearcher2> tobylane: hallo
[17:19:28 CET] <tobylane> Hi
[17:21:44 CET] <tobylane> Should I change the location for the dependancies, x264 and etc, too?
[17:22:10 CET] <waressearcher2> ich habe echt keine ahnung
[17:23:32 CET] <tobylane> Why say it in german
[17:23:38 CET] <furq> that's his gimmick
[17:24:14 CET] <waressearcher2> mistso ein Mist
[17:25:01 CET] <tobylane> No gimmicks please
[17:33:03 CET] <tobylane> So this _swr_free error?
[17:39:23 CET] <pepee> lol @ waressearcher2
[17:42:11 CET] <paule32> waressearcher2: ?
[17:42:15 CET] <paule32> iam back
[17:42:59 CET] <waressearcher2> ta-da ta ta-da ta-da ta ta-da
[17:45:47 CET] <tobylane> waressearcher2 do you help when you feel like it, or always troll?
[17:45:54 CET] <pepee> I assume it's a bot
[17:46:15 CET] <pepee> you should ignore him/her/it, it's always the same...
[18:28:28 CET] <paule32> so
[18:28:43 CET] <paule32> i just eat a little bit
[18:29:09 CET] <paule32> who can help me to bring ffserver up to work?
[20:23:26 CET] <paule32> hello
[20:26:57 CET] <paule32> help needed
[20:27:12 CET] <paule32> where are the helping guys?
[20:31:49 CET] <jimby> paule32: it's sunday afternoon in most places... time for $GameOfChoice and a beer
[20:32:38 CET] <furq> i wouldn't get your hopes up too much for help with ffserver
[20:32:43 CET] <furq> i don't think anybody actually uses it
[20:33:13 CET] <paule32> but there is compiled with ffmpeg
[20:33:51 CET] <jimby> there have been several ffserver discussions in the last few days - and most didn't resolve anything
[20:35:30 CET] <furq> i'm yet to see anyone successfully get help with ffserver in here
[20:36:14 CET] <furq> except that one time when someone was convinced to not use it, which is the best help you can get
[20:38:09 CET] <jimby> paule32: your best bet is to thoroughly read the docs at http://www.ffmpeg.org/ffserver-all.html and the wiki at http://trac.ffmpeg.org/wiki/ffserver
[20:44:15 CET] <BtbN> I still remember ffserver to be a candidate for removal, because it's basicaly unmaintained.
[20:57:16 CET] <paule32> with which software can i build a live stream linux serven then?
[20:57:57 CET] <furq> nginx-rtmp is pretty good
[20:59:52 CET] <furq> it does hls and dash too if you want browser support
[21:00:47 CET] <BtbN> The dash it outputs doesn't work anywhere though
[21:00:49 CET] <BtbN> HLS is fine
[21:01:32 CET] <furq> that might explain why i could never get dash to work
[21:02:02 CET] <furq> but yeah hls does the job if you don't mind having javascript remuxing ts to mp4
[21:02:20 CET] <furq> which i object to on ideological grounds, but it seems to work perfectly well
[21:02:28 CET] <BtbN> dash works if you use an ffmpeg post-processing command that generates the DASH
[21:02:33 CET] <BtbN> the muxer in it is just plain broken
[21:13:14 CET] <paule32> thx BtbN, i could ask it in our chat?
[21:14:12 CET] <DHE2> I thought HLS was better supported in browsers than that...
[21:17:05 CET] <DHE2> guess it's just on mobile platforms... never mind that then
[21:17:25 CET] <furq> DHE2: https://github.com/dailymotion/hls.js/
[21:40:38 CET] <xintox_> .
[22:27:08 CET] <cluelessperson> I have a problem with FFMPEG being EXTREMELY slow
[22:27:14 CET] <cluelessperson> as in it cannot seem to keep up with streaming
[22:27:18 CET] <cluelessperson> through FFSERVER
[22:27:20 CET] <cluelessperson> at 720 P
[22:40:39 CET] <paule32> so, nginx server is compiled and running
[22:40:51 CET] <paule32> now, how can i stream?
[22:42:50 CET] <furq> https://github.com/arut/nginx-rtmp-module#example-nginxconf
[23:28:53 CET] <cluelessperson> I literally have a dedicated server, running this
[23:29:08 CET] <cluelessperson> and it transcodes WEBM too slow to manage 720, 24fps?
[23:30:38 CET] <furq> blame libvpx, not ffmpeg
[23:36:27 CET] <cluelessperson> furq, well, how have others been able to stream in it if it's this slow?
[23:36:43 CET] Action: cluelessperson will try another but still
[23:37:14 CET] <furq> does ffserver even let you enable vp9 multithreading options
[23:37:25 CET] <furq> assuming multithreading works properly now
[23:38:11 CET] <furq> regardless, if you can use x264 then it's an order of magnitude faster in my experience
[23:41:04 CET] <smellycat3> Hello everyone. I've got a problem with the subtitles of a ts DVB recording. I'd like to make a mkv file out of the recording which also contains the subtitles. While this does work in general on one tv channel (french w9 hd) the soft subtitles are in the upper left part of the video after applying "-scodec dvdsub" to the input file. i guess this has to do with the video being 1920x1080 and the subtitles are falsely seens as
[23:41:05 CET] <smellycat3> being for sdtv. thank you for hints!
[23:43:00 CET] <paule32> so, i have install nginx server
[23:43:05 CET] <paule32> start it
[23:43:15 CET] <paule32> and do: http://fpaste.org/300410/45004655/
[23:43:41 CET] <paule32> but after few seconds, the stream break down
[23:44:43 CET] <furq> paule32: if you're streaming to nginx-rtmp then the output url should be rtmp://
[23:44:44 CET] <paule32> i have my hand hold on the nginx getting started
[23:45:02 CET] <paule32> woops
[23:45:09 CET] <paule32> ehm, yeah
[23:48:18 CET] <paule32> when i do it in these format, i get:
[23:48:20 CET] <paule32> rtmp://kallup.net:8080/myapp/mystream: Input/output error
[23:48:59 CET] <furq> are you sure that's the right port
[23:49:22 CET] <furq> if you didn't specify a listen port in the rtmp config block then it's port 1935 (the default)
[23:49:59 CET] <furq> if it is the right port then check the nginx error log
[23:59:35 CET] <paule32> same problem
[23:59:50 CET] <paule32> after frame 48, the stream break down
[00:00:00 CET] --- Mon Dec 14 2015
1
0
[00:47:21 CET] <michaelni> same as in the other functions, the "depth" of the VLC table, that is how many levels of indirection are in it at max
[01:18:55 CET] <cone-281> ffmpeg 03Ganesh Ajjanagadde 07master:b4f1636a4d77: lavc: typo fix cliping -> clipping, saftey -> safety
[09:13:33 CET] <durandal_1707> ubitux: selectivecolor is in wrong section in docs
[13:05:18 CET] <durandal_1707> michaelni, everyone: ok to push sofalizer?
[13:33:46 CET] <michaelni> durandal_1707, probably yes
[13:55:44 CET] <cone-528> ffmpeg 03Michael Niedermayer 07master:b78885a3c5bc: avcodec/aacsbr: Split the env_facs table
[14:02:28 CET] <cone-528> ffmpeg 03Clément BSsch 07master:09a8b6691c77: doc: fix selectivecolor filter position
[14:35:21 CET] <cone-528> ffmpeg 03zjh8890 07master:c18176bd551b: avcodec/aarch64/neon.S: Update neon.s for transpose_4x4H
[15:23:19 CET] <kierank> anyone familiar with the vlc bitstream reader?
[15:23:20 CET] <kierank> michaelni: ?
[15:23:25 CET] <kierank> still can't get it to read properly
[16:02:48 CET] <cone-528> ffmpeg 03Jean Delvare 07master:ec11cfdf75d8: avfilter/vf_delogo: Use AVPixFmtDescriptor.nb_components
[16:04:41 CET] <michaelni> kierank, did you try to define TRACE ? maybe that shows something that points to where the problem is, that assumes you use vlc functions which support trace
[17:57:44 CET] <kierank> michaelni: thanks, TRACE doesn't match hex editor at all :(
[17:58:40 CET] <jamrial> kierank: icc doesn't seem to like some of your dirac changes: http://fate.ffmpeg.org/report.cgi?time=20151211004622&slot=x86_64-linux-gnu…
[17:59:40 CET] <jamrial> "dirac_get_arith_uint overflow"
[17:59:49 CET] <kierank> jamrial: fixed in the next commit
[17:59:52 CET] <jamrial> probably miscompilation, since older versions work fine
[18:00:00 CET] <jamrial> ah good
[18:06:39 CET] <kierank> hmm no the vlc reader gets it right
[18:06:40 CET] <kierank> hmmm
[18:20:29 CET] <kierank> michaelni: sorry for more questions but the bits read are correct but the RL value is nonsense, any idea how to debug that
[18:22:30 CET] <kierank> the bits aren't a correct VLC though
[18:22:55 CET] <michaelni> maybe av_log() the values as the init code reads them and see if that matches what they should be
[18:23:34 CET] <kierank> my VLCs are quite large though
[18:23:39 CET] <kierank> 27 bits maximum
[18:24:09 CET] <michaelni> what values are used for depth and bits or what they where called ?
[18:24:11 CET] <cone-528> ffmpeg 03Carl Eugen Hoyos 07master:7c1c453ce9f0: lavf/matroskadec: Set codec_tag also for audio codecs.
[18:24:40 CET] <kierank> michaelni: that's the init: http://pastie.org/private/vdr7pyok5vqg0rhf3lh4pg
[18:24:58 CET] <kierank> http://pastie.org/private/si7nd6pn5egcg3y0iglgw
[18:25:01 CET] <kierank> here is how it's read
[18:26:20 CET] <kierank> GET_RL_VLC with TRACE does int show = SHOW_UBITS(name, gb, 24);
[18:26:23 CET] <kierank> doesn't look like enough
[18:27:57 CET] <michaelni> iam not sure GET_RL_VLC supports depth = 3
[18:28:08 CET] <michaelni> only 1 and 2 maybe
[18:29:39 CET] <michaelni> its probably relatively simple to add support for 3 just see how GET_VLC does it
[18:29:48 CET] <kierank> I get a segfault with a larger VLC_BITS
[18:30:54 CET] <michaelni> what value of VLC_BITS segfaults ?
[18:31:03 CET] <kierank> 14
[18:32:03 CET] <kierank> hmm looks like assert isn't working
[18:32:18 CET] <kierank> that was why
[18:34:27 CET] <michaelni> also need_update for GET_RL_VLC() probably needs to be 1 for 14 bits
[18:35:47 CET] <kierank> still gets the read wrong
[18:36:26 CET] <kierank> TRACE shows: 11000011 195 8 0/-4 rlv
[18:36:28 CET] <kierank> that's not valid
[18:45:51 CET] <BtbN> I lost track of that nvenc discussion. So I basicaly add that exception to the header in nvenc.c, and everything is fine?
[18:52:12 CET] <JEEB> yeah, that thread kind of went woo-woo
[18:52:30 CET] <JEEB> I think it would have to be a license change on the whole piece of software, no?
[18:52:39 CET] <JEEB> if one goes that way
[18:52:58 CET] <JEEB> just like applications have exceptions to GPL for openssl
[19:30:08 CET] <cone-533> ffmpeg 03Michael Niedermayer 07master:625b582d5a91: avcodec/aacsbr_template: Add Check to read_sbr_envelope()
[20:18:21 CET] <cone-533> ffmpeg 03Vicente Olivert Riera 07master:1dcd96f72f77: mips: remove --mips64r6 configure option
[20:18:22 CET] <cone-533> ffmpeg 03Vicente Olivert Riera 07master:88d66f691a4c: mips: add i6400 core optimizations
[20:18:23 CET] <cone-533> ffmpeg 03Vicente Olivert Riera 07master:69e80d6ce42c: mips: i6400 core does have an FPU, so not disable it
[20:54:47 CET] <JEEB> durandal_1707: out of interest, why doesn't this use zimg for the YCbCr->RGB conversion? a bit older version of FFmpeg, but still... https://kuroko.fushizen.eu/samples/410p_with_zimg.log
[21:02:38 CET] <Daemon404> because packed rgb is not a valid output for zscale and it chooses teh shortest path
[21:02:41 CET] <Daemon404> probably.
[21:02:43 CET] <Daemon404> a guess.
[21:02:58 CET] <Daemon404> you may be able to force it
[21:03:38 CET] <durandal_1707> yes, use gbrp, no rgb24
[21:04:17 CET] <JEEB> ah, ok
[21:04:34 CET] <durandal_1707> I'm waiting for simd optimised packed rgb from zimg
[21:07:31 CET] <JEEB> interesting message from swscaler with gbrp
[21:07:46 CET] <JEEB> [Parsed_zscale_0 @ 0x39c0d20] w:16 h:16 fmt:yuv410p sar:1/1 -> w:16 h:16 fmt:gbrp sar:1/1
[21:07:49 CET] <JEEB> [swscaler @ 0x39cec80] Forcing full internal H chroma due to input having non subsampled chroma
[21:08:04 CET] <JEEB> next being the auto-inserted scaler
[21:08:13 CET] <JEEB> which is from gbrp to rgb24
[21:08:26 CET] <JEEB> although I guess that is correct, although that shouldn't have separate chroma planes
[21:08:46 CET] <nevcairiel> unless there is a specialized converter, it always goes through yuv
[21:09:53 CET] <cone-533> ffmpeg 03Paul B Mahol 07master:0a19538bcf40: avfilter: add SOFAlizer audio filter
[21:11:36 CET] <durandal_1707> JEEB: there should use unscaled version
[21:12:00 CET] <durandal_1707> its just shuffling bytes
[21:12:12 CET] <JEEB> yeah, that's what it should be doing :)
[21:12:38 CET] <JEEB> would have been surprised if it was actually doing RGB->YCbCr->RGB for gbrp->rgb24
[21:13:16 CET] <durandal_1707> I mean output should be same when doing gbrp->rgb24 and vice versa
[21:20:21 CET] <JEEB> oh, trying with avfilter input seems to assert in zimg :)
[21:20:30 CET] <JEEB> ffmpeg -f lavfi -i "color=color=white:size=16x16" -frames:v 1 -vf "zscale,format=yuv410p" 410p_zimg.png
[21:21:07 CET] <JEEB> Assertion `(!(src->plane[0].stride) || (src->plane[0].stride) % zimg::ALIGNMENT == 0) && ("buffer stride not aligned")' failed.
[21:33:24 CET] <cone-533> ffmpeg 03Paul B Mahol 07master:d62e979b8ccb: avfilter/af_sofalizer: display some info when loading sofa file
[21:35:12 CET] <durandal_1707> JEEB: that's lavfi nonsense
[21:58:22 CET] <cone-533> ffmpeg 03Paul B Mahol 07master:7dc469f3423e: doc/general: add missing @tab for ADPCM VIMA
[23:24:28 CET] <cone-533> ffmpeg 03Lvqier 07master:93d336fb076a: avformat/segment: Fix memory leak of cur_entry.filename
[00:00:00 CET] --- Sun Dec 13 2015
1
0
[01:23:37 CET] <Prelude2004c> hey everyone.. i installed a new version of fffmpeg.. when i try to pull up a UDP input it just sits there and doesn't actually get signal.. anyone know why ?
[01:23:56 CET] <Prelude2004c> is there something i a missing.. i have a route for 239.0.0.0/8 to the proper input
[01:24:07 CET] <Prelude2004c> and the stream is there so... just odd that it does this with this new version
[01:24:27 CET] <llogan> perfrom a git bisect to see if it is a regression
[01:24:49 CET] <Prelude2004c> i did use git to get it
[01:24:56 CET] <Prelude2004c> not sure how to do that
[01:25:21 CET] <Prelude2004c> http://pastebin.com/n1GGxmzF
[01:25:23 CET] <Prelude2004c> that is all it does
[01:25:34 CET] <llogan> git help bisect
[01:26:04 CET] <llogan> can anything else sucessfully connect to the input stream?
[01:26:21 CET] <Prelude2004c> well this is a new install so... but i saw this before where my older version did fine.. very odd
[01:26:30 CET] <Prelude2004c> let me get 2.8.3 instead of git
[01:29:11 CET] <Prelude2004c> ehhh same thing..
[01:29:15 CET] <Prelude2004c> let me revisit this to be sure
[01:30:07 CET] <Prelude2004c> oh PISS ME OFF>. nevermind default iptables :P
[01:49:08 CET] <Prelude2004c> of course my luck now i can't get vdpau working too :( .. of course X still doesnt' load... my life oh my life
[01:49:18 CET] <Prelude2004c> 3 OS systems and still same issue
[01:49:19 CET] <Prelude2004c> unreal
[03:39:34 CET] <goto_cwda> ohai
[03:40:46 CET] <goto_cwda> I'd like to extract a frame from a video and get it into my python program, momentarily I'm saving it to frame.jpeg and load it again
[03:41:27 CET] <goto_cwda> since thats not a nice idea, I'd like to get the jpeg right into my pipe from my python subprocess call
[03:43:03 CET] <c_14> Use mjpeg and a pipe?
[03:43:26 CET] <goto_cwda> hm
[03:44:16 CET] <jimby> is there a *really good* tutorial on creating complex filters?
[03:44:43 CET] <goto_cwda> c_14: http://mjpeg.sourceforge.net/
[03:44:50 CET] <goto_cwda> c_14: this one?
[03:44:50 CET] <c_14> jimby: trial and error?
[03:45:03 CET] <c_14> goto_cwda: what, no. The mjpeg output format
[03:45:08 CET] <goto_cwda> ?
[03:45:20 CET] <c_14> mjpeg is a video format which is basically just a bunch of jpeg frames in a row
[03:45:31 CET] <c_14> format/codec
[03:45:55 CET] <c_14> So call ffmpeg in your script, and use -f mjpeg pipe:1 and it will output a stream of jpegs to stdout
[03:47:07 CET] <goto_cwda> ffmpeg -ss 00:03:45 -i Videos/testvid.mkv -vframes 1 -v 0 -f mjpeg pipe:1 ?
[03:47:08 CET] <jimby> c_14: yeah, trial and (error *10**12) is what i've been doing. looking for something a little more informative
[03:47:28 CET] <c_14> jimby: the manpages? what exactly are you having issues with
[03:47:45 CET] <c_14> goto_cwda: without the vframes
[03:47:50 CET] <goto_cwda> y?
[03:47:56 CET] <c_14> unless you only want 1 frame
[03:48:12 CET] <goto_cwda> c_14: jup
[03:48:35 CET] <goto_cwda> c_14: I need this command only for one frame a time
[03:49:02 CET] <goto_cwda> nIcE
[03:49:04 CET] Action: jimby sees that c_14 is a popular guy today :-)
[03:49:22 CET] <c_14> goto_cwda: then it should be fine
[03:49:31 CET] <goto_cwda> c_14: well it works
[03:49:35 CET] <goto_cwda> u great
[03:49:40 CET] <goto_cwda> * r
[03:49:41 CET] <goto_cwda> :D
[03:50:24 CET] <jimby> c_14: i'm looking to do something similar to the "#30:Filtering Introduction" in the ffmpeg-all document. but i would like to use multiple inputs (2 or even 3) instead of splitting just one
[03:52:02 CET] <goto_cwda> c_14: now that I have a solution, I find the others right away: http://zulko.github.io/blog/2013/09/27/read-and-write-video-frames-in-pytho…
[03:52:40 CET] <c_14> -filter_complex '[0:v]split[v00][v01];[1:v]split[v10][v11];[2:v]split[v20][v21];<things>' <- jimby
[03:52:52 CET] <goto_cwda> c_14: it would be better to take a raw format for my piping instread of jpeg or am I wrong there?
[03:53:05 CET] <jimby> c_14: oooohh... looks nice. i'll check it
[03:53:26 CET] <c_14> goto_cwda: usually, yes. you could also use yuv4mpegpipe
[03:53:37 CET] <c_14> Depends if you want the data in yuv or RGB I suppose
[03:54:38 CET] <goto_cwda> so '-f', 'image2pipe',
[03:54:39 CET] <goto_cwda> '-pix_fmt', 'rgb24',
[03:54:47 CET] <goto_cwda> should be better
[03:55:02 CET] <jimby> basically, i want to overlay a scaled input from a camera (of my handsome mug) on top of a screen grab using x11grab
[03:55:13 CET] <goto_cwda> c_14: I make some useless stuff with pixels and colours
[03:56:56 CET] <c_14> goto_cwda: should be ok though I'd just use -f rawvideo. Not sure if there's any noticeable difference though
[03:57:46 CET] <goto_cwda> c_14: I'll try both
[03:57:47 CET] <c_14> jimby: -filter_complex [0:v]scale=x:y[v];[v][1:v]overlay=<some_options>[v]
[03:57:55 CET] <c_14> eh
[03:58:15 CET] <c_14> jimby: just don't accidentally name two pads the same thing (the output pad should have a different name there)
[03:59:10 CET] <jimby> c_14: ok, lots to try here. i'll give an update in a few mins
[04:06:05 CET] <goto_cwda> thank you c_14
[04:35:28 CET] <jimby> c_14: hmmmm.... i keep getting "filter scale has an unconnected output"
[04:35:41 CET] <c_14> what's your current commandline?
[04:35:54 CET] <jimby> c_14: here is my command line: ffmpeg -i output.mpg -i Fighter.mpg -filter_complex [0:v]scale=interl=-1:w=iw/4:h=ih/4[v];[v][1:v]overlay[v] out.mkv
[04:36:20 CET] <c_14> ye, that's the thing I said with the making sure you don't have two pads with the same name
[04:36:31 CET] <c_14> rename the last output pad to [vout] or something
[04:36:36 CET] <jimby> output.mpg is the small overlay i want on the larger fighter.mpg
[04:36:40 CET] <c_14> (and make sure to map it)
[04:37:19 CET] <jimby> so ... overlay[foo] -map'[foo]' out.mkv ???
[04:37:57 CET] <c_14> yep
[04:38:02 CET] <c_14> and if you want an audio track, map that too
[04:38:07 CET] <c_14> eh
[04:38:12 CET] <c_14> with a space between map and '[foo]'
[04:38:13 CET] <jimby> still giving me the "filter scale has unconnected output" error
[04:38:44 CET] <jimby> spacte - yes i have htat
[04:38:45 CET] <jimby> that
[04:38:58 CET] <c_14> Can you upload the complete command and console output to a pastebin service?
[04:39:08 CET] <jimby> one sec
[04:42:16 CET] <jimby> ok, i added single quotes and got a video... not the one i wanted, but it's progress.
[04:42:20 CET] <jimby> ffmpeg -i output.mpg -i Fighter.mpg -filter_complex '[0:v]scale=interl=-1:w=iw/4:h=ih/4[v];[v][1:v]overlay[foo]' -map '[foo]' out.mkv
[04:42:35 CET] <jimby> notice the single quotes for the filter
[04:43:05 CET] <c_14> swap the [v] and the [1:v]
[04:43:20 CET] <c_14> I think the overlay comes second
[04:43:43 CET] <jimby> trying that now.. :-)
[04:45:00 CET] <goto_cwda> I just flooded my /tmp with thousands of frames -.-
[04:45:06 CET] <jimby> yeah !! - that's working. i just need to tune the aspect ratio on the scaling
[04:45:15 CET] <jimby> thanks c_14!
[04:45:20 CET] <goto_cwda> sometimes, thinking before coding helps a lot
[04:45:22 CET] <goto_cwda> :D
[04:46:28 CET] <DMJC> what should av_register_protocol2 be replaced with?
[04:49:40 CET] <jimby> goto_cwda: xargs is your friend
[04:51:52 CET] <goto_cwda> jimby: ?
[04:52:04 CET] <goto_cwda> jimby: I use xargs
[04:52:09 CET] <c_14> DMJC: probably just av_register_all
[04:52:17 CET] <DMJC> thanks
[04:52:25 CET] <goto_cwda> :) but way before I get to the whole frame stuff
[04:52:37 CET] <goto_cwda> now I should measure some timings
[04:52:55 CET] <goto_cwda> probably I just won some milliseconds
[04:54:13 CET] <goto_cwda> usually my code needs between 140ms and 270ms to finish a frame
[04:54:42 CET] <goto_cwda> which is awfully slow, regarding the terabytes waiting to be converted
[04:54:43 CET] <goto_cwda> :)
[05:04:52 CET] <goto_cwda> ok
[05:06:05 CET] <goto_cwda> it may be, that the time measuring in python with datetime.now is not that correct, but I didn't get any improvement
[05:06:12 CET] <goto_cwda> which is sad
[05:06:40 CET] <goto_cwda> at least mycode does not write on the ssd anymore, which is good
[05:07:17 CET] <pinPoint> would nv_cuda encoding work faster than a hexacore in ffmpeg/win10?
[05:07:31 CET] <xintox> has anyone been able to use neulion streams with ffmpeg? I find it will work like every 10th time and then usually craps out after 30 seconds.
[05:21:21 CET] <waressearcher2> xintox: hallo
[05:23:39 CET] <xintox> waressearcher2: hey
[05:24:09 CET] <waressearcher2> xintox: wie geht's ?
[05:25:42 CET] <xintox> waressearcher2: Ich bin gut ... Suche nach etwas Hilfe mit ffmpeg und NeuLion
[05:57:57 CET] <xintox> waressearcher2: you use ffmpeg?
[06:46:46 CET] <waressearcher2> xintox: ja
[07:00:53 CET] <xintox> waressearcher2: can you open a stream? can i PM you?
[07:02:13 CET] <waressearcher2> xintox: nein
[07:03:46 CET] <waressearcher2> weil weiß ich nur ein weniger über ffmpeg
[08:53:18 CET] <waressearcher2> bleib in ruhe
[12:51:03 CET] <sulaiman> hello.
[12:51:59 CET] <sulaiman> I am trying to build opencv 3.0, and getting and i'm getting "ld: library not found for -lavcodec" even though I have ffmpeg installed (through brew)
[12:53:00 CET] <sulaiman> the ffmpeg i have is compiled with the following flags, http://pastebin.com/w1Fu0eJg
[12:55:44 CET] <fritsch> your need ffmpeg-dev
[12:56:39 CET] <sulaiman> oh, i forgot to mention i'm on a mac
[12:57:14 CET] <fritsch> then no idea - your chose the pain when you bought the mac :-)
[13:06:22 CET] <hero_biz> hi guys
[13:07:11 CET] <hero_biz> guys, I wonder if you know a way to reduce audio noise in ffmpeg?I saw a lot of search results in google,but were not able to find a good way.
[13:10:28 CET] <durandal_1707> hero_biz: what kind of noise?
[13:11:19 CET] <hero_biz> it is a conversion but has a lot of noise around it....somehow like air sound.
[13:11:32 CET] <durandal_1707> sox have 2pass plugin in frequency domain
[13:12:14 CET] <durandal_1707> I didn't ported it to lavfi
[13:12:54 CET] <hero_biz> hmm...ok :)
[13:13:03 CET] <hero_biz> then I need to get sox and use it?
[13:14:44 CET] <sulaiman> fritsch, but it's so shiny.
[13:15:08 CET] <sulaiman> fritsch, I reinstalled fmpegg with --with-fdk-aac, --with-faac flags, and that error went away
[14:38:37 CET] <Kartrel> so I have this: ffmpeg -i filename.mkv -c copy -c:s mov_text output.mp4, now I'm trying to change the subtitle size (the output files subtitles are way too small), how would I do that?
[14:45:29 CET] <waressearcher2> Kartrel: hallo
[14:45:37 CET] <Kartrel> hello
[14:45:48 CET] <waressearcher2> Kartrel: wie geht's ?
[14:45:54 CET] <Kartrel> gut
[14:48:35 CET] <furq> Kartrel: mov_text is a text subtitle format, the size is controlled by the player
[14:48:48 CET] <Kartrel> furq, okay
[15:11:30 CET] <Bombo> is there a way to extract the audio stream to a single file without providing an .ext? like 'if audioformat==aac save to *.aac' 'if audioformat==mp2 save to *.mp2' i mean without parsing ffmpeg outpüt before
[15:13:34 CET] <Bombo> just with ffmpeg magic?` ;:=
[15:13:36 CET] <Bombo> ;)
[15:13:52 CET] <JEEB> not really
[15:15:12 CET] <Bombo> ok i'll write a bash script then...
[17:34:45 CET] <jonascj> HI all. I am looking to rotate this video by 180deg http://paste.linux.chat/view/e4c7ef4d . Should I just do '-vf "hflip,vflip"' or do I need "hflip,vflip,format=yuv420p" like some superuser posts suggest?
[17:37:32 CET] <jonascj> can you copy the video and audio, or does it need to be reencoded when flipping it?
[17:38:09 CET] <furq> mp4 has a rotation flag you can set
[17:38:12 CET] <furq> otherwise you need to reencode
[17:38:25 CET] <durandal_1707> can copy
[17:38:28 CET] <durandal_1707> Audio
[17:38:31 CET] <furq> -c copy -metadata:s:v:0 rotate=90
[17:38:37 CET] <furq> or rotate=180 rather
[17:38:41 CET] <jonascj> furq: the flag just tells the player to flip it when playing?
[17:38:44 CET] <furq> right
[17:39:04 CET] <furq> although player support isn't universal for it afaik
[17:39:51 CET] <jonascj> furq: that "-metadata..." is for setting the flag?
[17:39:56 CET] <furq> yes
[17:40:12 CET] <jonascj> does this seem resonable for reencoding it? ffmpeg -i input.mp4 -vf "hflip,vflip,format=yuv420p" -metadata:s:v rotate=0 \
[17:40:17 CET] <jonascj> -codec:v libx264 -codec:a copy output.mkv
[17:40:36 CET] <furq> you don't need to set the flag if you're reencoding
[17:41:04 CET] <furq> you also might want to check that it doesn't already have the flag set to 180
[17:41:07 CET] <furq> in which case you can just remove it
[17:41:12 CET] <furq> idk if that shows up in ffprobe but it does in mediainfo
[17:41:19 CET] <jonascj> http://paste.linux.chat/view/e4c7ef4d
[17:41:27 CET] <jonascj> this is "ffmpeg -i input.mp4"
[17:41:42 CET] <furq> like i said i don't know if it shows up there
[17:41:54 CET] <jonascj> ah
[17:41:55 CET] <jonascj> sorry
[17:42:14 CET] <jonascj> I suppose it doesn't have it set becaues VLC does not rotate it. It shows the video upside down
[17:57:41 CET] <jonascj> For the video I was trying to rotate 180deg; ffmpeg specify the video stream as yuvj420p but the filter option recommended in various superuser posts is "format=yuv420p". Is there any difference between yuv420p and yuvj420p?
[18:32:36 CET] <durandal_1707> jonascj: limited vs full range
[18:53:25 CET] <arunpyasi> hello anyone around ??
[18:53:33 CET] <arunpyasi> superdump: are you there?
[20:36:53 CET] <arunpyasi> hello anyone around ??
[20:36:55 CET] <arunpyasi> hello guys, I needed help regarding installation of ffmpeg php extension in ubuntu server ! please help
[20:39:15 CET] <JEEB> arunpyasi: that has nothing to do with ffmpeg itself
[20:53:37 CET] <arunpyasi> JEEB: Hm.. ok but why is an application saying that it doesn't get ffmpeg installed though its setup correctly !
[20:55:18 CET] <JEEB> then look at that application's log or something? if that doesn't inform you, then go check what it actually does :P
[20:55:34 CET] <JEEB> off-topic here in any case
[21:01:35 CET] <lavalike> can ffmpeg re-encode an http stream on the fly and serve the re-encoded version?
[21:04:31 CET] <c_14> What do you mean with "serve the re-encoded version"
[21:04:34 CET] <realies> how is this type of distortion called? http://45.media.tumblr.com/38bbd32c8c6e3e0f90ce0cb8f46e6b92/tumblr_nz5mpqJK…
[21:04:56 CET] <realies> it seems that the keyframe is f-ed up with some other video, but is there a term?
[21:05:14 CET] <lavalike> c_14: as in not dump the contents to a file, but serve it again as an http stream
[21:05:38 CET] <c_14> as long as you only have 1 client, sure
[21:05:47 CET] <c_14> If you have more, get an http server
[21:06:02 CET] <lavalike> I do! I can't find what I need to do in order to use such sources, I only know how to re-encode files
[21:06:33 CET] <lavalike> (use an http source and produce http stream output, I mean)
[21:07:20 CET] <c_14> ffmpeg -i http://blah -listen 1 http://<server>:<port>
[21:07:52 CET] <lavalike> !
[22:41:08 CET] <E-TARD> I'm trying to find a FFmpeg/FFserver TUT for HLS live streaming, from a webcam. Does anyone know of any?
[22:41:52 CET] <E-TARD> i god the webcam part down but the hls part no
[22:42:02 CET] <E-TARD> *got
[22:43:18 CET] <furq> E-TARD: https://www.ffmpeg.org/ffmpeg-formats.html#hls-1
[22:43:28 CET] <E-TARD> been there done that does not help
[22:43:52 CET] <E-TARD> i'm looking for a Tutorial
[22:45:19 CET] <E-TARD> so no one knows of any?
[22:46:24 CET] <E-TARD> ð
[22:54:29 CET] <E-TARD> Can someone look at what I'm trying to do & tell me where I'm going wrong?
[22:54:30 CET] <E-TARD> http://pastebin.com/iCwczMrv
[22:57:50 CET] <furq> don't use ffserver for hls
[22:57:57 CET] <E-TARD> why
[22:58:05 CET] <furq> just point any http server at the directory containing the m3u8 file
[22:58:35 CET] <E-TARD> ok and what about the ffmpeg part
[22:59:00 CET] <furq> i'm pretty sure the output file should be .m3u8 not .ts
[22:59:23 CET] <E-TARD> m3u8 is just a play list
[22:59:25 CET] <furq> also you're using segment muxer options with the hls muxer
[23:00:16 CET] <E-TARD> the Command i'm using is what i have found after looking how to do this for the last 3 days!
[23:00:25 CET] <furq> https://www.ffmpeg.org/ffmpeg-formats.html#hls-1
[23:00:29 CET] <furq> it is pretty much that simple
[23:00:31 CET] <E-TARD> i have been to 100s of web pages
[23:00:34 CET] <furq> aside from codec options and whatnot
[23:01:29 CET] <E-TARD> so what like this
[23:01:30 CET] <E-TARD> ffmpeg -f dshow -r 30 -video_size 640x480 -pix_fmt yuv420p -rtbufsize 2100M -i video="Logitech QuickCam Pro 9000":audio="Samson C01U (Samson C01U" -profile:v baseline -codec:v libx264 -vb 800k -codec:a libmp3lame -s 640x480 -ac 2 -ar 44100 -ab 128k -map 0 out.list
[23:02:05 CET] <furq> if the output file extension isn't m3u8 then you probably have to specify -f hls
[23:02:25 CET] <E-TARD> ffmpeg -f dshow -r 30 -video_size 640x480 -pix_fmt yuv420p -rtbufsize 2100M -i video="Logitech QuickCam Pro 9000":audio="Samson C01U (Samson C01U" -profile:v baseline -codec:v libx264 -vb 800k -codec:a libmp3lame -s 640x480 -ac 2 -ar 44100 -ab 128k -map 0 -f hls out.list
[23:02:29 CET] <E-TARD> like this?
[23:02:34 CET] <furq> sure
[23:02:42 CET] <furq> i have no idea about the dshow stuff but otherwise that looks fine
[23:05:12 CET] <E-TARD> the dshow i know for a fact works
[23:05:14 CET] <E-TARD> but
[23:05:30 CET] <E-TARD> with this -map 0 -f hls out.list where is the file
[23:05:49 CET] <furq> in the same directory as out.list
[23:05:58 CET] <E-TARD> oh shit i see now
[23:06:07 CET] <E-TARD> i got file to delete
[23:06:11 CET] <E-TARD> lol
[23:06:47 CET] <E-TARD> how do i tell it where to put them?
[23:07:15 CET] <furq> like i said, the segments go in the same place as the playlist
[23:11:30 CET] <E-TARD> so when i run i get some out0.ts and a out.list but no m3u8
[23:11:55 CET] <E-TARD> this is why a real tut for just doing this needs to be made
[23:12:11 CET] <furq> you're specifying out.list as the playlist name
[23:12:14 CET] <E-TARD> or even better a gui
[23:12:35 CET] <E-TARD> i'm doing what that like you gave me told me
[23:12:39 CET] <E-TARD> link
[23:12:46 CET] <furq> the link says "out.m3u8"
[23:13:41 CET] <E-TARD> grr i forgot -delete_segments soo many files
[23:15:43 CET] <E-TARD> player like the ts file but not the out.m3u8
[23:28:59 CET] <cluelessperson> So I'm using FFSERVER with FFMPEG to stream video through WEBM
[23:30:19 CET] <cluelessperson> I have three problems. 1. It stu tter s, an d that' s anno ying. 2. Audio doesn't work, if I enable it, I just get nothing. 3. The WebM shows a screwed up time, 3453:234 or whatever, how can I fix these?
[23:31:42 CET] <E-TARD> i need to know how to feed the out.m3u8 to ffserver im not going to run a webserver
[23:32:45 CET] <cluelessperson> E-TARD, one moment
[23:33:12 CET] <E-TARD> :)
[23:33:48 CET] <cluelessperson> E-TARD, ffmpeg -i avengers.mp4 http://127.0.0.1:10000/1.ffm with ffserver running, of course on your ip and port
[23:33:53 CET] <cluelessperson> and stream name
[23:34:56 CET] <E-TARD> ffmpeg -f dshow -r 30 -video_size 640x480 -pix_fmt yuv420p -rtbufsize 2100M -i video="Logitech QuickCam Pro 9000":audio="Samson C01U (Samson C01U " -profile:v baseline -codec:v libx264 -vb 800k -codec:a libmp3lame -s 640x480 -ac 2 -ar 44100 -ab 128k -an -flags -global_header -f hls -hls_time 10 -segment_list_type hls -segment_list_size 10 -hls_flags delete_segments out.m3u8 http://127.0
[23:34:56 CET] <E-TARD> .0.1:8090/feed.ffm
[23:34:59 CET] <E-TARD> like that
[23:36:06 CET] <cluelessperson> E-TARD, with FFserver, you have two options. You can configure the server to determine the encoding options for you, and it'll pass it down to ffmpeg, or you can do hat you did and specify encoding yourself
[23:36:43 CET] <E-TARD> for me the ending part is what i'm asking about
[23:36:44 CET] <cluelessperson> E-TARD, oh, take out the out portion
[23:36:51 CET] <E-TARD> oh ok
[23:36:59 CET] <E-TARD> i had a feeling
[23:37:05 CET] <cluelessperson> E-TARD, in your case, the http://host:port is the out
[23:37:15 CET] <E-TARD> thats what i was thinking
[23:37:19 CET] <cluelessperson> /something.ffm
[23:37:20 CET] <E-TARD> thank you soo much
[23:37:20 CET] <cluelessperson> :)
[23:38:59 CET] <E-TARD> I dont know if there are any admins or mods from the http://ffmpeg.gusari.org/index.php in here or not but if there is: i have been w8ing for 2hr for my activation e-mail. i use gmail.
[23:39:30 CET] <cluelessperson> E-TARD, Resend?
[23:39:36 CET] <E-TARD> did that
[23:39:39 CET] Action: cluelessperson isn't a mod
[23:39:43 CET] <E-TARD> got nothing
[23:39:46 CET] <cluelessperson> sorry, I need to head out, lunch with friend
[23:39:50 CET] <cluelessperson> late
[23:39:51 CET] <E-TARD> np
[23:39:53 CET] <E-TARD> bye
[23:40:39 CET] <E-TARD> to any admins or mods you may want to look into that, thats all.
[23:41:30 CET] <E-TARD> thanks for all the help form everyone in here :D you have been big help to me.
[23:45:56 CET] <klemax> Hi.
[23:47:16 CET] <klemax> I have 6000 video files. I want to calculate the total duration of all videos in my hand.
[23:47:23 CET] <klemax> Is there a way to do it?
[23:48:38 CET] <ethe> klemax: ffprobe -show_format input | sed -n '/duration/s/.*=//p' http://superuser.com/questions/361329/how-to-get-length-of-video-file-from-…
[23:49:20 CET] <klemax> humm.
[23:51:29 CET] <furq> the answer below that is probably better
[23:52:00 CET] <klemax> ffprobe -i some_video -show_entries format=duration -v quiet -of csv="p=0" ?
[23:55:47 CET] <furq> http://sprunge.us/TdjY
[23:55:49 CET] <furq> something like that
[23:58:03 CET] <klemax> its not opening
[23:58:24 CET] <furq> it'll take a while with 6000 videos
[23:58:45 CET] <klemax> no i dont mean it
[23:58:50 CET] <klemax> the web page is not opening
[23:58:54 CET] <furq> oh
[23:59:10 CET] <furq> try refreshing, sprunge is a bit flaky sometimes
[23:59:13 CET] <klemax> can you pastebin it on http://ffmpeg.pastebin.com/?
[23:59:55 CET] <furq> http://pastebin.com/raw.php?i=1GWtFfcU
[00:00:00 CET] --- Sun Dec 13 2015
1
0
[00:07:13 CET] <cone-185> ffmpeg 03Andreas Cadhalpun 07master:ff8816f7172b: aacsbr: ensure strictly monotone time borders
[00:07:14 CET] <cone-185> ffmpeg 03Andreas Cadhalpun 07master:a9c20e922cee: sbrdsp_fixed: assert that input values are in the valid range
[00:07:15 CET] <cone-185> ffmpeg 03Andreas Cadhalpun 07master:fdc94db37e89: sbr_qmf_analysis: sanitize input for 32-bit imdct
[00:15:31 CET] <cone-185> ffmpeg 03Paul B Mahol 07master:df2ce130a65c: avfilter/af_aemphasis: more declarations above
[00:45:14 CET] <philipl> What a hilarious conversation this is becoming.
[00:49:20 CET] Action: J_Darnley wonders which one
[01:09:57 CET] <philipl> J_Darnley: the gpl nvenc one
[01:10:11 CET] <J_Darnley> ah
[01:31:39 CET] <ethe> Hi, I registered for the trac a few hours ago, but I havent received my confirmation email? I've checked the email, it is the right email; checked my spam as well. Any ideas?
[01:44:41 CET] <J_Darnley> ethe: stick around and I'm sure someone can help you.
[02:09:15 CET] <ethe> J_Darnley It's really late, so I'll be back tomorrow. My email is: joshh(a)protonmail.ch
[02:09:32 CET] <J_Darnley> fine
[02:09:34 CET] <J_Darnley> ...
[02:10:11 CET] <J_Darnley> I'm sure someone can find that account.
[02:19:32 CET] <J_Darnley> :O ... :(
[02:40:36 CET] <kierank> michaelni: in build_vlc what does symbols_wrap mean?
[02:49:46 CET] <kierank> and what does TEX_VLC_BITS mean?
[02:51:04 CET] <kierank> seems to just be a number plucked from thin air
[02:55:08 CET] <michaelni> *_VLC_BITS is the table size, that with the "depth" of the tables is restricted by how long the longest VLC is, beyond that tuning the value allows adjusting between resolving a VLC with a single lookup or requireing smaller tables and CPU data cache
[02:56:15 CET] <kierank> how does that relate to symbols_wrap?
[02:56:25 CET] <michaelni> the parameters to build vlc (if i dont mix things up) specifiy the vlc table layout like data type, space beteen elements
[02:59:42 CET] Action: michaelni afk (will awnser any remaining questions tomorrow) [the table layout was meant as the input to build vlc]
[03:00:56 CET] <beastd> J_Darnley: Trac account verification is pending for ethe . Maybe mail delivery took its time. I will look if it is still pending tomorrow.
[03:01:44 CET] <J_Darnley> Okay. If I see him when I wakeup I will pass on the message.
[03:02:12 CET] <beastd> ok. thanks.
[09:28:32 CET] <khali> hello
[11:52:24 CET] <durandal_1707> anybody tried sofalizer?
[12:22:48 CET] <rcombs> hey who do I complain to about dumb mov things
[12:22:57 CET] <rcombs> MOV chapters are dumb
[12:22:59 CET] <BtbN> Apple
[12:23:27 CET] <rcombs> "it's a subtitle stream with a 'frame' at the start point of each chapter containing the title"
[12:23:43 CET] <rcombs> that's silly but what's sillier is lavf exposing it as a normal subtitle stream
[12:23:55 CET] <rcombs> and not providing any way of identifying it as such (as far as I can tell)
[12:24:20 CET] <rcombs> not sure if we should avoid exporting the stream at all, or just add an AV_DISPOSITION or some shit
[12:24:27 CET] <nevcairiel> i think its possible to identify such streams, if they are muxed properly
[12:24:47 CET] <nevcairiel> and if identifiable, it should just make chapters out of it, and not expose the stream
[12:24:53 CET] <nevcairiel> i thought we could detect them
[12:24:58 CET] <rcombs> we do detect them
[12:25:01 CET] <rcombs> and make chapters out of them
[12:25:07 CET] <rcombs> but it's also exported as a regular AVStream
[12:25:37 CET] <rcombs> I think it's because the bit that tells us it's a chapter stream comes after the actual track definition atom
[12:26:00 CET] <rcombs> so there'd be some awkward juggling required to remove a stream at that point
[12:26:23 CET] <rcombs> maybe just call it AVMEDIA_TYPE_DATA
[12:26:55 CET] <rcombs> I just want a way to detect and ignore it
[12:28:38 CET] <nevcairiel> a disposition might be the easiest non-breaking way
[12:29:25 CET] <rcombs> yeah, seems easy enough, if a bit silly from an API perspective
[12:30:05 CET] Action: rcombs hands nevcairiel the Hard Problem of naming it
[12:44:15 CET] <khali> does ffmpeg rely on a library to write still pictures (-f image2)?
[12:47:54 CET] <nevcairiel> khali: no
[12:50:49 CET] <khali> nevcairiel: not even for jpeg? I see it links with libopenjpeg
[12:51:26 CET] <nevcairiel> it uses that optionally for decoding or encoding, not for writing files
[12:51:35 CET] <nevcairiel> but its not a required dependency for anything
[12:52:03 CET] <khali> ok
[12:52:27 CET] <khali> ahhh
[12:52:47 CET] <khali> jpeg (and tiff) use YUV colorspace
[12:52:59 CET] <khali> while png and bmp use RGB colorspace
[12:53:08 CET] <khali> that would explain the difference I'm seeing
[12:55:27 CET] <khali> conversion from yuv410p to (at least) RGB24 seems to be broken
[12:57:28 CET] <khali> I guess I should create a ticket with my findings
[13:24:58 CET] <khali> done
[14:12:24 CET] <J_Darnley> ethe: did you get the message left for you last night?
[14:17:38 CET] <kartikey0303> hello i am new here. Can someone guide me how can i contribute.
[14:19:29 CET] <J_Darnley> What can you do and what do you want to do?
[14:20:52 CET] <J_Darnley> Succesfully building ffmpeg is usually the first thing to do if you want to contribute code.
[15:00:22 CET] <cone-551> ffmpeg 03Michael Niedermayer 07master:5e8b9e746fd5: avutil/softfloat: Assert that the exponent did not overflow the legal range in av_normalize1_sf()
[15:00:23 CET] <cone-551> ffmpeg 03Tom Marecek 07master:46cbb4c2312c: ffmpeg: change command line option -dump to work without -loglevel debug
[15:16:59 CET] <ethe> J_Darnley no
[15:16:59 CET] <ethe> however, I did get my confirmation email (eventually)
[15:31:34 CET] <atomnuker> how in the hell is ffmpeg misidentifying a Dirac file for an AAC one
[15:33:31 CET] <atomnuker> there's a BBCD at the start of every header, the extension is .drc and yet it's considered an AAC file
[15:34:15 CET] <nevcairiel> is there even a raw dirac demuxer
[15:34:39 CET] <atomnuker> yeah, there is
[15:43:13 CET] <Compn> do we do filename extension probe ?
[15:43:18 CET] <Compn> i know mplayer does... ;P
[15:43:21 CET] Action: Compn runs
[15:44:15 CET] <nevcairiel> there eare extension probes as well, but magic-number probes are usually favorable
[15:44:20 CET] <nevcairiel> *are
[15:47:21 CET] <durandal_1707> nobody tried sofalizer filter :(
[16:06:28 CET] <atomnuker> that's odd, if I force the raw dirac demuxer to return max score, diracdec gets init'd
[16:07:01 CET] <atomnuker> but since avctx->width, height and pix_fmt are unset it won't ever get to the decode frame function
[16:07:18 CET] <nevcairiel> it cant parse this from the bitstream?
[16:08:35 CET] <atomnuker> it's a raw demuxer, it checks if the first four bytes are 'BBCD'
[16:08:43 CET] <atomnuker> that's all it does
[16:08:59 CET] <nevcairiel> .. and they are not?
[16:09:22 CET] <atomnuker> they are
[16:09:42 CET] <atomnuker> but unless I explicitly force max detection score it gets misdetected as AAC
[16:10:07 CET] <nevcairiel> it seems like it does use max score if all the tests pass
[16:10:11 CET] <nevcairiel> so which one doesnt?
[16:10:57 CET] <atomnuker> a file which I encoded myself
[16:23:38 CET] <atomnuker> hm, read_frame_internal() seems to fail and prevents the decoder from probing for size
[16:31:43 CET] <RiCON> seems like the same issue that was happening with vtt/srt
[16:37:10 CET] <cone-551> ffmpeg 03Ganesh Ajjanagadde 07master:93afb338a405: lavfi/formats: fix segfault when allocation fails
[16:37:11 CET] <cone-551> ffmpeg 03Ganesh Ajjanagadde 07master:a0ddebfedf46: lavc/nellymoserdec: replace pow by exp2
[16:37:12 CET] <cone-551> ffmpeg 03Ganesh Ajjanagadde 07master:df679f12649d: lavc/dcaenc: avoid wasteful cos calls
[16:37:13 CET] <cone-551> ffmpeg 03Ganesh Ajjanagadde 07master:b8e5b1d78682: lavc/mdct_template: use lrint instead of floor hack
[18:39:06 CET] <durandal_1707> BBB: one of variables is increased by 1 every time and than & operation is done how this can be done in simd?
[18:44:00 CET] <BBB> sayagain?
[18:44:43 CET] <BBB> can you write the c code?
[18:44:47 CET] <BBB> durandal_1707: ^
[18:46:30 CET] <durandal_1707> its in sofalizer on ml, see convolute function
[18:47:17 CET] <durandal_1707> its IR with 512 coefficients for each channel and sample
[18:48:37 CET] <BBB> wr = (wr + 1) & modulo; /* update ringbuffer write position */ ?
[18:48:44 CET] <Daemon404> g 42
[18:49:40 CET] <BBB> I would just use padd{w,d} followed by pand
[18:49:45 CET] <BBB> but you dont seem to like that?
[18:50:24 CET] <BBB> Im not sure I understand what the algorithm does
[18:53:04 CET] <durandal_1707> BBB: no, the deepest for loop
[18:53:18 CET] <BBB> *dst += *(buffer[l] + ((read++) & modulo)) * *(temp_ir++); ?
[18:54:05 CET] <BBB> I dont think I understand the algorithm, I need to udnerstand the ago to give useful simd suggestions
[18:54:33 CET] <BBB> is this for channel repositioning?
[19:08:57 CET] <durandal_1707> BBB: its 5.1 to stereo for example
[19:09:15 CET] <BBB> so why not use swresample for that?
[19:09:26 CET] <BBB> I thought that was the whole point of swr
[19:09:50 CET] <durandal_1707> This is not simple mixing
[19:10:12 CET] <durandal_1707> uses delayed samples
[19:10:56 CET] <BBB> so lets say I have float fivepointone[n][6]
[19:11:06 CET] <BBB> how does this algorithm convert it to float twopointzero[n][2]?
[19:11:56 CET] <BBB> because this code is like gibberish to me
[19:12:57 CET] <durandal_1707> it works
[19:13:26 CET] <BBB> Ive written code when I was drunk, and it works
[19:13:26 CET] <durandal_1707> makes surround experience with headphones
[19:14:16 CET] <durandal_1707> its delayed samples are stored in ringbuffer
[19:14:39 CET] <BBB> delayed, you mean for (int n = 0; n < size; n++) { read sample n-2, n-1, n? }?
[19:14:48 CET] <BBB> (per channel)
[19:14:51 CET] <BBB> or something else?
[19:15:32 CET] <durandal_1707> its just prev encountered samples
[19:15:34 CET] <khali> is there any way to force non-direct mode of a filter?
[19:16:08 CET] <durandal_1707> khali: who are you?
[19:17:12 CET] <durandal_1707> what you mean by direct mode?
[19:17:33 CET] <khali> I am the maintainer of the vf_delogo filter, is that answer your question
[19:17:47 CET] <khali> or I am a 37 yo man living in France
[19:18:11 CET] <khali> or am I a kernel developer working on ffmpeg on my scarce spare time
[19:19:02 CET] <BBB> so it seems to me that you have src[][6], you reorder than into buffer[ring_size][6]
[19:19:03 CET] <BBB> right?
[19:19:38 CET] <khali> (and my real name is Jean Delvare, if it matters)
[19:20:03 CET] <durandal_1707> khali: sorry, first time encounter
[19:20:14 CET] <durandal_1707> on irc
[19:20:17 CET] <BBB> and then you use the dotproduct of ir * buffer for the output
[19:20:24 CET] <BBB> (per channel)
[19:20:25 CET] <BBB> is that right?
[19:20:46 CET] <durandal_1707> yes, afaik
[19:22:15 CET] <khali> durandal_1707: if av_frame_is_writable(in), the filter will just write to the buffer, this is direct mode
[19:22:25 CET] <BBB> durandal_1707: ok& so how do you want to simd this?
[19:22:30 CET] <durandal_1707> khali: There is aperm filter, if you talking about that
[19:23:21 CET] <durandal_1707> BBB: only this bastard of dot product
[19:23:34 CET] <khali> durandal_1707: looks promising, thanks
[19:23:39 CET] <BBB> that may be harder than it looks ...
[19:23:46 CET] <khali> I suspect there's a bug in non-direct case, will try to reproduce it
[19:23:46 CET] <BBB> why not simd by doing N samples at once?
[19:24:40 CET] <BBB> Im also not sure I understand why the reordering is necessary
[19:24:49 CET] <BBB> if its just to have one instead of n_channels ir tables, I dont think its worth it
[19:25:02 CET] <BBB> reordering in simd will be a bloody pain, whereas integrating it into ir order is free
[19:26:52 CET] <durandal_1707> it because ffmpeg channel layouts is not used in reality
[19:27:01 CET] <durandal_1707> are*
[19:27:25 CET] <durandal_1707> lfe channel is not last one
[19:28:49 CET] <BBB> but cant you work around that by doing lfe separately from the dsp code here?
[19:28:56 CET] <BBB> and using 0 as a coeff for the lfe channel for the rest?
[21:38:23 CET] <cone-281> ffmpeg 03Lou Logan 07master:5f55be700568: doc/issue_tracker.txt: various updates
[21:54:14 CET] <BBB> does anyone here have experience with amazon EC2 instances? [totally off-topic]
[21:54:38 CET] <JEEB> I had a free one for a while
[21:54:40 CET] <JEEB> never did the APIs
[21:57:48 CET] <BBB> JEEB: so, can the free one run ffmpeg commands?
[21:58:05 CET] <BBB> like does it have stuff like disk space, does it work for stuff taking 100% of one cpu, etc?
[21:58:52 CET] <JEEB> it should. it's limited as hell but it should
[22:05:19 CET] <Plorkyeran> there's a non-persistent local disk
[22:05:44 CET] <JEEB> oh, they switched to such?
[22:05:51 CET] <JEEB> I remember at one point it was persistent
[22:06:08 CET] <JEEB> since people ran irssi instances with logging on them
[22:06:15 CET] <Plorkyeran> and you can use as much cpu as you can as they throttle you automatically rather than sending angry emails
[22:06:25 CET] <JEEB> yeah
[22:06:25 CET] <Plorkyeran> no, it never has been persistent
[22:06:29 CET] <JEEB> oh
[22:06:35 CET] <Plorkyeran> but that doesn't stop people from treating them as if they are
[22:06:46 CET] <JEEB> true that
[22:06:51 CET] <Plorkyeran> you can attach EBS volumes that look like a normal filesystem though
[22:07:07 CET] <Plorkyeran> I just dont' think the free plan includes that
[22:07:28 CET] <Plorkyeran> it'd be cents per month for just some irc logs and config files
[22:15:04 CET] <BBB> EBS is not included?
[22:15:14 CET] <BBB> or local non-persistent disk is not included?
[22:15:27 CET] <BBB> I guess Im hoping someone has done this already
[22:15:37 CET] <BBB> I want some 20-or-so instances running ffmpeg during work hours
[22:15:47 CET] <BBB> just various invocations that I need (encodes)
[22:16:30 CET] <BBB> if I do that fulltime, 24hr/day*0.067$/hr*30days/month*20 =~ $1000
[22:16:33 CET] <BBB> thats a little much
[22:16:40 CET] <BBB> so Im wondering if I can use the t2.micro instances
[22:16:44 CET] <BBB> theyre like 1 ct/hr
[22:16:54 CET] <BBB> but I need disk, for obvious reasons
[22:19:33 CET] <Plorkyeran> EBS is something like 10 cents per GB-month
[22:19:48 CET] <Plorkyeran> if you need persistent storage you'd have to pay for 100% uptime of that
[22:20:00 CET] <Plorkyeran> but you only need to pay for the CPU for the instances when you're actually using them
[22:20:20 CET] <Plorkyeran> (if you spin them up and shut them down rather than jsut leaving them running...)
[22:20:52 CET] <Plorkyeran> the transient storage on the instances sticks around as long as the instance does and should be fine for scratch space
[22:21:52 CET] <BBB> this is for t2.micro? or for m3?
[22:22:36 CET] <Daemon404> theis is for all instances
[22:22:38 CET] <Daemon404> this*
[22:23:16 CET] <BBB> I guess I need to read a guide on things like how to programmatically start/stop instances?
[22:23:33 CET] <BBB> I guess what I want is a script that starts 20 instances and then runs some stuff on each of them and then shuts them down
[22:25:22 CET] <Daemon404> they have libraries for most languages
[22:25:38 CET] <BBB> https://aws.amazon.com/sdk-for-python/ \o/
[22:47:12 CET] <TD-Linux> BBB, I run a bunch of video codec tests on EC2 at https://arewecompressedyet.com/
[22:47:34 CET] <BBB> you own that domain?
[22:47:38 CET] <TD-Linux> yes
[22:48:11 CET] <TD-Linux> I use a bunch of c4.8xlarge instances
[22:48:18 CET] <BBB> cool
[22:48:27 CET] <BBB> CanIHaveYourScriptsPlease?
[22:48:30 CET] <BBB> (are they public?)
[22:49:06 CET] <TD-Linux> yes, this is the website https://github.com/tdaede/awcy
[22:49:20 CET] <TD-Linux> and this is the "backend" https://github.com/tdaede/rd_tool
[22:50:13 CET] <TD-Linux> it's not very pretty btw, it's still under continuous development, and web things in general are not my specialty :)
[22:51:06 CET] <BBB> its probably 1000x better than what I can hack up in some short amount of time :-p
[22:52:39 CET] <durandal_1707> michaelni: do you know a way how to reduce say 128 tap filter to 32 one?
[22:53:07 CET] <TD-Linux> see awsremote.py in rd_tool for the part that talks to AWS.
[22:54:53 CET] <cone-281> ffmpeg 03Michael Niedermayer 07master:676a93f2d86d: avformat: Add av_program_add_stream_index()
[22:54:54 CET] <cone-281> ffmpeg 03Michael Niedermayer 07master:8f948b6244e4: ffmpeg: Add basic support to mux multiple programs
[22:54:55 CET] <cone-281> ffmpeg 03Michael Niedermayer 07master:edfc835a56a5: avformat/mpegtsenc: Add basic multi program support
[22:57:34 CET] <michaelni> durandal_1707, hmm, some filters might be factorizable in several filter steps, also normal "convolutional" filters can be done in frequency domain by simple complex multiplication, so for sufficiently long filters a FFT + IFFT may be faster
[22:58:04 CET] <michaelni> s/may/is/
[22:58:39 CET] <BBB> TD-Linux: thanks!!!
[23:00:31 CET] <BBB> TD-Linux: so & maybe stupid question, but what happens to running instances that dont do anything?
[23:01:17 CET] <TD-Linux> BBB, you get billed for uptime on EC2 regardless of CPU usage
[23:01:36 CET] <TD-Linux> it's in per hour increments. so you have to manually shut off idle instances
[23:01:59 CET] <BBB> so if I run 20 machines for 10 minutes each, it costs me 20*1hr?
[23:02:00 CET] <BtbN> Why not just shut them down automaticaly once they're done?
[23:02:35 CET] <TD-Linux> BtbN, well I mean it is automatic on AWCY. I meant your scripts have to do it somewhere
[23:02:40 CET] <BtbN> "Each time you transition an instance from stopped to started, we charge a full instance hour, even if transitions happen multiple times within a single hour."
[23:02:41 CET] <TD-Linux> BBB, yup.
[23:02:51 CET] <BBB> hum& sucky
[23:03:09 CET] <TD-Linux> the startup time is also kind of long. they are full VMs
[23:03:24 CET] <BBB> I see, thats why you keep them running& ok
[23:03:34 CET] <BBB> I probably need to design this a bit so it wont bankrupt me immediately
[23:03:43 CET] <TD-Linux> well right now if there are no jobs queued they turn off after a 5 minute delay
[23:03:48 CET] <BBB> anyway Ill start with your script, that looks pretty good
[23:04:18 CET] <TD-Linux> google compute engine has 1 minute billing increments which looks interesting, but I've never tried it
[23:05:02 CET] <durandal_1707> michaelni: there is frequency domain mode but its marked as medium quality
[23:05:22 CET] <durandal_1707> how much faster it can be?
[23:09:52 CET] <michaelni> something like O(n*m) vs. O(n*logn + m*logm)
[23:51:21 CET] <kierank> michaelni: do you know what max_depth does in GET_RL_VLC
[00:00:00 CET] --- Sat Dec 12 2015
1
0
[00:26:23 CET] <bjonnh> Hi
[00:26:32 CET] <bjonnh> ffmpeg -i out_clean_crop.mp4 -i audio_cut_direct.wav -strict -2 -ar 16000 -ac 1 -c:v copy out_clean_crop_audio.mp4
[00:26:43 CET] <bjonnh> this is what I use, the aac encoder stalls at 43 minutes
[00:26:52 CET] <bjonnh> if I remove -ar 16000, it go through
[00:26:59 CET] <bjonnh> ffmpeg version 2.8.3
[00:27:43 CET] <c_14> try recent git
[00:27:50 CET] <c_14> If it still doesn't work with that, open a bug report on trac
[00:28:55 CET] <ethe> how do I use ffmpeg with jack? here's a log of what I've tried so far: http://pastebin.com/raw.php?i=X2ct4tC5
[00:31:09 CET] <c_14> the jack indev was never enabled
[00:31:16 CET] <c_14> check your config.log, but it probably couldn't find jack/jack.h
[00:31:33 CET] <c_14> Also, where did you get that patch from?
[00:32:25 CET] <ethe> https://trac.ffmpeg.org/ticket/43
[00:33:25 CET] <c_14> ok, either check config.log or upload it somewhere and I'll check
[00:33:53 CET] <ethe> config.log contains jack_indev
[00:34:09 CET] <c_14> sure
[00:34:11 CET] <c_14> Check lower
[00:34:17 CET] <ethe> I'll upload it :)
[00:34:17 CET] <c_14> Down where it does all the compile tests
[00:34:57 CET] <ethe> https://gist.github.com/anonymous/1b2cae9f2cc050be43f6
[00:35:32 CET] <c_14> >/var/folders/vx/n5tdl0_n6xv94_z3jjx084km0000gn/T//ffconf.iFS5zOid.c:1:10: fatal error: 'jack/jack.h' file not found
[00:35:34 CET] <c_14> yep
[00:35:47 CET] <c_14> is the path containing jack/jack.h in your include path?
[00:35:57 CET] <pinPoint> c_14: you should know. I have an error with my latest download ffmpeg
[00:36:12 CET] <pinPoint> Assertion diff >= 0 && diff <= 120 failed at /home/kyle/software/ffmpeg/source/ffmpeg-git/libavcodec/aacenc.c:363
[00:36:33 CET] <pinPoint> after running a test of aac native support: ffmpeg.exe -i bbb_audio_256k.m4a -c:a aac -b:a 256k outAudiotest.m4a
[00:36:47 CET] <c_14> Does that always happen?
[00:37:00 CET] <pinPoint> nope just latest ffmpeg I guess?
[00:37:08 CET] <c_14> pinPoint: I meant, is it reproducible.
[00:37:14 CET] <pinPoint> ffmpeg version N-77137-gff6dd58 Copyright (c) 2000-2015 the FFmpeg developers
[00:37:29 CET] <pinPoint> yep
[00:37:49 CET] <pinPoint> same thing happened when I did that ffmpeg.exe -i bbb_audio_256k.m4a -c:a aac -b:a 256k outAudiotest.m4a
[00:38:14 CET] <pinPoint> this: Stream mapping: Stream #0:0 -> #0:0 (aac (native) -> aac (native))
[00:38:27 CET] <c_14> https://trac.ffmpeg.org/ticket/5077
[00:38:30 CET] <pinPoint> you think I broked it trying to aac->aac again
[00:38:39 CET] <c_14> seems to be the same issue
[00:40:34 CET] <pinPoint> at least aac is not online. no need for strict 2. :)
[00:43:56 CET] <pinPoint> is online. oops I meant to say online and working. :)
[00:52:54 CET] <atomnuker> pinPoint: could you try using -aac_pns 0?
[00:53:05 CET] <atomnuker> tell if this fixes the problem
[00:53:23 CET] <ethe> c_14 I resolved the header problem, and recompiled--however, the issue persists.
[00:54:06 CET] <c_14> ethe: config.log + configure output + ffmpeg output?
[00:56:53 CET] <ethe> https://gist.github.com/037474b55d7ffb2a8238 https://gist.github.com/d8bbfe0a3e14afa77330
[00:57:08 CET] <ethe> config.log seems fixed, but the ffmpeg output seems the same
[00:59:28 CET] <c_14> https://pb.c-14.de/t/kng.7Ggf6Q
[01:00:04 CET] <c_14> So it finds jack, but not sem_timedwait
[01:02:05 CET] <c_14> eh, the patch doesn't look like it applies cleanly
[01:11:07 CET] <c_14> ethe: are you compiling from a git tree? or a tarball?
[01:12:22 CET] <c_14> https://pb.c-14.de/t/kng.JJtxDZ
[01:12:24 CET] <ethe> from git
[01:12:28 CET] <c_14> I rebased the patch onto git-master
[01:12:30 CET] <c_14> Try with that
[01:12:49 CET] <pinPoint> atomnuker:
[01:12:50 CET] <pinPoint> ok
[01:14:09 CET] <pinPoint> atomnuker: ffmpeg.exe -i bbb_audio_256k.m4a -c:a aac -aac_pns 0 -b:a 256k outAudiotest.m4a
[01:14:28 CET] <pinPoint> [aac @ 00000090e3a50380] Qavg: 2867.530
[01:14:48 CET] <pinPoint> the file is a 19.5MB which is about 10mins34secs
[01:15:41 CET] <pinPoint> it was successful
[01:16:13 CET] <pinPoint> Stream mapping: Stream #0:0 -> #0:0 (aac (native) -> aac (native))
[01:16:13 CET] <pinPoint> Press [q] to stop, [?] for help
[01:16:14 CET] <pinPoint> size= 19999kB time=00:10:34.17 bitrate= 258.3kbits/s
[01:21:26 CET] <atomnuker> pinPoint: thanks for the info, might have a fix for that soon
[01:21:57 CET] <bjonnh> ok now my file doesn't read well with vlc, where with mplayer it is perfectly fine
[01:26:49 CET] <pinPoint> atomnuker: sure
[01:27:30 CET] <ethe> c_14 the patch patches fine, thanks. sem_timedwait seems to be the problem now, semaphore_timedwait is the osx version--it's fixed in the source code assuming the var is set. I guess there would have to be a conditional for the configure file?
[01:29:11 CET] <bjonnh> it seems that vlc doesn't like non-default framerate&
[01:31:47 CET] <bjonnh> and non-changing pictures
[01:38:39 CET] <c_14> ethe: try this one https://pb.c-14.de/t/kng.y3tvsd (revert the previous patch first/checkout master again)
[01:39:24 CET] <ethe> what's the difference? I got it working anyways
[01:40:01 CET] <ethe> I changed the checks to the OSX versions instead, not a good solution, but I just wanted to make sure it all works, and then I'd go from there.
[01:40:24 CET] <ethe> jack loads up, looks like it works
[01:40:43 CET] <c_14> I added a fallback check for semaphore_timedwait if the check for sem_timedwait fails
[01:47:20 CET] <ethe> c_14 shouldnt it be "check_header mach/semaphore.h"?
[01:50:37 CET] <c_14> Eh, yeah. fixed https://pb.c-14.de/t/kng.BWgTrT
[02:00:58 CET] <pinPoint> for the aac issue?
[02:01:26 CET] <c_14> Nah, was for ethe
[03:32:09 CET] <Prelude2004c> hey anyone ever use ./cudaDecodeGL -nointerop -decodecuda -device=0 .....
[03:32:32 CET] <Prelude2004c> want to use cuda to decode and pipe to ffmpeg
[03:32:36 CET] <Prelude2004c> possible?
[08:48:48 CET] <Fyr> how to use vdpau?
[08:54:31 CET] <waressearcher2> Fyr: hallo
[08:54:39 CET] <Fyr> hey
[08:54:46 CET] <waressearcher2> Fyr: wie geht's es dir ?
[08:55:43 CET] <Fyr> O_0
[08:55:49 CET] <Fyr> 0_O
[08:56:49 CET] <Fyr> my German is confined to "Hendehoh!"
[09:01:11 CET] <DeadSix27> Fyr: Thats not even german
[09:01:30 CET] <Fyr> then what is it?
[09:01:41 CET] <DeadSix27> I don't know--.
[09:01:56 CET] <Fyr> Google Translate says that it's German.
[09:32:50 CET] <khali> is there any lossless picture format which encodes the image in YUV rather than RGB?
[09:34:09 CET] <Fyr> PNG?
[09:41:31 CET] <khali> Fyr: really? if I ask ffmpeg to save to png, I get "8-bit/color RGB" data in the png file
[09:41:58 CET] <khali> I would like to avoid the conversion from YUV to RGB
[09:42:23 CET] <Fyr> it's ffmpeg's support for PNG.
[09:42:35 CET] <Fyr> normal PNG supports YUV.
[10:23:50 CET] <khali> is there any tool to display raw YUV data?
[10:25:37 CET] <flux> khali, imagemagick's image viewer can probably do it, but I can't recall the syntax off-hand
[10:28:20 CET] <khali> fling: thanks, that helped :)
[10:28:23 CET] <khali> ahh
[10:28:27 CET] <khali> flux: thanks, that helped :)
[10:28:48 CET] <khali> except that it interpolates when I zoom in
[10:28:55 CET] <khali> while I want to see the exact pixels
[10:31:32 CET] <khali> and -sample 1600% does that
[10:31:40 CET] <khali> flux: problem solved, thank you very much!
[10:31:45 CET] <flux> khali, happy encoding :)
[10:38:00 CET] <khali> hmmm, imagemagick and ffmpeg don't seem to quite agree on what yuv is
[10:38:08 CET] <khali> the pattern is correct but the colors are all wrong
[10:53:17 CET] <khali> if I ask ffmpeg to output a png image from a yuv video source, who does the yuv->rgb conversion, ffmpeg or libpng?
[14:38:55 CET] <kepstin> khali: ffmpeg doesn't use libpng, it has an internal encoder. The yuv-rgb conversion is done in ffmpeg, of course.
[14:39:09 CET] <kepstin> (via libswscale)
[14:48:44 CET] <kepstin> keep in mind that there's a few different ways to interpret yuv data, including color range (broadcast vs full range, broadcast uses 16-235, full range is 0-255) which can cause noticable differences in yuv-rgb conversion
[14:49:13 CET] <kepstin> in particular, still image applications might use full range because that's what's done with jpeg, but the limited range is more common in video
[15:08:20 CET] <DHE> I'm hacking ffmpeg to regenerate PCR values for an mpegts output stream which previously had broken values. They are needed for a streaming appliance. Is there a best practices or recommended values here?
[15:17:09 CET] <khali> kepstin: thanks for detailed information
[15:17:48 CET] <khali> kepstin: I am fully aware that YUV/RGB conversions are lossy and subject to interpretation
[15:18:27 CET] <khali> kepstin: but what I'm seeing goes beyond that, it has to be a bug really
[15:19:11 CET] <khali> I guess yuv410p isn't used much... I wouldn't be using it if I didn't have to test how my own code copes with it
[15:22:38 CET] <kepstin> oh wow, yuv410p has 16x downsampled color planes? I haven't ever seen any videos with that format :/
[15:22:57 CET] <kepstin> (well, 4x4)
[15:24:40 CET] <kepstin> the color conversion part would be the same as any other yuv format, the main differences would be in how the chroma planes are upscaled before doing the conversion
[15:25:16 CET] <kepstin> what scaling algorithm is used, where the sample points are considered to be located.
[15:34:26 CET] <khali> kepstin: yuv410p has 4x2 croma samples as I understand it
[15:34:56 CET] <khali> so 8x subsampling... not as bad as the 16x you suggest, but still too much for my taste
[15:36:02 CET] <kepstin> The ffmpeg pixfmts.h file says it's 4x4
[15:37:08 CET] <khali> kepstin: and yes, I understand that "where the sample points are considered to be located" can become an issue
[15:37:16 CET] <khali> but again one that can't explain what I'm seeing
[15:37:26 CET] <khali> kepstin: interesting, that would be a bug in that header file then
[15:40:12 CET] <kepstin> Well, I have no idea what kind of artifacts you're seeing, or exactly what you're comparing :-/
[15:41:03 CET] <khali> hmmm interesting, I find other web sources claiming that yuv410 samples chroma over 4x4 blocks
[15:41:24 CET] <khali> in contradiction with everything I know about YUV formats :(
[15:42:03 CET] <kepstin> They probably got their info from the ffmpeg header :-)
[15:43:22 CET] <khali> kepstin: if you are interested, I am seeing https://trac.ffmpeg.org/attachment/ticket/5083/410p.png when I should be seeing https://trac.ffmpeg.org/attachment/ticket/5083/410p.tiff
[15:46:09 CET] <kepstin> Hmm, I can't see the riff on my phone. Is that a crop from a larger image?
[15:46:22 CET] <kepstin> The tiff*
[15:47:19 CET] <khali> both are small (16x16) samples generated on purpose to illustrate the bug
[15:48:13 CET] <khali> so yes, you have to zoom in to see the problem ;-)
[15:49:22 CET] <khali> wrt yuv410 for now I will just admit that I don't know... seems less risky than boldly claiming that everybody else is wrong ;-)
[15:49:44 CET] <kepstin> Nah, the issue's just that I don't have an image viewer that can load it. I'll check on my pc later.
[15:52:50 CET] <kepstin> The Wikipedia page actually says that 4:1:0 is an exception to the standard notation :-/
[15:52:59 CET] <khali> 8x subsampling would be 10bpp, not 9bpp... so the world has to be right
[15:53:09 CET] <khali> thanks for fixing my broken knowledge
[15:53:37 CET] <khali> kepstin: I converted the tiff file for you: http://jdelvare.nerim.net/devel/misc/410p_tiff_to.png
[15:53:57 CET] <khali> as you can see, the png file generated by ffmpeg doesn't look like it
[16:01:10 CET] <kepstin> Have you tried using sws_flags to pick a different scaling algorithm? I'd be curious about the results
[16:01:17 CET] <khali> at least I'm not the only one confused... http://lists.freedesktop.org/archives/wayland-devel/2012-May/003525.html says Planar YUV 4:1:0, 10 bpp, quarter horizontal chroma resolution, half vertical chroma resolution
[16:01:38 CET] <khali> which is what I though it was
[16:01:46 CET] <khali> thought* sorry
[16:03:20 CET] <khali> the wikipedia article carefully avoids the topic ;-)
[16:03:49 CET] <khali> makes me wonder if my problem could be just related to this disagreement
[16:05:02 CET] <kepstin> https://en.m.wikipedia.org/wiki/Chroma_subsampling gives both options in different places on the page
[16:05:20 CET] <kepstin> So that's not helping anyone...
[16:06:22 CET] <khali> at this point I would be tempted to remove AV_PIX_FMT_YUV410P from my filter
[16:08:09 CET] <khali> kepstin: I'll try playing with sws_flags and see what happens, thanks for the suggestion
[16:14:39 CET] <Fyr> could you recommend a media player that looks like WMP 9, Light Alloy, or Potplayer for Linux?
[16:15:00 CET] <Fyr> VLC is not an option.
[16:16:17 CET] <DHE> Does anyone have experience with PCR generation for mpegts output? I have broken source materials
[16:16:28 CET] <DHE> and need to stream via an appliance which I can't control
[16:17:50 CET] <durandal_1707> Fyr: why not something different, like mpv
[16:18:29 CET] <Fyr> durandal_1707, an open-source software, cross-platform image generator?
[16:22:09 CET] <durandal_1707> nope mpv player
[16:22:42 CET] <khali> kepstin: for the record, 1 << desc->log2_chroma_h for yuv410p is 4
[16:23:18 CET] <khali> which is consistent with the comment in pixfmt.h
[16:23:49 CET] <khali> so I was wrong, definitely
[16:23:54 CET] <Fyr> durandal_1707, yes, mpv player looks good, thanks
[16:23:59 CET] <Fyr> I'll try it.
[16:41:27 CET] <Venti> khali: you were not wrong.. J:a:b is a shitty notation that can't express things like 4/4 h/v subsampling
[16:45:31 CET] <Venti> 4/4 would be something like 4:1:0:0:0, except that would no longer be J:a:b
[18:33:43 CET] <khali> Venti: true
[19:00:58 CET] <Prelude2004c> good day everyone
[19:04:45 CET] <waressearcher2> Prelude2004c: hallo
[19:07:01 CET] <Prelude2004c> i am still struggling quite a bit with GPU decoding .. i have a linux server ( no UI ) , and i am transcoding data using nvenc but the problem is the decoding part is done by the cpu and they are not strong enough. I am trying to use things like NvDecoderGL and stuff to try and pipe data to decode and then send to ffmpeg the output and transcode using the hardware encoder in the nvidia.. I am sooo lost if i am on the right path o
[19:07:28 CET] <Prelude2004c> vdpau i can't use because it uses the X but its a server and i don't use X at all
[19:20:33 CET] <Hello71> then just run an X server
[19:21:02 CET] <Hello71> echo "X :0 &" >/etc/rc.local
[20:52:50 CET] <llogan> ffmpeg-git in AUR is available if anyone wants to adopt it (not sure what use it serves though)
[21:26:29 CET] <Prelude2004c> hi everyone.. i know this is a broken record but i am still stuck and i dont' know what to do... i am using ffmpeg to encode using the nvdia encoder card... the problem is decoding. I am not sure how to use the card for the decoding too . My source is h264 UDP and right now it is using the CPU's to decode the content in order for me to transcode into something else.. i am trying CUDA SDK ( not sure how it works ).. i have tried a
[21:26:50 CET] <Prelude2004c> card but still nothing... i tried using X with vdpau but its silly that i have to run X on a server that never has a monitor plugged into it
[21:27:03 CET] <Prelude2004c> needless to say i keep asking beause i am very stuck and cannot figure it out
[21:31:06 CET] <durandal_1707> asked on ml?
[21:36:55 CET] <Prelude2004c> ml ?
[21:38:28 CET] <llogan> ffmpeg-user mailing list
[21:39:25 CET] <Prelude2004c> no not yet.. i figured the same type of people are here in this room
[21:42:43 CET] <llogan> some people don't like IRC and some don't like MLs
[21:43:58 CET] <Opcode90> Why I ever bought MyFFmpeg I'll never know, rather make my own .bat files with utilitarian names then organize them into my own prog
[21:46:05 CET] <Opcode90> Never could figure out how to get FFmpeg to trim black bars, like it would do i forget either right or left or top or bottom but not the other
[21:46:26 CET] <llogan> crop filter
[21:47:38 CET] <Opcode90> yeah its a sophisticated program, but seems the learning curve is steep, i usually found bat commands on the net for each specific goal
[21:48:27 CET] <Opcode90> never thought to use that particular key phrase crop filter
[21:48:34 CET] <Opcode90> might have helped at the time
[21:48:43 CET] <llogan> http://ffmpeg.org/ffmpeg-filters.html#crop
[21:48:52 CET] <Opcode90> ty ill note that
[21:49:13 CET] <Opcode90> well its noted already, log all my channels but read it now some
[21:50:14 CET] <Opcode90> and thats without a whole re-encode?
[21:50:47 CET] <Opcode90> looks amazingingly simple
[21:51:24 CET] <llogan> filtering requires re-encoding
[21:51:44 CET] <llogan> unless you simply crop upon playback instead, such as with ffplay or VLC
[21:52:14 CET] <llogan> and of course you can always stream copy the audio so it just gets remuxed: -c:a copy
[21:52:47 CET] <Opcode90> ah k, isn't there some quality loss each time you have to re-encode, i mean aside for going to huge files of lossless
[21:53:23 CET] <llogan> with lossy encoders, yes
[21:53:27 CET] <Opcode90> ya, i always use the original sound track and mux it back into any video editing
[21:54:45 CET] <Opcode90> i never mind runing an mkv muxed with original audio not re-encoded, as long as the video is where I like it to be
[21:59:59 CET] <Opcode90> I was having alot of fun with video editing until one week, I lost 2 5tb External drives that were duplicates of all of my movies. In the same day. I was able to recover alot from one of them with special tools but requires me to go back and identify and rename recovered files File0001 File0002 to about 1000 plus movies
[22:03:46 CET] <Opcode90> one day I'll come back to video editing, I run Sony Vegas Pro 13 for one thing alone and thats the NeatVideo Filter that cleans up video noise. But FFmpeg is invaluable for most tasks.
[22:07:08 CET] <llogan> ffmpeg has at least one denoiser filter. hqdn3d
[22:08:28 CET] <Opcode90> yeah, but I got tell ya, that neatvideo filter is a head taller then anything else i've seen
[22:09:38 CET] <Opcode90> after comparing results, it was enough for me to drop the cash on sony vegas to run it
[22:09:59 CET] <Opcode90> its only compatibile with a handfull of video editing software, and im no mac user
[22:14:41 CET] <Opcode90> Certain movies the Director puts in video noise on purpose a couple are Black Swan with Natilie Portman, The Awakening a very nice mystery, ghost story. But I filtered them with Sony Vegas and NeatVideo and they are nice and clean.
[22:15:28 CET] <Opcode90> Some Directors/Producers seem to think that video noise adds an "air" of something to the mood but I'd just assume remove it.
[22:15:40 CET] <jasom> Opcode90: I use a moderately-aggressive hq3ddn and then mix noise back in with filders on playback if needed
[22:16:31 CET] <jasom> Opcode90: proper noise can fool the eye into seeing more detail than is really there (this is part of why a modest amount of film grain can be pleasant)
[22:17:16 CET] <Opcode90> I don't find the film grain pleasant. I like clarity but maybe thats just me.
[22:17:17 CET] <jasom> do any of the recent codecs have an in-loop noise parameter?
[22:17:51 CET] <jasom> that seems like an obvious psychovisual improvement; remove noise on encode and add back in on decode
[22:18:42 CET] <Opcode90> Why would you remove noise just to add it back in, you mean some slightly lesser level of noise?
[22:20:10 CET] <jasom> Opcode90: noise doesn't compress well, but blurry things look worse than noisy things assuming the same level of detail is present
[22:20:31 CET] <jasom> this is all for SD video; I haven't done much with high-def yet
[22:21:30 CET] <Opcode90> yeah all the stuff I've messed with is 1920x1080 usually h264
[22:22:40 CET] <Opcode90> One movie that I cleaned up was War of the Worlds with Tom Cruise, I love it when its not grainy
[22:24:31 CET] <Opcode90> I unfortunatly lost all my bat files for ffmpeg
[22:25:45 CET] <Opcode90> all the little custom ones I made for switching containers, cutting sections out, anyone have a good site or list of premade ffmpeg bat files
[22:26:00 CET] <Opcode90> drive failure.... no fun
[22:29:07 CET] <Opcode90> well nice meeting you folks ill keep logging the channel for any good syntax for executing things
[22:44:15 CET] <shincodex> Here is a awful question. Can ffmpeg decode a camera stream and pass back a sdl surface but it is corrupt
[22:44:43 CET] <shincodex> eg 800x600 but only 50000 of the pixels have been filled and the rest of the buffer is garbage cause it could not be read.
[22:45:22 CET] <shincodex> How can I detect if such a awful generic situation can happen and just say goto screwwoff;
[22:46:36 CET] <Opcode90> for now im going to macrium reflect this notebook to an external HD, upgrade it to Win 10 get my permanent key and then restore it back. This is off topic but since im leaving anyway theres a neat program called produkey i used the 64bit http://www.nirsoft.net/utils/product_cd_key_viewer.html to grab your actual 25 digit Product key which is permanent from microsoft if you upgrade but the key
[22:46:37 CET] <Opcode90> is not viewable, and a tool from microsoft to make and ISO or Flashdrive with Windows 10 Full and Upgrade on it, called MediaCreationTool.exe from Microsoft.
[22:47:24 CET] <shincodex> MEdiaCreationTool made my windows 10 possible
[22:48:09 CET] <Opcode90> Also, if you can't backup your system to an external HD and don't want to tamper with your current OS, consider VMware, i installed my original 8.1 Pro and upgraded inside of VMwares Virtual machine then grabbed the key then ditched the guest.
[22:48:25 CET] <Opcode90> but then I paid for Vmware Work Station 12 pro, 250 bux
[22:48:55 CET] <shincodex> oraclebox is free
[22:49:04 CET] <Opcode90> cool use that then
[22:49:05 CET] <shincodex> 'it emulated xp for me for a bit it worked
[22:49:16 CET] <shincodex> but i imagine vmware has more power
[22:50:06 CET] <Opcode90> I had to use the MediaCreationTool and make and ISO, mine just kept failing in through Upgrade thats built into Win 8.1
[22:51:52 CET] <shincodex> is there any freken library that can cause this corrupt frames crap :(
[22:52:11 CET] <shincodex> apparently there is an issue with --enable-swscale? or was
[22:52:15 CET] <Opcode90> bye for now, nice meeting you folks someone help this gentleman lol
[22:55:24 CET] <shincodex> its ok
[22:55:32 CET] <shincodex> everyone is dead when they feel like it
[23:46:21 CET] <KallDrexx> Has anyone successfully transcoded an RTMP stream, then relay that out via rtmp using NVENC? I'm getting an RTMP error that I don't get with libx264 (error detailed on http://superuser.com/questions/1011715/rtmp-writen-error-using-nvenc-while-…) I tried emailing the ffmpeg user list but I think moderators denied it
[00:00:00 CET] --- Sat Dec 12 2015
1
0