Ffmpeg-devel-irc
Threads by month
- ----- 2026 -----
- October
- September
- August
- 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
May 2014
- 1 participants
- 62 discussions
[00:09] <cone-944> ffmpeg.git 03Anton Khirnov 07release/1.1:696a74e81560: matroska: add the Opus mapping
[00:09] <cone-944> ffmpeg.git 03Luca Barbato 07release/1.1:9a2387cfb1a9: swscale: Fix an undefined behaviour
[00:09] <cone-944> ffmpeg.git 03Reinhard Tartler 07release/1.1:1f5678c5e404: Update Changelog for v9.13
[00:09] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/1.1:227ac71a6093: Merge commit '696a74e81560889ef2fde76b045c5158a325a7a5' into release/1.1
[00:09] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/1.1:0597f052372b: Merge commit '9a2387cfb1a99e4b00593c22074929cdc73410f0' into release/1.1
[00:09] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/1.1:ebd74c42a259: Merge commit '1f5678c5e404ebd326f6eae1b527beadaa85a528' into release/1.1
[00:35] <ubitux> JEEBsv: http://coverage.ffmpeg.org/
[00:36] <JEEB> :o
[00:36] <JEEB> nice
[00:42] <cone-944> ffmpeg.git 03Stephan Soller 07release/2.2:e3b08b3ad4da: avformat/rtmpproto: Added handling of an initial RTMP chunk size packet.
[00:42] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:366cdd35484c: avcodec/x86/idct_sse2_xvid: fix non C99 inline function
[00:42] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:26becbcd2a15: swscale/swscale: fix srcStride/srcSlice typo
[00:42] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:1131e7a1a4c9: avcodec/mjpegen: Fix declared argument size
[00:42] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:5191b00155b5: avcodec/dcadec: fix error message suppression code
[00:42] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:8ab849cddca1: avcodec/fic: Fix return value check
[00:42] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:27a3a59428e7: avformat/mpegts: Remove redundant check
[00:42] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:10e023c4fa73: avcodec/diracdec: fix undefined behavior with shifts
[00:42] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:fc5b32877a47: avcodec/g723_1: add assert to help static code analyzers
[00:42] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:83fb31a76da1: avfilter/f_select: fix loss of precission in SAD calculation
[00:42] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:16a9c5ea9e68: avfilter/vf_deshake: fix loss of precission with odd resolutions
[00:43] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:afd1f6194447: iavcodec/vc1dec: Fix missing {}
[00:43] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:c588316555f9: avfilter/filtfmts: Support dynamically allocated in/outputs
[00:43] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:f1b583018208: avformat/h263dec: Fix h263 probe
[00:43] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:2d18e7f3ef05: avcodec/mjpegdec: Fix undefined shift
[00:43] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:56436683085b: ffmpeg_filter: fix pointer to local outside scope
[00:43] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:02b7b125b522: avfilter/graphdump: Fix pointer to local outside scope
[00:43] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:9d0ff6436ef7: ffmpeg: print an error at the end if conversion failed
[00:43] <cone-944> ffmpeg.git 03Lukasz Marek 07release/2.2:c9c223ba0028: lavd/opengl_enc: fix pixel data alignment
[00:49] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:c2eb66861755: Update for 2.2.2
[01:49] <BBB> michaelni: let's not be silly, the maintainers file is kinda retarded, you don't need a file that lists me as blocker for any file to know that if you have issues with vp8/9, you can ask me and I'll try to help
[01:50] <BBB> michaelni: I'll leave it up to you to consider what the best way forward for mdvc support is - I think derek hosts the fate instances so you have a fair clue of who's the best person to ask
[01:51] <michaelni> i dont need the file to know it for the vp8/9 case but other people wont know it so easily whom to contact
[01:53] <BBB> h264: would list 20 people?
[01:53] <BBB> (since there's about 20 people with relevant knowledge of that file)
[01:56] <Skyler_> you could list separately some main people and secondary people?
[01:56] <michaelni> id say h264 should list whoever is willing to actually sit down and fix an issue/bug in h264 if one is reported or who is able and willing to review related patches
[01:56] <Skyler_> yeah, that's a point
[01:56] <Skyler_> people shouldn't be put on mainters list if they're not willing to look at things/help
[01:56] <Skyler_> *maintainers
[01:58] <Compnn> theres 20 people who know h264
[01:58] <Compnn> but only a few who would say they want to maintain it
[01:58] <Compnn> i think Daemon404 was offended when patches against his code were committed before asking him :p
[01:59] <Compnn> BBB : if you dont use/like maintainers file, it wont bug you too much, right?
[01:59] <Skyler_> the three levels of maintainers: "don't poke me, ask me if you need help, I'll-stab-you-if-you-touch-my-code" ;-)
[02:00] <Compnn> lol
[02:02] <BBB> true opensource spirit ;)
[02:02] <BBB> fine I'll stop whining
[02:07] <Daemon404> Skyler_, my level is "please let me review it"
[02:07] <Daemon404> or
[02:08] <Daemon404> "at least send it to the mailing list instead of pushing right away"
[02:43] <iive> Daemon404: no, your level is "I'll stab you if you touch my code"
[02:56] <Daemon404> evidence where?
[02:57] <Daemon404> pretty sure ive only herped a derp when unreviewed changes have been pushed to it.
[03:00] <iive> that's it.
[03:00] <Daemon404> thats certanly not the same thing
[03:01] <iive> if that is not the same thing, what would it be then?
[03:01] <Daemon404> dont touch my code != dont push withut review
[03:01] <iive> without YOUR review
[03:01] <Daemon404> where did i say that
[03:02] <Daemon404> the stuff i bitch about isnt even sent to the ML
[03:02] <Daemon404> for ANY review
[03:02] <Daemon404> thats my point.
[03:02] <iive> and this is not libav
[03:02] <Daemon404> ....
[03:02] <Daemon404> what kind of retarded argument is that
[03:02] <iive> well, libav forked over michaelni committing stuff directly.
[03:02] <iive> if you have problem with that...
[03:03] <Daemon404> well, ok
[03:16] <Compn> mean ole iive :p
[03:24] <iive> :E
[03:24] <Skyler_> geez touchy
[03:38] <iive> n8 ppl.
[05:01] <cone-973> ffmpeg.git 03Hendrik Leppkes 07master:ae8e2d7634e0: avisynth: set duration of audio streams
[06:03] <cone-973> ffmpeg.git 03Michael Niedermayer 07master:ebf2c2c3a818: avcodec/lossless_videodsp: fix incompatible pointer type warning
[06:03] <cone-973> ffmpeg.git 03Michael Niedermayer 07master:6bd1741231d3: avfilter/f_select: fix incompatible pointer type warning
[06:54] <cone-973> ffmpeg.git 03Michael Niedermayer 07fatal: ambiguous argument 'refs/tags/n2.2.2': unknown revision or path not in the working tree.
[06:54] <cone-973> Use '--' to separate paths from revisions
[06:54] <cone-973> refs/tags/n2.2.2:HEAD: avfilter/f_select: fix incompatible pointer type warning
[09:14] <cone-973> ffmpeg.git 03Carl Eugen Hoyos 07master:db01de4c0af8: Fix standalone compilation of sonic lossless encoder.
[14:44] <cone-387> ffmpeg.git 03Anton Khirnov 07master:73ed8558a61c: avconv: simplify exit_program() by using more local vars
[14:44] <cone-387> ffmpeg.git 03Michael Niedermayer 07master:6e397074380e: Merge commit '73ed8558a61c4f1d0ce8d1f35183ac1a0a4e31e3'
[14:54] <cone-387> ffmpeg.git 03Anton Khirnov 07master:f3a6ad22c977: avconv: rename InputStream.opts to InputStream.decoder_opts
[14:55] <cone-387> ffmpeg.git 03Michael Niedermayer 07master:42b7bda41a4f: Merge commit 'f3a6ad22c977c8fea87c4c5e4535061db6324d66'
[15:01] <cone-387> ffmpeg.git 03Anton Khirnov 07master:650a5206a944: avconv: rename 'icodec' to 'dec_ctx'
[15:01] <cone-387> ffmpeg.git 03Michael Niedermayer 07master:1f40536ccaea: Merge commit '650a5206a944fd36a42d92f98e745972056b1f7c'
[15:10] <cone-387> ffmpeg.git 03Anton Khirnov 07master:65ed9e7585e8: avconv: rename 'codec' to 'enc_ctx'
[15:10] <cone-387> ffmpeg.git 03Michael Niedermayer 07master:1efc08921868: Merge commit '65ed9e7585e86e6c728bc762ac9944b157e39f8d'
[15:42] <cone-387> ffmpeg.git 03Anton Khirnov 07master:01947f07b81a: avconv: remove a useless line
[15:42] <cone-387> ffmpeg.git 03Michael Niedermayer 07master:22ffa5390f6b: Merge commit '01947f07b81a57fb1e15114b710f6d5ae4f70a11'
[15:52] <Meths> I'm getting build failures with 2.2.1 which seem to be caused by incorrect build dependencies. It is trying to build tools/uncoded_frame before it's built libavdevice on which it depends.
[15:52] <Meths> Have others seen this issue?
[15:53] <Daemon404> sounds like a bug
[15:53] <Daemon404> not sure why that tool needs avdevice though
[15:55] <Meths> It includes this: #include "libavdevice/avdevice.h" avdevice_register_all();
[15:55] <Daemon404> ah
[15:56] <Daemon404> looks like its in teh wrong part of the makefile
[15:56] <Daemon404> its part of TOOLS for some reason
[15:56] <Daemon404> which is only supposed to have standalone tools
[15:57] <Daemon404> Meths, ill send a fix.
[15:57] <cone-387> ffmpeg.git 03Anton Khirnov 07master:9580818c5d93: avconv: rename OutputStream.opts to OutputStream.encoder_opts
[15:57] <cone-387> ffmpeg.git 03Michael Niedermayer 07master:d5ec1ddf7bb0: Merge commit '9580818c5d934bde65a95efd2cee61c174721092'
[15:59] <Meths> That location seems to have been discussed on the ML in Feb.
[15:59] <Daemon404> link?
[15:59] <Daemon404> its a pretty simple fix
[15:59] <Meths> One sec...
[16:00] <Daemon404> it can still be in TOOLS
[16:00] <Daemon404> but it has to have a dep on avdevice
[16:00] <Daemon404> (if thats possible)
[16:01] <Meths> http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2014-February/154210.html
[16:02] <Daemon404> ah
[16:02] <Daemon404> that isnt related to what i mean :P
[16:02] <Meths> Ah, okay.
[16:03] <Meths> Where is the dep to be added? Lines 64 and 65 of Makefile?
[16:03] <Daemon404> i need to make sure i do it right
[16:03] <Daemon404> at the very least it needs to depend on avdevice even being built
[16:03] <Daemon404> it doesnt even do that right now
[16:04] <Daemon404> as in enabled in configure
[16:07] <Daemon404> Meths, deps seem to work in HEAD
[16:07] <Meths> hmmm
[16:07] <Daemon404> configure && make tools/uncoded_frame builds the libs first
[16:07] <Daemon404> before linking
[16:11] <cone-387> ffmpeg.git 03Jean First 07master:15fa856b82ea: libfdk-aacenc: Enable 7.1 channel encoding
[16:11] <cone-387> ffmpeg.git 03Michael Niedermayer 07master:db9c138616c9: Merge commit '15fa856b82ea7dbbf69edc1074eb13dd00b0fa84'
[16:12] <Daemon404> michaelni, fyi, for the fdk relicensing, wbs also contact all the ffmpeg-only contributers
[16:13] <Daemon404> so it should be fine to merge.
[16:14] <Meths> Daemon404: Sorry, looks like it was a configure flags issue. Someone explicitly disabled avdevice. Rerunning now to check if avdevice builds on our platform.
[16:14] <Daemon404> Meths, it should not even allow you to try and build it if it is disabled
[16:15] <Meths> Agreed, but it helps you if I get the bug report right!
[16:16] <Meths> That built fine.
[16:17] <Daemon404> yeah its a bug though
[16:17] <Daemon404> confirmed it
[16:18] <michaelni> wbs, thx
[16:20] <cone-387> ffmpeg.git 03Martin Storsjö 07master:3828eb8519c1: libfdk-aac: Relicense the library wrappers to 2-clause BSD
[16:20] <cone-387> ffmpeg.git 03Michael Niedermayer 07master:ba040d4c8c1e: Merge commit '3828eb8519c1530392ab8820b1aa784602128afc'
[16:21] <Daemon404> now fraunhofer can submit their 4 line patch
[16:21] <Daemon404> rejoice!
[16:22] <wm4> so is distributing ffmpeg with fdk now suddenly legal or something?
[16:22] <nevcairiel> why would that change
[16:22] <Daemon404> it doesnt
[16:23] <Daemon404> the point of the relicensing was so their engineers could submit patches to the wrapper
[16:23] <Daemon404> because their legal dpeartment is fucktarded
[16:23] <wm4> lol
[16:23] <kierank> to be honest credit must go to them and wbs for actually doing this
[16:23] <Daemon404> yes
[16:23] <Daemon404> well, wbs
[16:24] <Daemon404> he did it all.
[16:24] <kierank> because i can only imagine how much of a pita in fraunhofer it must have been to get permission to add to an open source
[16:24] <nevcairiel> should've forced them to change their license of the lib to make it actually more useful :p
[16:24] <Daemon404> unless you menat he decoder
[16:24] <Daemon404> the*
[16:24] <Daemon404> kierank, wouldnt that have been negotiated by google
[16:24] <kierank> dunno
[16:25] <J_Darnley> That sounds like the most pointless change. You can't separate that file from the rest of libavcodec.
[16:26] <Daemon404> J_Darnley, ?
[16:26] <Daemon404> it was solely to make their legal dept happy
[16:26] <Daemon404> you cannot expect them to have any logic
[16:27] <J_Darnley> Well that's ture
[16:27] <J_Darnley> *true
[16:27] <nevcairiel> different files have different licenses in ffmpeg, thats just how its always been
[16:27] <nevcairiel> and it does kinda make a bit of difference if someone wants to take that code and do something else with it
[16:27] <J_Darnley> Re-implement the rest of libavcodec?
[16:28] <nevcairiel> why would you need to do that
[16:28] <J_Darnley> To be able to use that file
[16:28] <nevcairiel> you're not supposed to use it as-is, of course
[16:28] <nevcairiel> but its easy enough to recycle code
[16:29] <cone-387> ffmpeg.git 03Rafaël Carré 07release/1.1:2340ce6954db: update Changelog
[16:29] <cone-387> ffmpeg.git 03Michael Niedermayer 07release/1.1:714dd84f204f: Merge commit '2340ce6954db2c0a79c57fcba7f45e2fcc20cdc9' into release/1.1
[16:31] <Compn> i'm really surprised no one has tried to sue ffmpeg devels for codecs yet
[16:31] <Compn> :P
[16:34] <nevcairiel> didnt viacom or someone send some papers sometime about aac
[16:38] <Skyler_> Compn: j-b has apparently received quite a lot of things, like letters from mpeg-la
[16:38] <Skyler_> from what I've heard
[16:39] <Skyler_> though I guess nobody has ever actually sued?
[16:39] <Compn> j-b got one from dolby
[16:41] <Daemon404> ac-3 patents almost expired (next year!)
[16:41] <Daemon404> \o/
[16:41] <Compn> hooray!
[16:41] <wm4> good thing ac-4 is in the works
[16:41] <Daemon404> of course
[16:41] <kierank> Daemon404: they won't say that
[16:41] <kierank> they'll just say their IPR is still being violated
[16:41] <nevcairiel> i'm sure they'll find a way to make them last longer, at least in the US
[16:43] <Daemon404> kierank, so then you can tell them to put up to shutu[
[16:43] <kierank> they'll find a way by saying their e-ac3 patents still apply
[16:50] <ubitux> http://ubitux.fr/pub/pics/_gcc-color-insanity.png someone needs to hint the gcc devs about isatty()
[16:55] <cone-387> ffmpeg.git 03Michael Niedermayer 07master:47550e62bf71: avformat/astenc: avoid using AVCodecContext.frame_number
[17:41] <ubitux> ok i was stupid, it's because it's on stderr
[17:54] <J_Darnley> gcc has colour now?
[17:54] <J_Darnley> colour me impressed
[17:54] <ubitux> yeah, GCC_COLOR=1 in your env to enable it though
[17:55] <ubitux> i wonder why it's not the default but well
[18:08] <cone-387> ffmpeg.git 03Lukasz Marek 07master:78d3453c4a2e: lavu/fifo: add const to arguments
[18:12] <wm4> does it have good error messages yet?
[18:32] <smarter> they improved them in 4.8: http://gcc.gnu.org/wiki/ClangDiagnosticsComparison
[18:57] <cone-387> ffmpeg.git 03Michael Niedermayer 07master:a69e16a97e40: tests/tiny_ssim: check dimensions
[18:57] <cone-387> ffmpeg.git 03Michael Niedermayer 07master:b395167d56d5: tools/ismindex: use av_mallocz_array()
[20:11] <cone-387> ffmpeg.git 03Michael Niedermayer 07master:2ded57216eae: avutil/audio_fifo: Use av_mallocz_array()
[20:11] <cone-387> ffmpeg.git 03Michael Niedermayer 07master:e77ffaa0ac26: tests/tiny_ssim: more correct error message
[20:11] <cone-387> ffmpeg.git 03Michael Niedermayer 07master:4aa7848eb865: avutil/file_open: Use av_mallocz_array()
[21:23] <Daemon404> who is anshul
[21:23] <Daemon404> and why is he emailing me privately
[21:23] <Daemon404> "Sorry for personal mail but i didnt want it public, your mail is too harsh.
[21:23] <Daemon404> There should not be a problem in selecting default setting explicitly,
[21:24] <Daemon404> Things that are considered as default now may not be default in future.Some things were not default in past.
[21:24] <Daemon404> Its your and anyone right to ask the developer to test the patch in normal co"
[21:25] <JEEB> wat :D
[21:26] <J_Darnley> I think he's sent me a reply off-list too. Let me look...
[21:28] <J_Darnley> Maybe not.
[21:30] <Daemon404> either way it's a bit wtf
[21:31] <Daemon404> (it was in response to http://ffmpeg.org/pipermail/ffmpeg-devel/2014-May/157302.html)
[21:32] <J_Darnley> Well, you are strict in that mail but I don't see a problem with it.
[21:33] <Daemon404> i was blunt, sure
[21:33] <Daemon404> but thats different than harsh.
[21:33] <nevcairiel> i wonder what you have to do to make that fail
[21:33] <nevcairiel> might be related to one of the disable things
[21:33] <nevcairiel> but the patch is still wrong
[21:34] <Daemon404> nevcairiel, well also, passing mingw's include folder to msvc cant end well.
[21:35] <nevcairiel> does it even use /usr/local
[21:35] <nevcairiel> thats usually for your own stuff
[21:35] <Daemon404> some setups do
[21:36] <Daemon404> one of the 50 different msys zips out there
[21:36] <Daemon404> some map mingw to /usr/local
[21:36] <Daemon404> (evil)
[23:41] <cone-764> ffmpeg.git 03Michael Niedermayer 07master:1394e0a9e03e: avformat/segment: Use av_malloc_array()
[23:41] <cone-764> ffmpeg.git 03Michael Niedermayer 07master:89d2fc62db98: avcodec/svq3: Fix "incompatible pointer type" warnings
[00:00] --- Tue May 6 2014
1
0
[00:21] <NeutrinoPower> hi, I got from kdenlive at importing big images this message from by crashing: "sws: filterSize 536 is too large, try less extreme scaling or increase MAX_FILTER_SIZE and recompile \n sws: initFilter failed \n GL error 0x501 at resource_pool.cpp:274"
[00:21] <NeutrinoPower> have I to recompile ffmpeg again with another value for MAX_FILTER_SIZE or a part of kdenlive?
[00:23] <NeutrinoPower> and what is the easiest way for doing it at archlinux in PKGBUILD of ffmpeg-git ?
[01:31] <ergZay> whats ffmpeg_g vs ffmpeg?
[01:39] <watsonkp> ffmpeg_g is for debugging
[01:43] <NeutrinoPower> wtf, I downloaded 151MB from libvpx-git
[02:10] <AGSPhoenix> Hey guys, is there any way to get ffmpeg to do frame blending when converting between frame rates? I have a 990 fps video that I'd like to convert to 30 fps, blending 33 frames from the input into one frame in the output.
[02:16] <CapsAdmin> is there a way to make ffmpeg read more audio than just a frame every av_read_frame?
[02:32] <NeutrinoPower> wow, ffmpeg-git is 87MB big but libvpx-git is bigger
[02:38] <ergZay> NeutrinoPower: libvpx-git isn't ffmpeg so how's this relevant?
[02:38] <ergZay> and neither is kdenlive
[03:07] <NeutrinoPower> ok, changing the "MAX_FILTER_SIZE" parameter doesn't prevent crashing of kdenlive "GL error 0x501 at resource_pool.cpp:274"
[03:14] <xreal> How can I delay audio by 1 second?
[03:15] <AGSPhoenix> perhaps with the concat filter? Not sure if that would work though
[03:15] <AGSPhoenix> I'm no expert
[03:17] <AGSPhoenix> https://ffmpeg.org/ffmpeg-filters.html#concat
[03:18] <AGSPhoenix> You might need to demux the audio stream and process it separately
[03:18] <AGSPhoenix> Actually, that's probably a better idea
[03:20] <klaxa> see -itsoffset instead maybe?
[03:29] <xreal> klaxa: but how can I say "audio only" ?
[03:29] <klaxa> have you read the help-entry for -itsoffset?
[03:29] <klaxa> you apply it before one of the streams (or was it after?)
[03:30] <klaxa> wait...
[03:30] <klaxa> was it before the codecs?
[03:30] <klaxa> seems to only work for inputs, just specify the input twice, using video from 0, audio from 1 and delay audio by using -itsoffset
[03:31] <klaxa> copy codecs and you should be fine
[03:31] <xreal> okay
[03:31] <xreal> klaxa: let me try
[03:32] <xreal> works, thanks.
[03:36] <xreal> klaxa: is this a "hardcoded" delay with digital silence or just metadata?
[03:36] <AGSPhoenix> Pretty sure it's metadata
[03:37] <AGSPhoenix> According to the docs, it just changes the time the audio should play at
[03:37] <AGSPhoenix> hence, Input TimeStamp OFFSET
[03:42] <xreal> klaxa: is this a "hardcoded" delay with digital silence or just metadata?
[03:43] <klaxa> AGSPhoenix said it's setting a delay on the timestamps, while i agree that it is sort of metadata, it's not metadata in the sense of file-information metadata
[03:43] <klaxa> it's part of the bitstream afaik
[03:44] <xreal> I've just loaded it in Adobe Premiere: Audio stats at 0 seconds, but I've set a delay of 5 seconds. mplayer plays it with a delay of 5 seconds.
[03:44] <xreal> So it's only muted using metadata.
[03:45] <AGSPhoenix> It might just be easier to generate 1 seconds of silence, dump the audio and video streams into separate files, and use ffmpeg's concat filter to append the two audio files.
[03:46] <AGSPhoenix> Depends on the audio format and whether or not Premiere can handle raw streams
[03:46] <AGSPhoenix> Well, I suppose you could reencapsulate them separately
[03:46] <xreal> AGSPhoenix: Premiere can handle nearly anything :)
[03:46] <AGSPhoenix> Except audio with a delay, apparently
[03:47] <xreal> AGSPhoenix: It doesn't parse some ffmpeg-only metadata :(
[03:47] <xreal> AGSPhoenix: About concat, let me explain what I am working with.
[03:48] <xreal> I've created a demo video with a frame accurate timecode and LTC data on one audio channel. I want to measure the delay introduced by several audio codecs. Muxing external mp3 gives a big delay, since ffmpeg can't handle them correctly.
[03:48] <xreal> I wanted to force a delay to check, if everything works as expected.
[03:50] <AGSPhoenix> So don't use mp3? Dump the audio track to flac, and append it to a one second clip of silence
[03:51] <xreal> AGSPhoenix: I would, if I could :) Target format needs to be DivX/XviD with MP3.
[03:52] <AGSPhoenix> okay, dump to flac, append, then encode?
[03:52] <AGSPhoenix> Not sure if this LTC data is vulnerable to degradation from reencoding
[03:59] <xreal> AGSPhoenix: it's pretty good, it even works for MP3 :)
[04:00] <AGSPhoenix> Everything is working?
[04:00] <Lamboote> Hello guys . Dose change syntax ffmpeg command ?
[04:01] <AGSPhoenix> Not sure what you mean Lamboote. Maybe try rephrasing your question?
[04:03] <Lamboote> Befor i use -vcodec but now i seen a command with v:c
[04:03] <AGSPhoenix> Oh I see
[04:04] <AGSPhoenix> Yes, there are some new options you can use like -c:v instead of -vcodec
[04:04] <AGSPhoenix> The old options should still work
[04:05] <Lamboote> new option so good .
[04:05] <Lamboote> May i ask you question ?
[04:05] <AGSPhoenix> yes, of course
[04:07] <Lamboote> what dose different between ffmpeg and x264 ?
[04:07] <Lamboote> Sorry for english .
[04:08] <AGSPhoenix> Your english is no problem. It is good enough.
[04:08] <AGSPhoenix> x264 is makes H.264 video streams
[04:09] <AGSPhoenix> ffmpeg can make lots of types of streams, and combine them. It can also make H.264 streams with x264
[04:10] <AGSPhoenix> Simply, ffmpeg does more
[04:11] <Lamboote> Ok . Thanks
[04:11] <AGSPhoenix> :)
[04:13] <Lamboote> do you have experience on convert animation ( anime ) with ffmpeg and x264 ?
[04:14] <Lamboote> I need best parameter for good result .
[04:14] <AGSPhoenix> Converting anime can be hard. The video changes a lot. What are you trying to convert for? Are you trying to watch on a portable video player?
[04:15] <Lamboote> No . I didn't
[04:16] <AGSPhoenix> What do you need to convert to?
[04:17] <Lamboote> I want make hardsub anime . And watch on laptop or pc or even tablets or smart phone or maby hd player .
[04:18] <Lamboote> My problem is result don't sate me .
[04:20] <AGSPhoenix> Lamboote, how are you converting? Paste the command you use
[04:21] <c_14> Lamboote: tried looking at https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo ?
[04:23] <Lamboote> I know how burning subtitle on video .
[04:24] <Lamboote> I want have best quality with redeuce file size
[04:24] <c_14> paste the command you're using and we'll look at it
[04:25] <xreal> oh damn... using MP3 is totally out of sync. It starts at 2 frames delay and after 4 seconds, it's only 1 frame delay. Then after 8 seconds, it's back to 2 frames.
[04:25] <Lamboote> I am online on smart phone . My loptop is not here
[04:25] <Lamboote> Sorry
[04:26] <Lamboote> I comeback few hour and sent command
[04:26] <AGSPhoenix> Lamboote, there's not much we can do without that information except send you to guides
[04:26] <c_14> What I can do is give you this: https://trac.ffmpeg.org/wiki/x264EncodingGuide . Start with a -crf around 20 and adjust until you get the quality/size you want.
[04:26] <Lamboote> Yes i know
[04:27] <Lamboote> Are you always online ?
[04:27] <AGSPhoenix> I am not, I am waiting for help myself
[04:27] <AGSPhoenix> But I will be here for a few hours
[04:27] <Lamboote> c_14
[04:28] <c_14> I'm usually online, but even when I'm not there's usually someone who can help. At least as long as questions don't get too technical.
[04:30] <Lamboote> My source size around 330 ~350 Mb . I want make hardsub from source with size file under 100 mb (80 ~ 90 good for me ) .
[04:30] <Lamboote> With good quality
[04:30] <c_14> If you know the output filesize you want, look at the 2-pass section on the x264 guide I linked. That will give you the best quality for that specific filesize.
[04:31] <AGSPhoenix> If that quality is not good enough, you will need to make the file bigger
[04:33] <Lamboote> How much percent loos quality is normal ?
[04:33] <AGSPhoenix> You can choose the quality loss
[04:33] <AGSPhoenix> You should try different amounts until you find something you like
[04:34] <Lamboote> Ok i understund .
[04:34] <Lamboote> Ok i will comback if i have problem .
[04:35] <AGSPhoenix> Ok
[04:35] <Lamboote> Thank you
[04:35] <AGSPhoenix> :)
[04:37] <AGSPhoenix> Since my question is a few pages up now, I'll ask again: Can ffmpeg take an input video and blend multiple frames together so that each output frame is a blend of multiple input frames?
[04:38] <AGSPhoenix> For example, taking a 90 fps video and outputting a 30 fps video where each frame is a blend of 3 input frames
[05:13] <blippyp> AGSPhoenix: why would you lower it from 90fps to 30fps?
[05:15] <AGSPhoenix> blippyp, that was an example. My real input is 990 fps, and I'm looking into removing some software limitations to get it higher
[05:15] <blippyp> that is crazy fps
[05:15] <blippyp> but either way - let me see if I got your question right
[05:16] <blippyp> you have three videos and you just want to overlay each one on top of the other right?
[05:16] <AGSPhoenix> No
[05:16] <AGSPhoenix> I have an input video at 990 fps, and I want to blend 33 frames from the input into one frame of output
[05:17] <AGSPhoenix> I could probably cobble something together with the blend filter, but I was hoping for an easier solution
[05:17] <blippyp> okay - so you want to take frame 1,2,3 blend them into a new #1, then you want to take frame 4,5,6 and blend those into a new #2?
[05:17] <AGSPhoenix> Yep
[05:18] <blippyp> let me think
[05:18] <blippyp> I honestly don't think you can do that
[05:18] <blippyp> not without some serious craziness
[05:19] <blippyp> why do you need to blend them? you know that would make one fuzzy video
[05:20] <blippyp> at those speeds, I don't even think you'd notice it to be honest
[05:20] <AGSPhoenix> The input comes from a 3D renderer with no motion blur support, so I'm rendering at a very high framerate then blending to make motion blur in post
[05:21] <blippyp> so why not just cut the frame rate to 30 fps and blur the frames?
[05:21] <AGSPhoenix> I'm not sure I understand, how would I blur them right?
[05:21] <blippyp> something like this
[05:22] <blippyp> ffmpeg -i video.mkv -vf "blur" -r 30 -c:v libx264 -c:a ac3 out.mkv
[05:22] <blippyp> there are options for blur also to specify how much
[05:22] <AGSPhoenix> No, that will just make a blurry image, not simulate motion blur
[05:23] <AGSPhoenix> I want this: http://en.wikipedia.org/wiki/File:London_bus_and_telephone_box_on_Haymarket…
[05:23] <blippyp> I see - so you need that really good motion blur - a dynamic one... not even just a simulated one (because it would always be in one direction)???
[05:23] <blippyp> if I understand that right
[05:24] <AGSPhoenix> Correct. The scene is very finely detailed, and just doing a general blur wouldn't look right
[05:24] <blippyp> I think you'd have to work with that frame by frame
[05:25] <blippyp> I don't think there's a filter for what you want
[05:25] <AGSPhoenix> At this point, I'm considering just dumping each frame to PNG, blending them with ImageMagick, and working with that
[05:25] <AGSPhoenix> ...which is what you just said
[05:25] <blippyp> yeah - that's probably what I would do as well
[05:25] <blippyp> very slow - I know
[05:25] <blippyp> I assume you're at least scripting it... ;)
[05:25] <blippyp> haha
[05:26] <AGSPhoenix> But I can't figure out how to do it reasonably
[05:26] <blippyp> you mean you can't get a good blend with imagemagick?
[05:26] <blippyp> or it's too slow
[05:26] <AGSPhoenix> no, gimme a sec to type
[05:27] <AGSPhoenix> I need to feed 33 images at a time from a list of thousands into a command that outputs a file with a sequentially increasing filename
[05:27] <AGSPhoenix> And I have no idea how to manage both of those bit
[05:27] <AGSPhoenix> s
[05:28] <blippyp> but you have your command right for imagemagick?
[05:28] <AGSPhoenix> Yeah
[05:28] <blippyp> k
[05:28] <blippyp> so you're having problems with the scripting then?
[05:28] <AGSPhoenix> Yeah
[05:29] <blippyp> k give me a second to play a bit
[05:29] <AGSPhoenix> I tried doing it with xargs, but I must be missing something, because I can't get it to work right
[05:29] <blippyp> can you paste your imagemagick command so I don't have to play with that part at least
[05:29] <AGSPhoenix> convert {} -evaluate-sequence mean processed/out.png
[05:29] <blippyp> thx
[05:30] <blippyp> that's not specifying any files though?
[05:30] <blippyp> give man an example of it specifying three of the files
[05:30] <blippyp> man=me
[05:30] <AGSPhoenix> sorry, {} is xargs for 'files go here'
[05:30] <AGSPhoenix> convert 1.png 2.png 3.png -evaluate-sequence mean processed/out.png
[05:30] <blippyp> ah
[05:30] <blippyp> I'm with ya
[05:32] <blippyp> actually this should be easy
[05:32] <blippyp> convert 1.png 2.png 3.png -evaluate-sequence mean processed/out.png
[05:32] <blippyp> oops
[05:32] <blippyp> you can turn that into a simple script like:
[05:32] <blippyp> convert $1 $2 $3 -evaluate-sequence mean processed/$1
[05:33] <blippyp> I assume you follow that
[05:33] <AGSPhoenix> sorta
[05:33] <AGSPhoenix> but it still has a few problems
[05:33] <blippyp> these will be off - but they won't be '1,2,3,4,5,6' it will be 1,3,6,9 etc...
[05:33] <blippyp> right
[05:33] <blippyp> there's a fix for that
[05:33] <blippyp> they're still 'sequential' - ffmpeg can deal with that
[05:34] <AGSPhoenix> Also, how do I feed the filenames into the script 3 (or 33, or whatever) at a time?
[05:34] <blippyp> ah
[05:34] <AGSPhoenix> Hmm... $*?
[05:34] <blippyp> no - we'll come up with a fix for that
[05:35] <blippyp> you'll need a seperate script for that part which will call that other command I just gave you
[05:35] <blippyp> give me a bit - to figure it out
[05:36] <AGSPhoenix> I'm beginning to smell the faint aroma of spaghetti code (or pipeline in this case), but okay
[05:36] <blippyp> no - this should be small and simple - but I don't know it off the top of my head - it will just take me a few minutes to weed out the details
[05:37] <blippyp> someone better at bash could probably help you quicker (I'm a programmer, but I hate programming in bash - it gives me headaches)
[05:39] <blippyp> how were you using xargs?
[05:41] <AGSPhoenix> oh sorry
[05:41] <AGSPhoenix> uh
[05:41] <AGSPhoenix> ls *.png | xargs -p -L33 -i convert {} -evaluate-sequence mean processed/out.png
[05:41] <AGSPhoenix> but it didn't work
[05:41] <relaxed> what are you trying to do?
[05:42] <AGSPhoenix> Take 33 files from stdin, feed them to convert to be blended, and output them
[05:42] <blippyp> Overflip: making a master file list then looping through them 3 at a time with a for loop - one command - I think I got it, just let me try it
[05:42] <blippyp> oh - you want to do 33 files at a time?
[05:42] <relaxed> ffmpeg can't do what you want?
[05:42] <blippyp> how?
[05:43] <AGSPhoenix> blippyp, any amount preferably
[05:43] <AGSPhoenix> relaxed, not that we can tell
[05:43] <relaxed> what is your goal?
[05:43] <AGSPhoenix> Well, aside from some horrific blend filter mess
[05:43] <AGSPhoenix> AGSPhoenix> Since my question is a few pages up now, I'll ask again: Can ffmpeg take an input video and blend multiple frames together so that each output frame is a blend of multiple input frames?
[05:43] <AGSPhoenix> <AGSPhoenix> For example, taking a 90 fps video and outputting a 30 fps video where each frame is a blend of 3 input frames
[05:45] <relaxed> oh, I'm not sure about that. convert can do it?
[05:46] <AGSPhoenix> Yeah, with lots of scripting and a few hundred GB of drive space
[05:46] <blippyp> frame by frame - he could use ffmpeg just as well - I have no idea which one would be faster or better for it though... I imagine they both pretty much use the same technique if not even the same basica library to do it....
[05:47] <blippyp> no - not lots of scripting - you'll see
[05:47] <blippyp> I wish I knew xargs better - there's probably an easier way
[05:49] <relaxed> ffmpeg's blend takes two frames
[05:50] <blippyp> you can blend as many as you want actually
[05:50] <blippyp> you just have to filter the laters right
[05:50] <blippyp> it would be much harder with ffmpeg though I think with the amount of frames he wants to do it with
[05:50] <AGSPhoenix> I could just go with a power of two
[05:51] <AGSPhoenix> Oh wait, I misread, disregard that
[05:51] <blippyp> no - convert is what you want I think
[05:51] <blippyp> you've already tested it and are happy with the output - and it's easy to work with.... I wouldn't change it
[05:51] <blippyp> I doubt you'd get much of a speed increase by using anything else
[05:51] <AGSPhoenix> I don't care about speed
[05:52] <AGSPhoenix> Well, as long as it takes less than 3 days
[05:52] <AGSPhoenix> That'd be pushing my patience
[05:52] <blippyp> depends on the how many frame syou have
[05:52] <AGSPhoenix> Could be a lot
[05:52] <AGSPhoenix> but we'll see
[05:52] <blippyp> I once did this kind of thing with convert - only I changed each frame of a video into a cartoon using a imagemagick script I found online
[05:52] <blippyp> using three computers it took like a week for like 60 mins of video
[05:53] <AGSPhoenix> Good god
[05:53] <blippyp> but you're just doing simple overlays - should be MUCH faster
[05:53] <relaxed> isn't there a multithreaded convert?
[05:53] <blippyp> not sure
[05:53] <AGSPhoenix> Here, most of the time will be waiting for the process to start and load the files, not the blending
[05:54] <relaxed> I think it's a fork called GraphicsMagick
[05:58] <relaxed> If you know the command to blend three into one with convert I could probably script the rest.
[05:59] <AGSPhoenix> I'd prefer an arbitrary amount, instead of just 3, but yeah
[05:59] <relaxed> then use ffmpeg on the blended frames
[05:59] <AGSPhoenix> blippyp is already working on it, I think
[06:30] <blippyp> this looks pretty cool actually
[06:30] <blippyp> just one more step is needed
[06:30] <AGSPhoenix> oh?
[06:31] <blippyp> the number formatting on my output needs to be more specific - let me find an example for that then it should be ready...
[06:33] <AGSPhoenix> brb
[06:33] <blippyp> no hurry
[06:41] <blippyp> http://sprunge.us/acBX
[06:41] <blippyp> that will make your files
[06:42] <blippyp> run it like 'cmd filelist numberofframes'
[06:42] <blippyp> so run ls pathtoimages/*.png>filelist
[06:42] <blippyp> then cmd filelist 33
[06:42] <blippyp> for 33 frames at a time
[06:42] <blippyp> it's not very fast though
[06:43] <blippyp> blame that on convert - not on the script... ;)
[06:43] <blippyp> now let me find that command to merge them easily for you (since they're not in sequential order like 1,2,3)
[06:44] <blippyp> I'm stupid
[06:44] <blippyp> http://sprunge.us/adKB
[06:45] <blippyp> there all done
[06:45] <blippyp> that will produce the files you want....
[06:45] <blippyp> alter the script as you want - when joining with ffmpeg you would need to us out%20d.png as the source name... look in the script and you'll easily see where to change that if you need to
[06:46] <blippyp> so ffmpeg would be: ffmpeg -i processed/out%20d.png -i audio.wav -c:v libx264 -crf 17 -c:a ac3 final.mkv or something like that....
[06:47] <AGSPhoenix> back
[06:48] <blippyp> sorry it took so long - I've been on a C++ programming sprint lately and haven't touched bash in a few weeks now... :(
[06:49] <blippyp> I'm sure there's better ways of doing it - but I think that does what you want....
[06:50] <AGSPhoenix> let me test it
[06:50] <AGSPhoenix> Just gotta finish eating
[06:50] <blippyp> k - I don't know what the limits are - I use 3 frames at a time
[06:51] <blippyp> that would depend on convert i guess
[06:51] <blippyp> or your character limit at the prompt
[06:51] <AGSPhoenix> according to xargs, 24240
[06:51] <blippyp> so if you wanted to do LOTS of frames at a time I would keep the src files as short as possible
[06:51] <AGSPhoenix> Yeah
[06:52] <blippyp> that's quite a bit - but still a limit to consider... ;)
[06:55] <AGSPhoenix> interesting. It starts to grind to a halt as it goes longer and longer
[06:55] <AGSPhoenix> I just changed the convert to an echo to test
[06:55] <blippyp> I know it's killing my system to do it
[06:56] <AGSPhoenix> I'm at 15,000 images, and each loop is taking about half a second
[06:56] <blippyp> that's weird
[06:56] <blippyp> maybe it's the fixed width of 20 that's killing it - that is rather high
[06:57] <blippyp> you can probably shrink that... ;)
[06:57] <blippyp> depends on how many images you have
[06:57] <AGSPhoenix> uh
[06:57] <AGSPhoenix> I think you made a mistake
[06:57] <blippyp> if you have more than one computer to devote to the task you could break up the files into chunks easily enough
[06:57] <blippyp> how so?
[06:58] <AGSPhoenix> $lines never gets erased
[06:58] <blippyp> it was - maybe I delete that line
[06:58] <blippyp> yeah I must have
[06:59] <blippyp> ouch - that would definately kill things way more
[06:59] <AGSPhoenix> Oh god my scrollback buffer
[06:59] <blippyp> just put a lines="" after the convert command
[06:59] <blippyp> I know I did put that in at one point.... haha
[07:00] <AGSPhoenix> Ah there we go
[07:00] <AGSPhoenix> runs in 7s on my 16k image test set
[07:00] <AGSPhoenix> echoing, anyway
[07:01] <blippyp> I'm re-running it now as well
[07:01] <blippyp> this is pretty slow though - I would use as many computers on this as you can
[07:02] <AGSPhoenix> Hmm...
[07:02] <blippyp> something else wrong?
[07:02] <AGSPhoenix> What I really need is a program like SrcDemo2, but more flexible
[07:03] <AGSPhoenix> It uses Dokan do present a folder that TGAs get written to, and it does the same thing your script does
[07:03] <AGSPhoenix> to*
[07:03] <blippyp> ffmpeg does the overlay WAY faster
[07:03] <AGSPhoenix> Of course
[07:04] <AGSPhoenix> It needs to be fast
[07:04] <AGSPhoenix> Actually, scratch what I said earlier, what I really need is an ffmpeg filter to do this
[07:05] <blippyp> well, we're kind of limited by the tools - especially if you want to join 33 frames at a time - you could build a filter for that with ffmpeg - but I honestly don't know if it would be much faster
[07:05] <blippyp> yeah
[07:05] <AGSPhoenix> Since that's where my problem started before getting yak-tipped into begging for scripts to control imagemagick
[07:05] <blippyp> imagemagick is great - but it's very slow
[07:05] <AGSPhoenix> How could it not be faster though?
[07:06] <AGSPhoenix> You'd eliminate the time to takes to start each instance of convert
[07:06] <blippyp> I don't know - I'm not an expert - but because you'd be running so many frames though (in such short sequences) you might be limited by the hardrive....
[07:07] <blippyp> because you'd still have to run a bunch of sequences through ffmpeg - just to build 1 image
[07:07] <AGSPhoenix> Well, my original source is a bunch of .avis with UTvideo
[07:07] <blippyp> then you'd have to join those images into a movie
[07:07] <blippyp> unless there's some filter already for this - but I haven't come across it
[07:07] <AGSPhoenix> I just used ffmpeg to dump each frame to PNGs so I could work with them via IM
[07:08] <blippyp> let me try with ffmpeg - I'll compare the speeds
[07:08] <AGSPhoenix> how are you testing it?
[07:08] <blippyp> what do you mean?
[07:09] <AGSPhoenix> how are you testing ffmpeg's blending speed?
[07:09] <blippyp> I'm going to time both
[07:09] <blippyp> all I have to do is modify the convert line in the script and it will do the same thing
[07:09] <blippyp> but I'm not going to get it to do 33 frames at a time - I have no desire to build the filter for that
[07:09] <blippyp> I'll do three
[07:11] <AGSPhoenix> As a side note, the reason I have 33 samples per frame is because the rendering system has an arbitrary limit of 999 frames per second, and 30*33 is 990
[07:11] <blippyp> so you don't care about dropping the frames to 90 or 60 first?
[07:12] <blippyp> it would definately make your life much easier in the long run
[07:12] <AGSPhoenix> for tests yeah, but the final needs to handle much more
[07:12] <blippyp> ah
[07:12] <AGSPhoenix> Ideally, 256 samples per output frame, but maybe less if I can get away with it
[07:16] <AGSPhoenix> wait wait wait wait
[07:16] <AGSPhoenix> blippyp
[07:17] <blippyp> yeah
[07:17] <AGSPhoenix> When you say you're testing with filters
[07:17] <AGSPhoenix> Are you saying that ffmpeg can do basically the same thing IM is doing here?
[07:17] <blippyp> yes
[07:17] <blippyp> exactly
[07:18] <AGSPhoenix> Hmm... ffmpeg can do multiple outputs in a single run
[07:18] <AGSPhoenix> I have a terrible, horrible idea
[07:18] <blippyp> yes - but I'm only doing one
[07:18] <blippyp> with three inputs
[07:22] <blippyp> oh I think this is going to be much faster
[07:23] <blippyp> oh wait - no I screwed it up - still working on it
[07:36] <blippyp> okay - I'm done
[07:36] <blippyp> I do think it's faster - let me actually time them now
[07:37] <AGSPhoenix> Praise be!
[07:37] <blippyp> ya, I'm pretty sure this is faster
[07:37] <blippyp> I run a test of 100 frames
[07:37] <blippyp> my system is slow so bare with me... ;)
[07:37] <blippyp> the convert is going to take forever I think
[07:39] <blippyp> using ffmpeg - realtime was 29.804s
[07:41] <blippyp> not sure about this
[07:42] <blippyp> using convert - realtime was 1m8.596s
[07:42] <blippyp> guess so
[07:43] <AGSPhoenix> Oh damn
[07:43] <blippyp> over twice as fast with ffmpeg
[07:44] <blippyp> http://sprunge.us/YciY - ffmpeg version
[07:45] <blippyp> as you can see there is more manually labor you will need to do the more frames you wish to overlap at once
[07:46] <blippyp> you can also use different methods of overlaying if you wish - there are like a dozen different ones and you can choose percentages of overlap and all kinds of stuff, so you might want to play with the blend method
[07:51] <blippyp> oh and although it doesn't show it in that script - when I compared using the convert method I also switch that to a fixed width of 6 as well, so they were run identically as far as I know
[07:55] <AGSPhoenix> Well I'll tell you this, even the old convert version is fast enough that it finished in 34 minutes with my test dataset
[07:55] <quup> Trying to rescale images into 2x2 pixels for som analysis, but I get this error: sws: filterSize 708 is too large, try less extreem scaling or increase MAX_FILTER_SIZE and recompile
[07:56] <AGSPhoenix> Now I need to go render more
[07:56] <quup> using this line: -c:v libx264 -profile:v baseline -an -vf scale="-1:2"
[07:56] <Mavrik> ugh
[07:56] <quup> do I really need to recompile?
[07:56] <quup> (images=videos)
[07:57] <AGSPhoenix> possibly stupid question: Why not use scale=2:2?
[07:58] <blippyp> good question... ;)
[07:58] <AGSPhoenix> Maintaining aspect ratio at that size isn't going to do much
[07:58] <blippyp> I still think it's too small though
[07:58] <blippyp> I've seen the same issue before
[07:58] <AGSPhoenix> Oh I get it
[07:58] <quup> AGSPhoenix: heh, no reason, just got started and that error hit me in the face
[07:58] <blippyp> I just used a bigger scale
[07:58] <quup> https://trac.ffmpeg.org/ticket/1852 seems like that is the issue
[07:59] <AGSPhoenix> It's trying to sample 708 pixels into one in the output, and that's too many
[07:59] <AGSPhoenix> I think
[07:59] <blippyp> no you're right
[07:59] <blippyp> it might work with 2x2 - it's worth a shot - and it's what he wants anyways
[07:59] <AGSPhoenix> If not, maybe chain multiple scales together?
[07:59] <blippyp> it's probably trying to do 0.0000322x2 instead as it is or something like that
[08:00] <quup> 2:2 fails too, and so does 10:10, but 20:20 works
[08:00] <AGSPhoenix> called it
[08:00] <blippyp> try 20x20
[08:00] <blippyp> then re-scale it again
[08:00] <AGSPhoenix> Scale to 20x20, then scale to 2x2
[08:00] <AGSPhoenix> damn!
[08:00] <blippyp> haha
[08:00] <blippyp> I called it!
[08:00] <blippyp> haha
[08:00] <blippyp> :P
[08:00] Action: AGSPhoenix blows raspberry
[08:01] <Mavrik> hmm
[08:01] <Mavrik> will x264 even encode 2x2 video
[08:01] <blippyp> I doubt it
[08:01] <Mavrik> isn't smallest unit something like 16x16
[08:01] <Mavrik> it'll just probably pad out the frame to 16x16 tho
[08:01] <quup> AGSPhoenix: double scale works well, thanks
[08:02] <AGSPhoenix> Aw yeah!
[08:02] <quup> -vf scale="20:20,scale=2:2
[08:02] <AGSPhoenix> *awesome rock solo*
[08:04] <quup> Mavrik: libx264 seems to be happy as long as it's divisible by 2
[08:04] <quup> (width that is)
[08:05] <blippyp> AGSPhoenix: I just looked at that image you posted (didn't even notice it until now)
[08:05] <Mavrik> quup, mhm, it pads the frame to 16 multiplier
[08:06] <AGSPhoenix> ...oh, the bus?
[08:06] <blippyp> do get that kind of outcome using the ffmpeg method would take LOTS of filtering - I'd just go with the convert method - it's slower, but MUCH easier in the end.... You can run as many frames as you want easily that way....
[08:06] <blippyp> ya - the bus
[08:07] <AGSPhoenix> Yeah, I know
[08:07] <blippyp> also - I'm not guaranteeing it will even look the same... ;)
[08:07] <blippyp> I think it will - but I don't know
[08:07] <AGSPhoenix> I've half a mind to smash my head into the brick wall that is C++ to try and write a frameblend filter
[08:07] <blippyp> at least similar
[08:08] <blippyp> good luck with that... ;)
[08:08] <blippyp> look into frei0r
[08:08] <blippyp> you can enable that with ffmpeg - they might even already have a filter for it
[08:08] <blippyp> there's another common library for ffmpeg to but I forget it at the moment
[08:09] <blippyp> it might give you an idea for how to build what you want at least - it's all open source (or at least you can see the source)
[08:09] <blippyp> I don't know what license it's under
[08:10] <blippyp> but I do believe they have an overlay filter - so you can easily use that as a base
[08:10] <AGSPhoenix> Yeah, I'll look into it later. For now though, I've got something that works, and I need to get my renderer working above 1000 fps.
[08:10] <AGSPhoenix> Also, I need to sleep
[08:10] <AGSPhoenix> Ugh, it's 2 AM
[08:10] <blippyp> yup
[08:10] <blippyp> well good luck with that... ;)
[08:10] <AGSPhoenix> Thanks for your help
[08:11] <blippyp> np
[08:11] <blippyp> it was fun :)
[08:11] <AGSPhoenix> The best work is
[08:11] <AGSPhoenix> Night
[08:11] <blippyp> ooh - the BEST!
[08:11] <blippyp> haha
[08:11] <blippyp> night
[08:11] Action: blippyp pats his back for a job well done!
[08:12] <blippyp> haha
[13:52] <holgersson> Hi all!
[13:53] <holgersson> I have a large mkv-file here and want to recode it to a way smaller one. The video stream is all black/white/grey only - can I improve compression at that point?
[13:54] <holgersson> In summary my main problem is that I don't know proper keywords for searching after howtos etc.
[13:54] <holgersson> Could you give me some, please?
[13:56] <xharx> i have troubles recording from VHS. I Use the commandline ffmpeg -f v4l2 -i /dev/video1 -f alsa -i hw:3 -vcodec libx264 -preset ultrafast -qp 30 -aspect:v 4:3 -acodec libmp3lame -ar 44100 -b:a 256k ~/DickePladde/nix2.mkv, i get an error like in the paste. http://pastebin.com/7G0h7y8U How can I prevent this?
[15:53] <Lokie> hello. Are there any guides for encoding with ffmpeg (using libvpx) from variable frame rate sources?
[15:53] <Lokie> also about: -sub_charenc
[15:54] <Lokie> documentation that is
[15:54] <JEEB> I have no idea if the rate control supports VFR
[15:54] <JEEB> with libvpx that is
[15:54] <JEEB> otherwise encoding it into a container that can deal with timestamps should make it nice and workable
[15:54] <Lokie> i tried it using the normal flags, it came out the proper length but the video was slowing down and speeding up on random places
[15:55] <Lokie> can mp4 do that or just mkv?
[15:56] <JEEB> mp4, matroska, quite a few others base upon time stamps instead of a "frame rate" field
[15:56] <Lokie> ok, do u know of a guide i can use?
[15:56] <Lokie> explaining and maybe giving some examples
[15:57] <ubitux> http://trac.ffmpeg.org/wiki/vpxEncodingGuide
[15:57] <ubitux> Lokie: what's the matter with -sub_charenc?
[15:57] <Lokie> i started from that ubitux
[15:57] <Lokie> i don't recall it having anything about vfr but will check
[15:57] <Lokie> nor search helped
[15:58] <JEEB> VFR should just work if you have timestamps in the input correct :P
[15:58] <JEEB> and use an output container that handles them right
[15:58] <Lokie> doubt i will JEEB, i just have the source
[15:58] <Lokie> though there must be some way to create them right?
[15:58] <JEEB> what?
[15:58] <JEEB> you are not making a whole lot of sense here
[15:58] <Lokie> let me try again then
[15:59] <Lokie> i have only the input file, no idea if it has the timestamps you are referring to
[15:59] <Lokie> but i am wondering if it doesn't have them if there is some way to "extract" them from the input file
[15:59] <JEEB> if it's VFR and plays correctly, and if possible is not a 120fps hacky AVI file, the timestamps should live through the encoding chain just fine
[15:59] <Lokie> i see
[15:59] <JEEB> unless libvpx's wrapper does something homicidally stupid
[16:00] <Lokie> would such information appear on the output of ffprob?
[16:00] <Lokie> i could pastebin it
[16:01] <Lokie> ubitux i was receiving errors about the encoding of the srt subtitles and it said: maybe include -sub_charenc
[16:01] <Lokie> i googled a bit but found no documentation about that
[16:01] <ubitux> sub_charenc encoding (decoding,subtitles)
[16:01] <ubitux> Set the input subtitles character encoding.
[16:02] <Lokie> tried throwing it around the ffmpeg command using utf-8 and the output of file -bi
[16:02] <ubitux> http://ffmpeg.org/ffmpeg-all.html
[16:02] <ubitux> it's used to specify the input charset of your file
[16:02] <ubitux> because it's not in utf-8
[16:03] <Lokie> used the output of file -bi that didn't work too, though i think it might have to do with the command line i used
[16:04] <RoyK> hi all. anyone that knows how I can use ffmpeg/avconv to garble audio files for (somehow) anonymizing them?
[16:04] <Lokie> ./ffmpeg -i file.mkv -c:v libvpx -crf 9 -b:v 3.5M -c:a libvorbis -vf -sub_charenc iso-8859-1 subtitles="file.srt" "/opt/no/file.webm"
[16:04] <ubitux> Lokie: aah in the -vf sub !
[16:04] <ubitux> well
[16:04] <Lokie> that's the line i used ubitux, RoyK that line has nothing to do with what u asked :P
[16:04] <ubitux> subtitles=file.srt:charenc=iso-8859-1
[16:05] <Lokie> oh
[16:05] <ubitux> -sub_charenc was if you were using -i file.srt
[16:06] <Lokie> i see
[16:06] <Lokie> i got hit with a : Neither PlayResX nor PlayResY defined. Assuming 384x288
[16:07] <ubitux> yeah well, ignore that shit ;)
[16:07] <Lokie> i see google says it might make my subtitles too small
[16:07] <ubitux> mmh
[16:07] <JEEB> (basically your srt gets converted to ASS for rendering, and the converted ASS doesn't have those fields that usually mean how big stuff is rendered)
[16:08] <Lokie> stackoverflow has a possible resolution http://stackoverflow.com/questions/17750036/ffmpeg-didnt-burn-srt-subtitle-…
[16:08] <JEEB> basically your video size will now be a grid of 384x288 for the subtitles
[16:08] <Lokie> yea
[16:08] <JEEB> and the font scaling etc depend on that
[16:08] <Lokie> though i specifically used the flag for srt
[16:08] <JEEB> generally I wouldn't think it would make things too small, too big possibly?
[16:08] <Lokie> mm
[16:08] <JEEB> Lokie, the rendering thing uses ASS internally
[16:09] <JEEB> srt gets converted to basic ASS, that gets fed to the rendering thingamabob
[16:09] <Lokie> how come i never received that warning with other srts that i doubt included that information
[16:09] <Lokie> can be luck ofc
[16:09] <JEEB> different versions? not using hardsubbing?
[16:09] <JEEB> etc etc
[16:10] <Lokie> i am using the same command since moment 0 :P but they just might have it included
[16:10] <Lokie> that's the logical answer
[16:10] <JEEB> srt doesn't have that info
[16:10] <Lokie> ::confused:: then
[16:10] <JEEB> so it might be a change in how the SRT gets converted to ASS, or something else
[16:10] <JEEB> loldunno
[16:10] <ubitux> i'm trying ffplay -f lavfi color=s=1280x800 -vf subtitles=$HOME/fate-samples/sub/SubRip_capability_tester.srt
[16:10] <ubitux> with different size
[16:10] <ubitux> and it renders mostly fine
[16:11] <JEEB> yeah, I'd only guess fonts get somewhat big (possibly) with the grid being smaller than the video resolution
[16:11] <Lokie> i used the first paragraph of : http://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo
[16:11] <ubitux> we should really do something about all these subtitles&
[16:11] <ubitux> but no one wants to :(
[16:16] <Lokie> well will try and see how the subs come out once / if i get my hands on a more powerfull vps
[16:17] <Lokie> (home pc is windows)
[18:09] <Maverick|MSG> are there any known issues when using image2pipe with targa images? It works fine with piped jpges.
[18:09] <Maverick|MSG> http://pastebin.com/GSBUEbEh
[18:10] <Maverick|MSG> I've got image001.tga, image002.tga, image003.tga... all being piped into ffmpeg but it spits out a bunch of errors
[18:11] <sacarasc> Maverick|MSG: Does it work if you don't pipe them, but use them as files?
[18:11] <Maverick|MSG> it does, yes
[18:11] <Maverick|MSG> using image2 (rather than image2pipe)
[21:48] <GTAXL> How do I record a live http dynamic stream that are f4f files?
[21:55] <blippyp> I'm not sure I'm understanding - I expect that you have a link for one of these?
[21:55] <blippyp> If so - post it so I can try
[00:00] --- Tue May 6 2014
1
0
[00:02] <ubitux> thx
[00:03] <ubitux> iirc the notation for excluding 10 is [0,10)
[00:03] <ubitux> in english math litterature
[00:03] <nevcairiel> thats what I remember, [] and (), not <>
[00:04] <ubitux> i tend to pref the [0;10[ notation though
[00:04] <ubitux> but well, that's not valid english :p
[00:42] <cone-197> ffmpeg.git 03Luca Barbato 07master:f66d0c57b13c: latm: Add a probe function
[00:42] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:4210cbf19373: Merge commit 'f66d0c57b13c1b7102e1e353237af178960dd3c5'
[01:24] <cone-197> ffmpeg.git 03Luca Barbato 07master:dcbfb7805a65: probe: Support AAC_LATM in set_codec_from_probe_data
[01:24] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:32388e04a801: Merge commit 'dcbfb7805a655757e0dac2a647dfcd3de0ab0510'
[01:33] <cone-197> ffmpeg.git 03Carl Eugen Hoyos 07master:c2b0ce70add2: Initialize riff and wav size fields to -1 instead of 0.
[01:33] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:8b132bb7b970: Merge remote-tracking branch 'cehoyos/master'
[03:42] <cone-197> ffmpeg.git 03Matt Oliver 07master:a6b0c0e123f6: Enable inline asm in intel compiler on windows.
[03:42] <cone-197> ffmpeg.git 03Matt Oliver 07master:c25b0b778864: Maintainers: add myself for msvc and icl.
[06:54] <cone-919> ffmpeg.git 03Lukasz Marek 07master:3316556cf74d: MAINTAINERS: add myself as lavd/xv maintainer
[10:56] <cone-944> ffmpeg.git 03Clément BSsch 07master:7c3941b25ce0: avfilter/lut3d: support 3DLUTSIZE directive for Davinci files.
[12:28] <wm4> --enable-debug doesn't seem to add debug infos to shared libs
[12:28] <wm4> bug?
[12:28] <nevcairiel> isnt enable debug default on
[12:28] <wm4> perhaps
[12:29] <nevcairiel> i dont suppose it produces _g libraries as well, eh
[12:30] <wm4> apparently not
[12:30] <wm4> but it strips them on install
[12:30] <wm4> god, why
[12:30] <nevcairiel> can always run --disable-strip if you want to
[12:31] <nevcairiel> i dont debug gcc builds, and msvc doesn't have that problem
[12:31] <wm4> it's not like this is a gcc issue
[12:31] <wm4> it just means msvc support is different from gcc support
[12:31] <nevcairiel> because msvc has debug symbols in its own file!
[12:32] <wm4> well, ffmpeg could do that too in its build process
[12:32] <nevcairiel> is that a thing for gcc/gdb flows?
[12:32] <wm4> AFAIK yes
[12:32] <wm4> or what are you asking
[12:33] <nevcairiel> i just dont know if thats something supported, debug symbols in a separate file, for other mainstream compilers
[12:33] <wm4> could be a problem for other obscure cc-conform compilers
[12:34] <nevcairiel> i think i remember seeing an option in my gentoo box for that, called split-debug or something, i had to turn that on some time ago when i was valgrinding some things
[12:36] <nevcairiel> but i'm really not the right person to ask how to handle debuging linux binaries
[12:38] <wm4> actually it's --disable-stripping
[13:37] <cone-944> ffmpeg.git 03Michael Niedermayer 07master:928e2a7d6476: doc/codecs: document ignore_err
[13:37] <cone-944> ffmpeg.git 03Michael Niedermayer 07master:d7ade20adb71: avcodec: add AV_EF_IGNORE_ERR
[13:37] <cone-944> ffmpeg.git 03Michael Niedermayer 07master:e94b08f00217: avformat: add AV_EF_IGNORE_ERR
[13:37] <cone-944> ffmpeg.git 03Michael Niedermayer 07master:336901e0601e: avcodec/h263dec: use AV_EF_IGNORE_ERR
[14:48] <Compnn> [flv @ 0290a600] Stream discovered after head already parsed
[14:48] <Compnn> blurgh
[15:08] <cone-944> ffmpeg.git 03Lukasz Marek 07master:c9a12fdd2d29: lavf/mux: pass options to nested structs of priv data
[17:17] <Daemon404> eta till aac ticket hits 300?
[17:19] <nevcairiel> Daemon404: 16
[17:20] <Daemon404> nevcairiel, i meant time
[17:20] <nevcairiel> i can do it in an hour
[17:20] <Daemon404> lol
[17:21] <Daemon404> so 5 minutes + 55 minutes for loading trac 16 time
[17:21] <Daemon404> s
[17:21] <Daemon404> ;)
[17:21] <nevcairiel> but the latest patch at least sounds like it might be near commit worthy
[17:21] <Daemon404> yeah
[17:21] <Daemon404> still is losing to LAME nad FAAC though, no?
[17:21] <Daemon404> at least it wont be considered a weapon of mass ear destruction anymore though
[17:23] <nevcairiel> i've been using the encoder in git master right now to on-the-fly transcoding for mobile streaming, and my eyes didn't fall of at least
[17:23] <nevcairiel> the v8 patch got M/S encoding, and i didnt see a full quality comparison since then in the ticket anymore though
[17:24] <Daemon404> yeah
[17:24] <Daemon404> not that it matters for me, since we dont distro
[17:24] <Daemon404> i can just use fdk
[17:25] <Daemon404> what do you use it for? s/pdif?
[17:26] <nevcairiel> hls streaming to android
[17:26] <Daemon404> oh you mean at work
[17:26] <Daemon404> i assume
[17:26] <nevcairiel> well i also use the feature :d
[17:26] <nevcairiel> but yes
[17:28] <nevcairiel> fwiw, aac over s/pdif is very rarely supported, if you want to encode for that, you use ac3 typically
[17:29] <JEEBsv> funny enough various Japanese hardware seems to support it, it was then abused by the early Japanese DTV cappers: capping the output pictures via a capture card, and pushing AAC in S/PDIF for audio
[17:29] <JEEBsv> thus you got the original audio
[17:30] <nevcairiel> i know its in the spec, but thats pretty much the end of what i've seen of it
[17:30] <nevcairiel> the spec even has atrac though
[17:31] <JEEBsv> lol
[17:31] <JEEBsv> that's pretty fabulous alright
[17:32] <nevcairiel> i've only bothered to implement the usual consumer formats, not sure any of my devices would even accept anything else
[17:32] <nevcairiel> maybe wma
[17:33] <wm4> you implemented spdif mangling yourself?
[17:33] <Daemon404> a lot of pc setups use s/pdif
[17:33] <Daemon404> ffdshow had bitstreaming iirc
[17:33] <nevcairiel> nah i just use avformats spdif "muxer", but to use it properly, I had to understand how it works, it was weird at first
[17:34] <nevcairiel> (and still needs a bit of glue around it to make it talk to windows audio)
[17:34] <wm4> I'm using that muxer thing too
[17:35] <wm4> weird indeed
[17:35] <nevcairiel> once i knew how it worked, its works OK
[17:36] <nevcairiel> but DTS-HD and TrueHD required to read the code to figure out how it does its thing and what it wants from me
[17:40] <Daemon404> nevcairiel, standard libav*
[18:31] <cone-944> ffmpeg.git 03Carl Eugen Hoyos 07master:a64df19c5bd2: Disable inline_asm_direct_symbol_refs if lto was requested.
[18:31] <cone-944> ffmpeg.git 03Carl Eugen Hoyos 07master:431c7bd3f49e: Map --enable-lto to -ipo when compiling with icc.
[18:31] <cone-944> ffmpeg.git 03Michael Niedermayer 07master:aeeb3d460525: Merge remote-tracking branch 'cehoyos/master'
[18:33] <Daemon404> http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=c25b0b7788644036b65073… <-- wut
[18:35] <wm4> he wrote some patches or so
[18:35] <Daemon404> for icl
[18:36] <Daemon404> nevermind the people who actually wrote msvc support? :V
[18:37] <michaelni> Daemon404, feel free to add yourself to MAINTAINERs for msvc or if someone else wants to (co)-maintain it ...
[18:39] <michaelni> i just applied Matthews patch which added himself as maintainer for ICL & MSVC, there was noone else listed for these in maintainers before
[18:45] <michaelni> also i certainly prefer too if MSVC is maintained by the people who wrote the support, so if they agree please add them or send a patch that adds them to maintainers
[18:51] <michaelni> also, everyone please, if you want to maintain something, please make sure you are listed for it in the MAINTAINER file
[19:59] <cone-944> ffmpeg.git 03Michael Niedermayer 07master:35e16b1babcb: MAINTANERS: update snow/ffv1/nut entries as these are no longer in a single file
[20:00] <cone-944> ffmpeg.git 03Michael Niedermayer 07master:beecfa81ac0b: avutil/pca: Use av_malloc_array()
[20:00] <cone-944> ffmpeg.git 03Michael Niedermayer 07master:656fe7eccec0: swscale/utils: use FF_ALLOC(Z)_ARRAY_OR_GOTO() and av_malloc(z)_array()
[20:55] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:0f6e309b97e3: mp3enc: Properly write bitrate value in XING header
[20:55] <cone-944> ffmpeg.git 03Anton Khirnov 07release/2.2:9d02e38d3f03: lavr: allocate the resampling buffer with a positive size
[20:55] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:742f9aa87928: Merge commit '0f6e309b97e3da83a0fa75fbf1c4b50cd72047eb' into release/2.2
[20:55] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:b34fce9c5470: Merge commit '9d02e38d3f03100784348ff75fd181d2aaad7e43' into release/2.2
[21:26] <cone-944> ffmpeg.git 03Martin Storsjö 07release/2.2:c4e764aa6980: rtmpproto: Make sure to pass on the error code if read_connect failed
[21:26] <cone-944> ffmpeg.git 03Anton Khirnov 07release/2.2:82cebc0e0544: matroskadec: read the CodecDelay element
[21:26] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:8c5897632a32: Merge commit 'c4e764aa6980dd9dc7c423921b415ff7261c944a' into release/2.2
[21:26] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:c36fd16aaa0b: Merge commit '82cebc0e0544dce507749dd9b1c2983f083de836' into release/2.2
[21:55] <cone-944> ffmpeg.git 03Anton Khirnov 07release/2.2:79041d92ee74: matroska: add the Opus mapping
[21:55] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/2.2:fa164406597e: Merge commit '79041d92ee7421853ee8c57fc13891cb0c272e0e' into release/2.2
[22:14] <cone-944> ffmpeg.git 03Anton Khirnov 07release/1.1:cf7bb6ceb1da: Revert "pthread: flush all threads on flush, not just the first one"
[22:14] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/1.1:11b3462aa347: Merge commit 'cf7bb6ceb1da7682aa54989f83d81c67a5e6790d' into release/1.1
[22:23] <cone-944> ffmpeg.git 03Anton Khirnov 07release/1.1:945a1b7ab9b9: h264: reset next_output_pic earlier in start_frame()
[22:23] <cone-944> ffmpeg.git 03Baptiste Coudurier 07release/1.1:42a8d326978f: movdec: handle 0x7fff langcode as macintosh per the specs
[22:23] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/1.1:ebefc92a3dcd: Merge commit '945a1b7ab9b9df317e175e480a135a41e7e05b5c' into release/1.1
[22:23] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/1.1:707cfea37497: Merge commit '42a8d326978f6cf64fdc6deec8a3d91e5e1eaf07' into release/1.1
[22:45] <cone-944> ffmpeg.git 03Mark Himsley 07release/1.1:b5f92f9603c2: isom: lpcm in mov default to big endian
[22:45] <cone-944> ffmpeg.git 03Rafaël Carré 07release/1.1:05de372350f8: apedec: do not buffer decoded samples over AVPackets
[22:45] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/1.1:d8441791410a: Merge commit 'b5f92f9603c2b46c37b20134e9e2338805844f0f' into release/1.1
[22:45] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/1.1:b9be91c03d27: Merge commit '05de372350f8720461d3cadba40836546f1bb95c' into release/1.1
[23:33] <cone-944> ffmpeg.git 03Nicolas George 07release/1.1:eb89e1b98d36: oggdec: add support for Opus in Ogg demuxing
[23:33] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/1.1:3938b6762132: mp3enc: Properly write bitrate value in XING header
[23:33] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/1.1:9ae26ef9c344: Merge commit 'eb89e1b98d3676aac1287d97c633b527c1ff4ea4' into release/1.1
[23:33] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/1.1:514917bf1cf4: Merge commit '3938b6762132d3d7ef1b5782e7dc8bf73ac8145d' into release/1.1
[23:33] <cone-944> ffmpeg.git 03Michael Niedermayer 07release/1.1:d4e85004ec6f: avformat/mp3enc: drop redundant and uninitialized variable
[00:00] --- Mon May 5 2014
1
0
[00:00] <Mavrik> diesel420, it's possible, but only when reencoding
[00:01] <Mavrik> due to how video formats work it's not possible when just cutting without reencode
[00:01] <Mavrik> oh and yeah, parameters are always in milliseconds
[00:04] <diesel420> hmm, ok
[00:05] <diesel420> thanks for imformation, so it seems i have to use other programs to simple cut x264. i just could not believe ffmpeg cant do it
[00:06] <Mavrik> uh.
[00:06] <Mavrik> no program will cut h.264 on anything other than I-frame boundaries without reencoding
[00:07] <diesel420> ahhh
[00:14] <diesel420> so ffmpeg will cut at i-frames automatically even i can just set a time? lets say i set 'ffmpeg -ss 00.00.15.000 -i test.mkv -t 120 -c copy new.mkv' it wont cut exactly at second 15 and 120. instead it looks for the next i-frames?
[00:15] <c_14> Ye, but it should be 00:00:15.000
[00:15] <Mavrik> diesel420, yes.
[00:15] <diesel420> ah yes
[00:15] <diesel420> many thanks!
[00:15] <diesel420> awesome
[00:21] <azk> I've been trying to read up on WebVTT support in ffmpeg but haven't found much. Is there a way to encode subtitles to WebVTT yet?
[00:22] <Mavrik> I doubt it
[00:22] <diesel420> nice! works like a charm. beautiful
[01:45] <angrybb> is there option for ffmpeg to wait longer for PPS
[01:54] <angrybb> ok, is there retry option for network streams in ffmpeg?
[02:24] <far0k_l> Hi, I am trying to blend the current to the previous frame of a video for a light painting effect. I have been looking into filtering but have not managed to work it out. As it is a VV->V I am guessing I need a buffer of some sort.
[04:28] <Maverick|MSG> anyone have any experience with piping a tga image sequence to ffmpeg?
[04:29] <Maverick|MSG> I got jpg piping to work, but tga isn't for some reason
[04:31] <Hello71> ffmpeg supports tga?
[04:32] <Maverick|MSG> according to the documentation it does, but maybe not?
[05:38] <redy> hello guys
[05:40] <redy> i want convert re-encode video to mkv , source size is 330 ~ 350 mb my goal is output size video less than 100 mb . dose ffmpeg do it for me ?
[05:42] <blippyp> what format is the original file in?
[05:43] <redy> original format is mkv
[05:44] <redy> i use this command
[05:44] <blippyp> oh - dummy me - didn't even really read what you said...
[05:44] <blippyp> you'll likely lose quality???
[05:44] <redy> ffmpeg -i "naruto Shippuuden - 360.mkv" -acodec copy -ab 128kb -ac 2 -vcodec libx264 -preset slow -tune animation -crf 24 -threads 0 output6.mkv
[05:44] <blippyp> I'm guessing a lot!
[05:45] <redy> yes i know . i want re-encode anime
[05:45] <blippyp> if you're aiming for a specific file size you should probably do a two-pass
[05:45] <blippyp> but that much of a drop will probably really destroy the video
[05:46] <blippyp> depends on how well it was compressed the first time
[05:46] <blippyp> like if you first copies were done with an ultrafast preset, then you'll probably end up all right
[05:46] <blippyp> but if they're already encoded using a normals preset or better - you're really just going to destroy the video
[05:47] <blippyp> as in your crf will probably have to be MUCH higher
[05:49] <redy> i have anime episode for make hardsub . my command re-encode anime size above 100 mb . if i use tow pass , my outout size less than 100 mb
[05:49] <blippyp> depends on your settings - with a two-pass you can ensure the file will be exactly 100MB - that's the benefit of going that route
[05:50] <redy> how i use tow-pass ?
[05:50] <redy> sorry for my English
[05:51] <blippyp> 100MB * 8192 / TIME OF VIDEO = VIDEO BITRATE
[05:51] <blippyp> there's probably a similar algorithm for the audio - but I don't know it
[05:52] <blippyp> now just google ffmpeg two-pass x264
[05:52] <blippyp> so basically not considering your audio - your final file should be very close to 100MB with that knowledge - find the algorithm for the audio combination you'll be gold for an exact size
[05:53] <blippyp> google ffmpeg x264 encoding - that should take you to a good page on the ffmpeg site for a two-pass
[05:54] <redy> yes i find it
[05:54] <redy> https://trac.ffmpeg.org/wiki/x264EncodingGuide
[05:54] <blippyp> yup, that should be the one I was referring....
[05:55] <redy> on this way , how much lost video quality ?
[05:55] <blippyp> depend on the quality of the source already
[05:55] <blippyp> under normal circumstances, I would say that you're about to destroy the video
[05:56] <blippyp> but you can find out very fast - once you start the encode - just let it get about 100 frames in or so - then stop it and watch the video
[05:56] <blippyp> you'll see what it's going to look like
[05:57] <blippyp> if you don't know how to loop the video - you might want to go further like say 300-500 frames - and if the beginning is just blank screen, then you'll want to go further to see the actual video, etc... (or skip ahead and record a quick clip somewhere in the middle to test it)
[06:04] <blippyp> far0k_l: might be better ways - but here's my attempt: http://sprunge.us/EjMi
[06:04] <redy> thanks i while try tow-pass
[06:05] <blippyp> Maverick|MSG: past your command you tried and the output to pastebin or something....
[06:06] <blippyp> redy: good luck
[06:10] <redy> blippyp , i need help
[06:10] <blippyp> yeah
[06:11] <redy> i use this command
[06:11] <redy> http://paste.ubuntu.com/7390662/
[06:12] <redy> ffmpeg show me this error
[06:12] <blippyp> you don't want the audio?
[06:12] <redy> no . i want audio .
[06:12] <blippyp> good enough
[06:14] <redy> i want my output format was mkv
[06:14] <blippyp> that's fine
[06:15] <Maverick|MSG> blippyp http://pastebin.com/3WxDLEds
[06:15] <Maverick|MSG> hope that helps
[06:16] <blippyp> redy: change the filenames: ffmpeg -y -i "src.mp4" -c:v libx264 -preset medium -b:v 434k -pass 1 -an -f mp4 /dev/null && ffmpeg -i src.mp4 -c:v libx264 -preset medium -b:v 434k -pass 2 -c:a libfdk_aac -b:a 128k output.mp4
[06:17] <redy> ok
[06:17] <blippyp> Maverick: have you used this pipe option before? I've never seen it....
[06:18] <Maverick|MSG> yup
[06:18] <blippyp> it's clearly not liking what you're putting into it
[06:18] <Maverick|MSG> if I replace "targa" with "mjpeg" is works perfect in a jpg piping scenario
[06:18] <blippyp> you have the files ina folder though?
[06:18] <Maverick|MSG> yup
[06:18] <blippyp> why pipe them?
[06:18] <blippyp> is there a reason?
[06:18] <blippyp> how are they named?
[06:19] <Maverick|MSG> in a nutshell, a program is generating these on the fly
[06:19] <blippyp> why do you want them in tga - better quality?
[06:19] <Maverick|MSG> so I'm wrapping ffmpeg in a script which reads the next file as it becomes available and pipes it into ffmpeg
[06:19] <Maverick|MSG> it's just the format the program outputs them as
[06:19] <Maverick|MSG> I don't have a choice unfortunately
[06:20] <blippyp> but you can get it to save the files instead of piping them?
[06:20] <Maverick|MSG> yeah, it saves them to disk
[06:20] <blippyp> I think it's the piping it's not liking - or something about the format of the tga it's spitting out
[06:20] <blippyp> probably the format
[06:20] <blippyp> k - have you tried running this on the files instead of the pipe?
[06:20] <Maverick|MSG> let me try skipping the pipe then
[06:20] <Maverick|MSG> 1 sec
[06:21] <blippyp> k - I doubt it will fix it since you've done it before though...
[06:21] <Maverick|MSG> I'll do it, for science
[06:22] <blippyp> I like to cover my bases as well - ;)
[06:22] <blippyp> clearly piping would be better for you though. but my gut is telling me there's something different about the formats - later down it complains about the palettes
[06:22] <blippyp> it's always about the palettes actually...
[06:24] <blippyp> can you configure the output at all other than specifying where to save them - maybe it wants each image to have the same palette (kind of like a gif)... ie: make it save all files in like rgb24 or something because you're clearly not utilizing your entire color space....
[06:25] <Maverick|MSG> ok, skipping the pipe works
[06:25] <Maverick|MSG> basically ffmpeg.exe -f image2 -vcodec targa -i image%04d.tga ....
[06:26] <Maverick|MSG> so something about image2pipe doesn't support tga?
[06:26] <blippyp> I just tried saving a tga image in GIMP - it gave me only one option - to enable/disable RLE compression - it was on by default - my guess it that you want it off maybe?
[06:26] <blippyp> yup that's right
[06:26] <Maverick|MSG> I don't have a choice actually, I'm just given the tga
[06:27] <blippyp> I think you're going to have to export the files... and maybe convert them all to png or something afterwards (for quality purposes) or jpeg if you don't care and then run ffmpeg on them...
[06:27] <Maverick|MSG> hmph, yeah, I was hoping that wouldn't be the option
[06:28] <Maverick|MSG> there is an option to instead output as jpg
[06:28] <Maverick|MSG> however the program appears to have some other issue with this
[06:29] <blippyp> if you don't care about the quality drop that might be what you need to do - or take the time to convert them...
[06:29] <blippyp> yeah, it must be the format - I just exported a video into tga and then built a video using the tga's.... something about that program is screwing with the images...
[06:29] <Maverick|MSG> the end result is the movie being uploaded to youtube, so I don't think the quality drop will be noticable
[06:30] <Maverick|MSG> especially after x264 encoding, etc etc
[06:30] <blippyp> honestly - I think it will be - but that's for you to judge - the quality drop that youtube add's is more of a 'artifact' issue - not a quality issue....
[06:30] <Maverick|MSG> yeah, true
[06:31] <blippyp> you should always give youtube the best quality you can, simply because they will degrade it
[06:31] <blippyp> did ffmpeg encode the tga files?
[06:31] <blippyp> like I said, it did for me
[06:31] <blippyp> but I had ffmpeg build those tga's for me
[06:31] <Maverick|MSG> yeah, it worked if I didn't pipe it
[06:32] <blippyp> so something's wrong with the piping process...
[06:32] <Maverick|MSG> yup
[06:32] <blippyp> Unforutnately I know nothing about that - there might be a fix for you - but I can't help you further... :(
[06:32] <Maverick|MSG> ok, I sincerely appreciate the help
[06:32] <blippyp> np
[06:32] <blippyp> hope you figure it out
[06:32] <Maverick|MSG> if anything I might go back to the jpg output and see if I can work around the limitations there
[06:33] <blippyp> understandable.... ;)
[06:33] <blippyp> jpeg isn't really that bad either (imo)
[06:37] <Maverick|MSG> well looks like jpeg is going to have to be it then
[06:37] <Maverick|MSG> haha
[06:38] <blippyp> I'd come back and ask again as well
[06:38] <Maverick|MSG> this program appears to only support jpqg quality of 75
[06:38] <blippyp> There are some really smart guys in here...
[06:38] <Maverick|MSG> which isn't that great, but that's how it goes
[06:38] <blippyp> But someone might have some weird piping thing to offer - I know some of them do a lot of piping
[06:39] <blippyp> I'm more of a 'filter guy'
[06:41] <blippyp> out of curiosity - what os are you using?
[06:42] <Maverick|MSG> windows server 2008
[06:42] <Maverick|MSG> r2
[06:42] <blippyp> mmmm
[06:42] <blippyp> might not have too many options with that
[06:42] <Maverick|MSG> tried the 32 and 64 bit versions of ffmpeg, just to be safe
[06:42] <blippyp> with linux I'd bet there's something someone could offer - not as likely with windows
[06:42] <blippyp> no - I don't think ffmpeg is the problem
[06:42] <Maverick|MSG> yeah, linux provides a few more options, but I'm a bit locked into the platform
[06:43] <blippyp> understandable....
[06:43] <blippyp> it was hard for me to switch... ;)
[06:43] <blippyp> I love windows networks
[06:43] <blippyp> but linux has too many advantages to ignore at this point
[06:43] <blippyp> I took the plunge about 3-4 years ago now - and haven't used windows since
[06:43] <blippyp> and I use to administer windows networks
[06:44] <blippyp> so I definitely understand the advantages of them
[06:44] <Maverick|MSG> my latest issue with windows is the lack of named pipes
[06:44] <Maverick|MSG> I need a windows version of mkfifo
[06:44] <blippyp> to be honest, there isn't anything linux can do that windows can't - but it's much harder to find the software on windows to do it
[06:45] <blippyp> yeah - that's one thing that linux definately has over windows
[06:45] <blippyp> I don't think I've ever even come across a 'windows' version
[06:46] <blippyp> but like I said - I've never had the need or desire to do much piping
[06:50] <Maverick|MSG> ok, well ffmpeg kicked off correctly with the jpgs so we'll see how this does when the video hits youtube
[06:50] Action: Maverick|MSG crosses his fingers
[06:50] <blippyp> maybe there's some kind of 'switch' for ffmpeg also - but there's nothing in the man pages about piping - I only found one occurance of it - bascially stating that you can use them
[06:50] <blippyp> yeah - but it worked with the tga's as well - but they had to be saved first...
[06:50] <blippyp> it's still kind of weird
[06:52] <blippyp> ffmpeg wants a specific 'bit depth' when making the videos - and with the constant changing of the bit depth as it's getting piped in is what it's complaining about
[06:53] <Maverick|MSG> is there a way to tell it to wait for the entire image to be piped into the buffer before it starts processing it?
[06:53] <blippyp> just at a glance - the images went from 0 (weird!) to bit depth of 28 I think is the highest
[06:54] <blippyp> hold on - I haven't even tried googling - maybe there's an answer
[06:54] <Maverick|MSG> I ran into a bug report from a year ago saying that targa wasn't supported, so maybe it is still true
[06:54] <blippyp> no - it definately is
[06:54] <blippyp> we both just did it
[06:55] <Maverick|MSG> well, I mean in a piping scenario
[06:55] <blippyp> well yeah - that could be
[06:59] <blippyp> yeah - there's nothing about this - just that one ticket that was submitted, and doesn't look like it received any love
[07:01] <blippyp> what program are you using to make these images?
[07:07] <Maverick|MSG> actually, left 4 dead 2
[07:10] <blippyp> it produces images of the gameplay? one image at a time?
[07:10] <blippyp> (obviously never played it)
[07:13] <Maverick|MSG> yeah
[07:13] <Maverick|MSG> every frame of the game it'll output a jpg or tga
[07:14] <blippyp> why don't you use fraps or something to record it?
[07:14] <blippyp> then it will produce a video for you immediately
[07:15] <blippyp> if this is something you do a lot of - you might consider getting a pvr of some kind (that's what I did)
[07:15] <blippyp> they're not too expensive - and it does all the encoding for me
[07:24] <Maverick|MSG> this is more for a community thing where people can upload demos of themselves or others playing
[07:25] <Maverick|MSG> the demo is rendered and uploaded to youtube
[07:26] <blippyp> you should give fraps a go - you can also just record your gameplay with ffmpeg itself as well
[07:27] <Maverick|MSG> well everything isdone in a headless manner though
[07:27] <blippyp> headless manner?
[07:27] <blippyp> what does that mean?
[07:27] <Maverick|MSG> no monitor on a dedicated machine
[07:28] <Maverick|MSG> it is all automated so using fraps introduces a few limitations
[07:28] <blippyp> I don't get it - how do you play without a monitor?
[07:28] <Maverick|MSG> the demo is a recording of you playing
[07:28] <Maverick|MSG> it should really be called a "replay"
[07:28] <blippyp> yeah - it's like a let's play
[07:29] <Maverick|MSG> you give the replay file to other people and they can see you playing
[07:29] <blippyp> yeah - so why not use ffmpeg to record yourself while you play?
[07:29] <Maverick|MSG> so I'm basically automating the conversion of that
[07:29] <Maverick|MSG> I think recording yourself while playing would slow the system down a bit
[07:29] <blippyp> it will
[07:30] <blippyp> but not that much - it depends on how poor your system is
[07:30] <blippyp> mine are absolute shit, which is why I don't do lp's on the pc - I play on my xbox and record that using my hd pvr
[07:30] <blippyp> but I can make tutorials easily on my pc using ffmpeg to record
[07:30] <blippyp> just as long as it isn't something crazy like some new game - older games are fine though
[07:31] <Maverick|MSG> yeah
[07:31] <blippyp> haven't really tested the limits
[07:31] <blippyp> like I said it depends on your system
[07:31] <blippyp> but if you record, with a lossless codec - it's not really that hard on your system
[07:31] <blippyp> you can even record using x264 with a qp set at 0
[07:31] <blippyp> so you still get 'some' compression with perfect quality
[07:32] <blippyp> then you re-encode it again afters (most people edit it to some degree anyways)
[07:33] <Maverick|MSG> yeah, this is more for the people who don't want to do any of that
[07:33] <Maverick|MSG> someone who played a random game, got a replay and wants to upload it to youtube
[07:33] <Maverick|MSG> no editing, just gameplay footage
[07:33] <blippyp> that's okay - you don't have to.
[07:33] <blippyp> a pvr is great for that
[07:34] <blippyp> you click - play it's recorded - when you're done playing you're done with your recording as well - and it's encoded and compressed nicely
[07:34] <blippyp> if anything you might want to clip the start and end of the video
[07:35] <blippyp> but that's basically like copying the file - you don't need to re-encode it
[07:35] <Maverick|MSG> yeah
[07:36] <blippyp> for me anyways - depends on your pvr I suppose - mine encodes in x264 (mp4) - I use a bitstream filter to convert it to ts format, split the files how I want, then splice it all back together into an mp4
[07:36] <blippyp> but no re-encoding is required - I basically just copy the files, it takes seconds, minutes depending on the size of the file
[07:36] <blippyp> it takes longer to determine where to cut the video than anything
[08:28] <redy> blippyp : i use this command
[08:28] <redy> ffmpeg -y -i "src.mkv" -c:v libx264 -preset medium -b:v 488k -pass 1 -an -f mp4 /dev/null && ffmpeg -i src.mkv -c:v libx264 -preset medium -b:v 488k -pass 2 -c:a copy -b:a 100k src.mkv
[08:29] <redy> now i have few question .
[08:29] <blippyp> sure
[08:29] <redy> if i change audio codec , size output is reduce ?
[08:30] <blippyp> depends on the codec...
[08:30] <blippyp> some compress better than others
[08:31] <redy> with above command . my output size file is 107 mb . my source is 334 mb
[08:31] <blippyp> how did it turn out?
[08:31] <redy> quality output is not good .
[08:31] <redy> please see it
[08:31] <blippyp> yeah, I didn't think it would be... ;P
[08:32] <blippyp> see it?
[08:32] <blippyp> you can always reduce the resolution is you're that insistent on keeping such a small file size - obviously it will be smaller, but you can improve the quality that way
[08:33] <redy> http://upload7.ir/imgs/2014-05/80951048894105410374.png
[08:33] <blippyp> but at this point - that is your ONLY option other than finding a better codec - and you're already using x264 - so you're kinda using the best already...
[08:34] <blippyp> that looks much better than I expected...
[08:34] <blippyp> how are the scenes with lots of action? does it go all blocky?
[08:34] <blippyp> seriously - that's pretty good
[08:35] <blippyp> witha resolution like that - you can easily knock it down by 25% if the quality is bothering you - then the artifacts will probably disappear entirely for you...
[08:35] <redy> really ?
[08:35] <blippyp> how are the scenes with lots of action?
[08:37] <redy> sorry i can't understand means how are the scenes with lots of action .
[08:37] <blippyp> lots of movement
[08:37] <blippyp> the quality will degrade because of that...
[08:37] <blippyp> also the 'dark' scenese
[08:38] <blippyp> your overall quality is pretty good - those other two points should be your determining factor if you're not happy with the quality...
[08:39] <blippyp> you also used a preset of medium - you can still drop that to slow or veryslow and get better compression out of it (but it will take a wile to encode)
[08:39] <blippyp> and if you're REALLY desperate you can even drop that down to placebo (but this is basically a useless option unless you're just dieing to get a few more kilobytes out of it)
[08:40] <blippyp> aside from that you can only lower the resolution or put up with a larger file size
[08:40] <redy> if i use slow or very slow then quality improve ?
[08:40] <blippyp> I don't know - I would say yes
[08:41] <blippyp> because you'll get better compression - that's all the preset option does for you as far as I understand it
[08:41] <blippyp> this will allow you to up your bitrate more because you're getting better compression
[08:41] <blippyp> if that makes sense?
[08:42] <redy> can you tell me audio codec for max compress . i want reduce size file under 100 mb with same quality
[08:43] <blippyp> that I don't know
[08:43] <blippyp> I use ac3
[08:43] <blippyp> everyone is using ACC these days - but ffmpeg still flags it as experimental - so I use ac3
[08:43] <blippyp> someone else can probably give you much better advice on your audio than me
[08:44] <blippyp> but you're definitely in the right ballpark - you just need to tweak it now if it bothers you
[08:44] <redy> how use ac3 on command ffmpeg . like this -c:a ac3 -b:a 100k or -c:a libac3 -b:a 100k
[08:45] <blippyp> remember you don't have to encode the entire move to 'see' your final results - you can stop it at any time - just make sure you stop both the first and second pass at about the same time (ie: after it encoded approximately the same frames - to be sure you should let your first pass go further than your second pass)
[08:45] <blippyp> yup
[08:45] <blippyp> I never set the audio bitrate - but there are options for that as well...
[08:46] <blippyp> I don't have surround sound - so I honestly don't care as long as it sounds decent
[08:46] <blippyp> which is an option for you as well - if you don't have surround sound (and never expect to) you can drop it to two channels (sterero)
[08:46] <blippyp> that will probably save some space as well
[08:46] <blippyp> ac3 may do that automatically I have no idea
[08:48] <blippyp> just a note - in your command you told it to copy the audio and then set the bitrate - that probably means ffmpeg ignored one of those options (probably reset the bitrate and did not copy it - but likely used the same codec)
[08:49] <blippyp> also you should put the same audio and video settings in both your first and second pass - your commands should be identical except that one is a first pass and the second is a second pass
[08:49] <blippyp> I doubt that affected your video quality - just an fyi for the future
[08:52] <redy> thanks , you hard talk . i can 50-50 % understand your word . but if you say quality is good so it is good for me . whatever you are master on ffmpeg
[08:55] <blippyp> I wouldn't say I'm master - I'm pretty good though... ;)
[08:57] <blippyp> The choice is up to you - for that file size - I'd say you got a pretty good rip there - It all boils down to your wants and needs - if it's just a want to keep it small, but you're noticing the video quality drop than you might want to re-encode it. If you're planning on many others to enjoy this video, then you need to re-think what you're doing. Most people want perfect quality and don't care about the size....
[08:59] <redy> yes your right because your speed Internet is good . in my country speed Internet is not good , Internet service is so expensive .
[09:00] <blippyp> like I said - it's up to you - you need to think about your needs and your requirements and who your audience is (if any)
[14:13] <sandman13> i am trying to convert .wma to .3gp but i keep getting errors like this: http://pastebin.com/0jhP630U
[14:17] <klaxa> i don't think .3gp supports xvid video
[14:41] <CapsAdmin> im not sure how to sync audio with video.. audio seems perfect but video is out of sync
[14:41] <CapsAdmin> it makes sense because my app is running at vsync rate so it reads the video at 120 fps
[14:42] <CapsAdmin> i've tried using seek_frame with the audio time stamp, but it makes the video look like this https://dl.dropboxusercontent.com/u/244444/ShareX/2014-05/2014-05-04_14-40-…
[14:43] <CapsAdmin> if i sync it every other 0.25 seconds
[14:43] <CapsAdmin> if i sync it every frame it looks like the video is lagging
[14:46] <CapsAdmin> if i do it the other way around (setting audio timestamp with video timestamp) it fine and the audio doesn't lag or anything other than sounding timecompressed (opposite of timestretch?)
[14:53] <CapsAdmin> oh i found this: http://dranger.com/ffmpeg/tutorial05.html
[14:53] <CapsAdmin> (it's kinda hard to google around for ffmpeg library issues because it
[14:53] <CapsAdmin> it's being drowned by ffmpeg.exe issues)
[19:09] <angrybb> Hello. I need to setup small restreaming server. Should i use ffserver or it is depricated?
[20:18] <ergZay> someone had me download this ffmpeg https://codeload.github.com/FFmpeg/FFmpeg/legacy.tar.gz/master
[20:18] <ergZay> which one is that?
[20:18] <ergZay> I'm not even aware of the URL format and i can't find a legacy.tar.gz in the repo
[20:20] <BtbN> it's in the filename
[20:34] <diesel420_> ergZay, what is your goal? to install an old ffmpeg? btw, *.tar.gz is an archive, easy to extract with 'tar xvf *.tar.gz' i would suggest to install the latest static ffmpeg anyway, especially if you are on debian or sth like that
[20:52] <ergZay> diesel420: no was given the link by someone else
[20:52] <ergZay> apparently is the .tar.gz of the branch
[21:32] <Maverick|MSG> does anyone know if image2pipe works with piping targa files? it appears to work fine with jpgs but chokes when given tgas
[21:34] <Maverick|MSG> http://pastebin.com/3WxDLEds
[21:35] <Maverick|MSG> if using jpgs and -vcodec mjpeg it works perfectly
[22:41] <watsonkp> Im struggling to transcode videos to H.264 in an mp4 with the libraries. The resulting file will play in Chrome and VLC, but Safari/Quicktime refuses to open it and whenever a finder window is showing the file VTDecoderXPCService crashes repeatedly.
[22:41] <watsonkp> The transcoding.c example that my program is based on causes the same symptoms. Doing the encode with ffmpeg itself produces a file that works as expected. Ive tried running ffmpeg through gdb, but Ive so far failed to find what is being done differently.
[22:42] <watsonkp> The lack of error messages has me at a loss. Any direction would be very much appreciated.
[00:00] --- Mon May 5 2014
1
0
[01:14] <cone-788> ffmpeg.git 03Lukasz Marek 07master:eb434f712d98: doc: fix message names in opengl doc
[03:14] <cone-788> ffmpeg.git 03mplayer developers 07master:80dd0aff3346: libavfilter/libmpcodecs: sync existing filters with mplayer HEAD (ebcacb8b3ca91ef90acb93785b62fd8c5e5dae41)
[03:42] <cone-788> ffmpeg.git 03Lukasz Marek 07master:8b02e1c21d4d: doc/APIchanges: add hashes and dates
[03:42] <cone-788> ffmpeg.git 03Michael Niedermayer 07master:719e72c971eb: doc/APIchanges: more dates and hashes
[07:00] <cone-140> ffmpeg.git 03Michael Niedermayer 07master:09725c1d2bed: avfilter/vf_showinfo: also calculate and show mean and standard deviation
[15:20] <cone-197> ffmpeg.git 03Carl Eugen Hoyos 07master:4116cbeaf50e: Fix oga muxer standalone compilation.
[15:20] <cone-197> ffmpeg.git 03Carl Eugen Hoyos 07master:a75349d0c833: Fix standalone compilation of dsd planar decoders.
[15:42] <wm4> michaelni: could it be that you accidentally broke yadif?
[15:42] <wm4> michaelni: see #3605
[15:49] <JEEB> wm4, I could replicate something similar
[15:49] <JEEB> on win32
[15:49] <JEEB> so YADIF seems borked in some way
[15:50] <wm4> probably due to my request to handle 1-frame video :/
[16:03] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:7ef01a787814: avcodec/h264: mark recovery_cnt==0 frames as keyframes
[16:22] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:681e008d06d2: vfilter/vf_yadif: fix request_frame after 0f9f24c9
[16:29] <nevcairiel> i had a dumb hack to support 1 frames differently, it seemed simpler at the time, maybe is hould've submitted it :p
[16:30] <wm4> michaelni: thanks, appears to work, this time I actually tested it
[17:24] <cone-197> ffmpeg.git 03Carl Eugen Hoyos 07master:4aea0afbbb5e: Remove two duplicated named asm constraints.
[17:56] <cone-197> ffmpeg.git 03Matt Oliver 07master:3c3e02b8d197: x86/cavdsp: prevent named constraints appearing twice.
[18:07] <ubitux> michaelni: the err recognition patches for h263 are for the recent spacex video thing?
[18:08] <michaelni> yes
[18:08] <ubitux> does it help?
[18:08] <ubitux> (in a significant way)
[18:14] <michaelni> the patches allow you to decode more of the frames by ignoring errors and disabling error concealment, it looks worse but there is more information that can be used for analysis
[18:23] <ubitux> http://ubitux.fr/pub/pics/_edgedetect-paint.jpg meh.
[18:23] Action: ubitux should really do some useful stuff again
[18:23] <ubitux> (edgedetect with colormix mode)
[18:31] <ubitux> btw, we don't have the css anymore for the local documentation?
[18:31] <michaelni> ?
[18:32] <ubitux> dunno, i opened doc/ffmpeg-filters.html
[18:32] <ubitux> and got no css
[18:33] <ubitux> ah, got it, it's probably because i build outside the root dir
[19:09] <cone-197> ffmpeg.git 03Clément BSsch 07master:3f3c3318be41: avfilter/edgedetect: make processing functions context free.
[19:09] <cone-197> ffmpeg.git 03Clément BSsch 07master:b17e98ded0e2: avfilter/edgedetect: add a colormix mode.
[19:09] <cone-197> ffmpeg.git 03Clément BSsch 07master:365c79bd4e2e: avfilter/edgedetect: reindent after previous commit.
[19:11] <cone-197> ffmpeg.git 03Clément BSsch 07master:d53e87a83716: avfilter/edgedetect: update copyright.
[20:13] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:cc861581735b: avcodec/ffv1dec: use av_malloc_array()
[20:13] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:77df9de78c9a: avcdoec/snowenc: use av_mallocz_array()
[20:13] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:00948ff876ee: avfilter/audio: use av_mallocz_array()
[21:18] <Daemon404> i wonder if that will ever be pushed
[21:19] <ubitux> yeah it's a bit like if the guy was maintaining his own fork diff-based on our trac
[21:20] <Daemon404> looks like it is sitll losing to LAME and FAAC
[21:20] <Daemon404> wait thats v7
[21:21] Action: Daemon404 is remidned of how he used to manually generate diff sets on top of stuff and keep it in a dir
[21:27] <BBB> Daemon404: quilt?
[21:27] <Daemon404> BBB, at the time i wasn taware of quilt
[21:27] <Daemon404> patch/diff
[21:28] <Daemon404> i used to have a fork of xchat that was a set of 10-20 patches rebased on top of it manually (CVS days)
[21:28] <nevcairiel> i dont really remember how I did it before Git, but now I just keep a Git repo
[21:28] <Daemon404> since its developer refused to accept them, snce it would negate his shareware scheme
[21:29] <ubitux> crackme.diff
[21:29] <Daemon404> lol
[22:02] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:56cc17848526: avcodec/h263dec: fix "incompatible pointer type" warning
[22:10] <ubitux> for (end = nptr + (h - 2) * ns, nptr += ns, optr += os, top = 0;
[22:10] <ubitux> nptr < end; nptr += ns - w, optr += os - w, top ^= 1) {
[22:10] <ubitux> grumbl.
[22:10] <Daemon404> wat
[22:10] <Daemon404> inb4 mplayer code
[22:11] <ubitux> well, that's indeed from mplayer
[22:11] <Daemon404> called it.
[22:13] <JEEB> lol
[22:16] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:bb605ef8ab60: avcodec/xbmdec: fix pointer type warnings
[22:16] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:5918c5a4ccd7: avcodec/kgv1dec: add casts to silence "assignment from incompatible pointer type"
[22:16] <ubitux> i'm actually delighted to find 3 additionnal increment at the end of the loop that could be part of the for
[22:31] <ubitux> i see a lot of (relatively old) recordings with a black line on top with doesn't do the whole width
[22:31] <ubitux> but length is somehow random
[22:31] <ubitux> like half or T
[22:31] <ubitux> any idea where that comes from?
[22:31] <ubitux> s/with/but/
[22:32] <ubitux> (second one)
[22:32] <ubitux> i mean, even this here: http://samples.ffmpeg.org/avi/GoneNutty.avi
[22:33] <ubitux> also here: https://trac.ffmpeg.org/raw-attachment/ticket/2595/ffmpeg-bug-2595.mpg
[22:35] <ubitux> when it's the whole line it's probably because of bad cropping, but here i can't tell
[22:35] <ubitux> it doesn't look random vbi "noise" either
[22:36] <JEEB> seems like a thing with analog captures by your description
[22:36] <JEEB> I've seen it in Japanese TV too
[22:36] <JEEB> where they use an analog input
[22:36] <JEEB> not sure why that line gets cut
[22:36] <JEEB> I think it can be either on top or bottom
[22:38] <Compn> ubitux : i've seen that half line thing
[22:39] <Compn> ubitux : is it because of 'odd field first' setting or something
[22:39] <Compn> ubitux : thinking about making an autocrop filter for that half line ? :P
[22:39] <J_Darnley> Me too. It is on just about every TV show I have on DVD.
[22:40] <ubitux> so exactly wtf is going on here?
[22:41] <J_Darnley> I thought it was something to do with CRTs starting in the centre
[22:50] <iive> actually the half line is both on top and the bottom
[22:52] <iive> but the top is rarely seen as vbi (teletext) resides there.
[23:14] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:a520d8fd3580: avcodec/snow_dwt: fix "incompatible pointer type" warnings
[23:14] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:6b79ef00fdac: avfilter/vf_deshake: dont pass the wrong context into the SAD functions
[23:14] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:0a5cc20d4aac: avcodec/jpeglsdec: add cast to silence pointer type warning
[23:22] <cone-197> ffmpeg.git 03Luca Barbato 07master:c6b42e854939: flv: K&R formatting cosmetics
[23:22] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:3ea5beab8f73: Merge commit 'c6b42e85493915a3c3891345f57422f9031a0b4f'
[23:22] <kurosu> yeah, analogic is the reason iirc
[23:22] <kurosu> NTSC is originaly 525 lines, but you have two fields
[23:23] <kurosu> guess what, that makes 262.5 lines per field
[23:27] <cone-197> ffmpeg.git 03Luca Barbato 07master:a90d92ce2aee: aac: K&R formatting cosmetics
[23:27] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:0c06ca7a8ab4: Merge commit 'a90d92ce2aeea8eaae5c616958d20e000e20b964'
[23:37] <cone-197> ffmpeg.git 03Luca Barbato 07master:925c37874b61: vp9: Read the frame size as unsigned
[23:37] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:039630631e96: Merge commit '925c37874b617816b6f460c6f229c18b46548b46'
[23:44] <cone-197> ffmpeg.git 03Luca Barbato 07master:3a177a9cca92: swscale: Fix an undefined behaviour
[23:44] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:1c4110be9038: Merge commit '3a177a9cca924e097265b32f9282814f6b653e08'
[23:44] <BBB> so how do we merge these commits?
[23:44] <BBB> I mean, I looked at the vp9: one, and there's nothing to merge
[23:44] <BBB> that code doesn't exist in our code
[23:45] <BBB> also, the bug was already fixed by ubitux' extensive fuzzing
[23:45] <ubitux> the merge commit says "See: c72f587353d9f88c7fbbbf6ef78b1d9ba3d38fd7"
[23:45] <ubitux> nothing to do :)
[23:45] <BBB> so why did we merge it?
[23:46] <ubitux> meta
[23:46] <BBB> how obscure
[23:46] <BBB> ok
[23:46] <BBB> anyway
[23:46] <nevcairiel> because the entire history is merged, or you end up with a silly state
[23:46] <ubitux> it's useful when diffing which commits are in or not
[23:46] <ubitux> since the merge keep the original hash
[23:53] <cone-197> ffmpeg.git 03Luca Barbato 07master:de69aedf9935: mathematics: K&R formatting cosmetics
[23:53] <cone-197> ffmpeg.git 03Michael Niedermayer 07master:bc4b424dfa6e: Merge commit 'de69aedf9935631b7f78e8b8da6e460422a9bc5f'
[23:54] <ubitux> english question, is "[0,10] is the range of values from 0 to 10 inclusive" correct? ("inclusive" in particular)
[23:54] <ubitux> iirc there is a word for this but... :(
[23:55] <ubitux> btw, Daemon404 will be happy, i'm writing a "how to write a filter with lavfi"
[23:59] <BBB> yes
[23:59] <BBB> also if it was exclusive (10) in math context you'd use [0,10> I believe
[23:59] <BBB> that's double notation from what I remember
[23:59] <BBB> long time ago
[00:00] --- Sun May 4 2014
1
0
[02:14] <USA_NO_1> what is latest version of flac
[02:14] <USA_NO_1> encoder
[02:19] <sacarasc> USA_NO_1: https://xiph.org/flac/ will tell you!
[02:20] <USA_NO_1> it says 1.3 but i only see flac.121.exe
[02:21] Action: sacarasc shrugs.
[02:21] <sacarasc> ffmpeg doesn't use it, anyway. :D
[02:21] <USA_NO_1> ffmpeg doesn't support flac?
[02:21] <sacarasc> No, ffmpeg has its own FLAC encoder and decoder.
[02:22] <USA_NO_1> what version
[02:22] <relaxed> why do you think you need a specific version?
[02:22] <sacarasc> It's got NOTHING to do with the xiph FLAC version.
[02:26] <USA_NO_1> when i see all my flac files, it says it's using libflac1.2.1
[02:30] <relaxed> ok, but why does this matter to you?
[02:31] <USA_NO_1> just curious
[02:31] <sacarasc> 1.2.1 is the last one that they compiled themselves, so that's what most programmes bundle.
[02:31] <sacarasc> And so it's what most pirates rip with.
[02:32] <USA_NO_1> i just want to know if there is a higher version of libflac
[02:33] <sacarasc> Yes, but not from the official FLAC site for Windows.
[02:33] <USA_NO_1> then why can't i get for windows
[02:33] <sacarasc> Because no one has compiled it and uploaded it.
[02:33] <relaxed> last time I test ffmpeg's flac encoder provided better compression
[02:33] <relaxed> tested*
[02:34] <sacarasc> You're free to compile it yourself, though. :D
[02:34] <USA_NO_1> relaxed which libflac version does ffmpeg use
[02:34] <klaxa> none
[02:34] <sacarasc> It doesn't.
[02:34] <klaxa> do you even read?
[02:34] <sacarasc> It uses its own one made from scratch.
[02:34] <USA_NO_1> i see, then what version # would it show up as
[02:35] <sacarasc> None.
[02:35] <USA_NO_1> let me test it
[02:35] <USA_NO_1> and see if you are not lying to me
[02:35] <relaxed> well, look at "ffmpeg -h encoder=flac" first
[02:36] <sacarasc> In `mediainfo` it will say something like: Writing library : Lavf55.37.102
[02:36] <USA_NO_1> what is command to convert test.wav to test.flac
[02:36] <sacarasc> ffmpeg -i test.wav test.flac
[02:38] <USA_NO_1> wow you guys are right
[02:38] <USA_NO_1> i apologize
[02:38] <USA_NO_1> it shows up as lavf55.37.102 though
[02:38] <USA_NO_1> whatever that means
[02:39] <USA_NO_1> sacarasc wow, you are right, i didn't even see that until now
[02:40] <sacarasc> It means LibAVFormat 55.37.102
[02:40] <relaxed> FFMPEG_NO_1
[02:40] <USA_NO_1> why doesn't ffmpeg follow the libflac version
[02:41] <relaxed> because it's not libflac
[02:41] <relaxed> they wrote their own compliant version
[02:41] <relaxed> there's more than one way to skin a flac
[02:42] <USA_NO_1> is latest version of libflc 1.3 ?
[02:43] <sacarasc> Yes.
[02:43] <sacarasc> But no one has made it on Windows.
[02:43] <USA_NO_1> i see
[02:43] <USA_NO_1> should i bother converting 1.2.1 to 1.3
[02:44] <sacarasc> No.
[02:44] <USA_NO_1> why not
[02:44] <sacarasc> Because first you'd have to transfer to a system on which you have 1.3.0, or compile it yourself.
[02:44] <sacarasc> Then you'd have to convert them all, or script it.
[02:45] <USA_NO_1> is it that hard to compile 1.3 to windows platform?
[02:45] <iive> yes
[02:45] <USA_NO_1> wow really?
[02:45] <iive> get mingw64 and see for yourself.
[02:46] <iive> also... somebody said that ff_flac is better than libflac
[02:46] <iive> ff=ffmpeg
[02:46] <iive> anyway, at the end you are most likely going to save about 5MB total.
[02:46] <USA_NO_1> if that is true, why don't libflac copy ff_flac
[02:47] <iive> who knows... maybe they like it that way.
[02:47] <sacarasc> Giving up and admitting defeat is often hard to do.
[02:49] <iive> and your mileage may vary.
[02:49] <USA_NO_1> sacarasc i see
[03:00] <USA_NO_1> why is it that so many players cannot play .ape properly
[03:01] <klaxa> because they lie about freedom
[03:01] <klaxa> >Free Monkeys Audio is completely free!
[03:02] <sacarasc> Not many people use it, so not many people want to support it.
[03:06] <USA_NO_1> does vlc use ffplay to playback
[03:07] <USA_NO_1> i see http://www.saunalahti.fi/~cse/temp/flac-1.3.0-win32.zip . is this legit
[03:08] <sacarasc> Dunno, get it, test it for viruses and then try it. :p
[03:09] <CapsAdmin> how can i flip a frame?
[03:09] <CapsAdmin> with the sws library
[03:09] <USA_NO_1> it looks legit
[03:09] <CapsAdmin> (programatically)
[03:09] <azk> So, I set up an ffserver webm livestream and was testing it out on different browsers. The stream works fine on Chromium but Firefox has no audio. I'm using vorbis with a 64k abr.
[03:10] <USA_NO_1> isn't wma more closed than .ape
[03:10] <azk> Anyone come across this? I tried the firefox community but nobody seemed to have had this problem before.
[03:10] <Plorkyeran> just copying the lines in reverse order is almost certainly going to be less effort and faster than using swscale
[03:10] <Plorkyeran> or just negate the stride if the thing consuming the frame supports that
[03:14] <iive> negative stride and move the plane pointer so it points to the last line (that now would be the first).
[03:14] <Plorkyeran> ah yes, that part is important too
[03:14] <iive> stride (linesize) is used to calculate the address to the next line, by adding it to the plane pointer. as it is negative it would move backwards.
[03:15] Action: sacarasc waves at Plorkyeran.
[03:32] <USA_NO_1> is ffmpeg.exe able to use multiple core/processor
[03:34] <CapsAdmin> i have a question regarding cores
[03:34] <CapsAdmin> when i enable log level 10 it says "detected 7988098 logical cores"
[03:34] <CapsAdmin> "[ffmpeg] detected 15725884 logical cores"
[03:34] <sacarasc> USA_NO_1: Yes. But if you want to do multiple files at once, you'd have to do multiple copies at once.
[03:35] <USA_NO_1> sacarasc huh?
[03:35] <sacarasc> Multi-threading in ffmpeg is for speeding up single file encodes, not doing multiple encodes at once.
[03:36] <USA_NO_1> i just tried, it doesn't
[03:36] <USA_NO_1> it only use 1 core
[03:36] <sacarasc> What are you encoding?
[03:36] <USA_NO_1> flac
[03:37] <sacarasc> Audio is so quick that you don't need multiple threads.
[03:38] <CapsAdmin> make multiple instances of ffmpeg encoding different files
[03:38] <USA_NO_1> sacarasc it shouldn't matter
[03:38] <USA_NO_1> sacarasc what if i am encoding 5 hour audio
[03:38] <CapsAdmin> ah
[03:39] <sacarasc> Then it should be done in 5 minutes anyway. :D
[03:39] <USA_NO_1> why not just support multiple cores
[03:39] <USA_NO_1> instead of excuses
[03:39] <sacarasc> Too much effort for not enough pay off.
[03:40] <USA_NO_1> it's that hard?
[04:44] <kcynice> hi blippyp, are you still there?
[07:09] <Waraqa> Hi, Is it possible to apply concat filter and atempo filter in the same command?
[07:11] <Waraqa> When I do that it fails with this error: Filtergraph 'atempo=1.0006' was specified through the -vf/-af/-filter option for output stream 0:1, which is fed from a complex filtergraph.
[07:11] <Waraqa> -vf/-af/-filter and -filter_complex cannot be used together for the same stream.
[07:40] <blippyp> Waraqa: paste your entire command and output to pastebin or similar site
[07:43] <Waraqa> blippyp: http://pastebin.com/WTrQtbpk
[07:45] <blippyp> you have two filters in your command
[07:45] <blippyp> remove the -filter:a one
[07:46] <blippyp> you've already specified that anyways
[07:46] <blippyp> also I think you're missing a , between the atempo filter and the concat filter
[07:47] <blippyp> ffmpeg -t 16.45 -i MVI_0022.MOV -ss 16.45 -i MVI_0022.MOV -i LS101274.WAV -filter_complex '[0:0] [0:1] [1:0] [2:0] atempo=1.0006, concat=n=2:v=1:a=1 [v] [a]' -map '[v]' -map '[a]' -c:v libx264 -c:a libfdk_aac -movflags faststart -threads 2 -preset ultrafast output3.mp4
[07:47] <blippyp> try that
[07:48] <Waraqa> blippyp: It doesn't work
[07:48] <Waraqa> [AVFilterGraph @ 0xb0d4c00] Too many inputs specified for the "atempo" filter.
[07:48] <blippyp> k - let me read that filter - hold on
[07:50] <blippyp> pastebin a the output for ffmpeg -i MVI_0022.MOV
[07:51] <blippyp> so I can see your streams
[07:51] <blippyp> oh wait - they're in the output
[07:51] <Waraqa> ok
[07:52] <blippyp> just give me a minute to try and figure out what you're trying to do
[07:53] <blippyp> okay - so you're trying to copy two video and two audio streams right?
[07:53] <blippyp> you want to join the video+audio of 0:0 and 0:1 with the video and audio of 1:0 and 2:0 right?
[07:54] <Waraqa> Right
[07:54] <blippyp> so what's with the atemp filter?
[07:54] <blippyp> atempo
[07:55] <blippyp> you're trying to speed up the audio?
[07:55] <Waraqa> the audio from 2:0 has different speed
[07:55] <blippyp> for both concatenations?
[07:55] <blippyp> however you're suppose to phrase that... ;)
[07:55] <Waraqa> No, for only the second audio stream
[07:55] <blippyp> k
[07:56] <kcynice> hello, blippyp, i have tested, ffmpeg can display perfectly, just no pts, fast playing
[07:57] <blippyp> ffmpeg -t 16.35 -i MVI_0022.MOV -ss 16.45 -i MVI_0022.MOV -i LS101274.WAV -filter_complex '[0:v] [0:a] [vid1]; [1:v] [2:a] atempo=1.0006 [vid2]; [vid1][vid2] concat" -c:v libx264 -c:a libfdk_aac -movflags faststart -threads 2 -preset ultrafast output3.mp4
[07:58] <blippyp> try that
[07:58] <blippyp> hi kcynice - I remember your name, but I apologize I don't remember what we spoke about last.... ??? can you refresh my mind? Also - paste a copy of your command and output for me... ;)
[07:59] <blippyp> I'm sorry - I have a horrible memory for people... :(
[07:59] <kcynice> oh, i just want to output decoded video frame into xvideo
[08:00] <blippyp> oh yeah.... the delphi guy right?
[08:00] <Waraqa> blippyp: There are some open quotes
[08:00] <kcynice> i found ffmpeg command also can play a video, just frames one by one, as quickly as possible
[08:00] <blippyp> oh - i used a double quote - you were using single quotes - change on of them to match
[08:00] <Waraqa> ok
[08:01] <blippyp> kcynice: that's cool - so it's working for you now?
[08:01] <blippyp> but you still can't set the PTS for 'speed play'????
[08:01] <kcynice> in fact, i had tried gstreamer, but i found its too complex for that
[08:02] <Waraqa> blippyp: [AVFilterGraph @ 0x9e75520] No such filter: ''
[08:02] <Waraqa> Error configuring filters.
[08:02] <blippyp> there's probably a function for that in the ffmpeg libraries...
[08:02] <blippyp> Waraqa - how big is your MOV file?
[08:02] <kcynice> might because the original file with no pts in it.
[08:02] <Waraqa> blippyp: 1.6 Gb
[08:03] <blippyp> k - forget that - give me a second to duplicate your streams so I can get the command working better for you...
[08:03] <blippyp> brb
[08:05] <kcynice> i just forgot the command, i will take another try, and i think i got the hint to output video via xvideo device
[08:09] <kcynice> i tested, it can play any video if it recognised it: ffmpeg -i test.avi -vcodec rawvideo -f xv o
[08:11] <blippyp> Waraqa: in your command you specified that you wanted to record 16:45 worth of time starting at 16:45 is that right?
[08:12] <blippyp> or did you make a mistake and meant for the first -t to be a -ss for a quick jump to that point?
[08:13] <Waraqa> I just want to sync MVI_0022.MOV video with LS101274.WAV audio
[08:13] <blippyp> duh - I just realized you were working with three seperate files... I'm such a dumb ass...
[08:14] <Waraqa> the first and second input are same
[08:14] <blippyp> but for the first file you specified that you wanted to 'fast forward' to 16mins and 45 seconds and then record 16mins and 45s of video/audio - is that correct?
[08:14] <Waraqa> it is 16.45 seconds
[08:15] <blippyp> just making sure - cause it just seems like a weird coincidence...
[08:15] <Waraqa> I want the audio stream from LS101274.WAV to start after 16.45 second
[08:15] <Waraqa> In fact, I'm sure the command is working perfectly If I remove the atempo filter
[08:16] <Waraqa> but since LS101274.WAV is recorded by a voice recorder which I always need to apply atempo=1.0006 to sync with camera input MVI_0022.MOV
[08:16] <blippyp> k, give a sec to try it
[08:19] <blippyp> no - it doesn't like it without the atempo either...
[08:19] <blippyp> let me try to re-work it
[08:20] <kcynice> to eat now, see u
[08:20] <kcynice> bye
[08:20] <Waraqa> blippyp: This is working for me ffmpeg -t 16.45 -i MVI_0022.MOV -ss 16.45 -i MVI_0022.MOV -i LS101274.WAV -filter_complex '[0:0] [0:1] [1:0] [2:0] concat=n=2:v=1:a=1 [v] [a]' -map '[v]' -map '[a]' -filter:a 'atempo=1.0006' -c:v libx264 -c:a libfdk_aac -movflags faststart -threads 2 -preset ultrafast output3.mp4
[08:20] <Waraqa> sorry
[08:20] <blippyp> so you're good?
[08:20] <Waraqa> ffmpeg -t 16.45 -i MVI_0022.MOV -ss 16.45 -i MVI_0022.MOV -i LS101274.WAV -filter_complex '[0:0] [0:1] [1:0] [2:0] concat=n=2:v=1:a=1 [v] [a]' -map '[v]' -map '[a]' -c:v libx264 -c:a libfdk_aac -movflags faststart -threads 2 -preset ultrafast output3.mp4
[08:21] <Waraqa> No, I need to a way to apply to atempo
[08:21] <Waraqa> Or I will reencode the audio file first
[08:23] <Waraqa> blippyp: If it will cause hassle to you, I will reencode the audio first to apply atempo
[08:23] <blippyp> that could be an easy fix - why don't you do that, while I try my way
[08:23] <Waraqa> Ok
[08:23] <blippyp> no - definitely - by all means... ;)
[08:30] <blippyp> I think I got it - it's encoding now
[08:31] <blippyp> ffmpeg -i src.mkv -i src.mkv -i got.mp3 -lavfi '[0:0][0:1][1:0][2:0] concat=n=2:v=1:a=1 [v][audio]; [audio] atempo=1.0006 [a2]' -map '[v]' -map '[a2]' -c:v libx264 -preset ultrafast -c:a ac3 output3.mp4
[08:31] <blippyp> try that
[08:32] <blippyp> oops - but place your times in it... forget to re-work it for you...
[08:32] <Waraqa> no problem i'll do it
[08:32] <blippyp> k
[08:32] <blippyp> all you need is the filter anyways
[08:33] <blippyp> whether this will do what you want or not - I don't know - but it copied my streams right and in the right order....
[08:33] <blippyp> oh geez - I just realized something...
[08:34] <blippyp> you only wanted the audio of the wav file to have a temp change right?
[08:34] <Waraqa> yes
[08:35] <Waraqa> But it will be ok if it's applied to the whole audio since the begining is only 16 seconds
[08:35] <blippyp> up to you - It's not hard to change I don't think
[08:35] <blippyp> I'm doing now
[08:35] <Waraqa> Ok
[08:36] <blippyp> should be something like this:
[08:36] <blippyp> ffmpeg -i src.mkv -i src.mkv -i got.mp3 -lavfi '[2:0] atempo=1.0006 [a2]; [0:0][0:1][1:0][a2] concat=n=2:v=1:a=1 [v][a2]' -map '[v]' -map '[a2]' -c:v libx264 -preset ultrafast -c:a ac3 output3.mp4
[08:36] <blippyp> yeah I think that will work
[08:36] <blippyp> mine's encoding
[08:36] <Waraqa> I'll try now
[08:36] <blippyp> k
[08:37] <blippyp> if you leave the -preset ultrafast in, it will encode it really fast for you
[08:37] <Waraqa> I'll change it later
[08:37] <blippyp> you'll want to re-do it again after you know it's right - but you should probably leave that in
[08:38] <Waraqa> I agree
[08:40] <blippyp> oh - i just notice that I lef the a2 as a2 - not sure if that will cause any issues, it encoded for me without complaints but I'd change that just to be sure...
[08:40] <blippyp> like this:
[08:40] <blippyp> ffmpeg -i src.mkv -i src.mkv -i got.mp3 -lavfi '[2:0] atempo=1.0006 [a1]; [0:0][0:1][1:0][a1] concat=n=2:v=1:a=1 [v][a2]' -map '[v]' -map '[a2]' -c:v libx264 -preset ultrafast -c:a ac3 output3.mp4
[08:42] <Waraqa> I always get this error: [AVFilterGraph @ 0x9cc4c00] No such filter: ''
[08:42] <blippyp> did you copy and paste the filter?
[08:43] <blippyp> check at the end of the filter just before the ' or " - is there a semi colon on the end of the [a2]?
[08:43] <Waraqa> no I change my original command
[08:43] <blippyp> if there is remove it
[08:43] <blippyp> that's usually what that error means for me
[08:43] <blippyp> if not - paste you command into irc so I can see it
[08:44] <Waraqa> right :)
[08:44] <Waraqa> It is now encoding
[08:44] <blippyp> cool - did you change two of the a2's? like i said?
[08:44] <Waraqa> yes
[08:44] <blippyp> cool
[08:44] <blippyp> not sure if it would actually make a difference though - like I said mine didn't error...
[08:45] <blippyp> I always rename the streams as I go...
[08:45] <blippyp> much easier to follow... ;)
[08:49] <Waraqa> blippyp: Thank you
[08:49] <blippyp> cool works?
[08:50] <Waraqa> Yes
[08:50] <blippyp> awesome :)
[08:50] <blippyp> np
[08:52] <Waraqa> blippyp: Are you an ffmpeg developer?
[08:54] <blippyp> no - just a hobbyist ;)
[08:54] <Waraqa> You are so kind to spend this trying to help
[08:55] <blippyp> thx, but I enjoy it - and I learn tons from it... ;)
[08:55] <blippyp> it's not completely selfless... haha
[19:37] <SpecialEd> Hey guys, I transcode a lot of flash video files to x264/mp4 and I've been plagued with my terminal shell getting spammed with the following output:
[19:37] <SpecialEd> [h264 @ 0x39b2500] missing picture in access unit with size 40
[19:37] <SpecialEd> [h264 @ 0x39b2500] AVC: nal size 21102622
[19:38] <SpecialEd> The videos transcode just fine so I was wondering if there is any way I can quiet ffmpeg down a bit? I use Ubuntu 14.04LTS Server 64bit if that helps..
[19:39] <SpecialEd> also, what makes it even stranger is that its not on every single flash video I transcode to mp4, only like half of them and theres no rhyme or reason for it as far as I can tell...
[19:40] <klaxa> if you installed ffmpeg via your package management, you are in fact using avconv. see #libav
[19:40] <SpecialEd> nope :) I compile manually
[19:44] <klaxa> so far so good, you can adjust the -loglevel parameter to change verbosity
[19:44] <klaxa> see -loglevel under http://ffmpeg.org/ffmpeg.html#Generic-options
[19:49] <SpecialEd> bingo that did it thank you so much!
[20:27] <__odie> i'm trying to stream webm over udp like this: http://pastebin.com/qtCC6SR0
[20:27] <__odie> but i cant get it to work (like in the pastebin)
[21:35] <blippyp> % getmetatable("").tostring = tostring; getmetatable("").print = print; setmetatable(_G,{__mode="v"}) collectgarbage("collect") return debug
[21:35] <blippyp> % print "hi"
[21:36] <blippyp> oops ;0
[23:34] <diesel420> hi
[23:34] <sacarasc> Hey, diesel420. :D
[23:35] <diesel420> it isnt possible to cut videos at exact frames via ffmpeg, right?
[23:36] <diesel420> hey sacarasc
[23:43] <c_14> diesel420: I don't think you can give exact frames, but you can go down to the millisecond which is usually enough.
[23:45] <diesel420> alright, thanks
[23:47] <diesel420> for x264 videos i have to cut at i-frames, iirc
[23:50] <c_14> Only if you use -ss as an input option or use -codec copy
[23:55] <Hello71> !xy
[00:00] --- Sun May 4 2014
1
0
[02:35] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:0f9f24c9cfd2: avfilter/vf_yadif: fix filtering a single image
[02:53] <ShadowJK> michaelni, did you see the garbled video from SpaceX, and their request for gurus to help try clean it up? :-)
[02:54] <michaelni> ShadowJK, no, where ?
[02:55] <ShadowJK> sec
[02:56] <ShadowJK> http://www.spacex.com/news/2014/04/29/first-stage-landing-video
[02:59] <ShadowJK> you can only really see two moments in that, heh. The "Free fall" part, and then I guess they get an I-frame when the computer decides it's time to fire up engine to slow down.. and hten they land in water and the water destroys data :)
[02:59] <wm4> michaelni: thanks for looking into the yadif thing
[02:59] <michaelni> wm4: np
[02:59] <Timothy_Gu> shadowjk: that was fun ;)
[02:59] <ShadowJK> I'm somewhat wondering if they wouldn't be better off using extremely cheap chinese video cameras that record in mjpeg, for data integrity :)
[03:01] <Timothy_Gu> I don't have a computer to check, but are they using MPEG-2?
[03:02] <ShadowJK> http://www.reddit.com/r/spacex/comments/24bsn2/first_stage_landing_video/
[03:03] <ShadowJK> " MPEG 4 Part 2, P/I 15, 15fps, NTSC, fixed bitrate"
[03:04] <Timothy_Gu> Yeah I would rather use MJPEG for this kind of video.
[03:04] <J_Darnley> What?!
[03:04] <J_Darnley> mpeg4
[03:04] <ShadowJK> "we took a pass on the data to align every MPEG packet on a 188 byte boundary and set the packet start byte to 0x47. Then we identified blocks within keyframes that contain bit errors, and then manually flipping bits in those corrupt blocks to see if it recovers more of the image."
[03:05] <ShadowJK> mpeg4 vs mpeg2?At the time I am sure it made sense to try to use the more effiecient video codec, as they had concerns about the available bandwidth
[03:06] <Timothy_Gu> michaelni: I want to rename a wiki page but then I found out that I don't have the permission.
[03:07] <ShadowJK> "Q: Why is the video so bad? A: This was recorded over a very lossy RF link."
[03:11] <baptiste> http://www.spacex.com/sites/spacex/files/raw.ts
[03:22] <Timothy_Gu> michaelni: see http://trac.edgewall.org/wiki/TracPermissions
[03:24] <michaelni> Timothy_Gu, try again, should work
[03:45] <Timothy_Gu> MichaelNi: it works, thanks!
[06:12] <cone-158> ffmpeg.git 03Matt Oliver 07master:1ccd1a3860b1: Enable opencl wihtout pthreads.
[07:49] <Zeranoe> Is ffmpeg running a shortage of bandwidth? I'm getting ~50KB/s consistently downloading a git clone or snapshot
[10:09] <plepere> kurosu, we haven't noticed any real improvement. it might be because of a bottleneck somewhere else.
[14:42] <ubitux> wbs: just in case, ad8fbddb94c2d7e0fbcd46d508e962bbfd939ba4
[14:45] <Daemon404> confusing message is confusing
[14:48] <wm4> bunch of commit hashes, some point to merge commits
[14:48] <wm4> at this point, cherry-picking really would be easier, I guess
[15:15] <Daemon404> still no gcc 4.8.3 eh
[15:50] <Daemon404> hmm
[15:50] <Daemon404> ffmpeg has no GRAY16A
[15:50] <Daemon404> i.e. gray with alpha
[15:58] <kierank> http://www.spacex.com/news/2014/04/29/first-stage-landing-video
[15:59] <ubitux> yeah it was already shared
[16:02] <Daemon404> needs libpostproc
[16:52] <ubitux> http://aeroquartet.com/wordpress/2014/04/24/why-mxf-format-will-eventually-…
[16:52] <ubitux> > MXF is an open standard promoted by the video industry. Thats a guarantee that a single vendor cannot and will not play dirty tricks.
[16:52] <ubitux> lol
[17:06] <kierank> ubitux: yeah hillarious
[17:08] <kierank> mateo`: know anyone interested in testing an sxs driver for linux?
[17:11] <cone-788> ffmpeg.git 03Michael Niedermayer 07master:c60b266eac18: avcodec/mpegvideo: support disabling motion compensation
[18:38] <cone-788> ffmpeg.git 03Michael Niedermayer 07master:41a679000f22: avcodec/mpegvideo: fix gray*() parameter types
[19:02] <cone-788> ffmpeg.git 03Lukasz Marek 07master:41e4c6d8c5fb: lavd/opengl_enc: use flag to mark inited context
[19:02] <cone-788> ffmpeg.git 03Lukasz Marek 07master:45601854b148: lavd/opengl_enc: add window size param
[19:02] <cone-788> ffmpeg.git 03Lukasz Marek 07master:db4b03146cc3: lavd/opengl_enc: fix window size correction code
[19:02] <cone-788> ffmpeg.git 03Lukasz Marek 07master:ba52fb11dc63: lavu/opt: add av_opt_set_dict2() function
[19:02] <cone-788> ffmpeg.git 03Lukasz Marek 07master:330d547ef3cc: lavf/mux: pass options to nested structs of priv data
[19:02] <cone-788> ffmpeg.git 03Lukasz Marek 07master:fa4f7b17bc12: lavd/xv: reident after previous commits
[19:02] <cone-788> ffmpeg.git 03Michael Niedermayer 07master:cea9ee5dbd93: Merge remote-tracking branch 'lukaszmluki/master'
[19:13] <mateo`> kierank: nope, it is a driver for camera, right ?
[20:16] <kierank> mateo`: it is a memory card for sony cameras, yes
[20:16] <kierank> has mxf stuff on it
[20:16] <kierank> but I don't know many people who are interested in testing it
[22:59] <cone-788> ffmpeg.git 03Michael Niedermayer 07master:64e448994cb4: avcodec/h263dec: print MB position for each MB when TRACE is enabled
[00:00] --- Sat May 3 2014
1
0
[00:00] <blippyp> but it's light-weight which is a huge selling-point for me
[00:00] <blippyp> and open-source so I dont' worry about botnet issues
[00:01] <blippyp> plus it's in lua (which I'm struggling to learn) because I also use awesome which is heavy on lua, and my ircBot has lua embedded into it as well...
[00:01] <manolo> i'm feeling really comfy with chrome
[00:01] <manolo> but I trust less and less comfy with google
[00:01] <blippyp> nothing wrong with that - if you're happy with something there's no reason to change... ;)
[00:01] <blippyp> yeah - I know the feeling...
[00:02] <blippyp> I use to LOVE google and still do - but I don't trust them at all anymore
[00:03] <blippyp> I don't care if they track my searches and all that crap - but it seems like everywhere you turn these days someone is putting some kind of malware into their software...
[00:03] <blippyp> even ubuntu went nuts with it - and systemd scares the ever-loving shit out of me.... but that's a topic for another thread
[00:06] <manolo> and what about android?.. pfff
[00:07] <manolo> I'm sure they know even the color of my s**t
[00:07] <blippyp> wouldn't know - I still use one of those old pay-as-you-go flip-phones and you'll have to pry it out of my dead hand.... ; )
[00:08] <blippyp> hell, I don't even want that phone - but my fiance insists that I have one
[00:08] <Mavrik> ibisr, your question does not compute :)
[00:09] <blippyp> it's just another annoying gadget that drives me nuts - I don't like phones - all I want is my netbook for portability, will never want an ipad or a phone or google glass or whatever else they come up with... just my little netbook and I'm happy
[00:09] <blippyp> it's a complicated subject - google b frame and you'll get introduced to a world of hurt
[00:10] <manolo> I really like thinks like whatsapp and telegram I connects u to ppl
[00:10] <blippyp> it's basically why ffmpeg has fast search and accurate search
[00:10] <manolo> and make u save tons of money
[00:11] <blippyp> wouldn't know - as 'tech' savy as I am - I've gotten behind the times as far as phones have come - I feel no need for the monthly bills for what my $20/month phone bill is - and they can only 'attempt' to do what even my crappy netbook already does - so I don't pay attention to them.... ;)
[00:12] <manolo> yup but u can take your netbook with u everywhere
[00:12] <blippyp> sure I can - I always do
[00:12] <manolo> and a smarphone is way cheaper
[00:12] <manolo> hhahahaha
[00:12] <manolo> such a geek, with all due respect
[00:12] <blippyp> it's small - smaller than some i pads
[00:12] <blippyp> yup - even have a backpack for it an everything... ;)
[00:13] <blippyp> and I'm an old fart (well - getting there - 38)
[00:13] <manolo> Mavrik, may I take some patience from u?
[00:13] <manolo> hahahaha u r 10 years ahead from me
[00:14] <blippyp> yeah - I'm kind of lost on this myself - not getting anywhere and I noticed that after a while - switching from http to udp stopped working with mplayer (must have been a cached file I was connecting to instead or something)
[00:14] <blippyp> as in your 48?
[00:14] <blippyp> you're
[00:14] <manolo> all the way around
[00:14] <blippyp> or 28?
[00:14] <manolo> 18
[00:14] <manolo> 28
[00:14] <blippyp> enjoy it - I remember it like it was yesterday...
[00:15] <Mavrik> manolo, ?
[00:15] <manolo> yup here!
[00:15] <blippyp> we need an actual example
[00:15] <blippyp> this ain't working
[00:15] <manolo> mmm I have you webm more or less working
[00:15] <blippyp> we've even followed your webm example
[00:15] <Mavrik> that is an actual example.
[00:15] <blippyp> it's working for you?
[00:15] <Mavrik> maybe you could start by actually using ffmpeg
[00:15] <Mavrik> not libav
[00:15] <manolo> local comp: ffmpeg -f video4linux2 -i /dev/video0 -f alsa -i plughw:CARD=Intel,DEV=0 -r 30 -g 0 -vcodec h264 -acodec libmp3lame -tune zerolatency -preset ultrafast -f mpegts udp://ip:port
[00:15] <blippyp> I would agree with that as well... ;)
[00:15] <Mavrik> avconv, avserver, etc. support is on #libav
[00:16] <manolo> remote (with your ffserver.conf): avconv -v verbose -i udp://localhost:110 udp://localhost:8080/feed1.ffm
[00:16] <manolo> my gosh xD
[00:17] <manolo> u think I should download, compile and install the last ffmpeg?
[00:17] <blippyp> yeah
[00:17] <blippyp> I would
[00:17] <manolo> ok,
[00:17] <manolo> let's go for it
[00:17] <Mavrik> manolo, why aren't you streaming directly to the ffserver from the machine with camera?
[00:17] <Mavrik> and why
[00:17] <manolo> mm
[00:18] <Mavrik> are you passing udp instead of http for ffserver target?
[00:18] <manolo> just a type
[00:18] <manolo> typo
[00:18] <Mavrik> note that using ffserver is different than just transporting video over udp
[00:19] <blippyp> why can't I connect to a udp with mplayer?
[00:19] <manolo> avconv -v verbose -i udp://localhost:110 http://localhost:8080/feed1.ffm
[00:19] <manolo> that's the correct one
[00:19] <manolo> I see
[00:19] <blippyp> it works with ffplay - but not mplayer?
[00:19] <manolo> it's a remote comp so no chance to try
[00:20] <manolo> what I get is the http://IP:8080/test.webm
[00:20] <manolo> with an embedded player
[00:20] <manolo> that does not play the cam content
[00:21] <manolo> Mavrik, how would I stream directly to the ffserver from the machine with cam?
[00:23] <Mavrik> blippyp, you don't connect to UDP, you listen to it
[00:23] <blippyp> but mplayer has an option for udp?
[00:23] <Mavrik> yes.
[00:23] <blippyp> ffplay will play it
[00:24] <Mavrik> it might require udp://@<address> specification
[00:24] <Mavrik> but it does have it.
[00:24] <Mavrik> at least mplayer2 or whats the latest fork called
[00:24] <Mavrik> manolo, by passing address of ffserver to ffmpeg that streams
[00:24] <blippyp> but it doesn't work
[00:24] <Mavrik> manolo, I really don't get which part is unclear
[00:25] <manolo> ohh
[00:25] <manolo> so the ffserver is a socket
[00:26] <manolo> so I set up a ffserver in the local machine, the one with the webcam attached
[00:26] <Mavrik> [ffserver] <--- network --- [ffmpeg]
[00:26] <Mavrik> no.
[00:26] <manolo> I see you point
[00:26] <Mavrik> ffserver is the video server.
[00:26] <Mavrik> it duplicates and serves video to your clients
[00:26] <Mavrik> ffmpeg is the one grabbing the video
[00:27] <Mavrik> doing the encoding and passing data to ffserver
[00:27] <manolo> that's what I though i was doing
[00:27] <Mavrik> note that ffserver isn't good enough to stream to all possible clients - it'll only work on desktop chrome and firefox
[00:27] <Mavrik> manolo, well
[00:27] <Mavrik> why are you passing localhost as address of ffserver ?
[00:27] <manolo> chrome and firefox is ok
[00:28] <manolo> avconv -v verbose -i udp://localhost:110 http://localhost:8080/feed1.ffm
[00:28] <manolo> in this command, right?
[00:28] <Mavrik> that makes absolutely no sense.
[00:28] <blippyp> yeah, mavriks' right
[00:29] <manolo> so, ok
[00:29] <manolo> back to the webcam comp
[00:29] <Mavrik> you're trying to read UDP packets addressed to "127.0.0.1", port 110
[00:29] <Mavrik> and then encode whatever is there and pass it on to ffmpeg
[00:29] <manolo> I see
[00:29] <Mavrik> so that command makes no sense
[00:30] <manolo> I see how I capture and send it to the server
[00:30] <Mavrik> all you have to do
[00:30] <Mavrik> is to setup ffserver on your streaming machine
[00:30] <Mavrik> and run ffmpeg with camera grab parameters pointing to http://yourffserver/feed.ffm address
[00:30] <Mavrik> 2 processes
[00:30] <Mavrik> on two machines
[00:30] <Mavrik> with network inbetween
[00:30] <Mavrik> that's it
[00:30] <manolo> I cannot do that since I cannot open ports in the firewall, where the cam computer is
[00:31] <manolo> the computer with the webcam is behind a firewall I cannot set up
[00:31] <Mavrik> so how exactly
[00:31] <Mavrik> do you expect for that machine to send data anywhere
[00:31] <Mavrik> didn't you say you only have INBOUND closed_
[00:32] <manolo> yup I cannot set up NAT/DNAT
[00:32] <Mavrik> and which part of this arrow
[00:32] <Mavrik> [00:26:26] <Mavrik> [ffserver] <--- network --- [ffmpeg]
[00:32] <Mavrik> shows TO the machine with ffmpeg/camera?
[00:32] <Mavrik> it doesn't.
[00:32] <Mavrik> because camera machine
[00:32] <Mavrik> SEEEENDS data to the ffserver machine
[00:32] <Mavrik> doh!
[00:32] <Mavrik> camera
[00:32] <manolo> hahahahaha
[00:32] <manolo> ook
[00:33] <Mavrik> :)
[00:33] <Mavrik> I think it's a little bit late ;)
[00:33] <manolo> so the sending was right
[00:33] <Mavrik> I don't think I can explain this in more simple terms
[00:33] <Mavrik> machine with camera - run ffmpeg
[00:33] <Mavrik> machine which serves video - ffserver
[00:33] <manolo> aja so far so good
[00:33] <Mavrik> that's it.
[00:33] <manolo> yup
[00:33] <Mavrik> ffmpeg --> ffserver.
[00:33] <manolo> that is already happening
[00:34] <manolo> the ffmpeg in the remote comp was useless
[00:34] <manolo> I understood
[00:35] <manolo> now, easy
[00:35] <manolo> i'm sending from the webcam comp to the server the video stream
[00:35] <manolo> udp://remote.server:110
[00:35] <manolo> who is waiting in the port 110?
[00:35] <manolo> the server
[00:35] <manolo> ffserver
[00:36] <manolo> when did I told ffserver to wait in what port?
[00:36] <manolo> ffserver.conf?
[00:37] <manolo> I told it to be in the port 8080
[00:37] <manolo> but that is for serving or receving?
[00:58] <blippyp> maverik: any idea why my ffmpeg always stops sending video after like frame 35???
[01:00] <manolo> this guys is going to end up fed up of we both xD
[01:01] <manolo> blippyp, the server is set in the port 8080, so I have to send the udp stream to that port, right?
[01:01] <manolo> there's no other xD
[01:02] <blippyp> that's my guess - and using udp is the only way I can get it to go past 35 frames - but then I can't view it at all except with ffplay, but then the videos is all screwed up
[01:03] <blippyp> I don't know what the problem is - I know I'm doing this right, it shouldn't be any different then working with swf or mjpeg - but it just doesn't work
[01:04] <blippyp> maverik: what version of ffmpeg did you do this on?
[01:06] <blippyp> maverik: you said that this only works with ie and chrome - have you tried connecting to it with mplayer like I have?
[01:06] <blippyp> have=am?
[01:38] <blippyp> manolo: i don't know what the problem is (for me anyways) - but it seems to be wrapped around a alsa buffer xrun error - I think it's screwing up my video feed...
[01:38] <manolo> i'm working around the avserver
[01:38] <blippyp> but like I said the swf format works great - you should go back to trying that again....
[01:38] <manolo> adding more and more streams
[01:39] <manolo> would you send me the stream samples page?
[01:39] <manolo> i'll go with that swf again
[01:39] <blippyp> stream samples page? you mean that link I sent you earlier?
[01:39] <blippyp> I would - it works
[01:39] <manolo> yup
[01:40] <blippyp> this page: https://www.ffmpeg.org/sample.html
[01:40] <blippyp> luckily I still had it open
[01:40] <blippyp> I gotta go now for a bit though - best of luck - hopefully I'll catch you again later.... if not - leave a message for me if you get it working - I won't be logging off
[01:41] <manolo> blippyp got it
[01:41] <manolo> fount it! thx
[01:41] <blippyp> found what?
[01:41] <blippyp> you mean it's working with swf?
[01:42] <manolo> nope
[01:42] <manolo> I found the samples page xD
[01:42] <blippyp> oh
[01:42] <blippyp> alright - well good luck :)
[02:59] <Ofekmeister> can someone please explain how to merge these files properly? it seems b/c the ac3 are different bitrates or slightly different formats the output time is incorrect http://pastebin.com/aPNvDHWs
[03:19] <brontosaurusrex> Ofekmeister, possibly mediainfo wrong calculus
[03:20] <Ofekmeister> brontosaurusrex, all players yield wrong time too
[03:20] <brontosaurusrex> Ofekmeister, dunno then
[03:44] <SirCmpwn> can I record my system audio with ffmpeg?
[03:44] <SirCmpwn> I use pulse
[03:49] <klaxa> yes
[03:49] <klaxa> ffmpeg -f alsa -i pulse out.ogg
[03:49] <klaxa> use pavucontrol or the command line stuff (pacmd, pactl) to set the correct input device
[03:50] <klaxa> should be something like monitor of analog-stereo
[03:50] <klaxa> SirCmpwn: ^
[03:50] <SirCmpwn> thanks!
[04:32] <blippyp> manolo: you still plugging away at it?
[04:40] <kcynice> how to compile libpostproc? i hasnot set --disable-postproc option when configuring, but, libpostproc still can't be compiled
[04:42] <blippyp> I specifically added --enable-postproc to my compiling, and it works just fine - maybe you need to specifically enable it?
[04:44] <kcynice> which version you used? after several tries, i found add --enable-gpl can make that libpostproc re-enable. waiting the compiling result
[04:44] <blippyp> I compiled mine last week some time - from the git
[04:45] <kcynice> oh. my version is almost 2 months older than yours
[04:46] <blippyp> here is my exact configure command: http://sprunge.us/GBaB
[04:46] <kcynice> and, do you know how to use the new feature about ff_xv_muxer? I can't find any information about that, i use it as the normal muxer object,
[04:46] <kcynice> it works ok, but display nothing window
[04:46] <blippyp> no idea, wasn't aware of it...
[04:48] <kcynice> but, how do you display a video frame?
[04:49] <blippyp> what do you mean?
[04:49] <kcynice> use sdl? or any other options?
[04:49] <kcynice> when a video frame wad decoded, how to display on a window?
[04:49] <blippyp> are you talking about programming?
[04:49] <kcynice> yeah
[04:50] <blippyp> no idea, only use ffmpeg and ffserver, haven't tried coding with it yet - sorry, I'm no help for you
[04:50] <kcynice> ah, you a welcome
[04:51] <blippyp> just wait, some of the people here do I'm sure - someone might know the answer for you
[04:51] <blippyp> I'm bored though - so I'll try to find it as well... ;)
[04:52] <kcynice> why you compile it by your hands?
[04:53] <blippyp> I wanted frei0r
[04:53] <blippyp> why don't you look at the code for ffplay?
[04:53] <blippyp> I'm sure your answer will be in there
[04:54] <blippyp> ffmpeg isn't really for 'viewing' - I think it uses mplayer (or a good chunk of it's code) for ffplay to do that...
[04:54] <kcynice> yes, i know it, but i don't want to use the render ffplay used.
[04:54] <blippyp> why? what's wrong with it?
[04:55] <kcynice> i want to insert much more window elements for a player, btw, im just starting ffmpeg, i want to write my own player for practice
[04:56] <blippyp> what do you need ffmpeg for if you want to make a video player?
[04:57] <blippyp> it converts codecs and builds videos, it's not for viewing...
[04:57] <blippyp> you should look into the mplayer code - I think you'll find more of what you want...
[05:02] <kcynice> might be, but mplayer was so so complex
[05:03] <blippyp> you're not attempting to do a simple thing... ;)
[05:04] <blippyp> whatever your reasons are for digging into ffmpeg, and based on the questions you've already asked, my guess it that you want to learn both quite well...
[05:04] <blippyp> or at least start digging into some tutorial on how to make a video editor
[05:04] <kcynice> i have a glance to mplayer, it use sdl too.
[05:05] <blippyp> you should use something like lazarus - it's simple to make a video play using that
[05:05] <blippyp> you can do it with just a few drag and drops and a few lines of code
[05:05] <kcynice> In fact i can display a decoded video frame ok, but, its too slow
[05:06] <blippyp> how are you doing that? pastebin your code?
[05:06] <blippyp> if you don't mind - I'm curious.... ;)
[05:06] <blippyp> you don't have to paste it all, just the relevant part(s)...
[05:07] <kcynice> lazarus is just a compiler
[05:07] <blippyp> no - it's a graphical ide
[05:07] <blippyp> which uses free pascal
[05:07] <blippyp> basically delphi but for linux
[05:08] <kcynice> my code is simple, i just create a new rgb buffer, when a video frame was decoded, i convert to RGB24, and then copy to the rgb buffer
[05:08] <blippyp> trust me it's simple - I'm a pretty good delphi programmer and I've made simple video editors with it
[05:08] <kcynice> and then create a bmp object and draw it on my play window
[05:09] <kcynice> introduce a new language, i only use c/c++, know nothing about pascal
[05:09] <blippyp> then pascal will be simple for you
[05:09] <blippyp> I think you can code c++ with it as well
[05:09] <kcynice> but i know delphi, its perfect
[05:09] <blippyp> than you know lazarus
[05:10] <blippyp> lazarus IS delphi
[05:10] <kcynice> its my first know lazarus
[05:10] <blippyp> *reborn
[05:10] <kcynice> delphi use pascal language, i know
[05:10] <blippyp> just not quite as solid - I miss delphi so much
[05:10] <kcynice> you meant, delphi dead
[05:11] <blippyp> been for years - that's why they made lazarus
[05:11] <blippyp> i was so excited when I found it - but it's not quite the same...
[05:11] <blippyp> including new packages is just retarded
[05:11] <blippyp> it was so seamless and easy with delphi - it's what made it so powerful
[05:11] <blippyp> I loved making packages
[05:11] <kcynice> delphi was defeat by .NET
[05:12] <blippyp> and turning them into components
[05:12] <blippyp> is that what you're using - .NET?
[05:12] <blippyp> I would imagine it has tons of libraries all ready to go for video editing (never used it myself)
[05:13] <blippyp> I really need to take a good look at it though - I think I have a copy around here somewhere...
[05:13] <kcynice> no, i know little about that, i only like asm/c/c++ language
[05:13] <blippyp> do you use g++ or ms visual c++, something else?
[05:13] <kcynice> i don't need a video editor, just a playback method
[05:14] <kcynice> i use g++&vim
[05:14] <kcynice> i think it perfect
[05:14] <blippyp> then you don't need ffmpeg... I'm not understanding why you're digging into the ffmpeg code...
[05:14] <kcynice> although i had use visual studio for some years
[05:14] <blippyp> that's what I'm using these days too - just started digging back into it a week or so ago - been working on an irc bot
[05:15] <blippyp> I was very good at c/c++ in college - too bad I got moved away from it - but delphi was a very good experience for me.
[05:15] <blippyp> we sound a lot alike... ;)
[05:15] <kcynice> ah, i need ffmpeg's library, not the executable program named ffmpeg
[05:16] <kcynice> yes, dephi is a perfect toolkit
[05:16] <blippyp> I think you want the libraries for x264, and libvpx, etc.. etc.. not really ffmpeg itself...
[05:16] <blippyp> you don't even need those really - it's all automatically done for you in lazarus/dephi/whatever...
[05:16] <blippyp> it really is simple
[05:17] <kcynice> but, ffmpeg provides a uniform interface for media format, decoding, coding,demuxing...etc
[05:17] <blippyp> just drop teh video component and point a file at it and watch it go
[05:17] <kcynice> that what i want. Im just a library user, but not a library developer
[05:17] <blippyp> then USE ffmpeg to do your muxing/demuxing until you figure it out...
[05:17] <blippyp> ffmpeg works great as a swiss-army knife
[05:17] <kcynice> yeah
[05:18] <blippyp> so make your video player and then once you're happy with that - then dig into the ffmpeg libraries and figure out how to 'incorporate' it into your software, until then, just USE ffmpeg itself...
[05:18] <blippyp> that's what I would do anyways... ;)
[05:19] <blippyp> I don't think you're taking on a small project, by any means... but if you break it apart into chunks you'll get somewhere useful with it quickly...
[05:19] <kcynice> infact, my main aim was build a audioplayer for myself, because Im working for a embedded system about video muxing and demuxing,
[05:20] <kcynice> so i want to add video play for my player too, although i had not implement audio playing functions
[05:20] <blippyp> I would just ffmpeg itself - I think you're taking on way more than you can chew at this point - get the interface working the way you want first....
[05:20] <blippyp> video/audio it's all basically the same thing from a gui perspective... ;)
[05:21] <kcynice> i don't think its a big project. for now, I use examples code in ffmpeg source code to do the file parsing, decoding...
[05:21] <kcynice> yes, im blocked at GUI
[05:22] <blippyp> me too - always blocked at gui when it comes to c++
[05:22] <blippyp> you should go into a c++ channel
[05:22] <blippyp> talk to some guys there - I'm sure they'll give you the answers you need
[05:22] <blippyp> you need to dig int gtk or qt or something like that
[05:23] <kcynice> this is the only channel i found
[05:23] <blippyp> just type in /join #C++
[05:23] <blippyp> there's a channel for damn near anything on freenode
[05:23] <kcynice> you mean, this channel is only for whom use ffmpeg executable program?
[05:23] <blippyp> no - I think it's for the programming aspects of ffmpeg as well
[05:23] <blippyp> but you don't have that kind of question
[05:23] <kcynice> oh, im not being learning programming language
[05:24] <blippyp> you're looking for something else - you seem to understand the programming aspects of ffmpeg already
[05:24] <blippyp> huh?
[05:24] <blippyp> your not beign learning? - rephrase that....
[05:25] <kcynice> i meant, im not beginner for C++
[05:25] <blippyp> no - clearly you're not
[05:25] <kcynice> just a beginner for ffmpeg, lol
[05:25] <blippyp> you probably know much more than me
[05:25] <blippyp> but you want to know how to use gtk ot qt or some other gui library for c++
[05:25] <kcynice> i know gui too
[05:26] <blippyp> very few people on this channel probabl even know where to begin - that's why I suggested that you go to #C++ or something similar instead - they can help you much more
[05:26] <kcynice> but i don't know how to connect the video output to gui effectively
[05:26] <blippyp> or #gtk or #qt - I'm sure there's channels like those as well
[05:26] <blippyp> qt is both windows and linux - you might want to dig into that
[05:26] <blippyp> (at least I think it is)
[05:27] <kcynice> yes, i use an alternative gui toolkit named wxWidgets
[05:27] <kcynice> you said, you are blocked at GUI?
[05:27] <kcynice> what did you mean?
[05:27] <blippyp> those libraries will show you how - they probably do it pretty easily...
[05:27] <blippyp> then look into wxWidgets - it must have a library for interfacing with the video - no?
[05:27] <blippyp> I've just never coded a GUI with c++
[05:27] <blippyp> always libraries or console
[05:28] <blippyp> basically learned ALL the basics for C/C++ - understood them very well - better than anyone I knew at the time - but then got moved into delphi due to work and haven't looked back again until a week or so ago...
[05:28] <blippyp> kind of like starting from scratch again, but not really...
[05:29] <blippyp> in Delphi I made lots of GUI applications with databases - I was scared of making NOTHING basically...
[05:29] <blippyp> so I understand the concepts required, but have never implemented them with C++ - Which is a bit more of a daunting task than using Delphi - Delphi is just simple
[05:29] <kcynice> yes. delphi is easier
[05:29] <kcynice> more and more easier
[05:30] <blippyp> yet very powerful - it gave you the ability to really dig in when needed - and it is just as fast as c basically
[05:30] <blippyp> delphi is awesome - like I said, I REALLY miss it
[05:30] <kcynice> and, what you working for?
[05:30] <blippyp> I don't understand what you mean?
[05:31] <kcynice> ah, im sorry for my poor english
[05:31] <blippyp> that's okay - I noticed... ;)
[05:31] <kcynice> i meant, did you use delphi for developing?
[05:31] <blippyp> yes
[05:32] <blippyp> for a manufacturing company - I designed all of their internal software applications
[05:32] <blippyp> but I haven't worked in the field in years really
[05:32] <kcynice> but why?
[05:32] <blippyp> because I learned delphi and lost track of C++ / never learned .net
[05:33] <kcynice> i think such company need more function about database
[05:33] <blippyp> I became 'unemployable' bascially and now need educational 'upgrading'
[05:33] <kcynice> you want to dig into c++ and .net?
[05:33] <blippyp> no - I want delphi to come back... ;)
[05:33] <blippyp> haha
[05:33] <kcynice> windows or other platforms?
[05:33] <blippyp> I still can't understand for the life of me why it disappeared...
[05:34] <blippyp> windows - but with delphi you could code for anything - basically like .net as far as I understand it
[05:34] <kcynice> that's for everybody
[05:34] <blippyp> plus you could code in C++ if you preferred
[05:34] <kcynice> oh\
[05:35] <blippyp> the interface was just beautiful - I loved the components and it was so simple to make your own components if you didn't like the ones you were using
[05:35] <kcynice> might be i should post my questions on a forum
[05:35] <blippyp> go to C++ - seriously
[05:36] <kcynice> c++ can do it too
[05:36] <blippyp> I just joined there - there's like hundreds of people in the channel
[05:38] <blippyp> or go on github - I bet you can find something on there you can fork or at least download and check out the code to get an idea of what you're looking for - there's so much freely available code out there.... you have specific wants/needs - it shouldn't be hard to find your answer
[05:39] <kcynice> i think too
[05:39] <kcynice> thank your and all your hints
[05:40] <blippyp> np - it was nice meeting someone who has such a similiar background as me... ;)
[05:40] <kcynice> cool and keep in touch.
[05:40] <blippyp> I'll try - ;) (i'm very forgetful with names...) :(
[05:41] <blippyp> I'm usually in this channel though
[05:42] <kcynice> ok
[05:45] <kcynice> i have to offline now, have lunch
[05:45] <kcynice> see u next time.
[08:56] <John_Loki> I want to use libavcodec api for H.264 decoding, I am interested in particular frames of interest? Question is, does libavcodec provides NAL details and other H.264 syntax elements
[08:59] <blippyp> https://ffmpeg.org/doxygen/trunk/h264__parser_8c.html
[08:59] <blippyp> is that what you're looking for?
[09:02] <John_Loki> @blippyp yup seems like, I am going to look into the details of what it can provide
[09:02] <John_Loki> generally speaking, still couldn't find an open src stream analyzer for H.264
[09:03] <blippyp> no idea - I just did a google for ya... ;)
[09:04] <John_Loki> thanks
[09:04] <blippyp> I was on the doxygen earlier today helping out another guy and figured it would have your answers....
[09:04] <blippyp> np
[10:34] <John_Loki> hi, any link to some tutorial or api usage guide for libavcodec?
[10:35] <John_Loki> trying to figure out what's wrong with the example libavcodec usage at https://www.ffmpeg.org/doxygen/0.6/api-example_8c-source.html
[10:36] <John_Loki> any ideas guys ?
[11:18] <Shubham__> Hi i am trying to make the FFMPEG for android which can be run as process like command ffmpeg -i inputfile outputfile but i am unable to make it due to changes in toolchains of NDK and latest version i have tried guardian project etc.. but nothing successfull till now is there any tutorial in details description for making the ffmpeg
[12:55] <Mavrik> ShadowJK_, make a standalone NDK toolchain
[12:55] <Mavrik> and use that GCC to compile ffmpeg
[12:56] <JEEB> did something change recently'ish in NDK?
[12:56] <JEEB> because I remember grabbing it a couple of months ago
[12:56] <JEEB> and the only problem I had was that I had to define the sysroot
[12:56] <JEEB> because it had multiple for multiple android SDK levels
[12:58] <John_Loki> is api_example.c missing in latest builds or I'm just unable to find it? anybody please
[14:02] <usrnix> Hi, trying to select an english subtitle track in a .ass file which i extracted from an mkv to hardsub into the webm I'm wanted to convert the mkv to; what flag/options do I need to add to select the (0.0) track? (I've tried a few things and I keep on not getting english)
[14:13] <rhz_> I have a movie with two audio tracks. How do I extract each audio track separately with ffmpeg?
[14:15] <c_14> ffmpeg -i input -map 0:a:0 -c:a copy output1 -map 0:a:1 -c:a copy output2
[14:15] <c_14> should do the trick
[14:15] <c_14> Assuming you want the first and the second audio stream.
[14:17] <rhz_> cool, thanks a lot
[16:07] <Bombo> i'm trying to encode a dvd.vob including subs, but i get "Unsupported codec with id 1145979222 for input stream 0" and i don't see a sub stream in ffprobe/ffmpeg -i
[16:08] <Bombo> (the sub is selectable in vlc, mediainfo shows RLE)
[16:11] <Bombo> c_14: http://pastebin.com/ZHYFuwEc
[16:14] <c_14> Is VTS_02_0.VOB your source or output?
[16:14] <Bombo> Input stream
[16:19] <Bombo> hmm ok subs are available in vlc not from the beginning
[16:19] <Bombo> there is an intro first that doesn't have subs
[16:20] <Bombo> so subs are added to the stream after the intro
[16:21] <c_14> If you use ffplay to play the file, do you see the subtitles?
[16:28] <Bombo> c_14: checked, nope
[16:32] <c_14> Check your ffmpeg -codecs output if there is a line like this: ..D... dvd_nav_packet DVD Nav packet
[16:36] <Bombo> i tried now 'ffmpeg -i the.vob -c copy out.vob'
[16:36] <Bombo> should cp everything
[16:36] <Bombo> i get
[16:36] <Bombo> [mpeg @ 0000000002b50760] New subtitle stream 0:3 at pos:296396814 and DTS:309.48s
[16:36] <Bombo> so it detects the sub
[16:36] <Bombo> but won't copy it
[16:37] <c_14> It might be that the subtitle is only in the stream after a specific point and ffprobe doesn't probe that far.
[16:37] <c_14> try adding -map 0
[16:38] <Bombo> 'ffmpeg -i the.vob -c copy -map 0 out.vob' -> 'incorrect codec parameters'
[16:39] <c_14> The command without the -map 0, did the output have 2 or 3 streams?
[16:41] <Bombo> 3, see pastebin
[16:41] <Bombo> then there are 2 more streams starting at 309 secs
[16:41] <Bombo> 0:3 + 0:4
[16:42] <Bombo> 'ffmpeg -ss 00:05:00 -i the.vob -c copy -map 0:3 out.vob' -> 'Stream map '0:3' matches no streams.'
[16:43] <Bombo> so i skip to 5min, where the sub streams 0:3 and 0:4 are, but doesn't copy them
[16:44] <c_14> try putting the -ss after the.vob
[16:46] <Bombo> c_14: same
[16:46] <Bombo> ff detects the subs, not copying them
[16:51] <c_14> So -map 0 errors out due to incorrect codec parameters?
[16:54] <Bombo> yes because its dvd nav
[16:54] <Bombo> 0:1 is the video stream
[16:54] <Bombo> 0:2 audio
[16:55] <Bombo> after 5mins there appears 0:3 sub1 and 0:4 sub2
[16:55] <c_14> maybe try: ffmpeg -i the.vob -c copy -map 0 -map -0:0 out.vob
[16:55] <c_14> To tell ffmpeg not to try coping the dvd nav stream?
[16:55] <Bombo> thats not the prob
[16:56] <Bombo> prob is it doesn't copy the subs
[16:56] <c_14> Ye, that's hopefully what the -map 0 is for.
[16:56] <c_14> If I'm understanding this right, -map 0 didn't work last time because ffmpeg couldn't copy the dvd nav stream.
[16:58] <Bombo> right, ... which i don't want or need anyway (do i?)
[16:59] <c_14> I don't think you need it, but i have no idea what it contains.
[17:01] <Bombo> it's probably crap ;)
[17:31] <samidarko> Hi everybody
[17:31] <samidarko> I'm trying to code with libav an encoder from pcm/wav to aac but I'm very confused by the documentation
[17:33] <samidarko> I tried to compile the example given in the documentation but difficult to compile without modifications because some functions were deprecated
[17:34] <samidarko> the documentation I'm using is from the doc package "libav-doc"
[17:34] <samidarko> everything is installed from my package manager (apt) and I'm using Linux Mint
[17:35] <samidarko> Can anybody give me a good website/documentation I could use for my purpose? Thx :)
[17:57] <blippyp> John_Loki: Look in your doc/examples folder, you'll see a file called avcodec.h - I thinki it's basically the same file
[17:57] <blippyp> oops avcodec.c I mean
[18:33] <samidarko> @John_Loki: thanks but there is a gap between the example and the lib. If I can't compile this code without modifying it. It said some functions are deprecated
[18:34] <samidarko> @John_Loki: no worries, I got to go. Cheers
[19:43] <lxer> if I want to upgrade a server to do some serious ffmpeg processing (tenthousands of small files), what should be the first thing to look at, cpu or memory? or is even gpu processing possible?
[19:49] <JEEB> lxer, look at CPU first and foremost
[19:49] <JEEB> GPU is only going to be an expensive heater
[19:49] <JEEB> RAM is OK as long as you have enough of it
[19:50] <lxer> ok. thanks
[19:56] <cortman> I have a bash script running ffmpeg automatically, converting .wma files to .mp3
[19:56] <cortman> It's giving me this message "Application provided invalid, non monotonically increasing dts to muxer in stream 0: 33010 >= 31084
[19:56] <cortman> "
[19:57] <cortman> But it continues to work and it seems like it's converting fine.
[19:57] <cortman> Is this something I should be worried about/look into?
[20:00] <blippyp> this might help you:https://trac.ffmpeg.org/ticket/2212
[20:01] <blippyp> I only took a quick peek - but it looks like you might have conflicting timestamps in the subtitles...???
[20:02] <cortman> Thanks, I did see that page, but as my program did not exit with an error I didn't know if it was applicable. What exactly are the subtitles?
[20:05] <cortman> Do you mean video subtitles? Because these are just audio files.
[20:06] <blippyp> oh yeah eh... didn't notice you say that - there seems to be lots of results with google for this error
[20:06] <blippyp> are you using avconv or ffmpeg?
[20:06] <cortman> ffmpeg, latest version- I compiled it
[20:07] <blippyp> k, so the last page I read probably won't help you either... (there was bug for this issue that was fixed apparently) - I don't think it's an uncommon one - but the fact that you're working with just audio might make it easier to find out why it's happening...
[20:08] <cortman> Great- I should also add that this always appeared directly before that error- "[libmp3lame @ 0x9bc29e0] Queue input is backward in time
[20:08] <cortman> "
[20:08] <blippyp> yeah - I'm searching specifically for mp3 now
[20:13] <cortman> Thanks.
[20:13] <cortman> Like I said, the files *appear* to have converted fine, and playback is fine in VLC- maybe I should try them in a more picky player
[20:15] <blippyp> yeah - I would try that...
[20:17] <cortman> They work fine with Windows Media Player, so I guess maybe all's well that ends well. *shrugs?
[20:17] <blippyp> http://stackoverflow.com/questions/17379971/html5-video-chrome-ffmpeg-mp4-w…
[20:17] <blippyp> this guy was getting the same erros (different file types though) and he couldn't get compatibility with all devices afterwards - so it might be an issue....
[20:18] <blippyp> can you pastebin your script?
[20:18] <blippyp> or at least the ffmpeg command part...
[20:19] <cortman> Sure, just a minute
[20:20] <cortman> http://pastebin.com/esPFsa8q
[20:25] <blippyp> what's with the < /dev/null at the end? shouldn't that be > /dev/null (or add -logleve quiet) to the command?
[20:28] <blippyp> try getting rid of that and see if the error is still there....
[20:33] <cortman> Now I'm a little confused. That was to direct stdin to /dev/null.
[20:33] <cortman> Do I have the symbols mixed up?
[20:33] <cortman> I want ffmpeg to read from while, not stdin- that was to fix a problem I had earlier.
[20:33] <blippyp> don't you mean stdout to /dev/null
[20:33] <blippyp> as in to prevent displaying the output?
[20:34] <cortman> No.
[20:35] <blippyp> k - then maybe I'm not understanding why it's there...
[20:35] <blippyp> either way - remove the redirection and see if the error is still there
[20:35] <cortman> Here's the link that figured that one out for me. http://stackoverflow.com/questions/23084551/ffmpeg-script-skips-files
[20:35] <cortman> Wihtout that redirection it ffmpeg cuts off part of the filename of the next file to convert, resulting in "no such file or directory" error.
[20:37] <blippyp> then modify the variable before the ffmpeg command - or try it by hand without the script without the null - point being - get rid of it and see if it's affecting ffmpeg in a bad way
[20:37] <cortman> Ok, sure. I'll give that a try here.
[20:38] <blippyp> maybe I'm not seeing it - but I'm not seeing a redirection like that in the example page you just posted....??
[20:39] <cortman> In the only answer, second sentence- "Just redirect stdin for ffmpeg by adding < /dev/null"
[20:39] <blippyp> oh - didn't see that - was only looking at the code - my bad
[20:40] <cortman> No problem! :)
[20:40] <cortman> And it looks like I get the same messages when I run *just* the ffmpeg command manually on one file
[20:40] <blippyp> okay - sorry it just looked odd to me....
[20:41] <cortman> no problem, it wasn't obvious to me either lol
[20:41] <blippyp> does it happen with every file you convert or is it more speratic?
[20:42] <cortman> Every file.
[20:44] <blippyp> I just ran the command with an mp4 and didn't get the error - are all your source files .wma files?
[20:44] <cortman> I believe so. I might have some others lyinga bout
[20:46] <blippyp> can you post one somewhere so I can download one of them?
[20:48] <blippyp> I think you can easily send it to sendspace.com
[20:49] <cortman> OK let me see here.
[20:51] <cortman> http://www.sendspace.com/file/fcskyr
[20:51] <cortman> I did find some .m4a files and tried converting them just now- they don't produce any of that output.
[20:51] <cortman> So it would seem to be .wma specific
[20:54] <blippyp> okay - yeah, now I'm getting the error
[20:54] <blippyp> I'm guessing it does have something to do with the conversion from wma to mp3 (or just wma)
[20:56] <cortman> hm, ok. I guess I'll just figure nothing's really wrong, I don't know
[20:57] <blippyp> yeah if I try to convert it to another format other than mp3 I still get the same error
[21:01] <cortman> Ok, well thanks for the help!
[21:03] <blippyp> sorry I couldn't help more - but it does seem to be something specific about your wmav2 files
[21:03] <blippyp> (or just wma in general)
[21:05] <cortman> Sure. Thanks!
[21:55] <wildfier> Hi
[21:56] <wildfier> If there is anyone here able to answer a dev question,
[21:57] <wildfier> I'm trying to write a module like x11grab
[21:57] <wildfier> but using xcb
[21:57] <wildfier> I want to add window grabbing, so
[21:58] <wildfier> I was wondering if I can update the stream format (for instance when the captured window is resized) during the recording
[22:01] <JEEB> wildfier, a "decoder" can just fine switch resolution
[22:01] <JEEB> there are multiple decoders that already can do that
[22:01] <JEEB> like MPEG-2 or H.264 or HEVC
[22:05] <wildfier_> nice
[22:05] <wildfier_> thx
[22:11] <wildfier_> to do that do I just need to update the width, height and bit_rate of the codec field of the corresponding stream or is there anything else ?
[22:18] <ergZay> michaelni: nice work on the spacex videos, question, I notice during those reconstructions that the video doesn't "line up" left to right
[22:19] <ergZay> you can see the "shadow" in the motion estimation of the legs deployed and it scans up and down and left and right
[22:19] <ergZay> is that a symptom of the errors and is there a way to force the video to line up?
[22:19] <JEEB> wildfier_, either that or setting the information in the frame you output
[22:21] <wildfier_> ok even simpler, thanks
[22:23] <michaelni> ergZay, errors can cause macroblocks to be lost, like for example if 2 MBs get decoded as one or the other way around inserting MBs, in these cases the stuff would shift right/left
[22:25] <michaelni> it also might be that a packet has been lost and that causes the shift
[22:25] <ergZay> michaelni: is there a way to correct for that?
[22:25] <ergZay> pad with empty data to make things line up?
[22:26] <michaelni> that might work
[22:26] <ergZay> michaelni: also can you upload the source for your varients of ffmpeg?
[22:26] <ergZay> i was asking about the line up thing, as it appears in the original videos that it does line up
[22:26] <ergZay> and then your modifications cause that to stop
[22:27] <wildfier_> :w
[22:33] <michaelni> ergZay, https://github.com/michaelni/FFmpeg/tree/spacexdebug1 (and command line options like -ec 0 -debug nomc -err_detect ignore_err)
[22:35] <ergZay> michaelni: thx
[22:35] <ergZay> michaelni: if you can continue to stop by the forum and answer questions for people that'd be awesome, your knowledge is greatly appreciated (even better if you keep working on things)
[22:36] <ergZay> thank you much
[22:36] <michaelni> ill try to look at the forum from tie to time, also dont hesitate to ping me if theres some question that i could know the awnser for
[00:00] --- Sat May 3 2014
1
0
[02:10] <lukaszmluki> Hi, I have question, AVStream.avg_frame_rate is it always set by demuxer or not necessarily? I have {0,0} and don't know if I do something wrong or its optional (doxy doesn't say anything about it)
[02:19] <michaelni> theres no gurantee that avg_frame_rate can be calcuated and is set but you could try setting fpsprobesize
[02:19] <michaelni> if that helps, iam interrested to see the file
[02:20] <cone-315> ffmpeg.git 03Michael Niedermayer 07master:82ccefb904b0: avformat/nut: support storing RFC 3389 comfort noise
[02:30] <cone-315> ffmpeg.git 03Michael Niedermayer 07master:feaa31d35499: ffmpeg: use av_malloc_array()
[02:31] <lukaszmluki> source movie file?
[02:31] <lukaszmluki> or code?
[02:44] <Compn> lukaszmluki : both
[02:46] <lukaszmluki> code is ffmpeg.c usnell i messed something
[02:47] <lukaszmluki> movie i can share, but nieed to cat it before so will share it later
[02:50] <lukaszmluki> abyway, scenarios when it is not set are enough for me to redesign things
[02:56] <michaelni> i meant source movie
[03:28] <samidarko> hello guys
[03:29] <samidarko> I'm trying to make small program to encode a wav/pcm file to aac format but I'm very confused by the documentation
[03:30] <samidarko> I tried the example i found but it was even hard to compile (had to modify the code because compiler said some functions were deprecated)
[03:34] <samidarko> sorry I'm moving of channel just read above
[03:34] <samidarko> bye
[05:06] <cone-315> ffmpeg.git 03Anton Khirnov 07master:eb3b5501e8b8: matroskadec: read the CodecDelay element
[05:06] <cone-315> ffmpeg.git 03Michael Niedermayer 07master:8bf90562f6cb: Merge commit 'eb3b5501e8b85bfea09d533314cb6920efc42639'
[06:16] <cone-315> ffmpeg.git 03Michael Niedermayer 07master:91736025b280: avformat/avidec: set average frame rate from header
[09:18] <ValdikSS> Hello. I'd like to add an option to vf_subtitles to load subtitles and fonts from MKV. What is the best way to do it?
[09:19] <ValdikSS> If I understand correctly, we shouldn't use another input pad with AVMEDIA_TYPE_ATTACHMENT or AVMEDIA_TYPE_SUBTITLE
[09:20] <ValdikSS> Should the filter just reopen the file?
[09:20] <ubitux> wasn't the font support recently added?
[09:21] <ubitux> see 7e6b3ad6930c2f1daa5c4831bbeda3fb931921e6
[09:21] <ValdikSS> That patch is for fonts in ass files
[09:21] <ValdikSS> not in mkv attachements
[09:21] <ubitux> i tested with an mkv, so i'm pretty sure it worked
[09:22] <ValdikSS> Hrmm
[09:22] <ValdikSS> How do I test it then?
[09:22] <ubitux> -i bla.mkv -vf subtitles=bla.mkv :p
[09:22] <ValdikSS> oh my god
[09:23] <ValdikSS> I can't believe I always extracted ass from mkv and fonts
[09:23] <ValdikSS> This should be documented
[09:23] <ubitux> i remember seeing that in the wiki at least
[09:24] <ubitux> anyway, it would be much better if we could inject subtitles & friends in lavfi
[09:26] <ValdikSS> ubitux: I can find it neither in wiki nor in documentation.
[09:27] <ubitux> ah, might have been removed, or i'm dreaming
[09:30] <ValdikSS> ubitux: can i write about it in wiki?
[09:30] <ubitux> sure go ahead
[09:30] <ValdikSS> btw, is there any way to select subtitle if there are multiple in mkv?
[09:31] <ubitux> no, but should be easily doable
[09:31] <ValdikSS> I suppose filter selects the first one
[09:31] <ubitux> the "best" one to be more specific, but yeah
[09:33] <ubitux> if you want to do that, just copy the stream_index logic from libavfilter/src_movie.c
[09:36] <ValdikSS> http://trac.ffmpeg.org/wiki/How%20to%20burn%20subtitles%20into%20the%20video
[09:37] <ubitux> :)
[09:38] <ValdikSS> ubitux: should the stream index be global index or the subtitle index?
[09:39] <ValdikSS> I mean, I'd better use subtitle index, but somebody may find global stream index more friendly
[09:39] <ubitux> i'd say you should make it ocnsistent with -c:s N
[09:39] <ubitux> (which is subtitle index)
[09:39] <ValdikSS> -c:s:n?
[09:39] <ValdikSS> ok then
[09:39] <ubitux> -codec:subtitle 4
[09:40] <ubitux> meh sorry
[09:40] <ubitux> -map s:N
[09:40] <ubitux> hard wakeup.
[09:47] <ValdikSS> ubitux: ah, we shouldn't even write code
[09:48] <ValdikSS> av_find_best_stream has a parameter wanted_stream_nb user-requested stream number, or -1 for automatic selection
[09:49] <ubitux> yup
[09:49] <ubitux> you still need to add the option though (and documentation)
[09:49] <ValdikSS> What is better: introduce stream_index option or subtitles=file.mkv:1 ?
[09:50] <ubitux> stream_index option, with a si alias
[09:50] <ubitux> you can't do file.mkv:1, this will make filename to file.mkv and original_size to 1
[09:58] <ValdikSS> ubitux: It seems like wanted_stream_nb wants global stream id
[09:58] <ValdikSS> even with TYPE
[10:01] <ubitux> ValdikSS: too bad... do as you pleased
[11:54] <ValdikSS> Can anybody review this patch please? https://gist.github.com/ValdikSS/0068854fa8a8525922c3
[11:57] <ubitux> why do you call av_find_best_stream() if the index is specified?
[11:58] <ubitux> you should have 2 main code path, no stream index find best stream, otherwise just loop
[11:59] <ubitux> don't forget to update doc/filters.texi btw
[12:00] <ValdikSS> ubitux: >why do you call av_find_best_stream() if the index is specified?
[12:00] <ValdikSS> To detect if there any subtitles at all
[12:00] <ValdikSS> before the loop
[12:00] <ubitux> well, don't set ret = j in your loop unless you have the exact id
[12:00] <ubitux> and keep ret = -1
[12:01] <ubitux> for (j = 0; j < fmt->nb_streams; j++) if (fmt->streams[j]->codec->codec_type == AVMEDIA_TYPE_SUBTITLE) if (ass->stream_index == k) { ret = j; break; }
[12:02] <ubitux> then you don't need all the extra check
[12:12] <ValdikSS> gist updated
[12:13] <ValdikSS> Does it look good now?
[12:15] <ubitux> if (ass->stream_index <= k) ?
[12:15] <ubitux> why not increment k post check, and check for equality?
[12:19] <ValdikSS> ubitux: I always thought it's better not to check for equality but to less/more or equal
[12:19] <ubitux> well, you want that exact stream id
[12:20] <ubitux> if it's not exactly equal something is wrong
[12:21] <ValdikSS> Gist updated
[12:21] <ubitux> LGTM :)
[12:22] <ubitux> add the doc, create a git-format-patch, and i'll apply
[12:22] <ValdikSS> ubitux: Awesome! Just a minute&
[12:59] <cone-259> ffmpeg.git 03ValdikSS 07master:7a0e689c4517: lavfi/subtitles: introduce stream_index
[12:59] <ubitux> ValdikSS: tested, works fine, applied, thx
[13:00] <ValdikSS> ubitux: thanks a lot!
[13:00] <ubitux> thx to you, that's a useful feature
[14:28] <cone-259> ffmpeg.git 03Alessandro Ghedini 07master:1c0210c7981b: lavfi: add Bauer stereo-to-binaural audio filter
[14:28] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:154d80eae70b: Merge commit '1c0210c7981b6a61043d9171f506b435ff5a1f5e'
[15:58] <cone-259> ffmpeg.git 03Anton Khirnov 07master:a1aa37dd0b96: matroskaenc: write CodecDelay
[15:58] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:82e4f3988393: Merge commit 'a1aa37dd0b96710d4a17718198a3f56aea2040c1'
[16:11] <cone-259> ffmpeg.git 03Anton Khirnov 07master:141fdc763c28: matroska: add the Opus mapping
[16:11] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:97edb195f45c: Merge commit '141fdc763c2841b572d29a2ad78513e8d5325870'
[16:22] <cone-259> ffmpeg.git 03Clément BSsch 07master:6a3a7d7af1b6: avformat/vobsub: remove pointless FAIL macro.
[16:22] <cone-259> ffmpeg.git 03Clément BSsch 07master:b7dd250b7545: avformat/vobsub: use av_make_q().
[16:47] <cone-259> ffmpeg.git 03Anton Khirnov 07master:5fccedaa6739: lavc: deprecate CODEC_FLAG_INPUT_PRESERVED
[16:47] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:cac07d0e1036: Merge commit '5fccedaa67390ccddd6347c8e1c71b7664558bcd'
[16:56] <cone-259> ffmpeg.git 03Anton Khirnov 07master:b2c31710c96f: lavc: move CODEC_FLAG_NORMALIZE_AQP to mpegvideo
[16:56] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:185164398763: Merge commit 'b2c31710c96fa47d9dcd40b64d39663e8957f683'
[17:04] <cone-259> ffmpeg.git 03Anton Khirnov 07master:6484149158b6: lavc: make the xvid-specific "gmc" flag a private option of libxvid
[17:04] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:e40ae8cc00ae: Merge commit '6484149158b6fc6d13d2b2ef84cb26a2d3275400'
[17:13] <cone-259> ffmpeg.git 03Anton Khirnov 07master:a2941c8cb216: lavc: move CODEC_FLAG_MV0 to mpegvideo
[17:13] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:e77b9853ea66: Merge commit 'a2941c8cb216bdc144953cace64973f5600ffa2d'
[17:26] <cone-259> ffmpeg.git 03Anton Khirnov 07master:18f2514c4037: mov: export stsd Compressorname in metadata
[17:26] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:7426acff1aed: Merge commit '18f2514c4037befd37b02e4d4f10c159edf3b26f'
[17:31] <cone-259> ffmpeg.git 03Anton Khirnov 07master:92e4b643dfda: oggparseskeleton: do not use AVCodecContext.codec_name
[17:31] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:00c3ff26f230: Merge commit '92e4b643dfdafdb6528f1baffdbea2b9a028d7c0'
[17:50] <cone-259> ffmpeg.git 03Anton Khirnov 07master:6072184e702b: asfenc: use codec descriptors instead of AVCodecs to write codec info
[17:50] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:bb5657fabfec: Merge commit '6072184e702b4b631ac72f1b66b75e5f21e0ce2d'
[18:00] <cone-259> ffmpeg.git 03Anton Khirnov 07master:ef9732162cd4: rmdec: do not export anything to AVCodecContext.codec_name
[18:00] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:b917d7024e36: Merge commit 'ef9732162cd4b593c6db28fdd352ebef21b5c1ca'
[18:05] <cone-259> ffmpeg.git 03Anton Khirnov 07master:e7fc9796d82a: lavc: do not use AVCodecContext.codec_name in avcodec_string()
[18:05] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:d1c359777f3e: Merge commit 'e7fc9796d82abc99ef0af71027fb9aaa5311d137'
[18:16] <cone-259> ffmpeg.git 03Anton Khirnov 07master:ba71c74017c2: lavc: deprecate AVCodecContext.codec_name
[18:16] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:58f4d1266bce: Merge commit 'ba71c74017c287681153ec8f6f1cba650d797275'
[18:33] <cone-259> ffmpeg.git 03Michael Niedermayer 07release/1.2:2c71734d9ef1: avcodec/vorbisdec: try to workaround libvorbisenc bug
[18:33] <cone-259> ffmpeg.git 03Michael Niedermayer 07release/1.2:3d79041f8549: sws: dont use the optimized 410->420 unscaled conversion when height%4
[18:33] <cone-259> ffmpeg.git 03Michael Niedermayer 07release/2.1:172a5cab8716: avcodec/vorbisdec: try to workaround libvorbisenc bug
[18:33] <cone-259> ffmpeg.git 03Michael Niedermayer 07release/2.1:03c5ccb4eefe: sws: dont use the optimized 410->420 unscaled conversion when height%4
[18:33] <cone-259> ffmpeg.git 03Michael Niedermayer 07release/2.2:43d64829e621: avcodec/vorbisdec: try to workaround libvorbisenc bug
[18:34] <cone-259> ffmpeg.git 03Michael Niedermayer 07release/2.2:09abca68025f: sws: dont use the optimized 410->420 unscaled conversion when height%4
[18:42] <wm4> "ffplay someimage.jpg -vf yadif" returns no output
[18:42] <wm4> is that as designed?
[18:42] <wm4> not that this command line makes sense...
[18:51] <cone-259> ffmpeg.git 03Peter Ross 07master:be098f623798: avformat/wtvdec: ignore mpeg2 extradata
[20:27] <cone-259> ffmpeg.git 03Matt Oliver 07master:5b9bb4d9ec0e: opencl: add support for non-pthread locking
[20:30] <michaelni> wm4, sounds like a bug
[20:30] <ValdikSS> wm4: what do you expect on the output?
[20:31] <wm4> ValdikSS: I'm not sure...
[20:31] <wm4> but there should be some output
[20:36] <wm4> rather than signaling EOF
[22:07] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:a3477fef2bd9: ffmpeg: put the sizeof() second in av_malloc_array()
[22:07] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:77811482ab04: avcodec/utils: ff_decode_frame_props: set pkt_size
[22:07] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:bbc604020fac: avcodec/utils: merge ff_decode_frame_props() and ff_init_buffer_info()
[23:24] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:2ff81d091606: avcodec/utils/ff_init_buffer_info factor avctx->internal->pkt; out
[23:24] <cone-259> ffmpeg.git 03Michael Niedermayer 07master:e881a9663216: avcodec/libxvid: improve return codes
[00:00] --- Fri May 2 2014
1
0
[00:15] <GTAXL> How can I capture/record a dynamic stream to a file? The stream appears to be several f4f files
[00:18] <codepython777> klaxa: I cut my movie into 3 segments - but when i concatenate it, i see errors. with or without -c copy, both go wrong in the 3rd segment
[00:19] <codepython777> klaxa: http://pastebin.com/8ZJpYvHe
[00:33] <c_14> If you only want to delete part of your video, you would only need 2 segments. Can you paste the commandline[s]?
[01:37] <funyun> hi. how can i force an aspect ratio? i want to encode a video that has a wrong AR of 3:2 instead of the correct 4:3. i've tried -vf scale but it keeps the AR 3:2.. any help?
[01:39] <c_14> tried -aspect yet?
[01:42] <funyun> c_14: that did it. thanks :)
[01:42] <c_14> np
[01:51] <kleing> hey guys i need to stream live video/audio from multiple inputs over very low bandwidth WiMax to another WiMax point that may also be streaming as well. I was thinking of using ffmpeg server and H.264 with RTSP. does this seem good or is ffmpeg overkill for this or any ideas appreciated. thanks
[01:53] <kleing> also people very unfamiliar with computers will be using this system, and can't provide support for it after installed. is possible to make ffmpeg automated/simple enough (GUI?) to use for this situation?
[08:26] <crtxc> When compiling ffmpeg for linux must I specify for 64 bit architecture?
[11:11] <kolizer> Hey, tell me how I can make a record with an overlay screen webcam?
[11:19] <kolizer> I need to capture the desktop and webcam at the same time. help
[11:48] <ubitux> -f v4l2 -i /dev/video... for webcam, -f x11grab -i ... for the desktop, -lavfi "[0:0][1:0] overlay=..." to make the overlay
[11:54] <kolizer> hmmm
[11:57] <kolizer> Can detail how to make an Overlay?
[12:03] <ubitux> kolizer: http://ffmpeg.org/ffmpeg-filters.html#overlay-1
[12:04] <ubitux> you have examples below
[12:07] <kolizer> ok
[12:39] <kolizer> Low FPS-lavfi "[0:0] [1:0] overlay =
[12:40] <kolizer> I need to to stream on twitch
[12:40] <kolizer> flv format
[13:13] <kcynice> hello, could I play a video without SDL? I don't need it, it maintain its own events loop, i want to control all by myself
[13:19] <kolizer> http://pastebin.com/vJY7k9EG
[13:20] <kolizer> webcam is not recorded
[13:21] <kcynice> to whom?
[13:21] <kolizer> image only
[13:22] <kolizer> What is wrong?
[13:22] <kcynice> a invalid pastebin
[13:23] <kcynice> oh, sorry, might due to my network
[13:32] <kcynice> i just don't know your were talk to me or not
[13:36] <kcynice> The fact is, I use slackware linux, however, most of the media player were not do well in for my local language, although they all perfect.
[13:37] <kcynice> And, I start to learning GUI development, so, I want to implement a simple player for myself, support my local language
[13:37] <kcynice> And, do what I want to.
[13:39] <kcynice> now, i have to decode every frame into RGB, and copy to another buffer to display on the window. Its too slow, so that, the video looks not smooth.
[13:41] <kcynice> If following the tutorial, i will can work with SDL, but can't insert more window elements i want.
[13:55] <Mavrik> kcynice, you can play video however you want
[13:55] <Mavrik> ffmpeg decoders will give you raw frames and you display them in whatever way is suitable (and fast enough) for you
[13:56] <kcynice> yes, for so long a period, i have use play music and video by command line
[13:56] <kcynice> yes, im puzzled how to display them
[13:57] <kcynice> SDL might not suit for multiple subwindows, etc
[14:32] <GTAXL> Which -target type would I use with mp4?
[14:33] <JEEB> I don't think the -target option has been relevant for a really long time
[14:33] <GTAXL> well I keep getting this
[14:33] <GTAXL> Unable to find a suitable output format for '/home/gtaxl/newsvid/Thu-May-01-2014-'
[14:34] <JEEB> that's because your output file name doesn't seem to have an extension?
[14:34] <GTAXL> but it does
[14:34] <JEEB> well then you didn't write it down in a manner that ffmpeg parses it
[14:34] <GTAXL> it did work before I removed -r
[14:34] <GTAXL> /home/gtaxl/newsvid/$TIME.mp4
[14:34] <GTAXL> I removed -r cuz audio kept getting out of sync
[14:35] <JEEB> -r should have nothing to do with it :P
[14:35] <GTAXL> JEEB, the audio gets out of sync due to the dropped frames
[14:35] <JEEB> no, I mean
[14:35] <GTAXL> atleast that's what I've heard
[14:35] <JEEB> removing or keeping the -r
[14:35] <JEEB> should not affect the file name stuff at all
[14:35] <JEEB> anyways, if what you pasted is true, you have failed somewhere to pass the full generated path to ffmpeg
[14:36] <JEEB> see how the string gets generated
[14:36] <JEEB> try printing it out
[14:37] <JEEB> see if there are spaces, commas or anything else that has to be dealt with
[14:37] <JEEB> as in, escaping stuff that has to be escaped
[14:39] <crazy_crawler> Hi, all, would someone please help me with the following?
[14:39] <crazy_crawler> I want to capture video and audio in a computer inside a network where I can open ports
[14:40] <crazy_crawler> and I want to live stream that capture in a remote server
[14:40] <crazy_crawler> using netcat for example
[14:41] <crazy_crawler> i tryed with the following in the capturing machine: cat /dev/video0 | nc <remote_server> 9500
[14:42] <crazy_crawler> but real problems being in the remote server: nc -l -p 9500 | ffmpeg -v verbose -r 5 -s 640x480 -f rawvideo -i - http://localhost/webcam.ffm
[14:42] <crazy_crawler> does not work
[14:43] <crazy_crawler> begin*
[14:45] <GTAXL> yeah somehow there is a space between the Y and K
[14:45] <GTAXL> TIME=$(date +"%a-%b-%d-%Y-%k-%M")
[14:47] <JEEB> GTAXL, so yeah, escape that and you should be fine. Or find out why it puts a space there and have fun
[14:57] <fsad> hello
[14:58] <fsad> I would like to ask how to run ffplay on fbdev (without X11)
[15:59] <manolo> hey anybody online?
[16:00] <manolo> hi all!!
[16:23] <manolo> hi all, anyone online willing to help?
[16:23] <c_14> Just post your problem and if someone can help you, they will.
[16:26] <manolo> ok thx
[16:27] <manolo> I have two computers. One local with a webcam under a firewall I cannot change and then another remote under I firewall I administer. I want to send via netcat the video stream capture in the first computer and show it via web in the second one.
[16:28] <manolo> video + audio
[16:29] <c_14> What do you mean "show it via web".
[16:31] <manolo> I want the users to type a url and watch the video
[16:31] <manolo> like http://remotemachine.com/stream or similar
[16:33] <manolo> I say netcat because I cant figure out nothing better, but feel free to tell me about other approaches if u happen to know any other
[16:34] <c_14> If you want to use netcat && stream it in a browser, you'd have to emulate a webserver using netcat and then offer up the stream in a format that the browser can play.
[16:34] <c_14> You could also try using ffserver.
[16:34] <c_14> But this sort of string isn't my forte.
[16:35] <manolo> I was thinking of streaming with ffmpeg and sending the stream with nc to the remote computer
[16:35] <manolo> and capturing it with ffmpeg or mplayer and create the http socket
[16:37] <manolo> whatever you find easier
[16:37] <manolo> as long as it works
[16:37] <c_14> If you want to play it with ffmpeg or mplayer, you don't need to go through the trouble of of working with http, just use ffmpeg to capture the webcam, pipe that to an nc -l $port, use nc on the other computer to connect to otherpc $port and pipe that into mplayer/ffmpeg.
[16:40] <manolo> ok
[16:40] <manolo> i've been with that pipe thing
[16:40] <manolo> but i found myself unable to pipe the output to the stout
[16:40] <manolo> ffmpeg -f alsa -i plughw:CARD=Intel,DEV=0 -f video4linux2 -s vga -i /dev/video0 outputfile.mpg
[16:41] <manolo> this is what I have so far and it is working
[16:41] <manolo> but it goes to a file not to the stdout
[16:42] <c_14> instead of outputfile.mpg try -f mpegts pipe:1
[16:42] <manolo> cool
[16:42] <manolo> lemme see
[16:44] <manolo> coool
[16:44] <manolo> it looks like it works
[16:45] <manolo> cool hahaha
[16:46] <manolo> now lets say i would like to serve this video+audio stream in a URL
[16:46] <manolo> ffmpeg -v verbose -r 5 -s 640x480 -f rawvideo -i - http://localhost/webcam.ffm
[16:47] <manolo> i've seen things like this
[16:47] <c_14> That would be ffserver: https://trac.ffmpeg.org/wiki/Streaming%20media%20with%20ffserver https://www.ffmpeg.org/ffserver.html
[16:49] <manolo> yup, already running
[16:49] <manolo> lettme have a lot at that anyway
[16:51] <manolo> got ir running
[16:51] <manolo> but when i try to access the url
[16:51] <manolo> the browser tries to download it
[16:53] <c_14> Ye, browsers tend to do that. You'll probably have to embed it into a webpage somehow or use a format that the browser knows how to handle.
[16:53] <manolo> sounds good
[16:54] <manolo> lemme google
[16:57] <manolo> flv format would be automatically interpreted by the browser, right?
[16:57] <sacarasc> Not necessarily.
[16:57] <sacarasc> Depends on the browser.
[16:58] <manolo> chrome and firefox would if i'm not wrong
[16:58] <manolo> letme see how do i turn input video into flv
[17:06] <manolo> nope, it wants to download the flv file too
[17:07] <manolo> any idea?
[17:08] <manolo> how do i get the browser to read this? maybe I can code some html and embed the flv, does that make sense?
[17:27] <manolo> im back
[17:45] <manolo> ok, im finding hard to make the flv thing work
[18:08] <blippyp> manolo: http://www.ehow.com/how_6881535_embed-flv-video-html.html
[18:10] <manolo> thx
[18:10] <manolo> i think i failed one step before
[18:11] <manolo> iam back to mpeg
[18:11] <manolo> i start the capturing computer with the netcat
[18:11] <manolo> and the remote computer
[18:11] <manolo> if I create a file as output in the remote computer, it works
[18:12] <manolo> i can play that file and works
[18:12] <manolo> but if try to do an http stream it fails
[18:12] <c_14> That's because netcat doesn't server http
[18:13] <manolo> let's start over and see where I am failing
[18:13] <manolo> 2 computers
[18:13] <manolo> one with the webcam and behind a firewall that i dont manage
[18:14] <manolo> one remote computer, the one that will be access by the clients
[18:14] <manolo> I can change the firewall rules
[18:14] <manolo> i run the following command in the remote server:
[18:14] <manolo> sudo nc -l -p 110 | avconv -v verbose -r 30 -s 640x480 -f rawvideo -i - http://localhost/webcam.ffm
[18:15] <manolo> ffserver already up
[18:15] <manolo> and then inthe local machine:
[18:15] <manolo> ffmpeg -f alsa -i plughw:CARD=Intel,DEV=0 -f video4linux2 -s vga -i /dev/video0 -f mpegts pipe:1 | sudo netcat <server> 110
[18:16] <manolo> what's wrong?
[18:17] <c_14> What error are you getting?
[18:18] <manolo> actually none
[18:18] <manolo> i try ffplay http://<server>:8080/webcam.mjpeg
[18:18] <manolo> but it does not work
[18:19] <c_14> What is the ffserver output saying?
[18:20] <manolo> where do i find that?
[18:20] <c_14> You said >ffserver already up. ffserver by default doesn't background itself, so wherever ffserver is putting stdout/stderr
[18:20] <manolo> invoked it with &
[18:21] <manolo> lemme see
[18:23] <manolo> I see no output
[18:23] <manolo> used a new terminal and no &
[18:23] <manolo> and there is no output
[18:23] <c_14> Try with -loglevel debug
[18:23] <c_14> And the output when the client tries connecting.
[18:24] <manolo> cool
[18:24] <c_14> And the output when ffmpeg tries connecting
[18:25] <manolo> this is what i get when a client connects
[18:25] <manolo> [ffm @ 0x645280] Probed with size=2048 and score=101
[18:25] <manolo> one line per try
[18:27] <c_14> Can you paste your ffserver.conf
[18:27] <manolo> ok
[18:28] <manolo> http://pastebin.com/3w39Yujj
[18:31] <c_14> What errors is ffplay giving you?
[18:31] <manolo> it simply does nothing
[18:32] <c_14> Can you paste the complete output of the ffmpeg -f alsa command and the avconv -v verbose command?
[18:33] <manolo> on my way
[18:34] <manolo> this both in the remote server, right?
[18:34] <blippyp> correct me if I'm wrong (he is useing avconv, not ffmpeg) - but I don't think he's using the ffmserver.conf file - he's sending rawvideo through the server....???
[18:34] <manolo> avconv in the remote
[18:34] <manolo> ffmpeg in the local computer
[18:34] <c_14> he's doing both
[18:34] <manolo> avconv.conf
[18:35] <blippyp> he didn't specify the ffserver.conf file though - he fed the options in manually no?
[18:35] <manolo> http://pastebin.com/3w39Yujj
[18:35] <manolo> avserver.conf
[18:35] <manolo> not avconf.conf sorry
[18:36] <blippyp> yes - I read your conf file - but you didn't specify it in you avconv command when server it... with ffserver you need to do that I believe... (but I may be wrong - I know in my example I specify my conf file)
[18:36] <manolo> remote machine: avserver -f /etc/avserver.conf -loglevel debug
[18:37] <blippyp> oh sorry
[18:37] <manolo> no no keep it up
[18:37] <manolo> i'm doing something wrong
[18:38] <c_14> That paste was your conf file again, did you forget to update your paste buffer?
[18:38] <blippyp> I'm looking - but I was clearly on the wrong track
[18:38] <blippyp> your conf file is fine
[18:38] <blippyp> it's identical to mine basically
[18:38] <manolo> sorry c_14 gimme a second
[18:38] <manolo> just a question
[18:38] <manolo> ffmpeg in the local machine and avconf in the remote, write?
[18:39] <manolo> i mean ffmpeg -f alsa in the local (webcam capturing computer)
[18:39] <manolo> and in the remote computer avconv -v verbose
[18:39] <manolo> right?
[18:40] <c_14> I wanted the output of the commands you were using, what I said was just a short snippet of the command you were using so you could identify which ones I meant.
[18:41] <blippyp> what is the output of your avconv command: sudo nc -l -p 110 | avconv -v verbose -r 30 -s 640x480 -f rawvideo -i - http://localhost/webcam.ffm
[18:42] <manolo> http://pastebin.com/DNY1ZUWG
[18:42] <manolo> that the output of the commands
[18:42] <manolo> ohh cool
[18:42] <manolo> one sec
[18:43] <blippyp> why are you piping it - what's the point of: ffmpeg -f alsa -i plughw:CARD=Intel,DEV=0 -f video4linux2 -s vga -i /dev/video0 -f mpegts pipe:1 | sudo netcat <server> 110
[18:44] <manolo> i need that output in a remote computer
[18:45] <manolo> I dont know any other way
[18:45] <blippyp> oh - you're sending the video from your client - to the server and then serving it on the web? (sorry I haven't read everything)
[18:45] <blippyp> is that right?
[18:45] <manolo> http://pastebin.com/mHvRRPin
[18:46] <manolo> no problem blippyp I can explain once again
[18:46] <blippyp> no that's okay - just correct me if I was wrong - I think I'm on the same page now (I've never tried this though)
[18:46] <manolo> I'm sending the captured video + audio to a remote machine
[18:47] <manolo> and I want the remote machine to serve it as kind of web, i want clients to just visit a url
[18:47] <manolo> if possible
[18:47] <blippyp> everything looks good to me - but I haven't done the piping bit - but everything in my example seems to match - I'm guessing that your piping isn't working
[18:48] <blippyp> you need to work on that I think...
[18:48] <manolo> if i do:
[18:49] <blippyp> what happens when you open the page?
[18:49] <manolo> sudo nc -l -p 110 | avconv -v verbose -r 30 -s 640x480 -f rawvideo -i - manolo.mpeg I get a working video
[18:49] <blippyp> from your piped source?
[18:50] <manolo> when I open the page the browser wants to download some file
[18:50] <blippyp> what browser are you using?
[18:50] <blippyp> I'm using luakit - and mjpeg's work fine through it...
[18:51] <blippyp> I didn't have to change anything to get it working - but in your browser you might
[18:51] <manolo> chrome
[18:51] <blippyp> change your output format to something else in your server.conf file and try a different format until you get one that will work for you...
[18:51] <manolo> when i make it go to a video file
[18:51] <manolo> i get this errors:
[18:51] <manolo> [mpeg @ 0x64cb00] packet too large, ignoring buffer limits to mux it [mpeg @ 0x64cb00] buffer underflow i=0 bufi=278688 size=284432
[18:52] <blippyp> http://sprunge.us/CahW
[18:52] <blippyp> http://sprunge.us/LdIR
[18:52] <blippyp> try those
[18:52] <manolo> ok
[18:53] <blippyp> sorry I gotta go - my kids crying
[18:53] <manolo> okk
[18:53] <manolo> thx
[18:56] <blippyp> did you try it?
[18:57] <manolo> yup
[18:57] <manolo> File '/webcam.mjpeg' not found
[18:57] <manolo> :(
[18:57] <blippyp> no it's not a mjpeg anymore
[18:57] <blippyp> just open the html page
[18:57] <blippyp> put it on your server
[18:57] <blippyp> now it's sending a flash file which is embed in the html
[18:59] <blippyp> (ie: you shouldn't have done anything different except start your avserver with the conf file I gave you, then put he index file on your server and open that link instead of the 80:80mjpeg link you had)
[18:59] <manolo> gimme a min
[18:59] <manolo> on my way
[18:59] <blippyp> keep all your other commands the same (the piping and everything) and it should work fine
[19:00] <blippyp> as long as you have flash installed on your client, you shouldn't run into problems
[19:01] <manolo> I get an empty white page
[19:01] <blippyp> is your page accessible to me? if so what's the link?
[19:02] <manolo> http://test.circulospodemos.info/ffmpeg.html
[19:02] <manolo> now i get output from the avconv server
[19:03] <manolo> http://pastebin.com/m57JYuRT
[19:04] <blippyp> maybe it can't convert from the ts file into the swf???
[19:04] <blippyp> Change your server conf file to produce an MPG file instead of an mjpeg format
[19:04] <manolo> :S no idea
[19:04] <manolo> ok
[19:04] <blippyp> delete that html page I gave you - it's no good
[19:05] <manolo> ok
[19:05] <blippyp> then when you open your link (should be an http://....:8080/webcam.mjpg) link instead it will probably ask you to download it
[19:05] <blippyp> if it does - then just open that link with mplayer instead
[19:06] <manolo> what do i have to change exactly?
[19:06] <blippyp> and it should play
[19:06] <blippyp> don't know - never done it in a mpg format yet - only in mjpeg and swf
[19:07] <manolo> ok letme see
[19:07] <blippyp> https://www.ffmpeg.org/sample.html
[19:10] <blippyp> maybe you can't?
[19:10] <blippyp> you've proven that the pipe is working
[19:10] <blippyp> but I think it's having issues with converting your piped input to the output you need
[19:10] <manolo> I think so
[19:10] <manolo> can we try with a simple version
[19:10] <blippyp> you might need to change your piped output to a format that the server can instantly send...
[19:10] <blippyp> if that makes sense?
[19:11] <latenite> Hi folks, I try to make a screencast. But the video I record plays like in fast forward....
[19:11] <latenite> ffmpeg -f alsa -i plughw:0 -f x11grab -s 1440x900 -r 30 -i :0.0 -ar 22050 -ab 128k -acodec libmp3lame -vcodec libx264 -threads 0 Screencast.avi
[19:11] <manolo> and use mplayer o something?
[19:11] <latenite> What am I missing here?
[19:11] <manolo> I would totally do that
[19:11] <manolo> but how do I turn raw camera into something else?
[19:12] <blippyp> with that command you just sent
[19:12] <blippyp> you change your acodeca nd vdoecs to something different to pipe out a different format
[19:12] <manolo> -f flv?
[19:13] <blippyp> in the example you just sent - it would send an avi container with an mp3 audio codec and a x264 video codec
[19:13] <blippyp> it will get that automatically from your .avi extension - you shouldn't need to specify -f manually as far as I know
[19:14] <latenite> blippyp, to be honest....I fiddeled that together...
[19:14] <blippyp> actually from that link I gave you - I think it will serve and mpg file...
[19:14] <latenite> I thought mp3 as audio is ok?
[19:15] <manolo> i c
[19:15] <blippyp> yeah, I think that would work - but I usually use a mp4 or a mkv container - (I also usually use ac3 for audio) but I think you can put those codecs in an avi container either way...
[19:16] <blippyp> manolo: change your ffsever to state that the format is mpeg
[19:16] <blippyp> and change your filename to webcam.mpg
[19:16] <blippyp> and try to connect to it - I think that should work...
[19:16] <manolo> I can do it your way if you think it is easier o better
[19:17] <manolo> it is not necessary to keep my version
[19:17] <blippyp> you would still need to create a html5 page to view it - but you should be able to connect to your 80:80 port the same with mplayer and view it immediately...
[19:17] <manolo> as long as I can make it "web" later
[19:17] <manolo> ok
[19:18] <blippyp> oh wait - you might need to use avi format
[19:18] <blippyp> I see that mpeg is mpeg-1 according to this page
[19:18] <blippyp> so the way you said earlier with an avi is probably what you need
[19:18] <blippyp> then use mplayer to open the file
[19:20] <manolo> so i should change my avserver.conf
[19:20] <manolo> to serve avi?
[19:20] <blippyp> yup
[19:20] <galex-713> Hello
[19:20] <blippyp> and leave everything else you had it (even your piping with the ts format)
[19:21] <blippyp> that will pipe your ts to an x264 format - I think that will work fine
[19:21] <manolo> ok, lets play a little and see
[19:21] <blippyp> I'm trying it myself (only without the piping)
[19:21] <galex-713> I tried to extract audio from a webm file (499kbps) and convert it to libopus with avconv but it didnt work at all and crashed, so I retried with my precompiled static version of ffmpeg, and it worked, but it constantly bark in yellow Non-monotonous DTS in output stream 0:0; previous: <big number A = A_{n-1}+1>, current: <big number B < A>; changing to <big number A + 1>. This may result in incorrect time stamps in
[19:22] <galex-713> And it stoped at 1h, and some minutes afterward did it again
[19:23] <latenite> so how do I change up my command? sorry I am a littlel lost
[19:24] <manolo> if you get something post it I'll be watching
[19:24] <galex-713> Oh also, ffmpeg static precompiled version I have doesnt support libopus, so I used libvorbis in order to then convert it to opus with avconv when I would get a clean output
[19:24] <blippyp> doesn't seem to be working for me
[19:24] <blippyp> everything seems fine until I try to view and then it complains
[19:27] <blippyp> latenite: change your acodec to ac3 and your output file to screencast.mp4
[19:27] <blippyp> try that
[19:28] <blippyp> sorry - i wasn't paying attention I was lost with manolo
[19:30] <latenite> blippyp, Ok let me try that....and thanks :D
[19:30] <latenite> it still plays like in fast foreward
[19:30] <latenite> ffmpeg -f alsa -i plughw:0 -f x11grab -s 1440x900 -r 30 -i :0.0 -ar 22050 -ab 128k -acodec ac3 -vcodec libx264 -threads 0 Screencast.mp4
[19:33] <latenite> does it work with you?
[19:33] <blippyp> never tried - here's what I used for a basic grab: ffmpeg -f x11grab -i :0.0 -s 1366x768 -r 30 -c:v libx264 -preset ultrafast -an sc.mp4
[19:35] <blippyp> latenite: for more options, here's the last screencapture script I was working on: http://sprunge.us/YEBe
[19:38] <latenite> blippyp, cool :D
[19:38] <latenite> I treid
[19:38] <latenite> ffmpeg -f x11grab -i :0.0 -s 1440x900 -r 30 -c:v libx264 -preset ultrafast -an sc.mp4
[19:38] <latenite> but it only captures like 2/3 of my screen. Although changes the resolution
[19:39] <JEEB> that's because the -s after -i scales the input
[19:39] <JEEB> I think there was a -resolution or whatever option that you could tuck there before -i
[19:39] <blippyp> look at the sprunge link I gave it - it's more detailed
[19:39] <blippyp> it has options for video/audio etc...
[19:40] <JEEB> or yes, -s before -i
[19:40] <JEEB> before -i = input settings, after -i = output settings
[19:40] <JEEB> in ffmpeg in general
[19:42] <latenite> JEEB, but my screen is 1440x900
[19:43] <latenite> that's why I went for-s 1440x900
[19:43] <JEEB> re-read my last sentences
[19:43] <JEEB> before and after -i do different things
[19:44] <blippyp> change your -i to -i :0.0+1440x900
[19:45] <blippyp> get rid of the -s 1440x900
[19:45] <blippyp> and after the -c:v libx264 add a -qp 0
[19:46] <blippyp> that will record a perfect quality video for you really fast - but it will create a large file
[19:46] <blippyp> so you will likely want to edit/re-encode it again later or play with your compressions settings for you command to get a match you like
[19:48] <blippyp> ie: if you're doing basic screencasting with little load on your system (like using an editor or something) you can get away with higher compression, but if you're capturing gameplay, you will want to keep it as it is so that ffmpeg isn't chewing up your resources while you play, then re-encode later when you're done
[19:49] <blippyp> manolo: you having any luck? I can't get it...
[19:50] <latenite> blippyp, so the -qp 0 is kind of the a "gameplay" switch?!
[19:50] <latenite> it fails https://gist.github.com/anonymous/04000785450b308a7afa
[19:50] <blippyp> -qp - is a lossless encoding...
[19:50] <blippyp> creates a large file
[19:50] <latenite> thing is...I dont get the error
[19:50] <manolo> I'm on my way
[19:50] <manolo> If i get it I will post the solution here
[19:50] <manolo> this is really driving me crazy
[19:51] <blippyp> if you want to compress the video as you get it then get rid of the -qp 0 option and instead use a -crf 17 (or similar) - the lower the better compression (anything higher than 17 will clearly alter your video)
[19:51] <blippyp> manolo: yeah - I think it's having problems with converting the v4l feed
[19:51] <blippyp> maybe use your original command - and pipe that into another command that sends it out?
[19:52] <bakers> Is the VP9 encoder not multi-threaded yet?
[19:52] <blippyp> I don't know - it crashes on me while trying to send the video
[19:52] <manolo> mm
[19:52] <manolo> do you think the compresion is necessary to get a basic working version?
[19:52] <blippyp> no
[19:52] <blippyp> I would try anything just to get a 'working' version
[19:52] <blippyp> then alter from there
[19:53] <latenite> the -i :0.0+1440x900 crashes? What is difference to using -s -1440x900 ?
[19:53] <blippyp> -s resizes your output
[19:54] <latenite> can you tell by my paste what is failing?
[19:54] <blippyp> the -i :0.0+1440x900 tells it to capture screen 0:0 (from top left corner with a width of 1440x900)
[19:54] <blippyp> paste your command and output and I'll look
[19:54] <latenite> https://gist.github.com/anonymous/04000785450b308a7afa
[19:56] <manolo> that's it blippyp, that's what I'll do
[19:56] <blippyp> ^works for me
[19:57] <blippyp> latentie: works for me
[19:57] <blippyp> all I did was change the resolution to match my screen - copied your command exactly
[19:58] <blippyp> run ffmpeg by itself (no options) and paste the output
[19:58] <blippyp> oh wait - no need
[19:59] <latenite> https://gist.github.com/anonymous/01c29c46738452348ad4
[19:59] <latenite> :D
[19:59] <blippyp> not sure why it's crashing for you...???
[19:59] <blippyp> what distro are you using?
[19:59] <latenite> arch linux
[20:00] <blippyp> same here
[20:00] <blippyp> you got ffmpeg from the aur?
[20:00] <blippyp> or is 2.2 in the community now?
[20:01] <latenite> its in community :D
[20:01] <blippyp> when I built that script it was for an older ffmpeg - but it worked for the ffmpeg I pulled from the aur - I compiled my own version of ffmpeg now though, and it still works fine for me...
[20:01] <blippyp> I am at a loss for you...
[20:02] <blippyp> one thing I notice that's weird though
[20:02] <blippyp> is that you're pulling 1440x900 - but the width and height from x11 says 640x480?
[20:02] <blippyp> x11grab
[20:04] <latenite> https://gist.github.com/anonymous/9ee092c0cf5e1f8cdc27
[20:04] <blippyp> you do still need the -s option - that's why it's spitting it out at 640x480
[20:04] <latenite> I dont have x11grab but I this ^^ does it.
[20:05] <latenite> blippyp, I though I had to take it out
[20:05] <latenite> ffmpeg -f x11grab -i :0.0+1440x900 -r 30 -c:v libx264 -qp 0 -preset ultrafast -an sc.mp4
[20:05] <latenite> Where does it go?
[20:05] <blippyp> but I still can't figure out why it's erroing on you
[20:05] <latenite> sorry I feel stupid now :/
[20:05] <blippyp> it goes in the current path - in a file sc.mp4
[20:06] <blippyp> no need - something's wrong
[20:06] <blippyp> it should work for you without erroring
[20:06] <latenite> hmm ... :D I am clueless :D
[20:09] <blippyp> I am to - you have everything enabled that you need for that command - you're using ffmpeg and not avcon (so no problems there) - the only difference between your version and mine is that I compiled mine myself (ie: basically the same versions) - maybe it's something with your video driver or something???
[20:15] <latenite> blippyp, maybe ....I could try the same with my gentoo box
[20:15] <latenite> but
[20:16] <latenite> ffmpeg -f x11grab -s 1440x900 -i :0.0 -r 30 -c:v libx264 -preset ultrafast -an sc.mp4
[20:16] <latenite> works just fine :D
[20:16] <blippyp> I can tell you this though - I have two screens on the system I'm on (it's a laptop with an external monitor also attached) - if I try to record my maximum resolution (both screens) I get the same error as you
[20:16] <blippyp> weird
[20:16] <blippyp> I wonder why that is
[20:16] <latenite> well than maybe that a ffmpeg bug...
[20:17] <blippyp> maybe because you're specifically specifying the exact size of the screen - change it to drop a few pixels on your width and height and see if it still crashes on you
[20:17] <blippyp> I think it has something more to do with your video driver - it works fine for me unless I go beyond my screen size - BUT I can still specify my maximum and lower screen sizes without any issues
[20:17] <blippyp> or maybe an issue with x11?
[20:18] <blippyp> that would make more sense actually...
[20:18] <latenite> I tried 1200x800
[20:18] <latenite> some error though
[20:18] <blippyp> hm
[20:18] <latenite> what wrong about using
[20:18] <latenite> ffmpeg -f x11grab -s 1440x900 -i :0.0 -r 30 -c:v libx264 -preset ultrafast -an sc.mp4
[20:19] <latenite> because it just works....the result is just what I want
[20:19] <blippyp> there is nothing wrong with it
[20:19] <blippyp> but that means you can't use the other option for whatever reason
[20:19] <blippyp> not sure why
[20:19] <latenite> well cool. Lets not worry than. I am happy with that :D
[20:19] <blippyp> you probably don't care - it would bother me
[20:19] <blippyp> it's built into my script... ;)
[20:20] <blippyp> glad you got it
[20:20] <latenite> oh ok, thats a bummer
[20:20] <blippyp> not for me - it still works for me... :P
[20:20] <latenite> yeah I super happy for your help
[20:20] <blippyp> it's a feature you SHOULD be able to use - not sure why it isn't for you though
[20:20] <latenite> and I like the size of the file
[20:20] <latenite> 30min like 200MB
[20:20] <latenite> is cool
[20:20] <blippyp> that's small?
[20:21] <latenite> kind of yes
[20:21] <blippyp> and that was ith ultrafast and a qp 0?
[20:21] <blippyp> something doesn't add up
[20:21] <latenite> no qp 0
[20:21] <latenite> :D
[20:21] <blippyp> ah
[20:21] <blippyp> that's why
[20:21] <latenite> those get huge
[20:21] <latenite> I am fine the quality ...
[20:21] <blippyp> a crf or just no compression settings specified?
[20:21] <blippyp> it defaults to crf 23 I think
[20:22] <latenite> jst the command I pasted
[20:22] <latenite> ffmpeg -f x11grab -s 1440x900 -i :0.0 -r 30 -c:v libx264 -preset ultrafast -an sc.mp4
[20:22] <blippyp> I use 17 for a 'near lossless' encoding
[20:22] <blippyp> just remember if you're using a lot of your resources - you'll likely want to add the -qp 0 option to free some of those resources
[20:23] <blippyp> now alter that command to include your adio
[20:23] <blippyp> audio
[20:23] <latenite> lol...
[20:23] <latenite> how?
[20:23] <blippyp> you had it originally
[20:23] <latenite> ah ok...
[20:24] <blippyp> I can't find it - if you can't get it paste your original command again
[20:24] <blippyp> -f alsa -i plughw:0
[20:24] <blippyp> that
[20:24] <latenite> ffmpeg -f alsa -i plughw:0 -f x11grab -s 1440x900 -i :0.0 -r 30 -c:v libx264 -crf 17 -preset ultrafast -an sc.mp4
[20:24] <latenite> yes...
[20:24] <blippyp> an remove the -an option
[20:25] <latenite> what does the -an do?
[20:25] <blippyp> removes the audio
[20:25] <latenite> there is no sound
[20:25] <blippyp> ;)
[20:25] <latenite> ahh lol
[20:26] <blippyp> do you have a cam? you can overlay your camera on top of the video
[20:26] <latenite> https://gist.github.com/anonymous/28c26a9c816a9cf69d6e
[20:26] <latenite> should I use a different one?
[20:26] <latenite> I SO wanted to do that....
[20:26] <latenite> Is that possible?
[20:27] <blippyp> looks good
[20:27] <blippyp> yup
[20:27] <blippyp> hold on
[20:29] <latenite> I sais to use "-strict 2"
[20:29] <latenite> https://gist.github.com/anonymous/9b55415f1bfc3b0c50be
[20:29] <latenite> but no luck :D
[20:29] <blippyp> ffmpeg -f alsa -i plughw:0 -f x11grab -s 1440x900 -i :0.0 -i /dev/video0 -lavfi "[2:v] scale=-1:240 [cam]; [3:v][cam] overlay" -r 30 -c:v libx264 -crf 17 -preset ultrafast sc.mp4
[20:29] <blippyp> something like that - didn't test it - but it will be something like that
[20:30] <latenite> for now I need audio first....and that somehow fails
[20:34] <blippyp> after -preset ultrafast add -c:a ac3
[20:35] <latenite> there is "sound"....it does sound like me....BUT its broken....like stutter
[20:36] <blippyp> ffmpeg -f alsa -i plughw:0 -f x11grab -s 1440x900 -i :0.0 -f v4l2 -i /dev/video0 -lavfi "[2:v] scale=-1:240 [cam]; [1:v][cam] overlay" -r 30 -c:v libx264 -crf 17 -preset ultrafast -c:a ac3 sc.mp4
[20:36] <blippyp> that worked for me
[20:37] <blippyp> remove the -crf 17 and change it to -qp 0
[20:37] <blippyp> your stutter will probably disappear
[20:39] <latenite> It feels my machine is on super load
[20:40] <blippyp> your system might not (probably won't) handle the overaly in real time - recording them seperately and the overlaying them after is probably the best bet
[20:40] <blippyp> it is
[20:40] <latenite> my camera video is ON but frozen (no movement) and sound is stuttery
[20:40] <blippyp> is that with the overlay?
[20:40] <latenite> yes
[20:40] <blippyp> look at my previous statement
[20:40] <latenite> let my try that on my "monster" box :D
[20:40] <latenite> let see it "she" handles it :D
[20:41] <blippyp> you're better off just recording both video's into a seperate video stream on the same file - then overlay the video's when you're done
[20:43] <blippyp> ffmpeg -f alsa -i plughw:0 -f x11grab -s 640x480 -i :0.0 -f v4l2 -i /dev/video0 -map 0:0 -map 1:0 -map 2:0 -c:v libx264 -qp 0 -preset ultrafast -c:a ac3 sc.mp4 -y
[20:43] <blippyp> then overlay the two feeds
[20:43] <blippyp> streams
[20:44] <latenite> that creates the sc.mp4 file
[20:44] <iamtakin1iteasy> hello, can ffmpeg for windows capture DirectX games?
[20:44] <latenite> blippyp, where is the second file?
[20:44] <blippyp> yes - but that sc.mp4 file will have two video streams
[20:45] <blippyp> run ffprobe on teh sc.mp4 file
[20:45] <latenite> ahhh how cool is that :D
[20:45] <iamtakin1iteasy> i know it can capture dshow, recording the regular screen effectively, but what about directx ?
[20:45] <blippyp> not sure
[20:45] <blippyp> never used ffmpeg on windows
[20:46] <iamtakin1iteasy> not much alternatives here :/
[20:46] <latenite> blippyp, I see :D . now how do I merge them into one?
[20:46] <blippyp> I think you have some options with directx though - you'll have to google them or wait till someone comes on who knows...
[20:47] <blippyp> ffmpeg -i sc.mp4 "[2:v] scale=-1:240 [cam]; [1:v][cam] overlay" -r 30 -c:v libx264 -crf 17 -preset ultrafast -c:a ac3 sc2.mp4
[20:47] <iamtakin1iteasy> blippyp: i have been trying googling -- didn't found anything that proofs that ffmpeg can do that, but i didn't found anything against either
[20:47] <blippyp> didn't test it yet - but something like that
[20:47] <iamtakin1iteasy> wikipedia places "?" mark at ffmpeg capability of recording directx in comparison table
[20:48] <blippyp> I don't think there's a lot of documentation on it - you'd have to look - you might need to be more familiar with directx to get further with it - like I said, I haven't played with it....
[20:48] <blippyp> I'm pretty sure it does it
[20:48] <latenite> blippyp, I played the unmerged sc.mp4...and it has perfect audio :D....make me happy
[20:51] <latenite> blippyp, now if you could help me merging them.....I could make the screencast I wanted to have (sound and cam in place)
[20:51] <latenite> that would be too cool
[20:51] <latenite> but I get this
[20:51] <latenite> https://gist.github.com/anonymous/d1ef12bf37101e573fe5
[20:52] <blippyp> ffmpeg -i sc.mp4 -lavfi "[0:2:v] scale=-1:240 [screen]; [0:1:v][screen] overlay" -c:v libx264 -qp 0 -preset ultrafast -c:a ac3 sc2.mp4
[20:52] <blippyp> that worked for me
[20:54] <blippyp> you might have to switch the 0:2:v to 0:1:v and the 0:1:v to 0:2:v (I think your feeds were saved in reverse)
[20:54] <blippyp> but either way
[20:55] <blippyp> you have the basic commands now - you just need to 'tweak' them to your needs
[20:56] <blippyp> run: man ffmpeg-filters for more options - you'll find all kinds of neat things you can use - I highly recommend learning how to use alphamerge
[20:57] <latenite> blippyp, thank you tons
[20:57] <latenite> the merge did work. Its heavily out of sync.....but oh well :D
[20:57] <latenite> alphamerge is a tool?
[20:57] <blippyp> it's a filter
[20:57] <blippyp> your video was out of sync because your recordings were too heavy on your system...
[20:58] <blippyp> it's best to record the video streams separately with different systems/devices
[20:58] <blippyp> I record my camera using my camera
[20:58] <blippyp> my screen using ffmpeg
[20:58] <blippyp> and merge them later
[20:59] <blippyp> my audio get's recorded on another device/system as well - I sync them all and only use the 'good' audio recording compbined with the audio from my ffmpeg recording and get rid of any other audio
[20:59] <latenite> I can try that too :D
[20:59] <blippyp> it's better
[20:59] <blippyp> your sync issues with disappear
[20:59] <blippyp> with-will
[21:00] <latenite> but how do you sync them? manually?
[21:00] <latenite> I meen they dont start all at the same time. right?
[21:00] <blippyp> it sesms complicated, but in the end I run a script to combine it all and make a nice video with preset settings for my videos and audio - it's pretty simple once you figure it out, and I never have to touch a video editor
[21:01] <blippyp> you recorded your desktop at too high of a resolution - the initial recording got screwed up because it couldn't handle the load you put it on - that's why you record them using different systems/devices and combine later with ffmpeg
[21:01] <blippyp> the only thing I have to do manually is sync my streams
[21:02] <blippyp> I have a few scripts I'm working on... ffmpeg is awesome
[21:02] <latenite> that is what I was asking. How do you sync the 3 streams to they are in sync?
[21:02] <blippyp> clap
[21:03] <latenite> I would "hate" to use a gui editor for that
[21:03] <blippyp> record audio in all of your streams and clap
[21:03] <blippyp> my final script is cool - if I'm recording my desktop it records a video of my choosing for the 'backdrop' - like gameplay or something...
[21:04] <latenite> ok then all have a "peak - clap" but how to I match/sync?
[21:04] <blippyp> then it overlays the screen capture of my desktop on the screen...
[21:04] <blippyp> use an audio editor to pull the 'time code' of the clap from each stream - and split the streams accordingly so that they all begin at the 'clap'
[21:04] <blippyp> ex: audio: clap is at 00:10:15
[21:05] <blippyp> ffmpeg -i audio.mp3 -s 00:10:15 output.mp3
[21:05] <blippyp> ex: video cam: clap is at 00:09:45
[21:05] <blippyp> ffmpeg -i cam.mkv -s 00:09:45 cam-out.mkv
[21:06] <blippyp> that way all the streams start at the same time with the video /audio syncing properly
[21:06] <latenite> yes but thats manual work. Now way a script could do that. ....also, sound is only in sync my +-1sec that is hardly enough?!
[21:06] <blippyp> trust me - it works really well and it's very simple and easy once you've done it a couple of times
[21:07] <latenite> cool, I will try that ....
[21:07] <blippyp> once everything is 'synced' you use video editors and stuff to add special effects or whatever you want done that ffmpeg won't do
[21:07] <latenite> I ll be back like mid next week....afert I play with it for a while...
[21:07] <blippyp> then when everything is ready you run ffmpeg to merge everything together all nicely for you
[21:08] <blippyp> it takes a while - get to know the ffmpeg-filters man page - it's your best friend
[21:08] <blippyp> my script even detects 'when I talk' and removes my camera video and displays my camera video depending on whether or not I'm actually speaking
[21:09] <latenite> wow? thats cool :D
[21:09] <latenite> you should "release" it once its done...
[21:09] <blippyp> yeah - it took a little c code to make that work in the end - but that basic functionality of it is built into ffmpeg
[21:10] <blippyp> the script also turns my camera feed into a 'cartoon' and removes the background with a green screen
[21:10] <blippyp> for old games it turns my 'cartoon cam' video into a 8bit pixel of me - so I look like a sprite from the game
[21:11] <blippyp> all blocky and shit
[21:11] <blippyp> and it's all automatic - I just synce the feeds
[21:11] <latenite> thats funny :D
[21:12] <latenite> so ffmpeg can to to "background removal" ?
[21:12] <latenite> like they do on the news/weather ?
[21:12] <blippyp> yeah - I get a kick out of it - it's not all completed yet - but I have the basics if not everthing working for all of these things - tested and proven to work already - I just have to get around to putting it all together...
[21:12] <blippyp> yup
[21:13] <blippyp> green screening isn't that hard - but you will need to learn how to use algorithms
[21:13] <blippyp> it's not a built in filter yet - but if you re-compile with frei0r enabled I think it has a filter for it - but I haven't tested it yet
[21:13] <blippyp> either way, i built my own already for it
[21:14] <latenite> sounds like a lot of work....but hey...its awesome
[21:14] <latenite> just please.. share it with the world one day :D
[21:15] <blippyp> it was a lot of work - but the scripts themselves are very small - getting the cartooning effect has been my biggest challenge - I recently got that to a point where I'm fairly happy with it now
[21:15] <blippyp> I probably will once I get it done
[21:16] <latenite> do you have a sample of the cartoon thingy?
[21:16] <latenite> I am curious what it looks like
[21:16] <blippyp> I haven't worked on it in a while - but I did just spend a lot of time working on the cartooning - I'm very excited that part is done now - I can spend a weekend on it and get it to an 'alpha' stage finally
[21:17] <blippyp> it's pretty cool actually - I have a few 'test' videos - but they're kind of lame - I look like shit and they all have something wrong with them... but I promise you it all works now - I just need to finally put it all together into one script
[21:18] <latenite> What gui video editor do you use?
[21:18] <blippyp> I can't wait for it actually - I can produce LP's like no one else at this point - and I can do it quickly - I could probably produce 2-3 videos in a day
[21:18] <blippyp> none - only ffmpeg
[21:18] <blippyp> linux sux for video editing - it's why I've been forced to do it this way - all the editors are buggy as hell
[21:19] <blippyp> and at their root - is basically ffmpeg - so I just went to the source
[21:19] <latenite> LP? whats that
[21:19] <blippyp> I use to use premiere and sony vegas on windows though
[21:19] <blippyp> the only thing I can't do with ffmpeg that I use to use editors for is tracking
[21:19] <blippyp> I literally have almost no need for them anymore
[21:20] <blippyp> unless I wanted to get really creative and use after effects or something
[21:20] <blippyp> which I've only used a couple of times before - but it is pretty sweet
[21:21] <blippyp> LP's - Let's Plays - which is the whole point of why I made the script
[21:21] <blippyp> I love watching them online - I would love to make my own
[21:21] <latenite> what is that?
[21:21] <latenite> I never head that
[21:21] <blippyp> people record themselves playing games
[21:21] <latenite> ahhh
[21:21] <blippyp> you've never heard of that?
[21:21] <latenite> I know what it is...sure....I just didn know the "term"
[21:21] <blippyp> wow - they're pretty cool if you find a good LP'er - most are annoying though
[21:22] <blippyp> but some are pretty good - I actually enjoy watching them as much as playing the games
[21:22] <latenite> so you "ego shoot" and talk while you record?...kind of like and enterrainer ? :D
[21:23] <blippyp> my initial method was very fast - I record and produced SO MANY videos - it was crazy - I was literally producing hours of video footage every day - and I NEVER had to re-encode the videos - my first attempts had literally like 200 30 minute videos in a weekend
[21:23] <blippyp> alll I had to do was play and the files were ready to go
[21:24] <blippyp> I've never seen an LP'er produce videos of that quantity
[21:24] <latenite> thats the power of linux.....thats like this in every field...
[21:24] <blippyp> But I wanted to do something special - And I think my current process that I'm working on is extremely unique - Enough to raise more than a few eyebrows
[21:24] <latenite> linux just makes you productive as hell
[21:24] <blippyp> linux had nothing to do with it - it was my recording process and having a PVR
[21:25] <latenite> PVR?
[21:25] <blippyp> my computers suck - so I don't game on them (unless they're old favorites) - I'm an old fart
[21:25] <blippyp> pvr - like a hauppauge hd pvr 2 (mine)
[21:26] <blippyp> it records 1080p video from hdmi/rca and encodes it for me
[21:26] <blippyp> I do my gaming on xbox
[21:26] <latenite> but how do you record on xbox?
[21:27] <blippyp> but I have LOTS of computers - like I'm sitting in front of one HUGE system, made up of a 7 computers with 12 monitors in front of me - I have 100 desktops and I switch to any of them instantly with a 2 key-combo...
[21:28] <blippyp> I use my pvr - I put the hdmi cable from my xbox into my pvr - and then out of the pvr to my tv
[21:28] <blippyp> my best systems are used for large encoding jobs (but even they suck compared to todays standars) - my main system is my laptop
[21:28] <blippyp> but I control them all with one keyboard/mouse
[21:29] <blippyp> I usually have them all off though unless I'm doing serious work
[21:29] <blippyp> brb
[21:29] <latenite> ok :D
[21:43] <blippyp> sorry about that - I'm back now
[21:44] <blippyp> I also want to make tutorials as well as LP's (been a programmer since I was a littlin') so there's tons of tutorials I'd like to make as well, so I wanted my script to do more than just what I wanted for LP'ing...
[21:46] <blippyp> the LP's are mostly just for fun, and since I play the games anyways, there's no reason not to record them - But the tutorials are what I really want to do. With a little luck the LP's will just help bring people to my youtube page - I don't know exactly what tutorials I want to do, but there are tons of things I can do a tutorial on - Like ffmpeg for instance - I could make tons of videos on ffmpeg alone...
[21:48] <blippyp> manolo: you still around - had any luck yet?
[21:48] <manolo> nope, I'm just chilling for a while
[21:49] <manolo> but will continue
[21:49] <blippyp> breaks are important... ;)
[21:49] <manolo> what I know for sure is that i need a swf or flv file inthe end
[21:49] <blippyp> in my tests the swf output has been the best so far...
[21:49] <manolo> dude you are so kind blippyp, thanks a lot for your help :)
[21:49] <blippyp> but I really want to produce mp4's....
[21:50] <blippyp> no biggy - I like helping... ;)
[21:50] <manolo> yup, the swf can be played directly by the browser
[21:50] <blippyp> hence the whole tutorial talk.... haha
[21:50] <manolo> :)
[21:50] <blippyp> yes - but everyone is moving away from swf
[21:50] <blippyp> mp4 is the way to go with html5 now
[21:50] <manolo> i'm kind of mmm used to debian/ubuntu systems but this is becoming reaaaally hard
[21:50] <blippyp> it will be the standard for everyone soon
[21:50] <manolo> I c
[21:51] <blippyp> most browsers support it now
[21:51] <manolo> I will do my best, any way I understand im not asking for something completely average xD
[21:51] <manolo> with the netcat and such
[21:51] <blippyp> no - I think your piping is working - I don't think that's your problem
[21:52] <Mavrik> hmm
[21:52] <manolo> what about the versions?
[21:52] <blippyp> it's converting your feed back into the desired codec that ffserver wants
[21:52] <Mavrik> manolo, what are you doing exactly?
[21:52] <Mavrik> live streaming video to browser?
[21:52] <manolo> i mean 2.2 in the local 0.8 in the remote
[21:52] <manolo> yup Mavrik, that's a part
[21:52] <manolo> I have 2 computers
[21:52] <blippyp> possibly that could be an issue - you're also using ffmpeg with LibAV - they're completely seperate
[21:52] <blippyp> but like I said - I can't get it working either
[21:53] <Mavrik> manolo, I'm just commenting because swf/flv is almost never a solution for a problem in 2014 :P
[21:53] <Mavrik> but I missed the start of the conversation.
[21:53] <manolo> hahahahhaha
[21:54] <manolo> Mavrik, this is the whole tale xD: 2 computers, lets say local and remote. Local have a webcam attached and is behind a firewall I cannot configure
[21:54] <Mavrik> manolo, does it have to be a browser on the other side?
[21:54] <manolo> remote is my server and I have full control over it, I want to netcat or whatever the webcam capture and serv it like web to the clients, so they only type a url and see
[21:54] <Mavrik> aha, ok
[21:54] <manolo> yup 100% necessary
[21:54] <Mavrik> manolo, you need a streaming server on the computer under your control
[21:55] <Mavrik> then just use MPEG2-TS or some other streamable format (not flv horror) to push stream to it over UDP
[21:55] <manolo> no problem with that
[21:55] <manolo> avserver so far
[21:55] <manolo> hahahaha flv horror, I'm such a noob xD
[21:55] <Mavrik> flv isn't a format well built for streaming :)
[21:55] <blippyp> he was pushing it out in mpeg2-ts format though
[21:56] <Mavrik> we usually used Wowza as a streaming server (because it can server video to pretty much anything)
[21:56] <Mavrik> and just ffmpeg on the cam side
[21:56] <manolo> that sounds cool, just guide/point me to what you think can help me
[21:56] <blippyp> manolo - show your commands/process again - maybe mavrik can point out some issues
[21:56] <manolo> fair point that one, this is what i have so far:
[21:57] <Mavrik> but Wowza can cost alot, I've used stream-m for webm streaming (works only in chrome / firefox)
[21:57] <klaxa> i feel like i would be giving up freedom if i used wowza
[21:57] <Mavrik> huh.
[21:57] <Mavrik> dunno :)
[21:57] <klaxa> it's closed source, no?
[21:57] <Mavrik> it was by far the best piece of streaming software I've deployed
[21:57] <klaxa> and also costs on an instance basis
[21:57] <manolo> local comp: ffmpeg -f alsa -i plughw:CARD=Intel,DEV=0 -f video4linux2 -s vga -i /dev/video0 -f mpegts pipe:1 | sudo netcat ipaddr 110
[21:57] <Mavrik> rather cheap too considering the compatitors.
[21:57] <Mavrik> klaxa, well, streaming video business isn't really the flag carrier of OSS>
[21:58] <klaxa> yeah sadly
[21:58] <Mavrik> manolo, ugh... why :D
[21:58] <manolo> I dont know :_(
[21:58] <Mavrik> manolo, ffmpeg ... -f mpegts udp://<machine address>
[21:58] <Mavrik> manolo, ffmpeg ... -f mpegts udp://<machine address>:<port>
[21:58] <Mavrik> actually.
[21:58] <manolo> I c
[21:58] <Mavrik> and then on the other side just
[21:58] <manolo> and then in the remote comp?
[21:58] <Mavrik> ffmpeg -i udp://<local>
[21:59] <Mavrik> manolo, or if you're using ffserver or whatnot
[21:59] <Mavrik> it's remote by design
[21:59] <manolo> Mavrik, let's give it a try, ok?
[21:59] <manolo> what port do I have to open in the remote comp?
[21:59] <Mavrik> the one you're streaming on.
[21:59] <manolo> whatever I chose
[21:59] <manolo> cool
[22:00] <Mavrik> it's just a sequece of udp packets
[22:00] <manolo> udp is smart in this case
[22:00] <Mavrik> you can just use ffplay udp://<localaddress>:<port> to test if you're getting traffic through
[22:00] <manolo> I can only access via ssh the remote comp so I can ssh -X and then ffplay?
[22:02] <Mavrik> I doubt that will work for accelerated renderer.
[22:02] <Mavrik> you can just try a simple dump to disk
[22:02] <manolo> :S
[22:02] <manolo> but i can redirect to a file in the server
[22:02] <Mavrik> ffmpeg -i udp://<local>:<port> -codec copy out.ts
[22:02] <manolo> save it and scp it to check
[22:03] <Mavrik> also
[22:03] <manolo> ok, excuse my noobness xD
[22:03] <Mavrik> you're not specifying the encoder on your source machine
[22:03] <manolo> lets go first with the local-capturing
[22:03] <Mavrik> neither are you specifying the audio format
[22:03] <Mavrik> or quality.
[22:03] <manolo> nice nice I need that all
[22:04] <manolo> ffmpeg -f alsa -i plughw:CARD=Intel,DEV=0 -f video4linux2 -s vga -i /dev/video0 -f mpegts udp://<machine address>:<port>
[22:04] <manolo> let's start making it work and then we fine tune the quality, coding, compresion, etc, ok?
[22:04] <manolo> or if u think we can do all in one go, lets go for it
[22:04] <Mavrik> well
[22:04] <Mavrik> I'm gonna go have dinner now.
[22:05] <manolo> no hurries, I can wait
[22:05] <Mavrik> docs are your firends ;)
[22:06] <blippyp> that works manolo
[22:06] <manolo> cool
[22:06] <manolo> let's do it
[22:06] <blippyp> i used avi in the ffserver.conf
[22:06] <blippyp> like we discussed before
[22:06] <blippyp> then I used the exact command you had above (only I used plughw:0 only)
[22:06] <blippyp> ran ffplay like mavrik said and it connected
[22:07] <blippyp> looks like shit (due to encoding) but it works
[22:07] <manolo> avserver.conf and ffserver.conf remains kind of a mistery for me xD
[22:08] <blippyp> me to, but it's not that complicated
[22:08] <manolo> I have no idea of video formats and such
[22:08] <blippyp> that page I linked you to earlier seemed to have all the formats one could want
[22:08] <manolo> what I'm taking out of my webcam is raw video, is that it?
[22:08] <blippyp> I'm gonna try to get it working with mp4
[22:08] <manolo> nice move
[22:08] <manolo> I'll go for mp4 too
[22:08] <Mavrik> hmm, I think I wrote a blog post on that theme once
[22:08] <Mavrik> https://www.virag.si/2012/11/streaming-live-webm-video-with-ffmpeg/
[22:09] <Mavrik> there.
[22:09] <Mavrik> now bbl
[22:09] <blippyp> thanks mavrik
[22:09] <manolo> thanks a lit Mavrik
[22:10] <manolo> lit == lot xD
[22:10] <manolo> c'mon let's do this
[22:12] <manolo> blippyp, do you know about the ACL allow thing? should I stat 0.0.0.0 to let everyone read?
[22:12] <manolo> state*
[22:15] <blippyp> if you want to allow anyone I think you use: ACL ALLOW 0.0.0.0 255.255.255.255
[22:15] <manolo> ok
[22:25] <blippyp> I can only get ffplay to connect - not mplayer
[22:26] <manolo> im strugling against the udp settings
[22:27] <blippyp> yeah me too - it works great with ffplay - but I can't figure out how to connect to it otherwise
[22:27] <blippyp> I'm gonna try out his webm example
[22:27] <manolo> how do you do it with ffplay?
[22:28] <blippyp> just like he said
[22:28] <blippyp> ffplay udp://localhost:8090
[22:28] <blippyp> but you can't specify a filename of any kind
[22:28] <manolo> i'll try local
[22:28] <blippyp> running mplayer with the same options crashes mplayer
[22:28] <blippyp> just change localhost to the ip of your server
[22:28] <blippyp> it's sending the feed there
[22:29] <manolo> yup in local if works PERFECT
[22:30] <manolo> well
[22:30] <manolo> audio and video are mmm
[22:30] <manolo> not synched
[22:32] <moskiteau> hello
[22:32] <blippyp> no - it will trail behind a bit - it's not technically 'real-time' - or do you mean the audio/video are out of sync?
[22:32] <manolo> out of sync by 20 segs not less
[22:33] <moskiteau> i am trying to demux an mp4 and i want to preserve the progressive download, anyone know how i can do so?
[22:33] <blippyp> moskiteau: explain a little more please
[22:33] <moskiteau> avconv -i input.mp4 -map 0:2 -c:v copy -movflags faststart video.m4v -map 0:3 -c:a copy audio.m4a
[22:34] <moskiteau> i read that the -movflags faststart optimise the mp4 so the 'moov' atom is well ordered (not sure if i say it right)
[22:34] <ValdikSS> moskiteau: it's moved to the beginning of the file with faststart. Without faststart it's in the end.
[22:35] <ValdikSS> So that's what you need
[22:35] <moskiteau> ok, i tought so, but i have an error :(
[22:35] <moskiteau> Could not write header for output file #0 (incorrect codec parameters ?)
[22:39] <ValdikSS> moskiteau: It's libav issue, not ffmpeg, i suppose
[22:39] <ValdikSS> ffmpeg -i railgun.mkv -map v -c:v copy -movflags faststart video.m4v -map a -c:a copy audio.m4a
[22:39] <ValdikSS> worked fine here with ffmpeg 2.2.1
[22:42] <moskiteau> ffmpeg version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
[22:42] <moskiteau> lol, i guess the ubuntu package is out of date :/
[22:42] <blippyp> horribly - you can download a static ffmpeg from the ffmpeg site - I'd use that
[22:52] <blippyp> manolo: the webm seems to be working - but all I get is a still image and mplayer complains about the cache not filling...
[22:52] <manolo> I only got it working in local
[22:52] <moskiteau> wich one? the builds have date, not version numbers :P
[22:52] <moskiteau> http://ffmpeg.gusari.org/static/64bit/
[22:53] <moskiteau> nvm i found
[22:56] <moskiteau> working!
[22:56] <moskiteau> thanks guys
[23:21] <blippyp> manolo: according to the ffserver man page, streaming mpg and avi formats are out since it tries to send the whole file first... which basically leaves webm... :( or flash... webm would probably be better
[23:21] <manolo> I'm working with webm
[23:21] <blippyp> yeah me to - but not having any luck
[23:21] <manolo> this thing have an embeeded player :O
[23:21] <manolo> i'm on my way
[23:21] <blippyp> what thing?
[23:22] <blippyp> your web browser?
[23:23] <manolo> the webm
[23:23] <manolo> i almost got it
[23:23] <manolo> [mp2 @ 0x65c5e0] Header missing
[23:23] <manolo> I get some of this
[23:23] <blippyp> webm is a format I am fairly knowledgable about - but this thing just isn't working for me - some how I got it to display a single image, but it was 'frozen' - and my feed seems to stutter and freeze a lot regardless - there were a few times I got it to send a steady stream of frames, but it wouldn't play them giving me cache error issues
[23:24] <blippyp> I'm guessing you commented out the header line in the ffm - re-enable it....???? I couldn't get it to work without that line - no idea what it does though
[23:25] <manolo> mm where? in the avserver?
[23:25] <blippyp> ya
[23:25] <manolo> lemme
[23:25] <blippyp> in the AVOptionAudio (or Video) flags +global_header
[23:25] <blippyp> in the AVOptionAudio (and Video) flags +global_header
[23:26] <blippyp> there are two of them
[23:26] <manolo> mmm
[23:26] <blippyp> I had to disable the StartSendOnKey though or my frames just stutter and stop
[23:26] <manolo> :S
[23:26] <manolo> https://www.virag.si/2012/11/streaming-live-webm-video-with-ffmpeg/
[23:26] <blippyp> at least on my ffmpeg command - the video makes no difference, it either gives me cahce errors or shows one frame only
[23:26] <manolo> i'm using this guy's avserver.conf
[23:27] <blippyp> looking
[23:27] <manolo> copy and paste 99% xD
[23:27] <blippyp> I was using mavrik's
[23:28] <blippyp> oh - that's the same one
[23:28] <manolo> yup
[23:28] <manolo> I think i have to add something in the remote server
[23:28] <manolo> in the command i run in the remote server
[23:29] <manolo> local: sudo ffmpeg -f video4linux2 -s 640x480 -r 25 -i /dev/video0 -f alsa -i plughw:CARD=Intel,DEV=0 -f mpegts udp://
[23:29] <manolo> udp://...:port u know
[23:29] <manolo> then in the remote:
[23:29] <blippyp> don't use the udp
[23:29] <manolo> ?
[23:29] <blippyp> send it to the server or there's no file to connect to
[23:29] <blippyp> I don't get it either
[23:29] <blippyp> I can only get ffplay to connect when using udp
[23:30] <manolo> :S
[23:30] <blippyp> which means it's useless unless we figure out why
[23:30] <blippyp> I know that udp is what we want
[23:30] <manolo> sudo avconv -i udp://localhost:110 -s 640x480 -r 25 http://localhost:8080/feed1.ffm
[23:30] <manolo> in the remote
[23:30] <blippyp> but not sure how to get it working (it may be happening automatically for us with the server)
[23:31] <blippyp> ok
[23:31] <blippyp> hold on
[23:31] <manolo> cool cool no hurries
[23:31] <blippyp> oh yeah - since I'm completely local - I don't need that I don't think
[23:32] <blippyp> that saves you from having to pipe it I think
[23:32] <blippyp> it's not doing anything for me
[23:32] <blippyp> why is this so damn hard?
[23:32] <blippyp> it seems simple, but just doesn't want to work
[23:33] <manolo> hahaahah
[23:33] <manolo> 48 hours with this
[23:33] <manolo> i'm begining to feel retarded
[23:33] <blippyp> you and me both
[23:34] <manolo> pff
[23:34] <manolo> this is becoming someting personal
[23:34] <blippyp> I've actually stopped and started reading the ffserver man page because I never have - I feel I'm missing something stupid and obvious
[23:34] <manolo> I have to make 4 days of research before i can send a video file my god....
[23:34] <blippyp> for me too - and I have NO USE for it... haha
[23:34] <manolo> :_(
[23:34] <blippyp> I can get it working with swf - but I want webm now
[23:34] <manolo> that's it
[23:34] <blippyp> oh and mjpeg to - but that kind of sucks tbh
[23:35] <blippyp> but if I wanted to pipe it like you're doing - I'm screwed either way - so I still want to figure it out
[23:35] <manolo> do they give you scholarships for studing ffmpeg?
[23:35] <manolo> xDD
[23:35] <blippyp> haha
[23:36] <blippyp> nope - just BIG headaches :P
[23:36] <manolo> how the change headaches to euro?
[23:36] <manolo> hahahaha
[23:36] <blippyp> but good rewards if you get it working...
[23:36] <blippyp> haha
[23:37] <manolo> I'll wait for Mavrik, maybe he can help me a lil after his diner
[23:37] <manolo> xD
[23:38] <blippyp> sometimes I get a codec bitrates do not match for stream 1 when running ffserver - not sure why
[23:38] <blippyp> but I finally figured out what the pre-roll option is though - you definitely want to keep that
[23:39] <blippyp> oh - think that solved my codec bitrates do not match issue
[23:41] <manolo> how?
[23:41] <manolo> xD
[23:41] <blippyp> don't know - I re-enabled it and the error disappeared....
[23:41] <blippyp> ;)
[23:41] <blippyp> it's your buffer - you might want to change it from 15 to something else, but you want definitely want it I think
[23:43] <manolo> what I like the most
[23:43] <manolo> is that you google something, and find a nice command, u put it on your term and it NEVER works ahahahaha
[23:43] <manolo> im losing my mind
[23:44] <blippyp> haha
[23:44] <blippyp> yup ain't it a blast
[23:47] <manolo> hahaahhha
[23:47] <blippyp> okay - switching my output from http://.....feed1.ffm to udp://....feed1.ffm definitely made that better
[23:47] <manolo> but I'm getting near
[23:47] <manolo> cool
[23:47] <manolo> i do like this in the remote comp
[23:47] <blippyp> but I'm still not getting the file when I play it - keep getting that damn cache issue
[23:47] <manolo> sudo avconv -i udp://localhost:110 http://localhost:8080/feed1.ffm
[23:48] <blippyp> try chaing your http:// to udp://
[23:48] <blippyp> chaing=changing
[23:48] <blippyp> it worked for me
[23:48] <manolo> in the remote too?
[23:48] <blippyp> yeah
[23:48] <manolo> i mean i want to acces by http://whatever:8080/test.webm
[23:49] <blippyp> yeah - it still gets served there
[23:49] <blippyp> at least it's showing it on my status page
[23:49] <manolo> status page is cool xD
[23:49] <manolo> looks like something work
[23:50] <manolo> http://whatever:8080/test.webm does not work
[23:50] <manolo> shows a nice player, but runs nothing
[23:50] <manolo> :(
[23:51] <blippyp> that's what happens to me too with luakit - that's why I use mplayer instead (which is what I prefer anyways)
[23:52] <manolo> what's luakit?
[23:53] <blippyp> my browser
[23:54] <blippyp> ff is a bloated beast - and with luakit I feel so much more secure since I have all plugins and stuff always disabled, but can instantly enable them per domain as I please and it remembers which ones I trust and don't trust...
[23:55] <ibisr> Hi all, when using the FFMPEG libraries to decode media, is there a simple way to determine whether the encoded media will have p or b frames?
[23:55] <blippyp> I've never seen any other browser do that - you either enable or disable them all
[23:56] <blippyp> ibisr: I don't know - you might need something else for that.... someone else might know. I've only seen options for that with other software (don't remember which ones)
[23:58] <ibisr> blippyp: thanks, I think I can handle it a different way, just wanted to make sure I wasn't being too dumb
[23:58] <manolo> first time I hear about that browser
[23:59] <blippyp> yeah, it's not common - and I think he stopped working on it - but I've been in love with it ever since I found it a few years ago
[23:59] <blippyp> it's not perfect - but I like it
[23:59] <blippyp> took some getting use to (uses a lot of vim-like key-bindings
[00:00] --- Fri May 2 2014
1
0