Ffmpeg-devel-irc
Threads by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
August 2014
- 1 participants
- 60 discussions
[02:44] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:8f6d36b3cb8e: avutil/mem: document NULL related saftey of av_freep()
[03:12] <cone-293> ffmpeg.git 03Justin Ruggles 07master:fbc0b8659967: lavr: Do not change the sample format for mono audio
[03:12] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:c62fea75747d: Merge commit 'fbc0b8659967ea54a8472b5f795270d38bb085dd'
[03:12] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:05ff1a2c05d3: swresample/swresample: Treat mono as planar
[03:17] <jamrial> michaelni: you forgot to remove the old spp dependencies from configure
[03:18] <jamrial> wait, scratch that. they are needed for avdct
[03:49] <cone-293> ffmpeg.git 03Luca Barbato 07master:6a463e7fb4f0: http: Refactor http_open_cnx
[03:49] <cone-293> ffmpeg.git 03Rodger Combs 07master:c2a170ac0ddd: avformat/http: fix tls/tcp protocol after a 302 move in https
[03:49] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:b4d4f8f8266e: Merge commit '6a463e7fb4f028c52d2e2d054f9483f4fff492bc'
[04:05] <cone-293> ffmpeg.git 03Janne Grunau 07master:07d8fa58121b: fate: add informative cpu test
[04:05] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:01fc6533aa41: Merge commit '07d8fa58121be8fe315bd51ab760547fe209a745'
[04:13] <cone-293> ffmpeg.git 03Janne Grunau 07master:caf5ef852bf7: cpu-test: test av_cpu_count
[04:13] <cone-293> ffmpeg.git 03Janne Grunau 07master:ac6b95dbc0b5: aarch64: add ',' between assembler macro arguments where missing
[04:13] <cone-293> ffmpeg.git 03Janne Grunau 07master:a238b83b1364: aarch64: use MACH-O const data asm directive in const macro
[04:13] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:7fd7aa6b2b84: Merge commit 'caf5ef852bf71984d3322bbeaf48cfb04ac8255f'
[04:14] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:7fd60d1e7ad0: Merge commit 'ac6b95dbc0b53b3ea461bd5e5e7f7f31d2983733'
[04:14] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:66eacd55807c: Merge commit 'a238b83b13640e3192d7d4aaad2242f13a9a84a1'
[04:21] <cone-293> ffmpeg.git 03Anton Khirnov 07master:f89d76c10355: mpeg4video: Initialize xvididct for all threads
[04:21] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:2aeeb3ba1f4f: Merge commit 'f89d76c10355242c39b08f253c1d1524f45ef778'
[04:40] <cone-293> ffmpeg.git 03Diego Biurrun 07master:c065f4a0c652: huffyuv: K&R formatting cosmetics
[04:40] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:c1e7fb60d1ea: Merge commit 'c065f4a0c652cc569c927c95148111b3aa2962dc'
[04:48] <cone-293> ffmpeg.git 03Diego Biurrun 07master:b7616f5716dc: huffyuv: Eliminate some pointless casts
[04:48] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:e9cd8f4d20cf: Merge commit 'b7616f5716dce68c749d5dfeab19cf595a11807c'
[04:58] <cone-293> ffmpeg.git 03Diego Biurrun 07master:3160bdc7f7bc: huffyuv: Use avpriv_report_missing_feature() where appropriate
[04:58] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:2b9044a6f0b0: Merge commit '3160bdc7f7bc27bb67561270b4e730cd2d844afd'
[05:04] <cone-293> ffmpeg.git 03Diego Biurrun 07master:6234058148d6: huffyuv: Return proper error codes
[05:04] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:d5fde13bd226: Merge commit '6234058148d6e1ee765913b678a22385a87bffac'
[05:31] <cone-293> ffmpeg.git 03Diego Biurrun 07master:d0393d79bc3d: huffyuv: Check and propagate function return values
[05:31] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:2793b218bdd5: Merge commit 'd0393d79bc3d61c9f2ff832c0e273b7774ff0269'
[06:12] <cone-293> ffmpeg.git 03Kieran Kunhya 07master:1ef9e8376466: avcodec: Deprecate dtg_active_format field in favor of avframe side-data
[06:12] <cone-293> ffmpeg.git 03Kieran Kunhya 07master:2a3c36e920d9: Deprecate AFD field and add AFD as side-data
[06:12] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:71d008ebe4f9: Merge commit '1ef9e8376466bb1e2c147e47554b94cab9c8b04a'
[11:36] <zenderz> hi all. running ffmpeg 2.3 on a mips32 platform and getting a segmentation fault. ran gdb and by the backtrace it looks like av_fast_realloc is being called recursively just before the seg fault. any ideas?
[11:37] <ubitux> maybe a realloc of a malloc'ed area
[11:47] <zenderz> okay will add some debug to see exactly what occurs
[12:14] <zenderz> can someone explain to me the concept behind MEMALIGN_HACK
[12:18] <ubitux> zenderz: it's for plateforms that don't support posix_memalign()
[12:18] <ubitux> so in order to get an aligned buffer, a normal malloc() is done
[12:18] <zenderz> thanks
[12:18] <ubitux> and shifted by the necessary amount to get an aligned address
[12:19] <ubitux> and there is a backpointer thing stored for free
[12:42] <zenderz> hmm. still getting the seg fault with that enabled. seems like i was on the wrong track
[12:49] <cone-125> ffmpeg.git 03Diego Biurrun 07master:bb41115d5693: imgutils: Do not declare avpriv_set_systematic_pal2 in the public header
[12:49] <cone-125> ffmpeg.git 03Michael Niedermayer 07master:22a0249debb1: Merge commit 'bb41115d56930b9f5d59e79dca254d1201246967'
[13:26] <zenderz> seems to be happening in ff_av_fast_realloc
[13:26] <zenderz> Program received signal SIGSEGV, Segmentation fault. 0x7711e764 in ff_av_fast_realloc (ptr=0x0, size=0x0, min_size=0) at libavcodec/utils.c:130
[13:26] <ubitux> what's the full backtrace?
[13:28] <zenderz> http://pastebin.com/jUQY1ppe
[13:28] <ubitux> lol
[13:28] <ubitux> how do you trigger that?
[13:28] <zenderz> lol. just ran ffmpeg -i testinput.mpg
[13:29] <ubitux> what's ff_av_fast_malloc?
[13:29] <zenderz> what do you mean?
[13:29] <ubitux> what is that function defined?
[13:29] <zenderz> let me check
[13:30] <ubitux> s/what/where/
[13:32] <ubitux> ff_av_fast_realloc doesn't exist (and never did) in ffmpeg afaict
[13:33] <zenderz> in utils.c
[13:33] <zenderz> http://pastebin.com/AJcBsGu2
[13:34] <nevcairiel> might be a weird result of symbol versioning
[13:34] <zenderz> remember i am xcompiling for mips
[13:34] <nevcairiel> sounds like symbol versioning went wrong though, as it calls itself again
[13:34] <zenderz> ah so you think i cant trust the gdb output
[13:36] <zenderz> strange because the seg fault happens almost immediately
[13:37] <zenderz> http://pastebin.com/VrQ1pspG
[13:39] <cone-125> ffmpeg.git 03Michael Niedermayer 07master:7d03732f7e60: ffmpeg: Do not fail if a demuxer and decoder use the same option identifer
[13:39] <cone-125> ffmpeg.git 03ePirat 07master:e3dc2c86fc41: libavformat: Add Icecast protocol
[13:47] <zenderz> any pointers on how i can debug this further?
[13:48] <ubitux> well you probably want to debug the FF_SYMVER thing
[13:56] <zenderz> is it a mapping for function pointers?
[13:57] <nevcairiel> isnt there a configure option to disable symver, might try and see what happens
[13:59] <zenderz> okay i just build with shared disabled and i dont get the segmentation fault anymore
[14:02] <zenderz> can someone explain to me how FF_SYMVER is supposed to work
[14:05] <ubitux> it was introduced in http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=b462d13262f1a1d88c0898… it seems
[14:15] <kurosu> zenderz: shared failing? sorry to ask the obvious, but are you sure the proper, newest libraries were loaded? eg not some older/unversioned one (from system)
[14:16] <zenderz> pretty sure. but since shared is failing and non-shared is working, im guessing I could have made a mistake along the way. I'm going to retry and will give feedback
[14:18] <kurosu> the fact that these symbols were decorated by versioning looks strange
[14:22] <cone-125> ffmpeg.git 03Marvin Scholz 07master:eb9244f20210: Add Icecast protocol
[14:22] <cone-125> ffmpeg.git 03Michael Niedermayer 07master:491c52d3b077: Merge commit 'eb9244f20210fd420fb9b3c98126f9cae525d1cc'
[14:25] <kurosu> *were not
[14:32] <cone-125> ffmpeg.git 03Janne Grunau 07master:23dfa00b88fc: fate: explicitly set the default THREADS value
[14:32] <cone-125> ffmpeg.git 03Michael Niedermayer 07master:fac292b8cd4b: Merge commit '23dfa00b88fc927d4c1854ab4fc60f5c6398f3ac'
[14:46] <cone-125> ffmpeg.git 03James Almer 07master:b1a44e6bf5e2: x86/hevc_mc: remove an unnecessary pxor
[15:03] <cone-125> ffmpeg.git 03James Almer 07master:b7863c972c93: x86/hevc_mc: use fewer instructions in hevc_put_hevc_{uni, bi}_w[24]_{8, 10, 12}
[17:10] <ubitux> michaelni: the current factorization is supposed to be quite stable numerically, at least that's what the paper says :p
[17:11] <ubitux> it doesn't cover the final scaling, so i did integrate it in the most stupid way; i'll try to merge it automatically in the appropriate place
[17:11] <ubitux> and then apply
[17:33] <ubitux> BBB: ah fuck, replied to you directly
[17:33] <ubitux> :p
[17:43] <michaelni> ubitux, sure, ok, just dont wait for month just because it can be optimized further
[17:54] <cone-891> ffmpeg.git 03Christophe Gisquet 07master:e8c003edd259: x86: hevc_deblock: remove unnecessary masking
[18:23] <cone-891> ffmpeg.git 03Michael Niedermayer 07master:4e855c11b50b: avformat/util: change av_find_default_stream_index() to use a score based system
[18:53] <kurosu> BBB: should xmm6+ be callee-saved under macos x ?
[19:01] <kurosu> BBB: nevermind, it's identical to AMD64/linux
[19:05] <rcombs> ubitux: ninja'd me on that reply
[19:06] <rcombs> kurosu: I enjoy how x86inc.asm lets me not worry about that :)
[19:10] <rcombs> ubitux: query: if a complete index is unavailable and packets ` frames, could ffmpeg parse-but-not-decode the video stream for a speed boost?
[19:11] <wm4> rcombs: uh well, ffms2 is a lib that can index a file
[19:11] <wm4> and normally, number of frames is equivalent to the number of packets for video
[19:12] <wm4> and parsing would require reading the whole file anyway
[19:12] <wm4> but it'd be faster perhaps
[19:12] <rcombs> wm4: yeah, but reading is generally faster than decoding
[19:12] <wm4> but certainly should be an optional feature
[19:12] <rcombs> clearly
[19:13] <wm4> actually it would help greatly with all these semi-broken containerless audio formats (mp3, tta...)
[21:02] <Daemon404> oh damn my icl instances have been locked for liek 2 weeks
[21:02] <Daemon404> due to power outage which left a lock file aorund
[21:02] <Daemon404> nevcairiel, ah fuck... strip.exe segfaults
[21:03] <Daemon404> with my 4.9.1 chain
[21:03] <Daemon404> wtf?
[21:08] <nevcairiel> Mine works
[21:09] <Daemon404> it only degfaults during oen configure check
[21:09] <Daemon404> if you have dialogues off you may have simply not noticed
[21:09] <nevcairiel> But then again its built with 4.8
[21:09] <Daemon404> true
[21:09] <Daemon404> mine is 4.9.1 all the ay
[21:23] <cone-891> ffmpeg.git 03Kostya Shishkov 07master:5420099cab1e: swscale: correctly pad destination buffer in rgb conversion
[21:23] <cone-891> ffmpeg.git 03Michael Niedermayer 07master:8862c49661fb: Merge commit '5420099cab1e915b191cceccec4364f54cec6e52'
[21:33] <cone-891> ffmpeg.git 03Luca Barbato 07master:d2962e9f89cc: pixdesc: Support pixelformat aliases
[21:33] <cone-891> ffmpeg.git 03Michael Niedermayer 07master:073c074447c2: Merge commit 'd2962e9f89cca6ff40f0c9d5ffc9c4397b8b1b26'
[21:38] <cone-891> ffmpeg.git 03Vittorio Giovara 07master:e0d73fda3617: avutil: add alias names for gray 8/16 colour spaces
[21:38] <cone-891> ffmpeg.git 03Michael Niedermayer 07master:0b25261d29c6: Merge commit 'e0d73fda361729d207e51fa2afd8ba6102e58d98'
[22:06] <cone-891> ffmpeg.git 03Vittorio Giovara 07master:e96c3b81cadd: avutil: rename AV_PIX_FMT_Y400A to AV_PIX_FMT_YA8
[22:06] <cone-891> ffmpeg.git 03Michael Niedermayer 07master:4c8bc6fdee95: Merge commit 'e96c3b81cadd0ba84d43b1f3a54980df3785d9a5'
[22:13] <ubitux> michaelni: so, merging the scaling with the previous op:
[22:13] <ubitux> 21880 decicycles in before, 4194020 runs, 284 skips
[22:13] <ubitux> 20836 decicycles in after, 4194086 runs, 218 skips
[22:13] <ubitux> so yeah that's kinda better
[22:13] <ubitux> (http://pastie.org/9445297)
[22:13] <ubitux> assuming that's what you meant?
[22:15] <michaelni> ubitux, yes
[22:19] <ubitux> michaelni: do you want other changes/optim before i apply this version?
[22:23] <cone-891> ffmpeg.git 03Vittorio Giovara 07master:e9abafca278f: avutil: add AV_PIX_FMT_YA16 pixel format
[22:23] <cone-891> ffmpeg.git 03Michael Niedermayer 07master:6017c9803607: Merge commit 'e9abafca278f87e1ecc6d50091d99b73ff63c9a6'
[22:24] <michaelni> ubitux, id say its better to apply and if you want obfuscate/optimize it more after that, that would also allow us to bisect if some numerical stability issues end up being introduced
[22:24] <ubitux> ok thanks
[22:31] <ubitux> Timothy_Gu: ping
[22:33] <cone-891> ffmpeg.git 03Vittorio Giovara 07master:f84a1b597c29: swscale: support AV_PIX_FMT_YA16 as input
[22:33] <cone-891> ffmpeg.git 03Michael Niedermayer 07master:2f5bf2f7f20f: Merge commit 'f84a1b597c29dc035b8d5529ef88c2d7ff057820'
[22:37] <cone-891> ffmpeg.git 03Vittorio Giovara 07master:2257165bff24: png: disable broken MMX/SIMD code for bpp <= 2
[22:37] <cone-891> ffmpeg.git 03Michael Niedermayer 07master:e1795bc38089: Merge commit '2257165bff243534982f4ddabae4e65e2a35f2ab'
[22:45] <cone-891> ffmpeg.git 03Vittorio Giovara 07master:e64f0bf2d2b1: png: support reading gray+alpha at 16 bits
[22:45] <cone-891> ffmpeg.git 03Michael Niedermayer 07master:59412e3a0703: Merge commit 'e64f0bf2d2b1347ec9461f0e82852a62e8c6ffbe'
[22:50] <cone-891> ffmpeg.git 03Vittorio Giovara 07master:bcc5f69b33e2: tiff: support reading gray+alpha at 16 bits
[22:50] <cone-891> ffmpeg.git 03Michael Niedermayer 07master:47080b6d1703: Merge commit 'bcc5f69b33e27b5e11aaea8304ee02f8d895cdab'
[22:57] <cone-891> ffmpeg.git 03Carl Eugen Hoyos 07master:60cbd6ad84de: tiff: support reading gray+alpha at 8 bits
[22:57] <cone-891> ffmpeg.git 03Michael Niedermayer 07master:8f83fb99912f: Merge commit '60cbd6ad84de0931314030b81df87b69d6196587'
[00:00] --- Tue Aug 5 2014
1
0
[00:13] <yepardo> hi
[00:14] <yepardo> any URL for downloading a ffmpeg .deb package?
[00:15] <c_14> http://www.deb-multimedia.org/ is the closest you'll get for a while
[00:16] <yepardo> thanks! :)
[00:17] <satanist> if you can build a package by your own you can use git://anonscm.debian.org/collab-maint/ffmpeg.git
[00:18] <yepardo> ok i'll try
[06:44] <MarcelvanLeeuwen> morning!
[06:57] <pekman> morning
[08:11] <MarcelvanLeeuwen> with -map option i can select streams. I do this with a script. Sometimes there are 3 streams and sometimes 4 streams. How can automate this selecting?
[10:43] <termos> What would be the correct way to count the gop in my program? What I'm doing now is counting frames between every time my AVPacket.flag & AV_PKT_FLAG_KEY is set
[10:44] <termos> It is not honoring my keyint_min though. I keep getting some cases where the GOP is lower than keyint_min, sometimes I get a gop of 3-4 frames
[10:45] <termos> and I have scenecut=0, so it should not insert any I-frames on scenecuts.
[10:50] <DopeLabs> -force_key_frames maybe?
[10:53] <termos> ah that sounds like what I want! Just need to figure out how to set it using the C library
[11:33] <zenderz> hi all. is there an active ffmpeg-devel channel?
[11:34] <DopeLabs> yes
[11:34] Action: DopeLabs points at topic
[11:34] <zenderz> doh. thanks
[13:31] <termos> I doesn't seem like x264 is using any B-frames, I only get Slice:P or Slice:I in the output of my transcoding. Any ideas?
[13:32] <termos> I'm using medium preset and main profile
[13:54] <Mavrik> maybe your gop is too low? or are you manually setting frame type?
[13:54] <Mavrik> since I see you're using the API - are you signaling GOP to x264 correctly?
[14:16] <termos> I am setting gop to 75 and framerate is 25. I think I'm signaling it correctly, I recompiled x264 with some printing and my keyint_min value is propagating into x264 correctly
[14:20] <termos> Seems the problem could be related to my gop being too small, setting it to 125 and I never get a lower gop than my keyint_min anymore.
[14:20] <termos> Do you know the reason for this?
[18:34] <tytan> hey ^^ I changed the container of a file from mkv to mp4 but I lost the subtitles. is there a way to keep them?
[18:39] <kaotiko> hi
[18:43] <c_14> tytan: Technically yes, but mp4 is rather choosy when it comes to supported formats.
[18:45] <tytan> ffmpeg -i /Users/sky/Movies/\[HorribleSubs\]\ Sword\ Art\ Online\ II\ -\ 04\ \[720p\].mkv -vcodec copy -acodec copy _c:s mov_text /Users/sky/Movies/\[HorribleSubs\]\ Sword\ Art\ Online\ II\ -\ 04\ \[720p\].mp4
[18:45] <tytan> thats what i tried
[18:46] <c_14> _c:s should be -c:s
[18:46] <JEEB> well you can't just copy ASS subs into mp4
[18:47] <JEEB> 1) convert them to basic 3GPP Timed Text (only officially supported subtitle format) 2) Hardcode the subtitles (for this mpv's encoding capabilities are simpler to use than the ass filter in FFmpeg)
[18:48] <tytan> ok, thank you :)
[20:28] <voip1__> hello guys
[20:28] <voip1__> i am transcoding live stream and sending to streamer. Every day (i don't know why, may be input stream error) my ffmpeg hands 2-3 times
[20:28] <voip1__> and i should monitoring and restarting ffmpeg service.
[20:28] <voip1__> Is there any way keep running ffmpeg, even if we don't have input stream?
[20:29] <DopeLabs> if there are no input.. why have it running
[20:31] <llogan> i've seen several people ask this question (but i don't know an answer).
[20:33] <DopeLabs> how about a shell script that fires every * to see if that ffmpeg process is running, and if its not, to try and start it. using -shortest will help insure that ffmpeg stops whenever the first input source is complete
[20:34] <Bombo> hi
[20:35] <voip1__> DopeLabs, when input stream recovers output will recovers automaticaly, wituut restarting ffmpeg
[20:36] <DopeLabs> i guess it also depends on what the behavior of the source server is.. if they disconnect clients auto or let them idle
[20:39] <relaxed> maybe open a fifo or file descripter
[20:40] <jnvsor> voip1__: Can you take a blank color output and overlay the stream on it? Idk if ffmpeg will restart it but that might work
[20:41] <voip1__> jnvsor, yes !
[20:43] <Bombo> can i get rid of the 'Invalid pixel aspect ratio 1611/1616, limit is 255/255' msgs while encoding? i don't see the stats line... http://pastebin.com/RuectweA
[20:46] <llogan> Bombo: you can use a less verbose loglevel, or try mpeg4 instead of libxvid
[20:55] <Bombo> llogan: ok mpeg4 seems to be less noisy, whats the diff between libxvid and mpeg4? other lib ok, and featurewise?
[20:57] <Bombo> hmm mpeg4 seems to be a bit faster, with libxvid i got ~110 fps, mpeg4 ~160 fps
[20:57] <llogan> i don't know. "mpeg4" is the native mpeg-4 part 2 video encoder.
[20:57] <llogan> you can look at "ffmpeg -h encoder=mpeg4" and =libxvid to see if there are any obvious differences
[20:58] <llogan> mpeg4 supports slice-level multithreading. i'm not sure about libxvid
[21:02] <Bombo> hmkay
[21:02] <Bombo> and how about the loglevel
[21:03] <Bombo> with '-loglevel warning' i see just the 'Invalid pixel aspect ratio' msgs ;)
[21:03] <Bombo> can i say everything except warning?
[21:09] <Bombo> probably not
[21:39] <lovesax> hi
[21:39] <lovesax> hope to get some help on vp8 encoding from h264
[21:39] <lovesax> http://pastebin.com/jPnGcwpq
[21:40] <lovesax> the h264 stream works fine, but when trying to transcode to vp8, a bunch of errors occur. The resulting video is horrible, and after a while stops. Anyone have any idea why?
[21:41] <Bombo> i compiled ffmpeg myself, but libxvid is linked dynamically into the ffmpeg binary, even when configure says 'shared no' ... just because there is a .so, hm and i don't see a --disable-shared option in libxvid ...
[21:55] <Mavrik> lovesax, your encoder can't keep up with the input
[21:55] <Mavrik> [NULL @ 0x37bd780] RTP: missed 31 packets
[21:55] <Mavrik> spamming.
[21:57] <lovesax> OK, thanks Mavrik. I just figured it might have to do with network issues (buffer sizes), but it makes sence.
[21:58] <Mavrik> yes, buffer issues can also cause that
[21:58] <Mavrik> but usually you don't get that consistently then
[21:58] <Mavrik> also, libvpx is SIGNIFICANTLY slower than x264
[21:58] <lovesax> OK. I just turned the resolution way down and then the it works, at least
[21:58] <Mavrik> especially if you don't pass speed parameters so you're probably just runinng out of CPU
[21:58] <lovesax> OK, I'll look in to it
[21:58] <lovesax> thanks!
[22:05] <lovesax> Mavrik: Absolutely a cpu issue
[22:06] <lovesax> wow
[22:06] <Mavrik> try tweaking AVOptionVideo cpu-used 0
[22:06] <Mavrik> and AVOptionVideo quality good
[22:06] <Mavrik> in libvpx, see libvpx doc on what they do
[22:06] <lovesax> ok, thx
[23:34] <voip1__> guys, di you planing GPU's support for ffmpeg?
[23:35] <sacarasc> I have been told that GPUs aren't too good at encoding...
[23:35] <voip1__> hm, realy?
[23:35] <voip1__> intresting
[23:36] <sacarasc> I may be remembering wrongly, though.
[23:36] <sacarasc> I think it was JEEB who said so.
[23:37] <DopeLabs> why would a graphics gpu be no good at encodeing
[23:37] <DopeLabs> hehe
[23:37] <voip1__> today, many transcoders supports GPU
[23:38] <DopeLabs> and ffmpeg has hardware accell support
[23:41] <sacarasc> http://ffmpeg.gusari.org/irclogs/2014/04/23/ffmpeg.log.20140423 starting at 09:43 seems to be an answer.
[00:00] --- Tue Aug 5 2014
1
0
[00:02] <cone-932> ffmpeg.git 03Clément BSsch 07master:ee7ee9b1b4c9: avcodec/mpeg12dec: fix vissible typo after 17c65651
[00:49] <Timothy_Gu> michaelni: you know you can scroll to the right, right?
[00:51] <Timothy_Gu> michaelni: I just tested on Nexus 7 with Chrome and iPhone 5s, the scrolling works.
[00:54] <michaelni> Timothy_Gu, on my old old android phone the scrolling works but it doesnt show the rest of the table
[00:54] <Timothy_Gu> what do you mean?
[00:55] <Timothy_Gu> horizontal or vertical?
[00:55] <michaelni> scrolling to the right
[00:57] <michaelni> depending on the orientation of the phone i can see differntly far to the right but its never the complete table
[00:58] <michaelni> Timothy_Gu, actually i can see the whole table when i zoom out
[00:59] <Timothy_Gu> michaelni: well I can't reproduce the problem here.
[01:00] <Timothy_Gu> Here's how it should be: http://imgur.com/eoAbg9p
[01:00] <Timothy_Gu> http://imgur.com/RqBpus2
[01:00] <Timothy_Gu> What Android version are you using, and which browser?
[01:03] <michaelni> i dunno but i think its some old webkit thing
[01:04] <Timothy_Gu> probably. For the record I also tested with an iPhone 4s with iOS 6 and it works too.
[02:39] <jamrial> ubitux: i started to port the sad and vsad functions from me_cmp a month ago but got distracted with other things
[02:39] <jamrial> i can give you what i have if you were planning on doing the same
[03:24] <cone-575> ffmpeg.git 03Michael Niedermayer 07master:2e6fdcb7f3c8: avformat/tee: flip assigment direction
[05:15] <cone-575> ffmpeg.git 03James Almer 07master:d0f56ca07101: x86/hevc_deblock: improve 8bit transpose store macros
[06:09] <rcombs> what makes FDKAAC "nonzero"? https://github.com/mstorsjo/fdk-aac/blob/master/libFDK/src/FDK_bitbuffer.cp… I'm no expert, but I don't see anything making this GPL-incompatible
[06:10] <rcombs> erm, "nonfree"
[06:15] <jamrial> ubitux: http://www.agner.org/optimize/instruction_tables.pdf page 100
[06:15] <jamrial> apparently, both versions would be pretty much the same
[06:24] <j-b> rcombs: "You may use this FDK AAC Codec software or modifications thereto only for purposes that are authorized
[06:24] <j-b> by appropriate patent licenses."
[06:24] <j-b> rcombs: limitation of use, not compliant with GPLv2 paragraph 0
[06:26] <rcombs> ah, I missed that
[06:26] <rcombs> (they hid it in a separate section :/)
[06:26] <j-b> "You may not charge copyright license fees for anyone to use, copy or distribute the FDK AAC Codec software or your modifications thereto." is a possible violation of the GPL section 2 or 3
[06:27] <rcombs> isn't that almost the same as LGPL 2c?
[06:28] <j-b> well, I don't think so
[06:28] <j-b> because you're allowed to charge for distribution of GPL soft
[06:29] <rcombs> it specifically says "copyright license fees"; LGPL2 2c says "c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License."
[06:29] <j-b> licensed
[06:29] <j-b> not distribution
[06:29] <j-b> but I agree with you, that this is probably just a poor wording
[06:29] <j-b> and could be ignored.
[06:30] <rcombs> as for the patent clause, I'm going to email them and ask about removing it, because it's probably really meant to be meaningless (i.e. doesn't say anything your own local law doesn't already)
[06:31] <j-b> GPLv2 3.b "for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code"
[06:31] <j-b> but there is still a cost
[06:32] <j-b> rcombs: that would be nice...
[06:32] <j-b> rcombs: but we asked many times
[06:32] <rcombs> so the question is whether the FDKAAC license's "no copyright license fee" is meant to include the cost of redistribution
[06:34] <j-b> this is one quetion
[06:34] <j-b> and the limitation of use, is another one
[06:35] <rcombs> and the bigger one :\
[06:35] <j-b> and we asked, fraunhoffer and Google
[06:35] <j-b> and nothing changed
[06:36] <rcombs> well, certainly no harm in asking again from a different position
[06:37] <j-b> rcombs: clearly
[06:50] <rcombs> well, sent off an email to Fraunhofer; if I don't hear back from them, I'll poke my developer advocate at Google and tell her that resolving the issue would improve audio quality in our Chromecast app
[07:06] <j-b> rcombs: you know that we discussed about this matter with Head Open Source @Google, right?
[07:07] <rcombs> well, now I know that :3
[07:09] <rcombs> j-b: did their response at the time seem more like "don't care" or "can't do anything"?
[07:13] <j-b> rcombs: can't do anything, use vo_aacenc
[07:13] <rcombs> welp
[08:11] <Timothy_Gu> rcombs: FFmpeg native AAC encoder with http://trac.ffmpeg.org/attachment/ticket/2686/aac-improvements-wip-v8g.patch is probably better than vo-aacenc
[08:11] <Timothy_Gu> even without iit t is better
[08:11] <rcombs> Timothy_Gu: yup, aware
[11:31] <cone-575> ffmpeg.git 03Stefano Sabatini 07master:ac1e3882cce5: doc/ffserver: merge paragraph starting with "What happens next?" with previous one
[11:41] <cone-575> ffmpeg.git 03Michael Niedermayer 07master:7dbc27dc1dd3: avcodec/takdec: move tmp declaration to where its used
[11:41] <cone-575> ffmpeg.git 03Michael Niedermayer 07master:4fed0198216d: avcodec/takdec: remove unused variable
[13:31] <kierank> rcombs: make them support opus on Chromecast :)
[13:54] <kierank> oh they do
[13:54] <kierank> then use opus =p
[13:58] <nevcairiel> how fast is the opus encoder?
[14:02] <kierank> it has no x86 asm
[14:02] <kierank> but it's audio
[14:07] <nevcairiel> currently I also stream mpegts in HLS in my chromecast setup, wonder what else I could use for live streaming that allows for opus usage easier
[14:08] <nevcairiel> maybe it does fragmented mp4
[14:21] <cone-575> ffmpeg.git 03Michael Niedermayer 07master:b4d525eb6346: avcodec/pnm: check buf[0] before using buf[1]
[14:33] <kierank> opus is only supported in web
[14:33] <kierank> m
[18:24] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:fee982048e33: avformat/mux: flush after header writing, like after packets
[18:24] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:6cdf409884bd: avformat/mpegtsenc: do not flush after everything
[18:35] <cone-293> ffmpeg.git 03Diego Biurrun 07master:7835c24e19d9: dv: Update DV-profile-related functions to current public API
[18:35] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:b7f8d3de2c41: Merge commit '7835c24e19d9e1cb43fba5a02ce9d81d518f1300'
[18:46] <ubitux> michaelni: so it seems you got your lens correction filter you asked me when doing the vignette filter :))
[18:48] <cone-293> ffmpeg.git 03Diego Biurrun 07master:df507d5aa063: tiff: Replace deprecated PIX_FMT names by modern ones
[18:48] <rcombs> nevcairiel: late reply, but we totally cheat at Chromecast and stream MKV
[18:48] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:149c1a26c4c1: Merge commit 'df507d5aa063c2ce31fac9f76c6f3bbe9a20c445'
[18:48] <michaelni> ubitux, :) havnt tried it yet though
[18:49] <rcombs> nevcairiel: they don't advertise support, but they use lavf for the demuxer and aren't picky about codecs, so H.264+AAC-in-mkv is fine
[19:05] <rcombs> also, just did a quick and highly-unscientific test, and found that libopus outperformed FDKAAC, but was beaten by ffmpeg's native AAC, in terms of speed
[19:05] <rcombs> (but it's audio, and all 3 encoded 22 minutes of stereo in less than 35 seconds, so it doesn't matter much anyway)
[19:06] <cone-293> ffmpeg.git 03Diego Biurrun 07master:c697c590fbf2: lcl: Disentangle pointers to input data and decompression buffer
[19:06] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:2212bff9a276: Merge commit 'c697c590fbf296b1679b80c8f4071e4c8a6c884b'
[19:17] <cone-293> ffmpeg.git 03Diego Biurrun 07master:c6a1ac2dd980: vf_fps: Replace use of deprecated AVFilterBufferRef by AVFrame
[19:17] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:e896a5bdd6c3: Merge commit 'c6a1ac2dd9808a4753dd005ab5747dda68ab454f'
[19:25] <cone-293> ffmpeg.git 03Diego Biurrun 07master:6a928293dd29: examples: filter_audio: Add missing mem.h header for av_freep()
[19:25] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:f1d6fc779450: Merge commit '6a928293dd29c7f0dcf09107980a1d651c9957df'
[19:39] <kierank> rcombs: how do you know it uses lavf
[19:40] <kierank> oh it goes through chrome i guess
[19:45] <rcombs> kierank: yup, that and that it displays some lavf issues :3
[19:45] <cone-293> ffmpeg.git 03Diego Biurrun 07master:072916d903d3: filtfmts: Replace deprecated uses of AVFilterPad
[19:45] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:85aaa4e6d571: Merge commit '072916d903d3a925bcd0c864f12254157cab63c1'
[19:46] <wm4> rcombs: what issues?
[19:46] <rcombs> e.g. if the first video frame is more than 5 seconds into the file, it plays black because it uses the default analyzeduration
[19:46] <wm4> how can it play "black"?
[19:47] <rcombs> wm4: as in, the <Video> remains solid black while the audio plays
[19:47] <wm4> but why? I'm pretty sure lavf doesn't generate black frames...
[19:48] <rcombs> no, that's just what Chrome does if it can't decode a video stream
[19:48] <wm4> ah
[19:48] <wm4> sounds reasonable
[19:48] <rcombs> same behavior you get if you put an audio file in a <video>, or give it a video file with no supported video streams
[19:55] <cone-293> ffmpeg.git 03Diego Biurrun 07master:bad81800bb51: avcodec: options: Add missing deprecation ifdefs around emu_edge
[19:55] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:76aec9e6b4a2: Merge commit 'bad81800bb51f43d28d656abf5d45b477e3b3198'
[20:25] <ubitux> yay, automatic factorization of dct done \o/
[20:33] <ubitux> http://b.pkh.me/dct4.c http://b.pkh.me/dct8.c http://b.pkh.me/dct16.c http://b.pkh.me/dct32.c
[20:33] <ubitux> automatically generated ^
[20:34] <ubitux> (with scaling)
[20:34] <ubitux> i could try to replace with the floats with some constants, but that's not exactly simple to do
[20:34] <ubitux> anyway, i got what i needed
[20:35] <Mavrik> ooo.
[20:36] <nevcairiel> kierank: what about the AFD code in h264? Going to convert that as well to side data?
[20:36] <kierank> afaik there isn't afd h264 support
[20:36] <nevcairiel> Its in the code
[20:36] <nevcairiel> I saw it when I poked CC extract
[20:37] <nevcairiel> At least in FFmpeg, no idea about libav
[20:37] <kierank> ah only in ffmpeg
[20:37] <kierank> yeah
[20:38] <kierank> this is where my strategy of submitting to both projects breaks down
[20:48] <kierank> probably when libav is merged I'll submit an ffmpeg-only patch
[20:48] <kierank> sigh
[21:00] <cone-293> ffmpeg.git 03Diego Biurrun 07master:9f17685dfb70: avcodec: Deprecate unused defines and options
[21:00] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:9400603140db: Merge commit '9f17685dfb70a73823aca16ad246ee3b831d1de8'
[21:33] <ubitux> yay, dctdnoiz almost twice as fast, even with 2 murders memcpy per block
[21:34] <ubitux> i wonder if i can somehow drop the scaling
[21:51] <BBB> memcpy is indeed murder, bad you!
[21:57] <ubitux> i'm fixing that
[22:01] <ubitux> it actually makes no difference in speed
[22:01] <ubitux> which is fun
[22:05] <wm4> memcpy was innocent all along!
[22:06] <ubitux> :)
[22:07] <ubitux> code is simpler so i'll keep without
[22:56] <kierank> michaelni: thanks
[22:56] <kierank> but not related to opus
[23:45] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:e680c731a213: avcodec/avdct: Add get_pixels()
[23:45] <cone-293> ffmpeg.git 03Michael Niedermayer 07master:a7e87fef214c: avfilter/vf_spp: Use dct->get_pixels()
[00:00] --- Mon Aug 4 2014
1
0
[00:43] <Nopik> I'm playing with AVFrame*, I'm getting frames with format=300, how to figure out which format it is? AVPixelFormat doesn't seem to reach 300
[00:45] <Nopik> well, actually it does reach 317
[00:45] <Nopik> is there any to_string() kind of function on pixel format?
[00:48] <Nopik> av_get_pix_fmt_name, thanks! ;)
[03:47] <x0fis> hi. when I scale input which have another aspect ratio than output, it will loss part off video. is possible fill space with black color instead losing?
[03:47] <x0fis> *which has
[03:48] <sacarasc> It will stretch, I believe.
[03:50] <x0fis> sacarasc: no it doesn't. it made only part of input file(which is image)
[03:53] <x0fis> sacarasc: ok sorry, it does
[03:55] <x0fis> it wasn't visible on the monitor
[10:29] <Fjorgynn> welcome
[11:09] <slowguy> http://fpaste.org/122821/07056899/ i try to output to ftp server but ffmpeg says input/ouput error :(
[11:11] <ersatzbeardr> like i said the other day
[11:11] <ersatzbeardr> why not let a network file system handle it
[11:11] <ersatzbeardr> isntead of using one of the worst protocols ever invented
[11:11] <ersatzbeardr> hurr i grew up with ftp it must be great
[11:11] <ersatzbeardr> ^ fucked in the heda
[11:11] <slowguy> oh god u again :P
[11:12] <ersatzbeardr> you realise that's reciprocative eh
[11:12] <slowguy> haha
[11:12] <ersatzbeardr> guy using a dumb protocol
[11:12] <ersatzbeardr> https://www.stunnel.org/index.html <- even something like this
[11:12] <sacarasc> slowguy: Are you using the right user/password?
[11:13] <slowguy> yes it is able to login
[11:13] <slowguy> i can see a successful login in filezilla
[11:13] <sacarasc> From ffmpeg?
[11:13] <slowguy> yes
[11:14] <slowguy> as you can see its a local filezilla server i watch the connection coming
[11:14] <sacarasc> Does the user have write permissions?
[11:14] <slowguy> and using the same id and password i can create files delete files etc with other clients
[11:15] <slowguy> i guess ffmpeg doesn't even try to create the file
[11:15] <slowguy> otherwise i would have something about that in the filezilla panel
[11:15] <sacarasc> What does the ftp logs say?
[11:16] <slowguy> http://fpaste.org/122823/40705738/
[11:16] <slowguy> this is the ftp log
[11:17] <sacarasc> You're outputting mp4?
[11:17] <sacarasc> There's the problem!
[11:17] <slowguy> yes
[11:17] <slowguy> we can't output mp4 to ftp?
[11:17] <sacarasc> It opens it and doesn't write until it is complete, because mp4.
[11:17] <sacarasc> I guess.
[11:18] <slowguy> right
[11:18] <slowguy> let me try something else .ts ?
[11:18] <sacarasc> That should work, I think.
[11:19] <slowguy> naah
[11:19] <slowguy> doesn't even try to create the file
[11:21] <slowguy> ftp://manas:mhsadmin1@127.0.0.1/hd.ts: Input/output error
[11:21] <ersatzbeardr> why not take the protocol out of the hands of ffmpeg
[11:21] <ersatzbeardr> http://curlftpfs.sourceforge.net/
[11:21] <ersatzbeardr> ftp is still dumb as shit but
[11:21] <sacarasc> slowguy: Can you add a few levels of verbosity to the ffmpeg command, maybe it will help shed light.
[11:22] <slowguy> sacarasc: -vvv ?
[11:23] <sacarasc> ffmpeg -loglevel verbose then the rest of it
[11:23] <sacarasc> Maybe -loglevel debug
[11:26] <slowguy> http://fpaste.org/122824/07057939/ last portion of the verbose output
[11:26] <slowguy> still it is silent after loggin on
[11:26] <sacarasc> It's beyond me, then.
[11:26] <slowguy> at last message from ftp
[11:26] <slowguy> [ftp @ 0000000000485300] 421 No-transfer-time exceeded. Closing control connecti
[11:26] <slowguy> on.
[11:26] <slowguy> [ftp @ 0000000002247fe0] FTP open failed
[11:26] <slowguy> ftp://manas:mhsadmin1@127.0.0.1/hd.ts: Input/output error
[11:26] <slowguy> ffmpeg dint try to create any file :(
[11:27] <sacarasc> Try ffmpeg -i blah.mkv -c copy ftp://manas:mhsadmin1@127.0.0.1/hd.ts
[11:27] <sacarasc> If that does nothing, then I am all out of ideas.
[11:29] <slowguy> no gain..i think i just need to scrap ftp
[12:23] <xecycle> How can I know the bit depth of a pcm_bluray track? ffprobe says pcm_bluray (HDMV / 0x564D4448), 48000 Hz, stereo, s32, 2304 kb/s
[12:26] <sacarasc> Try using MediaInfo (a different program, warning, the installer on Windows will try to install crapware).
[12:27] <xecycle> sacarasc: Okay; I'm installing it from homebrew.
[12:31] <Kolizer> how to grab only window title in ffmpeg?
[12:35] <sacarasc> What do you mean?
[12:35] <Kolizer> how to grab only window title in ffmpeg?
[12:36] <sacarasc> What do you mean?
[12:36] <Kolizer> i need grab window screen
[12:37] <sacarasc> You just want to grab the title bars?
[12:38] <Kolizer> no
[12:38] <Kolizer> window
[12:38] <Kolizer> output window
[12:41] <Kolizer> how do it?
[12:41] <xecycle> Well... The term "window" seems ambiguous in the world of ffmpeg.
[12:42] <Kolizer> i know x11grab
[12:43] <xecycle> But x11grab is an input source; I don't know of anything within x11grab named "output window".
[12:44] <Kolizer> i need grab output window
[12:45] <Kolizer> ou
[12:45] <Kolizer> yes input windows
[12:47] <Kolizer> i need grab my game in window
[12:49] <xecycle> Okay so you specify an input window to x11grab, and you want its title bar, either with or without the window content. From the X11 point of view, title bars are unknown to the application drawing the windows; they are drawn by the window manager (or composite manager). So you would need to communicate with that, instead of the application, for position and dimensions of title bars; or simply specify that by hand.
[12:53] <Kolizer> what functions to use?
[12:54] <Kolizer> Just do have such an opportunity in ffmpeg
[12:54] <Kolizer> ?
[12:57] <Kolizer> I need a tool in OBS capture windows
[12:58] <xecycle> I don't know of any; nor do I think it possible. Now that there are dozens of different window managers and compositors out there, incompatible with each other, I don't think anyone will bother to do that.
[13:03] <xreal> LAV seems to be superior to ffmpeg: "ffdshow only has DXVA, it does not support CUDA." "ffdshow only uses a subset of its functionality"
[13:03] <sacarasc> Kolizer: You're using OBS?
[13:04] <Kolizer> no
[13:05] <sacarasc> To do it in ffmpeg, you have to do something like: ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0+100,200 -f alsa -ac 2 -i pulse blah.mkv
[13:05] <sacarasc> This will capture a 1024 by 768 part of whatever is showing on your screen, starting at 100 pixels from the left, and 200 from the top.
[13:06] <Kolizer> i know it
[13:08] <sacarasc> You want to be able to pick the window, like in OBS?
[13:08] <sacarasc> ffmpeg can't do that.
[13:09] <Kolizer> yes
[13:36] <holljen> hello, I'm making a video based on pictures (using -i filename%03d.png) and added a few pictures at the end of the series (series is complete). They are not picked up by ffmpeg. I've tried to touch the files to no avail.
[13:36] <holljen> any ideas?
[13:38] <Mavrik> are they of different format?
[13:39] <holljen> no, they are copies of the other pictures
[13:39] <holljen> from earlier in the series
[13:42] <holljen> I've probably made a really stupid mistake :)
[13:43] <holljen> is there a way to make ffmpeg show which input files it intends to use?
[13:45] <holljen> ah... I found it
[13:46] <holljen> I did indeed make a stupid mistake.. i had deleted an eariler frame by accident with a command line error a few hours ago :/
[13:46] <holljen> sorry about the fuzz
[14:43] <Xardas> Hello, I've got a problem with webms, every webm I create doesn't work in Firefox but works completly fine in Chrome or MPHC. I've tried both 32 and 64 bit versions and my OS is Win7Sp1.
[14:44] <ersatzbeardr> paste bin the ffprobe output
[14:47] <Xardas> okay
[14:50] <Xardas> ffprobe version N-65201-gd0f56ca Copyright (c) 2007-2014 the FFmpeg developers
[14:50] <Xardas> built on Aug 3 2014 02:15:34 with gcc 4.8.3 (GCC)
[14:50] <Xardas> configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
[14:50] <Xardas> isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
[14:50] <Xardas> le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
[14:50] <Xardas> enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib
[14:50] <Xardas> modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw
[14:50] <Xardas> b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge
[14:50] <Xardas> r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en
[14:50] <Xardas> able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
[14:50] <ersatzbeardr> no
[14:50] <ersatzbeardr> ffprobe of the fucking file
[14:50] <Xardas> yeah
[14:50] <Xardas> I highlighted too much
[14:50] <ersatzbeardr> http://dpaste.com
[14:50] <Xardas> Metadata:
[14:50] <Xardas> encoder : Lavf55.50.100
[14:50] <Xardas> Duration: 00:00:02.02, start: 0.000000, bitrate: 274 kb/s
[14:50] <Xardas> Stream #0:0: Video: vp8, yuv420p, 1280x720, SAR 1:1 DAR 16:9, 23.81 fps, 23.
[14:50] <Xardas> 81 tbr, 1k tbn, 1k tbc (default) (forced)
[14:50] <Xardas> Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp (default) (forced)
[14:50] <ersatzbeardr> paste it there
[14:50] <Xardas> Stream #0:2(eng): Subtitle: webvtt (default) (forced)
[14:51] <Xardas> http://dpaste.com/2SMTHTE
[14:52] <ersatzbeardr> not sure if it supports sub titles, that's my only guess,
[14:52] <iive> ersatzbeardr: always say "site" together with pastebin...
[14:52] <ersatzbeardr> yeah sorry
[14:52] <ersatzbeardr> i'm shit at being helpful
[14:52] <iive> or use the bot :)
[14:53] <ersatzbeardr> ahh okay
[14:53] <iive> now you know :)
[14:54] <Xardas> alright, I'll try another file and see if it changes anything
[17:30] <kaotiko> hi
[17:35] <Kolizer> kaotiko: hello
[17:49] <azk> So, FFServer ignores all -map flags from the ffmpeg command, how do I go about selecting which audio stream I want to send to FFServer?
[17:51] <c_14> ffserver can't ignore negative maps, it can however ignore positive maps if you don't specify that you want that stream in the ffserver.conf
[17:51] <azk> Oh, that's awfully rigid
[17:51] <azk> Hmm, back to the drawing board I guess
[17:53] <c_14> Well, how is it supposed to ignore a negative map if that stream never arrives at ffserver?
[17:54] <c_14> If you could describe your problem and pastebin your ffmpeg commandline and your ffserver conf, we might know more.
[17:55] <azk> Sure
[18:23] <t4nk621> Quick question, if I get the stderr or the stdout for ffplay, is it possible to get the display to output it to an external source? I am pretty sure that it's not possible doing it that way, but I was just unsure. Is there anyway I can get the visual output to display it to an external source?
[18:24] <sfan5> you can redirect it to a file like this: ffmpeg <args> 2> stderr.txt > stdout.txt
[18:24] <sfan5> (for linux)
[18:25] <azk> So, the problem arises when you want to stream from a source with 2 different audio tracks and select the one not selected by default.
[18:25] <azk> https://gist.github.com/antonva/027ff6d022664eff0657
[18:27] <c_14> -map -0:[audio stream you don't want]
[18:27] <c_14> or -map 0:[audio stream you want] -map 0:[video stream you want]
[18:28] <c_14> should do it
[18:31] <azk> I'll try that
[18:33] <t4nk621> Is there a way it can be done in real time? I want to use ffplay -showmode 1 (waves) audio.mp3 so I can show the audio waves.
[18:34] <lovesax> hi
[18:34] <Nitori> you can actually exclude streams with -map? :o
[18:37] <c_14> yep
[18:38] <lovesax> Hi, all. Any chance for asking a noobie question in here? :)
[18:41] <Nitori> but I noticed, even with -map, ffmpeg still copies a lot of metadata, like chapters and tags/comments.. is there any way to tell ffmpeg to create a *completely* new output file?
[18:41] <c_14> Asking isn't forbidden
[18:41] <c_14> yet.
[18:41] <lovesax> thanks.
[18:41] <azk> So, on trying exclusion, I get Stream map '0:1' matches no streams.
[18:42] <lovesax> I'm trying to forward an mpeg4 stream from a network camera via ffmpeg to ffserver. Plain copy. The resolution is 1920x1080, and ffmpeg says everything is OK.
[18:42] <c_14> Nitori: -map_metadata -1 iirc
[18:42] <lovesax> However, this resolution is invalid to ffserver, since it's not a multiple of 16. How come?
[18:42] <c_14> lovesax pastebin your ffmpeg commandline + output + ffserver.conf please
[18:43] <lovesax> ok
[18:44] <Nitori> c_14, you're right. thx
[18:45] <azk> c_14: https://gist.github.com/antonva/dd7f303f5f4a0151357b
[18:49] <c_14> azk: Have you tried using positive maps?
[18:50] <azk> c_14: I tried, it's just flat out ignored.
[18:50] <c_14> Can you pastebin the output and commandline with positive maps?
[18:50] <azk> Yes
[18:52] <lovesax> c_14: http://pastebin.com/YSs4Wj3u
[18:54] <azk> https://gist.github.com/antonva/8d5680c35e13369d2f07
[18:56] <c_14> lovesax: try setting video_size to 1920x1080 or 1920x1088
[18:57] <lovesax> 1920x1080 creates same result, 1088 works
[18:58] <lovesax> It may be OK to use 1088, but it's weird that a common resolution shouldn
[18:58] <lovesax> ...t work
[18:58] <c_14> iirc 1080 is padded to 1088 for things like that
[18:59] <lovesax> ah, ok
[18:59] <c_14> azk: According to the output it looks like it should work.
[18:59] <c_14> azk: Does the ffserver output have all the streams?
[19:00] <c_14> Output as in the stream output.
[19:00] <lovesax> thanks, c_14. I'll try it.
[19:00] <azk> c_14: I'll have to check
[19:00] <c_14> azk: Cause you said it ignores them, how do you know it ignores them?
[19:01] <azk> I was just looking at the Stream mapping in line 231, as well as not hearing the difference on stream
[19:02] <c_14> The stream mapping only shows 2 streams, as it should.
[19:02] <c_14> Oh, now I see.
[19:02] <c_14> Try placing the mappings before the -c:v -c:a options.
[19:02] <c_14> ie right after file.mkv
[19:02] <azk> ok
[19:02] Action: c_14 has to go away for a bit. Will be back later though.
[19:03] <azk> Ok, I'll try to figure something out in the meanwhile, thanks for the assistance.
[20:55] <jnvsor> I have a file encoded twice with different settings, can ffmpeg give me a measurement of the quality so I can see the differences between the bitrates I wouldn't notice by eye?
[20:56] <jnvsor> A sort of crf estimate?
[20:57] <Mavrik> You do know that measuring quality difference of streams you can't see is silly right? And that those measurements are pointless when codecs use psy-visual enchancements right?
[20:58] <Mavrik> Having said that and warning you that what you're doing is silly.
[20:58] <Mavrik> Use PSNR ffmpeg filter.
[20:59] <jnvsor> Mavrik: Thanks, I'm just curious
[20:59] <Mavrik> also SSIM tends to be a better metric
[21:00] <jnvsor> How would I check SSIM in ffmpeg?
[21:01] <Mavrik> *shrug*
[21:01] <Mavrik> dunno
[21:15] <jnvsor> Actually compiling the tiny_psnr from the tests folder is quicker than figuring it out in ffmpeg :P
[00:00] --- Mon Aug 4 2014
1
0
[00:25] <wm4> can ffprobe output frame type? B/I/P etc.
[00:35] <rcombs> https://trac.ffmpeg.org/ticket/3824 <-- can I bother someone to fix this real quick? It's a one-line change :D
[00:36] <jamrial> wm4: -show_frames does
[00:37] <rcombs> hah, I forgot I get my own color due to an fflogger bug
[00:38] <wm4> jamrial: oh indeed it does, I just missed that somehow
[00:39] <wm4> rcombs: you should really write a patch, instead of writing "insert blabla here in the code" in english
[00:39] <rcombs> wm4: but then they'd tell me to go to the mailing list :3
[00:39] <wm4> mailing list interaction is unavoidable for interacting with this project
[00:58] <cone-789> ffmpeg.git 03Michael Niedermayer 07master:cfdb30d2f124: avcodec/dvdsub_parser: never return 0 when the input isnt 0
[01:00] <Daemon404> most people would think signing up for a ML for a one line change is retarded.
[01:08] <hotwings> ffmpeg git down?
[01:10] <hotwings> i see, its going insanely slow
[01:26] <cone-789> ffmpeg.git 03Michael Niedermayer 07master:81c1657a593b: avcodec/dvdsub_parser: Check buf_size before reading 32bit packet size
[01:27] <cone-789> ffmpeg.git 03Michael Niedermayer 07master:bcc898dd2643: avcodec/dvdsub_parser: print message if packet is smaller than the packet size field
[01:44] <Compn> wm4 : no, mailing list is not unavoidable for this project
[01:44] <Compn> just have to make friends (or commit directly and make enemies)
[01:45] <wm4> Compn: yeah, I don't get why you have direct push access
[01:45] <wm4> it makes literally no sense
[01:45] <Compn> rcombs : if you tell me what file and what line number ...
[01:45] <Compn> wm4 : everyone in the project has direct push access
[01:45] <Compn> including you iirc
[01:46] <wm4> but you ignore going through reviews and such
[01:46] <Compn> of course, no one calls me on it :D
[01:46] <wm4> I doubt that
[01:46] <Compn> send michael your key and you're in...
[01:46] <rcombs> Compn: http.c around 231
[01:46] <Compn> oh yeah i broke my git environment somehow
[01:46] <Compn> >windows
[01:48] <rcombs> wm4: to push one-line fixes like this, perhaps?
[01:49] <Compn> ssshsshh dont give him any ideas :P
[01:49] <Compn> rcombs : any chance you have a public http that shows this problem ?
[01:49] <Compn> url i mean
[01:50] <wm4> rcombs: no, _all_ changes must go through review, that's how it's handled around here (except when it's not, which is often)
[01:50] <rcombs> Compn: I'm not sure if this is IP-keyed or something (it's definitely time-keyed), but: https://video.internetvideoarchive.net/video.mp4?cmd=6&publishedid=247434&c…
[01:51] <rcombs> (I didn't include a URL in the ticket because the only ones I have laying around are expiring)
[01:51] <wm4> tls: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
[01:51] <rcombs> ^ yup
[01:51] <wm4> what an intuitive error message
[01:51] <rcombs> on OpenSSL, anyway
[01:52] <wm4> yeah
[01:52] <rcombs> wm4: it's what happens when you try to open an SSL connection to an HTTP server on port 80
[01:52] <rcombs> GNUTLS gives: [tls @ 0x7fe0085000c0] An unexpected TLS packet was received.
[01:53] <rcombs> I'd say that's slightly more user-friendly, but I wouldn't call either out as particularly bad for this case
[01:59] <Compn> i'd hate to commit something thats actively maintained
[01:59] <Compn> without talking to maintainer
[01:59] <Compn> :P
[02:00] <BBB> why is split_cu_flag an array in hevc?
[02:01] <BBB> its nver used out of order
[02:05] <Compn> git blame
[02:05] <Compn> :P
[02:05] Action: Compn runs
[02:08] <Compn> wm4 : example of being useful : https://ffmpeg.org/pipermail/ffmpeg-cvslog/2014-March/074732.html
[02:08] <Compn> :P
[02:11] Action: Compn repairing git environment
[02:15] <Compn> rcombs : like zis ? http://pastebin.com/S66EzYcx
[02:22] <Compn> or probably before the goto fail ?
[02:23] <Compn> wm4 : also i rarely change actual code. mostly docs, web, some typos...
[02:24] <rcombs> Compn: no, in the section with all the 300 codes
[02:24] <rcombs> Compn: alternately, just move the initialization to after the retry: label
[02:24] <wm4> Compn: well, your behavior is in stark contrast to the usual review pedantry
[02:25] <rcombs> erm, `redo:`
[02:25] <Compn> rcombs : yes, be more confusing about this :)
[02:25] <rcombs> Compn: but of course!
[02:25] <Compn> >insert random nsa backdoor
[02:26] <Compn> line 255 maybe ?
[02:26] <rcombs> https://gist.github.com/a9f413560a4a3c0cb493
[02:27] <Compn> yeah theres what i thoughts
[02:27] <rcombs> see why that'd break that?
[02:28] <Compn> yes
[02:28] <Compn> but
[02:28] <Compn> would it break any other urls, is the real question
[02:28] <Compn> by lowering tcp protocol, i assume so it tries tls instead
[02:29] <rcombs> can't see how it would, as that string is always either "tcp" or "tls", and it's be reset to "tls" if the redirect URL was https://
[02:29] <rcombs> the added line resets the string to what it was the first go-round
[02:30] <Compn> and you get a redirect ?
[02:30] <Compn> i mean in the url
[02:30] <Compn> hmmm
[02:30] <rcombs> and it'd get set back to https by the `if (!strcmp(proto, "https")) {` block if it was meant to
[02:30] <Compn> your efforts to teach me c programming language are futile!
[02:31] <rcombs> :|
[02:31] <Compn> not because you arent doing it right, but because i am dumb
[02:32] <rcombs> (and yes, that patch fixes the issue for me)
[02:32] <rcombs> https://video.internetvideoarchive.net/video.mp4?cmd=6&publishedid=247434&c… here, have a new test URL
[02:32] <Compn> oh it is a 302 found
[02:32] Action: Compn wgets
[02:33] <Compn> ok then
[02:34] <Compn> answered that question
[02:34] <Compn> now to see who maintains http
[02:35] <Compn> probably michael
[02:35] <Compn> i just send patch to the list for this one ;)
[02:35] <rcombs> oh boy
[02:35] <Compn> if i dont i think wm4 will try to burn me alive
[02:36] <wm4> I don't really care
[02:36] <michaelni> send patch please
[02:37] <Compn> done
[02:37] <rcombs> *michael will try to burn you alive
[02:39] <Compn> i try to avoid confrontations when possible. its a balance of force commits and let someone else handle it :P
[02:39] <Compn> thanks for the new url rcombs
[02:40] <Compn> sometimes maintainer likes to fix it in different way than patch author fixes it...
[02:40] <rcombs> https://video.internetvideoarchive.net/video.mp4?cmd=6&publishedid=247434&c… here's another
[02:40] <rcombs> (they expire rather quickly)
[02:40] <Compn> you downloading movie trailers or somethin?
[02:41] <Compn> or make like a trailer display program?
[02:41] <rcombs> Plex just launched support for trailers
[02:41] <Compn> or just avoiding flash player
[02:41] <Compn> ah
[02:43] Action: Compn afk
[03:41] <cone-789> ffmpeg.git 03Michael Niedermayer 07master:956f4087c6eb: ffmpeg_opt: Use av_guess_codec() instead of AVOutputFormat->*codec
[03:41] <cone-789> ffmpeg.git 03Michael Niedermayer 07master:26ffa8eaee2d: avformat/format: use av_match_name() in av_guess_codec()
[04:30] <cone-789> ffmpeg.git 03Michael Niedermayer 07master:98e42a249e78: avformat/format: Check for av_guess_format() failure
[04:46] <cone-789> ffmpeg.git 03Luca Barbato 07master:87efaa97ceb0: af_join: Set the output frame format
[04:46] <cone-789> ffmpeg.git 03Michael Niedermayer 07master:dcd984e24d0a: Merge commit '87efaa97ceb0ad5820870855d6df3e569e6eac7e'
[05:05] <cone-789> ffmpeg.git 03Luca Barbato 07master:f0e959481968: af_channelmap: Set the frame channel layout
[05:06] <cone-789> ffmpeg.git 03Michael Niedermayer 07master:e85bc9df87a1: Merge commit 'f0e959481968b6d906931127237ed981b6414f6e'
[05:27] <cone-789> ffmpeg.git 03Michael Niedermayer 07master:92be540636e1: avcodec/h264_parser: remove redundant assignment
[05:27] <cone-789> ffmpeg.git 03Michael Niedermayer 07master:3fa9692ae232: avcodec/hevc: move HEVCLocalContext declaration into loop
[05:35] <michaelni> ubitux, line 133 (pos = avio_tell(s->pb);) of libavformat/subviewerdec.c seems to have no effect according to CSA
[07:03] <jamrial> so they renamed gcc 4.10 into gcc 5.0
[07:04] <Daemon404> version #s are meaningless anyway
[07:04] <Daemon404> unless 5.0 is extra broken
[07:48] <rcombs> ffmpeg version numbers are useful if you're too lazy to update after ABI changes :3
[09:15] <ubitux> michaelni: i'll look into this later
[11:06] <ubitux> mmh am i missing something or the sum_abs_dctelem(diff_pixels(x)) in lavfi/mp_decimate is simply... a common sad?
[11:07] <ubitux> a really standard one even, 8x8 block, 8-bit
[11:13] <ubitux> it looks like an unaligned version though
[12:32] <michaelni> smarter, BBB, any oppinion about "0728 19:17 Christophe Gisq (1.3K) [FFmpeg-devel] [PATCH 0/4] Exploit compile-time constant" ?
[12:34] <michaelni> note, the mail says "Premature optimization and overall not that useful."
[12:52] <ubitux> michaelni: i'll have the asm ported for x86 but not ppc, will that be fine?
[12:52] <ubitux> we only need sad btw, for the filters
[12:53] <ubitux> btw, i'll loose internet in a few hours, but i'll be back soon
[12:53] <michaelni> whats the problem with porting ppc ?
[12:54] <ubitux> testing
[12:54] <michaelni> ask someone who has a ppc
[12:54] <michaelni> also can be ported seperatly and later of course
[12:55] <ubitux> that was the suggestion
[12:55] <ubitux> i'll submit tonight if i get back internet, i'm almost done
[13:04] <michaelni> great, ok
[13:12] <BBB> michaelni: I believe x264 does that too
[13:12] <BBB> michaelni: I havent looked at the patch itself, but if it helps, maybe its useful
[13:12] <BBB> did anyone see my message yesterday?
[13:13] <BBB> Im looking at the array split_cu_flag[], and I feel its unused outside its linear context in a single local function
[13:14] <BBB> so I think it should be modified to just be a local variable in that function, rather than a member of HEVCContext
[13:15] <Compn> rcombs : hows this alternate patch look ? http://pastebin.com/8XaLpCkM
[13:15] <Compn> maintainer always wants to solve it differently :P
[13:15] <Compn> i thought there was already a port > 0 port=80 check...
[13:18] <rcombs> Compn: that leaves a redundant initialization of lower_proto, but it wouldn't cause any issues
[13:18] <rcombs> LGTM
[13:18] <michaelni> BBB, i think a cherry pick from mraulet removed that array already 255086a7e06417d98417cea192053b8a8531eb24
[13:21] <ubitux> Compn: https://en.wikipedia.org/wiki/POWER8 ?
[13:22] <Compn> ubitux : i just havent seen ppc since imac days 2004 1ghz :P
[13:23] <Compn> wow 5ghz 12 core chip
[13:23] <Compn> nice
[13:25] <Compn> now to convince ibm to send me a few boxes...
[13:29] <Compn> also dont remember any new ppc optimizations . most commits to libavcodec/ppc are splitting up files or compilation fixes
[13:35] <Compn> rcombs : ehe, http.c reformat incoming.
[13:36] <ubitux> there is no trick with yasm/x86/x264inc to %rep without incrementing the pointer in the last loop?
[13:54] <BBB> michaelni: ah I see, ok, I probably have a slightly older checkout then
[14:33] <BBB> in luma_intra_pred_mode(), why is the candidate[] array sorted for intra mode decoding?
[14:33] <BBB> were never depending on its ordering in any of the following code
[14:34] <BBB> maybe I should keep a notebook of all these things, then they dont get lost
[14:43] <BBB> Im also massivel confused by this spec thing: intra_pred_mode prediction does not cross vertical CTB boundaries <- that seems ineffective
[15:05] <Compn> BBB : are you hevc devel? someone on list is wondering about ppc hevc simd
[15:09] <cone-932> ffmpeg.git 03Matthew Oliver 07master:66627075d960: msvc: fix implicitly declared read/close.
[15:14] <BBB> Compn: what defines hevc devel? if I wrote openhevc, no
[15:14] <BBB> Im basically with mcihael on that one
[15:14] <BBB> if people want to write and maintain them, great
[15:14] <BBB> I wont do it myself - waste of time
[15:39] <Compn> BBB : ok i just forgot whos who around here
[15:41] <BBB> Im the dude that used to work on webm in google and now is just generally interested in video codecs
[15:49] <ubitux> gcc translates this: http://pastie.org/9439162 into this: http://pastie.org/9439163
[15:49] <ubitux> anything better to suggest?
[15:49] <ubitux> (it's at the end of the SAD)
[15:53] <michaelni> ubitux, theres a int16 somehwree why ?
[15:53] <michaelni> also never put 1 asm opcode per asm() i assume this is just for demonstration ?
[15:54] <michaelni> whole inner loop must be in asm()
[15:54] <michaelni> or use yasm
[15:54] <ubitux> it's the current code, i'm doing the yasmification
[15:54] <ubitux> see https://github.com/ubitux/FFmpeg/compare/avpixelutils
[15:55] <ubitux> that sum_mmxext is from libavcodec/x86/me_cmp_init.c
[15:56] <ubitux> i'm trying to understand how the m6 is converted into the return value :p
[15:56] <ubitux> (current yasm code is incorrect, still debugging)
[15:56] <michaelni> current code is crap then
[15:57] <ubitux> maybe yes
[15:57] <michaelni> i mean the sum_mmxext you posted
[15:57] <ubitux> it's doing that for the m6 and m7 init as well
[15:57] <ubitux> basically the sad code are split into 3 separate inline asm assuming it's only one
[15:57] <michaelni> its less risky for these as they declare no in or out so gcc has no reason to salt it with load/stores
[15:57] <ubitux> (and gcc spit crap with it btw)
[15:58] <ubitux> yeah i know
[15:58] <ubitux> that won't happen with the yasm, but i'm trying to understand how the sum is returned properly anyway
[15:59] <michaelni> in eax i assume, ive no idea where ax is comming from
[16:01] <ubitux> yeah i have that part but i'm a bit confused at the psrlq
[16:01] <ubitux> i mean yeah it's adding every part
[16:02] <ubitux> i was wondering if there isn't a better way of doing that
[16:02] <ubitux> the mmx2 code is kind of saner hehe
[16:04] <michaelni> ubitux, waste of time, there are no mmx only cpus in realworld use
[16:04] <michaelni> also its probably not that far off from what is best for mmx
[16:04] <michaelni> it was written at a time closer to when mmx was around and important
[16:05] <ubitux> ok so i port only mmxext and sse?
[16:06] <michaelni> i suggest you port mmx too but dont worry if the instructions you copy to yasm are the best sequence
[16:06] <ubitux> (i looked at the generated code from gcc with the c and it doesn't look automatically sim'ed, even without the -fno-vectorize option we have)
[16:06] <ubitux> michaelni: ok
[16:19] Action: ubitux really hates when termcaps are fucked up when playing with gdb & ffmpeg
[16:36] <BBB> is elem_offset[INTRA_CHROMA_PRED_MODE] + 1 unused?
[16:36] <BBB> I dont see it being used for chroma prediction
[16:44] <Timothy_Gu> michaelni: is SWAMP another Coverity?
[16:44] <ubitux> stupid question: how do i print the mm0..7 registers with gdb?
[16:44] <michaelni> Timothy_Gu, somesthing like that yes
[16:45] <Timothy_Gu> ubitux: info all-register?
[16:46] <ubitux> i don't see them, or at least i don't know the aliased names
[16:46] <ubitux> maybe stX?
[16:46] <Timothy_Gu> $xmm?
[16:47] <Timothy_Gu> never mind. it's stX
[16:48] <Timothy_Gu> It's the same as the same as the floating point regs with the upper few bits all 1 or all 0 (i forgot)
[16:50] <BBB> right
[16:50] <wm4> what is SWAMP?
[16:50] <BBB> whenever I need to debug mmx I tend to just write them to memory and then print that
[16:50] <BBB> I always get confused by stX
[16:50] <BBB> xmm is so much easier
[16:51] <ubitux> it's strange, they don't seem to change when i assign stuff to them
[16:51] <ubitux> always 0x8000000000000000
[16:53] <ubitux> actually, moving data into it or pxor-ing them transform them from 0x0 to 0x8000000000000000
[16:53] <ubitux> i guess that's the good registers anyway
[16:53] <Timothy_Gu> michaelni: what the hell? "Email addresses from "gmail.com" are not allowed."
[16:53] <ubitux> ahah
[16:55] <michaelni> swamp doesnt accept gmail, well thats lame
[16:57] <michaelni> also if anyone wants access to ffmpeg swamp and got no invite, ping me, but remember it seems not to allow gmail and maybe also not similar free mail services
[16:58] Action: michaelni wonders why it didnt say a word about gmail when sending invites
[17:02] <BBB> they dont want to lose customers at the finding phase
[17:02] <BBB> they want gmail to lose customers at the binding phase
[17:05] <wm4> any good alternatives to gmail?
[17:05] <wm4> I think I actually don't mind if they lose me
[17:12] <BBB> right
[17:12] <BBB> I wonder why they dont want gmail
[17:12] <BBB> but obviously no gmail means no go
[17:14] <wm4> yeah
[17:15] <BBB> the transform-tree stuff in hevc is actually sweet, its slightly more dynamic than vp9s
[17:16] <BBB> like, if you have a 16x16 block (cb), you can actually subdivide it in a quadtree, just like prediction structures, thats really sweet
[17:16] <BBB> like topleft 8x8, topright 4x4, bottomleft 8x8, bottomright 8x8
[17:16] <BBB> vp9 can just say all 16x16, all 8x8, or all 4x4
[17:17] <BBB> I wonder how uch that helps
[17:27] <ubitux> ok great, gdb is just actually broken
[17:28] <ubitux> http://pastie.org/pastes/9439311/text
[17:28] <ubitux> "display" doesn't get updated for the stX regs...
[17:33] <ubitux> i guess it doesn't like the /x
[17:34] <anshul_mahe> michaelni, I am matching that patch(Fix 8bit non_mod case) with dvbsubdec spec, thanks for reminding, I really didnt noticed that mail
[17:35] <anshul_mahe> i dont haven't seen any sample using that code, but I will test code coverage with all samples of dvbsub that I have
[17:35] <kierank> michaelni: doesn't seem as good as they make it out to be
[17:35] <kierank> that mir-swamp thing
[17:35] <michaelni> anshul_mahe, thanks
[17:38] <michaelni> kierank, yes, maybe it gets improved, but that gmail thing really kind of kills it, most invites i did sent are to gmail users
[17:40] <Timothy_Gu> michaelni: BTW I tried my other email address and I still don't receive the confirmation email. I think I'm done with it.
[17:41] <cone-932> ffmpeg.git 03Michael Niedermayer 07master:dd551dc7ff51: avformat/dtsdec: count LE and BE separately in dts_probe()
[17:41] <cone-932> ffmpeg.git 03Michael Niedermayer 07master:e6fabd6e9bfd: avformat/dtsdec: fix signedness in reference pcm highpass in dts_probe()
[17:41] <cone-932> ffmpeg.git 03Michael Niedermayer 07master:2b501b553f63: avformat/dtsdec: skip the first 4k in dts_probe()
[17:42] <michaelni> Timothy_Gu, i can send a separete invite to the other address if you want
[17:45] <JEEB> BBB, yeah - the transform tree stuff in HEVC is nice
[17:46] <Timothy_Gu> michaelni: nah. thanks anyway
[18:31] <cone-932> ffmpeg.git 03Michael Niedermayer 07master:e706fe764049: avcodec/wavpackenc: Fix log2sample() result value
[18:35] <ubitux> michaelni: https://github.com/ubitux/FFmpeg/compare/avpixelutils
[18:35] <ubitux> mmx is still broken for some reason
[18:35] <ubitux> but the rest seems to be working
[18:35] <ubitux> it shouldn't be hard to add an unaligned version of sad
[18:36] <ubitux> (just need to replace the mova into movu)
[18:36] <ubitux> sad_16x16 i mean
[18:38] <cone-932> ffmpeg.git 03Michael Niedermayer 07master:1d8d21b90ab9: ffserver: initialize pbuffer in prepare_sdp_description()
[18:39] <ubitux> ah and btw, i'm unable to make it pick the mmx at runtime
[18:39] <ubitux> CPUFLAGS=mmx or CPUFLAGS=-mmxext still picks the mmxext version
[18:45] <michaelni> what do av_get_cpu_flags() and av_force_cpu_flags() do wrong ?
[18:46] <ubitux> ah, just fixed the mmx, great.
[18:46] <ubitux> michaelni: no idea..
[19:18] <ubitux> ffs deshake should die in fire
[19:19] <wm4> there are other things in lavfi that should go into the fire before that
[19:20] <ubitux> not really
[19:29] <jamrial> libmpcodecs
[19:29] <ubitux> this one is still useful
[19:29] <ubitux> and at least it seems to work
[19:29] <wm4> yeeeah.
[19:30] <wm4> these hordes of users who use libavfilter for pp7
[19:30] <wm4> that nobody is porting them is kind of proof that nobody really cares, at least not devs
[19:31] <Compn> it works , why port it ? ;p
[19:31] <Compn> deshake, that was one of the features in the libav vs ffmpeg list :D
[19:31] <Compn> guys you think we should do a survey of ffmpeg users, find out what features they use and dont use ?
[19:32] <jamrial> you mean cli users?
[19:33] <Compn> all users
[19:33] <Compn> we will send survey to downstreams too
[19:33] <Compn> and other projects that only use libs
[19:33] <wm4> simple, just make ffmpeg phone home
[19:38] <ubitux> all the users aren't on ffmpeg-user
[19:41] <Compn> right , i never said to put the survey there
[19:41] <Compn> put it on phoronix , doom9 , slashdot, reddit etc
[19:41] <Compn> hackernews
[19:41] <Compn> 4chan tech board
[19:42] <wm4> why not a place where there are actually intelligent people?
[19:42] <wm4> anyway, I predict the number of users of pp7 will be 1
[19:42] <Compn> sure, wheres that wm4 ?
[19:42] <wm4> that's a good question
[19:42] <Compn> always looking for new communication mediums
[19:42] <Compn> facebook or google group circle ? :P
[19:43] <Compn> er google plus circle
[19:43] <Compn> whatever the hell they call it this week
[19:50] <anshul_mahe> why not put in on ffmpeg.org, list of feature and one like click, or better on trac there if only registered user are allowed
[19:51] <anshul_mahe> we already have upvote things for each bug, we can have for each feature.
[19:52] <cone-932> ffmpeg.git 03Diego Biurrun 07master:ffa4d4ef0bd6: ppc: fft: Build AltiVec optimizations in the standard way
[19:52] <cone-932> ffmpeg.git 03Michael Niedermayer 07master:146e498c9eb1: Merge commit 'ffa4d4ef0bd66c4e8bde7357b69bdedc78123ea8'
[19:52] <anshul_mahe> Compn, you have to take care for maintaing that ;)
[20:20] <cone-932> ffmpeg.git 03Michael Niedermayer 07master:17fef17f67c5: avfilter/lavfutils: remove redundant variable init
[20:20] <cone-932> ffmpeg.git 03Michael Niedermayer 07master:08b6591cf6d3: avcodec/avuienc: move pointer declaration to where its used
[20:29] <ubitux> michaelni: i think you should add the get_pixels helper to the AVDCT context
[20:29] <ubitux> since it's main usage seems to be the extraction+unpack for DCT
[20:29] <ubitux> its*
[20:30] <ubitux> and with that and the pixelutils api i think we covered all the issues you originally proposed to fixed with the AVDSP patchset
[20:30] <ubitux> fix*
[20:31] <ubitux> BBB: pixelutils aren't enabled unless one of the filters is selected, so it should be a no-op for chrome
[20:33] <jamrial> ubitux: you made the sad functions sse instead of sse2
[20:34] <ubitux> it's not sse?
[20:34] <BBB> yay
[20:34] <BBB> nice
[20:34] <jamrial> integer xmm started with sse2
[20:37] <michaelni> ubitux, your struct layot depends on the NB of enums (posted to ml too but saying here too so you dont miss it)
[20:37] <ubitux> ah, true
[20:42] <ubitux> michaelni: should i declare up to 64x64 and mark it as definitive?
[20:42] <ubitux> or should i make a dynamic alloc and a special free function?
[20:48] <michaelni> that or add a few reserved entries for future extension or use a function instead of struct to obtain function pointers, no real preferrance to which from me, also there surely are other options
[20:49] <michaelni> i think though declaring squares from2x2 to 64x64 as the strict limit is a bit 64k is enough for everyoe smelling
[20:52] <michaelni> something like fptr = av_getutildsp(AVUTIL_DSP_SAD, 8, 8, AVUTIL_DSP_SRC_ALIGNED) maybe
[20:52] <ubitux> parse error around `is a bit 64k'
[20:53] <michaelni> with better names of course, they are just examples
[20:53] <ubitux> yeah i could make getters, that's actually how i use it in the filters
[20:53] <ubitux> i guess i'll do that
[20:54] <michaelni> ok, and ill get that get_pixels into avdct
[20:55] <michaelni> about 64k i was just comparing the of 2x2-64x64 limit to a quote that "64k (main memory) will be enough for everyone"
[20:58] <ubitux> ok :)
[21:03] <ubitux> michaelni: would it make sense to just have a getter to simplify the interface?
[21:04] <ubitux> the getter would initialize the functions every time, but since it should be done just a few times once for every needed function it should be a problem
[21:11] <michaelni> yes, also it can cache the functions in the future using a static struct thats initialized by memcpy() it just needs to be done carefully so theres no race
[21:12] <michaelni> but for now just calling the dsp* init each time should be ok
[21:37] <ubitux> i'll send a new patchset in a moment
[21:51] <ubitux> michaelni: https://github.com/ubitux/FFmpeg/compare/avpixelutils#diff-2274161fb2ffa57c…
[21:51] <ubitux> the diff is much smaller that way
[21:51] <ubitux> i'll honor jamrial comments and resubmit a v2 that way
[21:52] <ubitux> basically, you just have 1 function to call
[22:00] <cone-932> ffmpeg.git 03Michael Niedermayer 07master:d73371b58c3d: avcodec/mmvideo: remove unused return value and assignment
[22:23] <michaelni> ubitux, lgtm from a quick look
[22:23] <ubitux> i'm adding the tests
[22:23] <ubitux> i should be done in about an hour
[22:24] <cone-932> ffmpeg.git 03Michael Niedermayer 07master:459996325dab: avcodec/error_resilience: comment out unused assignment
[22:24] <cone-932> ffmpeg.git 03Michael Niedermayer 07master:c103c4852528: avcodec/error_resilience: make error an local variable where possible
[22:35] <ubitux> mmh i wrote the test tool
[22:36] <ubitux> how do i make the test relevant for fate?
[22:36] <ubitux> like, can i make a diff of the output?
[22:36] <ubitux> all the libavutil/*-test seem to CMP against nothing
[22:38] <ubitux> should i simply assert into it?
[22:39] <michaelni> they use the return code IIRC
[22:40] <ubitux> oh ok
[22:40] <ubitux> perfect then
[22:44] <ubitux> michaelni: doesn't seem to help
[22:47] <ubitux> ah, maybe i'm doing something wrong
[22:50] <michaelni> Timothy_Gu, it seems accoridng to carl the new fate page isnt useable on iphone, and iam seeing that the right side of the table is cut off on android
[22:55] <ubitux> jamrial: are you sure i can use HADDW macro in mmx code?
[23:01] <jamrial> yeah, i added support for mmx to it a couple weeks ago
[23:03] <jamrial> it however uses different instructions than the ones you used, though
[23:03] <jamrial> no idea what would be faster
[23:07] <ubitux> error: undefined symbol `pw_1' (first use)
[23:07] <ubitux> heh
[23:07] <ubitux> kind of contraining
[23:07] <ubitux> i'll keep my version for now
[23:11] <cone-932> ffmpeg.git 03Michael Niedermayer 07master:17c656518623: avcodec/mpeg12dec: Document Ticket3809 fix
[00:00] --- Sun Aug 3 2014
1
0
[01:04] <hotwings> ffmpeg git down at the moment?
[06:49] <elfer> if i have a video file, and the audio is not align with the video.. how would i align it properly? like if somebody on the video is talking, you see their mouth moving, but you do not hear the sound until .5-1.0 seconds later. how can i re-align that video's audio?
[06:49] <elfer> is there a different name for it?
[06:50] <elfer> ...rip the audio and compile the video and audio together, in a new file? or is there an ffmpeg function or even ... software linux or windows based that can accomplish this?
[07:55] <Xardas> Hello, I've got a problem with broken webms that has persisted through multiple versions of ffmpeg (x86 and x64 build from the latest version and one from like 2 months ago) and I don't understand how to fix it. Does ffmpeg save information somewhere else than the respective folder?Do installed Codec packs affect it? I am running Windows Ultimate SP1 x64 and my webms work fine in Chrome but are broken in Firefox.
[08:50] <slowguy> i want to cut a file from a precise time but i want to copy the codec too
[08:51] <sfan5> thats not possible
[08:51] <sfan5> if you want to cut video/audio you need to re-encode it
[08:55] <slowguy> sfan5: then maybe re-encode only upto next keyframe
[08:55] <slowguy> is that possible?
[08:55] <sfan5> I'm pretty sure that would be possible
[08:55] <sfan5> but I know of no programs that implement this
[08:56] <slowguy> so i need to write my program using libav*?
[08:57] <sfan5> if you want to do precise cutting without re-encoding everything?
[08:57] <slowguy> yeah :(
[08:57] <sfan5> it's mostly codec specific, so you don't need to use libav
[09:00] <slowguy> actually the original file will also be created by me..any suggestion which format would be most helpfull in this
[09:01] <slowguy> i just want to cut the file precisely without re-encoding the whole file coz that will take too long
[09:02] <slowguy> sfan5: i have another idea which i would like to discuss
[09:03] <slowguy> is there any way to find the position of next keyframe after a certain timestamp?
[09:04] <slowguy> so i can give two commands.. one with precise cutting from 14 to 19 with reencoding
[09:04] <slowguy> and then from 19 to endoffile with fast seek and copy codec
[09:05] <slowguy> and then merge these two files with concat demux..would that work?
[09:06] <anshul_mahe> What does full form of VSCFR in VSYNC_VSCFR (format_video_sync) in ffmpeg.c
[09:06] <anshul_mahe> I know FR stand for fame rate
[10:42] <sfan5> slowguy: that would probably work
[15:27] <xreal> Is LAV based on ffmpeg ?
[15:28] <slowguy> LAV= ?
[15:28] <ubitux> All LAV Filters are based on the FFmpeg multimedia libraries (licensed under GPLv2)
[15:28] <ubitux> quoting the main page of the site
[15:42] <xreal> ubitux: I wonder, why LAV doesn't have nice filters like ffmpeg. Did they remove them? Brightness etc.
[15:43] <ubitux> i don't know
[15:43] <ubitux> why do you use LAV?
[15:47] <xreal> ubitux: it's default when you install my favourite codec pack :D
[15:47] <xreal> K-Lite Codec Pac
[15:49] <Deffie> hello everyone, i've adapted a pipeline for a chinese cctv dvr which auths, trashes the received custom header and writes the h264 stream to a fifo which i'm trying to open with mplayer/avplay/ffmpeg/vlc, the only who makes some step is mplayer specifying demux h264, now the problem is that I don't know much of ffmpeg and video formats, can you help me understand which parameters can help me ? theres an image showing what i get with mplayer http://pa
[15:53] <Deffie> ok fps 12 helped a lot :)
[15:56] <Deffie> http://pbrd.co/1sdismi :)
[15:58] <xreal> ubitux: they're argumenting: "ffdshow only has DXVA, it does not support CUDA." "ffdshow only uses a subset of its functionality"
[16:17] <BlackBishop> anyone can tell me what option/param should I use for libass in conjuction with -ss for the input ? ( I want to start the video from a certain offset and so should the subtitles )
[18:54] <anshul_mahe> While transcoding video of my webcam, sometimes I am having delta(ffmpeg.c) value as high as 6000-7000, and as result ffmpeg start duplicating frames and my video freeze
[18:55] <anshul_mahe> is there any workaround for this problem
[18:56] <anshul_mahe> Do we need to compile libSDL again if we upgrade kernel, just now ffplay crash in libSDL, i upgraded my kernel to torwald git repository
[18:57] <anshul_mahe> is any one using kernel 16.0+rc+7
[18:57] <anshul_mahe> sry rc7 or near about and having same issue with ffplay
[19:27] <sfan5> anshul_mahe: if you update certain things you may need to compile sdl and/or ffplay
[19:31] <anshul_mahe> sfan5,thanks I will give that a try ,but as of now it looks like I have to compile lots of utilites
[20:27] <Nopik> hi all
[21:10] <t4nk681> I hope this is the correct place to ask this question, but is there a way to output via std or something, the waves generated with ffplay ie. --showmode 1?
[21:49] <Dominique_Michel> Hi all, I done a VCD rip of a music VCD. It was a difficult rip to do, because of scratches on the disk. Finally, usingg different solution, I was able to rip all the songs.
[21:51] <Dominique_Michel> One of them is 15 min 13 sec long, when playing it, as example with mplayer, I get the correct lenth and I can play it without trouble.
[21:51] <Dominique_Michel> I extracted the audio in it with
[21:52] <Dominique_Michel> ffmpeg -i msong.mpeg -vn -acodec copy mysong.mp2
[21:53] <Dominique_Michel> it worked, but when I play it, it play but the duration is wrong, only 5 min 01 sec
[21:55] <Dominique_Michel> I try different software like mplayer and alsaplayer, and the result is always the same, it show a duration of 5 min 1 sec, but can be played all the 15 min 13 sec
[21:56] <Dominique_Michel> After 5 min 1 sec, if I try to seek, the play resume immediately with all players I try.
[21:57] <Dominique_Michel> I try later to transcode from mp2 to ogg, because alsaplayer is not able to correctly play the mp2 file, and the issue remain.
[21:57] <Dominique_Michel> Is it something I can do, or is it a bug that should be reported somewhere?
[22:04] <Dominique_Michel> http://pastebin.com/5J0QDRqR is a paste of ffmpeg -i from the mpeg file
[22:06] <Dominique_Michel> http://pastebin.com/yAgVrzwx the same from the ogg file
[22:14] <Dominique_Michel> Strange, I just redone the conversion from mpeg to mp2, and get the correct file length.
[22:22] <Dominique_Michel> And now I have the same visible length... Sorry for the noise, must be something else.
[22:23] <Dominique_Michel> After later conversion to ogg, and I can seek into the whole file.
[00:00] --- Sun Aug 3 2014
1
0
[00:03] <wm4> hm is there any kind of specification on raw pgs files?
[00:04] <j-b> wm4: hahaha
[00:04] <j-b> I tried
[00:04] <j-b> it was a mess
[00:04] <wm4> :(
[00:05] <j-b> they used the same names of the old ones, of course, with different padding
[00:06] <Timothy_Gu_> michaelni: I really can't reproduce the bug. The very light green and yellow and messed-up table header styles suggest a cache problem. Try Ctrl+F5 on the fate page.
[00:13] <Timothy_Gu_> michaelni: or you can try to access tg-fate-test.ngrok.com, which is an ngrok tunnel to my laptop showing a mock fate page
[00:16] <michaelni> Timothy_Gu_, http://tg-fate-test.ngrok.com/ looks better
[00:17] <michaelni> Timothy_Gu_, seems it was a cache issue
[00:17] <Timothy_Gu_> I knew it ;)
[00:18] <Timothy_Gu_> so do you think the colors are OK or they need more adjustments?
[00:19] <michaelni> dunno but ill push it (well its already on fate.ffmpeg.org but not pushed to origin master)
[00:19] <michaelni> we/you can finetune the color later
[01:10] <llogan> i'll be gone friday-sunday sometime, so i'll be unavailable for mailing list stuff.
[01:56] <cone-766> ffmpeg.git 03Lou Logan 07master:d76675d9c015: doc/indevs: mention required configure options
[03:59] <BBB> ubitux: looks ok to me (e use ptrdiff_t not intptr_t total nag)
[04:58] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:d98e6c5d5d80: pgssubdec: Check RLE size before copying
[04:58] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:7db3a46a3d9d: Merge commit 'd98e6c5d5d80c1dfe0c30f2e73d41a3aea0b920d'
[08:31] <wolfie_> hi all
[09:40] <ubitux> ePirat: sorry about the delay for the icecast patch, i'll try to review & test on sunday
[09:40] <ubitux> ePirat: poke me saturday night or on sunday if i don't give any news
[10:59] <ePirat> ubitux, no problem, I had no internet for two days anyway due to thunder/lightning
[12:37] <cone-766> ffmpeg.git 03Benoit Fouet 07master:66af2a01d275: h264: remove useless assignment.
[12:37] <cone-766> ffmpeg.git 03Benoit Fouet 07master:42f25fe00991: h264_mp4toannexb_bsf: always set idr_sps_pps_seen when SPS/PPS is seen.
[12:51] <cone-766> ffmpeg.git 03Carl Eugen Hoyos 07master:970c7d9b695a: Add forgotten APIchanges entry for probesize2.
[12:51] <cone-766> ffmpeg.git 03Carl Eugen Hoyos 07master:a80191379bb9: Fix standalone compilation of the WebVTT decoder.
[14:23] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:9e052df86d52: avfilter/vf_pullup: 2nd try to workaround gcc 4.4.3 bug on arm
[14:38] <wm4> michaelni: why bother???
[14:38] <Case> michael is a good guy who thinks about users
[14:39] <Case> or developers
[14:39] <wm4> even gcc apparently abandoned this release
[14:39] <wm4> and who the heck needs lavfi on arm...
[14:39] <ubitux> to deinterlate telecined content ofc
[14:39] <ubitux> deinterlace*
[14:41] <wm4> if "they" are stuck on gcc 4.4, I don't even want to know what environment that is
[14:49] <michaelni> wm4, why i bother to workaround/fix issues ? because id like things to work, the env is ubuntu 10.04 IIRC
[14:50] <wm4> randomly rearranging code to evade bugs in very old compilers is ugly
[14:50] <wm4> if ubuntu folks want to use/support that old crap, they should backport gcc bugfixes
[14:54] <michaelni> wm4, yeah, you are welcome to fix bugs, trolling that other do work, not so much
[14:55] <michaelni> unless you volunteer to maintain vf_pullup.c ?
[14:56] <michaelni> and if you want it backported, iam sure the gcc developers and ubuntu people would not be against a patch either
[14:57] <wm4> if "fixing" it requires making the code less readable, I'm not sure if the fix is even in your own interest
[14:57] <michaelni> is it less readable ?
[14:58] <wm4> -#define ABS(a) ((a) > 0 ? (a) : -(a))
[14:58] <wm4> +#define ABS(a) (((a) ^ ((a) >> 31)) - ((a) >> 31))
[14:58] <wm4> (the new code even triggers UB, I think?)
[15:01] <michaelni> but its not new, that was the code before the 1st try to fix it
[15:01] <michaelni> just reverting what did not work
[15:02] <wm4> I see
[15:09] <cone-766> ffmpeg.git 03Diego Biurrun 07master:706208ef47bf: fate: Split fate-pixdesc tests and dispatch them through Make
[15:09] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:713dbe0655e4: Merge commit '706208ef47bffd525c982975d2756f7b2b220b8d'
[15:16] <cone-766> ffmpeg.git 03Diego Biurrun 07master:03c9f357a4c2: ppc: idctdsp: Immediately return if no AltiVec is available
[15:16] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:ad99837b638f: Merge commit '03c9f357a4c2307a7913cea2cbf0ba817e80beb6'
[15:21] <kierank> hmm so it's not swr crashing but something else in audio
[15:23] <kierank> or perhaps there is some asm i am missing
[15:23] <kierank> to delete from swr
[15:24] <kierank> oh wait fount some more
[15:24] <ubitux> libswresample/x86/*_init.c :p
[15:34] <kierank> crash appears to be in float dsp somewhere
[15:37] <trn> Hello.
[15:38] <trn> Quick question on using conditional formatting/evalution to the scale filter, seems x264 wants an even number.
[15:38] <nevcairiel> sounds like you want #ffmpeg, this channel is about developing ffmpeg itself
[15:39] <trn> nevcairiel: You are correct, I looked too soon.
[15:41] <trn> nevcairiel: But I also spoke too soon and see it's easy enough to solve my issue with a shell script and that can make the test script match exactly how I'm calling libavfilter anyway. :b
[15:41] <trn> so nevermind
[16:24] <cone-766> ffmpeg.git 03Diego Biurrun 07master:a786c8259daf: idct: Split off Xvid IDCT
[16:24] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:f54e01c24e03: Merge commit 'a786c8259dafeca9744252230b5d78f67810770c'
[16:29] <cone-766> ffmpeg.git 03Diego Biurrun 07master:5735552f1f17: pngenc: Drop pointless pointer cast in png_write_row()
[16:29] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:96cea6269ac3: Merge commit '5735552f1f17ea01dcbc99b08f54b5bf52176a8f'
[16:39] <cone-766> ffmpeg.git 03Diego Biurrun 07master:4da8cdbb91dd: tscc: Eliminate pointless variable indirections in decode_frame()
[16:39] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:79d0e164cfef: Merge commit '4da8cdbb91ddbac118b79076cad4dc28ba72e86f'
[16:45] <cone-766> ffmpeg.git 03Vittorio Giovara 07master:52269f48e835: Revert "vf_interlace: deprecate lowpass option"
[16:45] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:c87f645a757e: Merge commit '52269f48e835a52023656f8330262ae70e6061c4'
[16:55] <cone-766> ffmpeg.git 03Vittorio Giovara 07master:92a36a6b3338: pngdec: correctly indent macros
[16:55] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:5727d387fb24: Merge commit '92a36a6b3338df5f5cff573a486e182005367c24'
[17:03] <cone-766> ffmpeg.git 03Luca Barbato 07master:b2e059a1ffbd: pixdesc: K&R formatting cosmetics
[17:03] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:229a1e869429: Merge commit 'b2e059a1ffbdaaa985c6a7dcdd684fa034725238'
[17:56] <ubitux> i need some gnu make guru; i'm trying to do something very stupid so i hope you will encourage me
[17:56] <ubitux> i have a var N such as N=4, and i want a X=1<<$N
[17:56] <ubitux> in shell, you can do $((1<<$N)) to obtain the desired value
[17:57] <ubitux> and in make you can $(shell ...)
[17:57] <ubitux> but i'm unable to merge the two together
[17:57] <ubitux> anyone willing to give it a try? :)
[17:57] <cone-766> ffmpeg.git 03Vittorio Giovara 07master:7ab551f9fd9a: h264: prevent theoretical infinite loop in SEI parsing
[17:57] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:293124cae80e: Merge commit '7ab551f9fd9a63586649a7df8790ddaeac55420f'
[17:58] <smarter> I think you need to escape $ as $$
[17:58] <ubitux> mmh ok it seems i simply need to $(shell echo $$((1 << $N)))
[17:58] <ubitux> smarter: yeah, i was trying to escape with \
[17:58] <ubitux> smarter: thx :)
[18:05] <cone-766> ffmpeg.git 03Benoit Fouet 07master:f9bd6d61bcc1: h264_mp4toannexb_bsf: rename first_idr to new_idr
[21:20] <cone-789> ffmpeg.git 03Michael Niedermayer 07master:7f852962dc6a: avcodec/mpeg12dec: print the amount of overread
[21:20] <cone-789> ffmpeg.git 03Michael Niedermayer 07master:f95298c91389: avcodec/mpeg12dec: fix support for interlaced mpeg2 with missing last slice
[21:43] <cone-789> ffmpeg.git 03Luca Barbato 07master:fa14804c83a7: flv: Index the audio stream
[21:43] <cone-789> ffmpeg.git 03Michael Niedermayer 07master:afd62b3f1845: Merge commit 'fa14804c83a7108a50c63d1f2180e30c75909529'
[00:00] --- Sat Aug 2 2014
1
0
[09:02] <orlp> when I try to capture my screen under Windows 7 64 bit using ffmpeg I get [dshow @ 0000000002b807a0] Could not enumerate video devices - this also happens with ffmpeg -list_devices true -f dshow -i dummy
[09:03] <orlp> this is using http://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-20140731-git-d76675d-w…
[09:59] <wh-hw> hi, all , how to streaming a video use ffserver and make output stream format to ts ?
[10:00] <wh-hw> by the way , i need use libx265 encoder the video
[10:04] <wh-hw> hello
[10:06] <oak> Hi, I was trying to compile ffmpeg from source
[10:06] <oak> trying to convert a youtube video to mp3
[10:06] <oak> I get this error
[10:06] <oak> audio conversion failed: Unknown encoder 'libmp3lame'
[10:07] <ubitux> you need a build with libmp3lame
[10:07] <oak> not sure what that means :(
[10:07] <oak> I'm pretty new to linux
[10:08] <oak> I installed the libmp3lame-dev package though
[10:08] <oak> using synaptic
[10:08] <ubitux> your ffmpeg needs to be build with --enable-libmp3lame
[10:08] <ubitux> the compilation flags should appears when you type "ffmpeg"
[10:09] <ubitux> but if you're on debian/ubuntu and using your package manager, it's probable that you don't actually use ffmpeg anyway but a fork
[10:09] <oak> linux mint 17
[10:11] <oak> http://pastie.org/9436090
[10:12] <oak> was that what you were asking for?
[10:13] <sacarasc> oak: The command you used to get the error, and the complete output thereof.
[10:13] <ubitux> oak: "configuration: "
[10:13] <ubitux> oak: basically this was built with "./configure"
[10:14] <ubitux> you need to "./configure --enable-libmp3lame" at least (maybe some license flags as well, not sure)
[10:15] <oak> ohhh. Yeah I just typed .configure and no "--enable-libmp3lame" flag
[10:15] <oak> so can I just try it now or is it too late?
[10:16] <ubitux> well you can recompile with it
[10:16] <ubitux> ./configure --enable-libmp3lame && make ...
[10:16] <ubitux> you probably want to link against a few more libs btw
[10:19] <oak> I'm new to linux, I have no idea what linking against a few more libs means
[10:20] <oak> anyway tried "./configure --enable-libmp3lame && make ..." it seems to do something...
[10:21] <oak> but when I try to convert the video I get the same error
[10:21] <ubitux> i doubt it
[10:22] <ubitux> make sure the "--enable-libmp3lame" appears in the configuration line
[10:22] <sacarasc> oak: Try `make clean` before you do the ./configure to make sure it does actually compile again.
[10:23] <oak> ok I'll try that. Just to be sure, you want me to type 'make clean' and then './configure --enable-libmp3lame && make ...' right?
[10:23] <sacarasc> Yes.
[10:25] <ubitux> no need for make clean.
[10:26] <ubitux> and you can install ccache, and use --cc='ccache cc' to avoid wasting time compiling over again everything
[10:27] <oak> doh, I already did the make clean command
[10:27] <oak> I'm noticing this message:
[10:27] <oak> make: *** No rule to make target `...'. Stop.
[10:28] <oak> was this a typo or something?
[10:29] <oak> this is after typing ./configure --enable-libmp3lame && make ...
[10:30] <sacarasc> Remove the "...".
[10:30] <oak> ah, i figured ;p
[10:31] <oak> the dangers of communicating with ellipses
[10:40] <oak> whew ok finished compiling...so sacarasc, am I good now?
[10:41] <sacarasc> Run it and see.
[10:41] <oak> hmm. nope same error
[10:42] <oak> agh, I need to get to sleep, thanks so much for trying to help me though
[10:42] <oak> I'll come back later tomorrow
[13:02] <hexhaxtron> How can I see the license a video has?
[13:42] <termos> after my avcodec_decode_audio4 and avcodec_decode_video2 calls, the pts of the video and audio AVFrames have been messed up they are both -9223372036854775808. How can I set it correctly after this?
[13:51] <anshul_m> using libav
[13:51] <anshul_m> or ffmpeg
[13:54] <Mavrik> termos, that's AV_NOPTS_VALUE
[13:54] <Mavrik> meaning they're not set
[13:55] <termos> I'm using libffmpeg
[13:55] <Mavrik> what's that?
[13:56] <termos> well, FFmpeg :)
[13:56] <anshul_m> termos, mavrik gave your answer :)
[13:56] <Mavrik> termos, no, that certanly isn't ffmpeg
[13:56] <Mavrik> also what you're calling is part of libavcodec
[13:57] <termos> oh, well I'm not familiar with these naming conventions
[13:59] <Mavrik> termos, calling this on your AVFrame will give you PTS: https://ffmpeg.org/doxygen/trunk/group__lavu__frame.html#gacb9d9082c10e625e…
[13:59] <Mavrik> so you can do something like this: frame->pts = av_frame_get_best_effort_timestamp(frame);
[14:00] <anshul_m> I am doing live stream using hls of ffmpeg/libavformat, things are running fine when I am using ffmpeg command, but when I am running my program it have glitch at the end of hls_time
[14:00] <Matsy> Can't you just count your own ts?
[14:02] <Mavrik> uh
[14:02] <Mavrik> counting your own TS is a horrible idea
[14:02] <Mavrik> especially when streaming.
[14:03] <anshul_m> if I put hls_time as 2 second, then after all pending frmaes played it get stuck till new ts file is formed
[14:03] <termos> Mavrik: okey thanks, that seems correct. I'll give it a shot
[14:19] <anshul_m> How to dump all the parameter set to encoder
[14:33] <termos> I get no crash and my stream seems fine, but I keep getting the warning "specified frame type is not compatible with max B-frames". I've set keyint to 75 (3 seconds) and keyint_min to 25.
[14:34] <termos> also it's x264
[14:46] <slowguy> i want to transcode a file and upload it to a server on the fly
[14:52] <ersatzbeardr> slowguy: gratz
[14:53] <ersatzbeardr> why don't you make a filesystem on the server and let the filesystem handle the streaming
[14:53] <ersatzbeardr> with smb mount or nfs over a vpn
[14:53] <ersatzbeardr> or fuck off
[14:53] <ersatzbeardr> your choice
[15:05] <Mavrik> O.o
[15:05] <sacarasc> ersatzbeardr: Why so mean?
[15:07] <ersatzbeardr> i take it all back, i thought this was #ubuntu
[15:15] <slowguy> ersatzbeardr: right
[15:16] <slowguy> ersatzbeardr: would i gain over ffpmpeg -i file.ts ftp://server/foo/bar ?
[15:16] <Matsy> Is there any way to stream RTSP without ffserver?
[15:25] <ersatzbeardr> ftp sucks
[15:26] <slowguy> for you?
[15:30] <termos> i'm setting gop_size, keyint_min in my codec context but it doesn't look like its honored by x264. when I print out my I frames and count them the gop is set to something else
[15:30] <termos> I try to set it to 75 frames but it keeps being 50 frames.
[15:38] <ersatzbeardr> no it functionally sucks as a protocol
[15:54] <Mavrik> termos, that's totally normal.
[15:54] <Mavrik> GOP size means "MAXIMUM distance" between frames
[15:54] <Mavrik> not "exact" distance
[15:57] <Plorkyeran> --no-scenecut makes it put keyframes exactly gop_size frames apart
[15:58] <Plorkyeran> which hurts compression somewhat, but if you specifically need that...
[16:00] <Mavrik> yep
[16:15] <Matsy> Wow
[16:15] <Matsy> Streaming webm with ffmpeg/ffserver works flawlessly
[16:47] <anshul_mahe> which is the c file or defination of av_frame_get_best_effort_timestamp
[16:50] <anshul_mahe> i would correct my question where are accessor of AVFrame is defined
[17:23] <ubitux> anshul_mahe: libavutil/frame.c + libavutil/internal.h (MAKE_ACCESSORS)
[17:25] <Matsy> Is there any way to make ffserver drop the entire file whenever it receives a new stream?
[17:25] <Matsy> And that it just starts over right from that point?
[17:36] <Matsy> Yes there is
[18:14] <TheWhisper> Hi, all! I'm having some trouble with FFmpeg and the Breakaway Audio Enhancer (http://www.claessonedwards.com/index.php?option=com_content&view=article&id…) I am unable to record a video (here are the settings and the output: http://pastebin.com/VVs9gCj3)
[18:16] <TheWhisper> And here are the results of me running -list_devices and then -list_options for the Breakaway device: http://pastebin.com/KFZvquea
[18:19] <TheWhisper> "virtual-audio-capturer" is also listed as a DirectShow audio device, but if I try to record using that, this is what happens: http://pastebin.com/ZLBAiJJh
[18:20] <TheWhisper> If I don't use an audio source, then it works fine.
[18:22] <TheWhisper> Please let me know if you need any more information :)
[18:26] <TheWhisper> And I'm not sure if this helps, but recording using -i video="screen-capture-recorder":audio="virtual-audio-capturer" works fine. From here: https://github.com/rdp/screen-capture-recorder-to-video-windows-free
[18:43] <TheWhisper> Okay, I figured out a fix.
[18:43] <TheWhisper> There's this dropdown in the Breakaway settings: http://i.imgur.com/HZw591T.png
[18:43] <TheWhisper> Wave = Wave out, DS = DirectSound, and KS = Kernel Streaming
[18:43] <TheWhisper> Choosing Kernel Streaming resulted in me being able to record audio and video
[19:12] <neo_mg> Hey! I need to convert a SWF with parameters to mp4. It's a dynamic swf that gets some params, like name. So I have file.swf?name=NEO and I need to convert it to mp4. Can FFMPEG do this? I already tried ffmpeg -i file.swf?name=NEO test.mp4 and it doesnt work 'cause the param is invalid.
[19:13] <sfan5> did you try putting the params into quotes?
[19:14] <neo_mg> Yes, same error.
[19:14] <neo_mg> ffmpeg -i "file.swf?name=NEO" test.mp4
[19:14] <neo_mg> like this?
[19:15] <sfan5> yes
[19:16] <neo_mg> Unable to find a suitable output format for 'name=NEO': Invalid argument
[19:21] <Hello71> more -i
[19:22] <neo_mg> how so ?
[19:22] <Hello71> use more -i
[19:22] <Hello71> ensure you do not have a file called "file.swf name=NEO"
[19:25] <neo_mg> ffmpeg -i file.swf -i name=NEO test.mp4 failed too. 'cause it wont try to open file.swf?name=NEO, it would try to open file.swf and name=NEO file that wont exists
[19:37] <Matsy> neo_mg: You need to host the SWF-file first
[19:38] <Matsy> And then connect to the SWF file through http://xxx/file.swf?name=NEO
[19:38] <Matsy> Or try using file://xxx/file.swf?name=NEO
[19:38] <Matsy> Unsure if the latter works
[19:38] <neo_mg> i'll try it now!
[19:38] <Matsy> The latter is easy to try, though
[19:42] <neo_mg> matsy i'm getting invalid argument trying http or file. with and without quotes
[19:49] <neo_mg> i think it worked like: ffmpeg -i http://127.0.0.1/path/file.swf?param=x output.mp4 with localhost or public path it didnt work. i'll do another tests, thx all
[20:12] <_Crash_Laptop> just tried again compiling FFMPEG via this tutorial and still get an Illegal instruction. Any ideas? - http://wiki.serviio.org/doku.php?id=howto:linux:install:raspbian
[20:12] <_Crash_Laptop> (Read from vunder FFMPEG)
[20:12] <_Crash_Laptop> under*
[20:19] <_Crash_Laptop> even when i install via apt-get i still get it.. wtf
[20:22] <_Crash_Laptop> anyone?
[20:56] <voip1__> hello guys
[20:56] <voip1__> i am transcoding slive stream and sending to streamer
[20:57] <voip1__> every day (i dont know why, may be inpit stream error) my ffmpeg hands 2-3 times
[20:58] <voip1__> and i shuld monitoring and restarting
[20:58] <voip1__> is there any way keep runing ffmpeg, even if we dont have input stream
[20:58] <voip1__> ?
[22:53] <frustrated> Hello
[22:56] <frustrated> Need some help installing ffmpeg. After following the instructions on https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu I am receiving the following error ERROR: libfdk_aac not found
[23:02] <c_14> Can you pastebin your config.log?
[23:04] <frustrated> Here it is http://pastebin.com/QF7fm8LB
[23:06] <frustrated> I am trying to cross compile for windows
[23:11] <zzz_> What is the best filter in ffmpeg for inverse telecine, and deinterlacing, respectively?
[23:12] <sfan5> detinerlacing: yadif
[23:12] <sfan5> deinterlacing*
[23:13] <c_14> frustrated: did you compile fdk-aac with the correct --host?
[23:15] <frustrated> @c_14 I didn't use that option
[23:15] <frustrated> what value should --host be?
[23:16] <c_14> The same thing as your --cross-prefix afaik
[23:17] <frustrated> Okay. Let me try that
[23:21] <c_14> You'll probably also have to use that on all the libraries.
[23:26] <frustrated> Let me try recompiling that first to see if it makes a difference
[23:40] <frustrated> I found another project that makes this cross compilation for mingw a bit easier http://mxe.cc
[23:40] <frustrated> Installing it now
[00:00] --- Sat Aug 2 2014
1
0
[00:22] <llogan> michaelni: i'll do the OPW twitter today.
[00:23] <michaelni> thx
[00:42] <Timothy_Gu> michaelni: I agree with ubitux. However I'd like to highlight some key fixes in the release in Changelog maybe.
[00:43] <michaelni> Timothy_Gu, ok, can you post a patch ?
[00:44] <Timothy_Gu> maybe, I can't promise anything though. I'm moving this week to ~20 km away, so I'm pretty busy.
[00:44] <cone-729> ffmpeg.git 03Nicolas Martyanoff 07master:53f10e03687c: avformat/hlsenc: Add some comments to make the code easier to read
[00:44] <cone-729> ffmpeg.git 03Nicolas Martyanoff 07master:706fcffce138: avformat/hlsenc: rename some identifers to make the code easier to read
[00:44] <cone-729> ffmpeg.git 03Nicolas Martyanoff 07master:467e9d618685: avformat/hlsenc: add some empty lines to make the code easier to read
[00:47] <michaelni> Timothy_Gu, understood, but i need to know if i should wait with the release or not
[00:47] <michaelni> or maybe someone else volunteers to highlight these key fixes
[00:47] <michaelni> ?
[01:01] <jamrial> no reason to postpone a point release just to add a couple lines in changelog
[01:03] <jamrial> speaking of which, was 2.3 affected by the problem c0a586d9 fixed?
[01:07] <michaelni> avpriv_dsputil_init() is still in 2.3 but i definitly intend to backport ubituxs dsp-pixel-block-util-toolbox-thingy to it once its done
[01:13] <kierank> https://www.mir-swamp.org/#
[02:01] <Timothy_Gu> what is the difference between av_mallocz_array and av_calloc completely the same?
[02:02] <Timothy_Gu> *are they completely the same?
[02:02] <Timothy_Gu> from the code they are the same, besides the fact that av_calloc is not inlined
[02:02] <wm4> looks like it
[02:03] <wm4> mysterious
[02:03] <wm4> btw. av_mallocz_array looks dangerous, because it implies it's for arrays
[02:03] <wm4> and you often use realloc on arrays
[02:03] <wm4> but I think calling av_realloc on a av_malloc'ed ptr is not ok
[02:03] <wm4> for strange reasons
[02:04] <Timothy_Gu> In this aspect av_mallocz(x) = av_calloc(1, x)
[02:04] <wm4> yeah, av_realloc doxygen says so
[02:04] <wm4> yes
[02:04] <wm4> also it's sad that these functions don't use calloc (which zeros automatically, and may do so much more efficiently than malloc+memset)
[02:05] <Timothy_Gu> michaelni?
[02:06] <wm4> maybe one was added by ffmpeg, and later libav added another one
[02:06] <michaelni> Timothy_Gu, yes?
[02:07] <Timothy_Gu> what do you think about all the av_calloc mess?
[02:08] <michaelni> mess ?
[02:08] <Timothy_Gu> see what I discussed with wm4
[02:09] <michaelni> the inline causes some object code expansion probably on calls
[02:10] <michaelni> calloc() use is tricky we need alignment
[02:10] <michaelni> and it would need extra code for the memalign hack case when thats enabled
[02:10] <Timothy_Gu> can't we just use av_malloc() code and then s/malloc/calloc/?
[02:11] <kierank> no
[02:11] <kierank> because calloc is not guarnateed aligned
[02:11] <michaelni> av_malloc uses memalign or _aligned_malloc() or posix_memalign or malloc + memalign hack
[02:12] <Timothy_Gu> and there's no _aligned_calloc?
[02:16] <wm4> one could just use calloc and align the result with the generic alignment hack
[02:17] <wm4> but maybe calloc wouldn't have much of an advantage anyway in this project
[02:17] <wm4> but Timothy_Gu has a valid point about all the redundant functions
[02:17] <michaelni> the alignment hack reduces what memory debuggers can detect so its better to avoid using it
[02:18] <wm4> I guess that's true
[02:27] <michaelni> is anyone going to highlight changelog entries for 2.3.1 ? or could give me a quick list of what i should do ?
[02:27] <michaelni> if not ill probably release in 1-2h without it
[02:27] <michaelni> or tomorrow if the time slips too much from other work
[02:28] <michaelni> Timothy_Gu, ?
[02:49] <michaelni> kierank, about mir-swamp.org, interresting, but its web interface is slow as hell, have u used it ? is it worth fighting through the web interface?
[02:52] <michaelni> also its web interface produces errors on every second page
[03:00] <Timothy_Gu> michaelni: * dv fallback * g2meet size change * AVDCT
[03:01] <michaelni> Timothy_Gu, will add them to the changelog, thanks
[03:02] <cone-729> ffmpeg.git 03Gerion Entrup 07master:dc315cdb4ecf: doc: add very basic libcdio documentation
[03:06] <Timothy_Gu_> michaelni: can you backport dc315cdb4ecf too?
[03:08] <michaelni> sure, locally done
[03:14] <j-b> libcdio?
[03:14] <j-b> but why?
[03:17] <wm4> so you can rip CDs with ffmpeg
[03:18] <wm4> and convert them to low bitrate mp3s
[03:18] <cone-729> ffmpeg.git 03Gerion Entrup 07release/2.3:1f58590e1e17: doc: add very basic libcdio documentation
[03:18] <cone-729> ffmpeg.git 03Michael Niedermayer 07release/2.3:7c2d152f562a: Changelog: highlighting for 2.3.1
[03:21] <Timothy_Gu_> j-b: just so you know, libcdio has been in FFmpeg since 2011. We are just adding docs for it.
[03:34] <j-b> more shitty libraries!
[03:39] <cone-729> ffmpeg.git 03Gerion Entrup 07fatal: ambiguous argument 'refs/tags/n2.3.1': unknown revision or path not in the working tree.
[03:39] <cone-729> Use '--' to separate paths from revisions
[03:39] <cone-729> refs/tags/n2.3.1:HEAD: doc: add very basic libcdio documentation
[03:49] <Rin_Tohsaka> I'd just like to make a follow-up comment in response to something jamrial said almost a month ago
[03:50] <Rin_Tohsaka> the x64 and ssse3 optimizations in ffvp9 are flat-out necessary for 1280x720p 30fps decoding of VP9 video on a 1.6GHz AMD E-350 (bobcat core)
[03:51] <Rin_Tohsaka> MPC-HC 32bit sees 100% CPU utilization and has frame-drops while MPC-HC 64bit peaks out around 75% CPU utilization and plays back the video smoothly
[03:51] <jamrial> what was my comment again?
[03:52] <Rin_Tohsaka> http://lists.ffmpeg.org/pipermail/ffmpeg-devel-irc/2014-July/002201.html
[03:52] <Rin_Tohsaka> [00:08] <jamrial> but afaik it has 64bits execution units, which is awfully slow for sse
[03:52] <Rin_Tohsaka> which was in response to
[03:53] <wm4> so the problem is that vp9 has missing 32 bit asm opts or what?
[03:53] <jamrial> yes. that doesn't mean ssse3 optimizations are not going to be faster than c
[03:53] <Rin_Tohsaka> no problem wm4, just saying that the optimizations still help considerably
[03:55] <wm4> jamrial: hm still a somewhat interesting result isn't it
[03:55] <Rin_Tohsaka> consider that my SSSE3-less Brisbane was running the same ~75% CPU utilization but at 2.5GHz
[03:56] <Rin_Tohsaka> and in most other things I've found bobcat to be about 75% slower per clock than K8
[03:56] <Rin_Tohsaka> ....
[03:56] <Rin_Tohsaka> err, have 75% the performance per clock
[03:58] <Rin_Tohsaka> ok, that is all
[13:04] <cone-675> ffmpeg.git 03Michael Niedermayer 07master:37ec7d291eac: avcodec/mpeg4video_parser: Check for extradata parsing failure
[13:04] <cone-675> ffmpeg.git 03Michael Niedermayer 07master:72555f4a3827: avcodec/pthread_slice: Check for malloc failure
[14:18] <cone-675> ffmpeg.git 03Michael Niedermayer 07master:ceff29b9ad61: avcodec/resample: check for malloc failure
[14:18] <cone-675> ffmpeg.git 03Michael Niedermayer 07master:dd200c56c07b: avcodec/dvdsubdec: free subtitle rectangles if nothing is output
[14:22] <ubitux> michaelni: what's CSA?
[14:22] <ubitux> (who?)
[14:22] <michaelni> clang static analyzer
[14:22] <ubitux> ok
[14:32] <plepere> hi
[14:33] <plepere> quick question : using 3 operand psubw is OK in SSE ?
[14:35] <ubitux> if it's not ok x264 will translate to 2 op afaict
[14:35] <ubitux> s/ct/k/
[14:37] <plepere> ok
[14:38] <plepere> because I'm fixing my transform_add patch
[14:39] <plepere> thanks
[16:49] <cone-766> ffmpeg.git 03Benoit Fouet 07master:bf428bb3145c: h264_mp4toannexb_bsf: account for consecutive IDR pictures.
[16:49] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:0782fb6bcb32: libavcodec/h264_parser: Increase parse_history, fix huge resolutions
[17:00] <kierank> Program received signal SIGSEGV, Segmentation fault.
[17:00] <kierank> [Switching to Thread 0x7fffa29c3700 (LWP 2061)]
[17:00] <kierank> 0x00007ffff6ac590a in avpriv_emms_yasm () from /usr/local/lib/libavutil.so.52
[17:00] <kierank> (gdb) bt
[17:00] <kierank> #0 0x00007ffff6ac590a in avpriv_emms_yasm ()
[17:00] <kierank> from /usr/local/lib/libavutil.so.52
[17:00] <kierank> how can one crash in emms?
[17:02] <nevcairiel> no mmx support?
[17:02] <nevcairiel> :D
[17:03] <nevcairiel> although that would end up being sigill
[17:05] <ubitux> stack smashing exploding elsewhere?
[17:05] <kierank> it's in the opus decoder
[17:05] <ubitux> can we reproduce?
[17:07] <kierank> dunno
[17:27] <kierank> I can't get libavcodec.so to emit debug symbols
[17:34] <kierank> oh unless the stack is smashed
[17:36] <kierank> ==10940==
[17:36] <kierank> ==10940== Process terminating with default action of signal 11 (SIGSEGV)
[17:36] <kierank> ==10940== General Protection Fault
[18:37] <Daemon404> kierank, this only happens with asm enabled?
[18:44] <kierank> dunno checking now
[18:45] Action: Daemon404 wonders if it oculd be swr
[18:47] <kierank> yep goes away without asm
[18:58] <kierank> oh well time to use opus with avresample
[19:05] <cone-766> ffmpeg.git 03Anshul Maheswhwari 07master:fcb11ec291e9: v4l2enc: adding AVClass
[19:15] <kierank> is there a HAVE_SWRESAMPLE #define ?
[19:16] <jamrial> CONFIG_SWRESAMPLE
[19:17] <nevcairiel> Does the decoder work with both now? I'm still using libopus because I use avresample
[19:17] <kierank> i keep getting crashes I suspect to be swresample so I'm going to move and see if they go away
[19:17] <kierank> though actually I was going to move anyway
[19:17] <jamrial> no, opus is hardcoded to work with swresample
[19:18] <jamrial> in libav it's hardcoded to avresample
[19:18] <nevcairiel> Wonder how hard it would be to make it work with both
[19:18] <jamrial> it's easy to make it use both, but it needs a maintainer to make sure it doesn't break
[19:19] <nevcairiel> Or my own fork just gets a patch to make it use only avresample at some point
[19:19] <jamrial> both as in one or the other, depending on config
[19:19] <Compn> >in b4 'lets just copy *resample into opus'
[19:19] <nevcairiel> For now libopus works
[19:20] <kierank> jamrial: I am going to try and do that now
[19:20] <jamrial> swr is better for opus than lavr. resampling is much faster in the former
[19:20] <nevcairiel> I would prefer it didn't rely on either tbh. I have another project that doesn't have either lib yet, and just adding it for opus seems overkill
[19:20] <kierank> jamrial: apart from the suspected crashes yes
[19:21] <jamrial> what was the crash?
[19:21] <jamrial> i wasn't here when you mentioned it
[19:21] <ubitux> kierank: did you play with the -cpuflags?
[19:21] <nevcairiel> Looked like smashed stack
[19:21] <kierank> ubitux: yes goes away with --disable-asm
[19:21] <kierank> I'm using the api
[19:21] <nevcairiel> All kinds of weird stuff
[19:21] <ubitux> you can force the cpu flags at runtime
[19:22] <ubitux> and set them to "none" or something more specific
[19:26] <ubitux> kierank: valgrind doesn't give more insight?
[19:26] <kierank> nope
[19:27] <kierank> also the opus in ts patch works in libav but not ffmpeg
[19:27] <kierank> so i can't be dealing with that crap
[19:27] <kierank> there is some magic guessing that picks mp3
[19:33] <michaelni> kierank, how can the issue be reproduced ?
[19:33] <kierank> don't know
[19:33] <kierank> that's the problem
[19:44] <michaelni> kierank, how can i reproduce the opus in ts issue then ?
[19:58] <Daemon404> [18:20] <@jamrial> swr is better for opus than lavr. resampling is much faster in the former <-- for all those people with avx who are bottlenecked on audio decoding
[19:58] <Daemon404> right?
[20:11] <cone-766> ffmpeg.git 03Reimar Döffinger 07master:f0de01856fde: dict.c: minor simplification.
[20:13] <kierank> seems to work with ffmpeg cli
[20:14] <kierank> so as an api issues it's almost impossible to reproduce
[20:15] <michaelni> kierank, can you share the sample & command line (even if you cant reproduce it, might be worth a try maybe it reproduces on my box)
[20:15] <kierank> can't share sample
[20:15] <kierank> will have to make one somehow
[20:15] <michaelni> :(
[20:16] <michaelni> The modern world of NDAs, how i hate it ...
[20:16] <Daemon404> an opus sample under nda?
[20:16] <Daemon404> thats a new one.
[20:17] <kierank> it's not an nda
[20:17] <kierank> it's a recording from a live channel
[20:17] <Daemon404> fair use.
[20:17] <kierank> i'm not concerned about copyright
[20:18] <Daemon404> then im not sure what
[20:18] <kierank> it's a feed for internal use only
[20:18] <Daemon404> certainly not a "recording from a live channel" then
[20:18] <kierank> it is the same feed as a live channel
[20:19] <kierank> literally a duplicated feed to that from the dth encoder
[20:19] <Daemon404> if the bits are the same then why differentiate
[20:42] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:1af563b5dfea: avcodec/ratecontrol: remove unneeded statement
[20:42] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:590c2996ee11: avcodec/flac_parser: remove duplicate assignent
[20:42] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:5bedbc3da281: avcodec/diracdec: remove unneeded assignment
[21:19] <llogan> what's the significance of 2.3.1? it was released 15 days after 2.3. (I didn't follow or understand the AVDCT stuff)
[21:21] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:a75a60f68610: avutil/pixdesc: remove unneeded assignment
[21:21] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:fc19edd8f500: avfilter/trim: remove duplicate assignment
[21:21] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:39133efc1b99: avdevice/oss_audio: Check SNDCTL_DSP_GETFMTS failure, print a warning but continue
[21:22] <michaelni> llogan, i generally try to make a point release 1-2 weeks after the first .0 release
[21:23] <llogan> oh, i should have realized that by now.
[21:23] <michaelni> i dont think 2.3.1 was truly significant
[21:52] <ubitux> BBB: https://github.com/ubitux/FFmpeg/compare/avpixelutils here is a prototype
[21:52] <ubitux> so it exposes an api for pixel utils, which is enabled by default but can be disabled at configure
[21:53] <ubitux> (maybe that could be disabled and automatically be picked with some select/deps configure magic though, but we might want to expose that api anyway)
[21:53] <ubitux> i'll add diff_pixels and some x86 and will submit a proper patch, but anyway, it is disablable
[21:55] <ubitux> Timothy_Gu: ah! i told you your yellow was killing kittens, just use the orange...
[22:21] <Daemon404> wtf.... bintuils wont vompiler with gcc 4.9.1??
[22:21] <Daemon404> nevcairiel, did you hit this?
[22:21] <Daemon404> compile*
[22:24] <nevcairiel> Yes
[22:24] <JEEB> lolwut
[22:24] <nevcairiel> One new warning and they use error on warnings
[22:24] <JEEB> lol
[22:24] <Daemon404> fucking -Werror
[22:24] <Daemon404> die in a fire
[22:25] <Daemon404> i love how it also caused regressions in binutils tests
[22:25] <Daemon404> do the gnu toolchain people even talk to eachother
[22:26] <nevcairiel> I used a 4.8.3 cross compiler in the end to build the 4.9.1 target
[22:26] <Daemon404> im just backporting the fix from their git rep
[22:27] <nevcairiel> The issue is fixed since way earlier, they just don't release very often. :p
[22:27] <Daemon404> yes
[22:27] <Daemon404> i used to have to use binutils cvs for ages
[22:28] <nevcairiel> I would have to mangle my scripts to allow custom patches, but oh well. My way worked out in the end
[22:28] <nevcairiel> The version of the cross compiler used isn't all that important
[22:28] <Daemon404> its a pain in the butt though
[22:29] <Daemon404> also doing patch review on bugzilla is insane.
[22:29] <nevcairiel> bugzilla is insane
[22:32] <Compn> Daemon404 : can you imagine maintaining gcc ?
[22:33] <Compn> or any compiler
[22:33] <Daemon404> binutils is not a compiler
[22:33] <Compn> :P
[22:33] <Daemon404> but i would assume "make sure the compiler and build the linker and assembler" is kind of obvious
[22:33] <Daemon404> can*
[22:58] <jamrial> that's the kind of bug that should force them to get a point release out of the door asap
[22:58] <Daemon404> dude
[22:58] <Daemon404> gcc 4.9.x fuck up the linux kernel
[22:59] <Daemon404> and they still wont
[22:59] <Daemon404> because theyre ON A SCHEDULE
[22:59] <Daemon404> cant break the release schedule! ever!
[23:07] <jamrial> maybe they don't care because no distro is going to use gcc 4.9.x anyway until 4.10.x is out or something...
[23:08] <Daemon404> i dont know
[23:08] <Daemon404> it's also true gnu doesnt get any new blood at all, more or less
[23:08] <Daemon404> so theyll keep using methods and tech from 1995 forever
[23:08] <wm4> Daemon404: the author of musl now says that he thinks drepper actively sabotaged glibc for job security
[23:09] <wm4> <dalias> the more i watch the glibc folks clean up from the mess drepper left them...
[23:09] <ubitux> well drepper is working for goldman sachs
[23:09] <wm4> <dalias> ...the more i'm convinced that he actively sabotaged glibc as job security
[23:10] <wm4> <dalias> there are things that make no sense at all, like per-arch asm for all of the pthread synchronization functions, which have no need for asm micro-optimization and have complex logic
[23:10] <wm4> ubitux: well, now
[23:10] <wm4> after he left gnu
[23:10] <wm4> anyway, so there are some surprising reasons why GNU software is shit
[23:10] <ubitux> well, it's probably the worst assholish company possible, so it reflects a bit the state of mind of the guy
[23:11] <ubitux> "company"
[23:11] <wm4> :)
[23:12] <Daemon404> wm4, well that is standard gnu code
[23:32] <cone-766> ffmpeg.git 03James Almer 07master:62baf5b8530d: x86/hevc_deblock: use existing x86util transpose macro in chroma_{10, 12}
[00:00] --- Fri Aug 1 2014
1
0
[03:26] <MrYaah> Hello, is it possible to use ffmpeg and a video file or something to super reliably set up an rtsp server streaming any old random video source so we can test the receiving of rtsp video seperately from generation of it. We're trying to stream webcam video with ffmpeg over rtsp and we cant figure out why its exploding
[03:26] <Matsy> https://trac.ffmpeg.org/wiki/StreamingGuide
[03:37] <MrYaah> Matsy: so we did try following that, heres the command we're currently running that isnt working. "ffmpeg -f video4linux2 -framerate 30 -video_size 1920x1080 -input_format h264 -i /dev/video0 -an -c:v copy http://localhost:8090/feed3.ffm"
[03:37] <MrYaah> and then our config in ffserver pushes it as rstp
[03:41] <MrYaah> and heres the ffserv config
[03:41] <MrYaah> http://hastebin.com/epuyufuvok.xml
[03:48] <Hello71> where?
[03:48] <MrYaah> where what?
[03:49] <Hello71> -> michaelni
[03:49] <sacarasc> New site? :O
[03:49] <sacarasc> http://ffmpeg.org/download.html seems to have it, Hello71.
[03:49] <Hello71> no, the other new part of the topic
[03:49] <Hello71> well, other other
[03:50] <sacarasc> Public logs?
[03:50] <sacarasc> !log
[03:50] <michaelni> the logs are not new, it was in the topic before but somehow got truncated
[03:50] <michaelni> so topic ended at "FFmpeg forum: http://ffmpeg" i just restored it
[03:51] <michaelni> that and 2.3.1, there should be no other change in the topic
[03:51] <sacarasc> I like the new site.
[03:52] <Hello71> the ones in the root are either crashed or ongoing?
[04:22] <diesel420> sacarasc, ya i noticed it, pretty nice the new site
[04:22] <sacarasc> \o/
[09:21] <naprac> ffmpeg -f x11grab -i :0.0 -f alsa -i hw:0 -y output.mkv gives me gray frame with no sound
[09:21] <naprac> whats wrong?
[13:13] <a141982112> is it possible to stream video to virtual /dev/video0 and then play it
[13:17] <ubitux> yes
[13:18] <spaam> cool
[13:19] <ubitux> use v4l2loopback to setup a virtual device
[13:19] <ubitux> push on it with ffmpeg -i ... -f v4l2 /dev/videoX
[13:19] <ubitux> read from it with ffplay -f v4l2 /dev/videoX
[13:20] <ubitux> (or ffmpeg -f v4l2 -i /dev/videoX ...)
[13:20] <ubitux> (don't forget -re for real time when pushing though)
[13:41] <a141982112> ubitux, thanks
[16:08] <Katharsis> how to run avconv with pulse on Debian?
[16:09] <Katharsis> i cannot use alsa, because it gives me worse sound quality
[16:09] <ubitux> ask #libav, this is the channel support for ffmpeg
[16:10] <ubitux> documentation for pulse in ffmpeg is available at http://ffmpeg.org/ffmpeg-devices.html#pulse
[16:17] <Katharsis> ubitux: thx but on libav there is nobody, only idle session
[16:17] <Katharsis> ubitux: this is weird because on Ubuntu avconv + pulse works
[16:18] <ubitux> well we can not support libav here, so you should either get support their, or use ffmpeg here and raise the problem you have with it
[16:48] <YuGiOhJCJ> hello, when I try to compile ffmpeg it says that it requires "openal", so I try to compile openal-soft, then it says that it requires "lavutil" (part of ffmpeg)... What is this circular dependency please?
[16:48] <c_14> Can you pastebin your configure line?
[16:48] <YuGiOhJCJ> sure
[16:50] <YuGiOhJCJ> http://pastebin.com/qgxN5CML
[16:52] <sacarasc> If you don't need opanal, remove --enable-openal from the configure line.
[16:54] <YuGiOhJCJ> yeah but it is just strange that ffmpeg requires openal but openal requires ffmpeg
[16:54] <dorjePy> ffmpeg compile gives me libx264 not found
[16:55] <sacarasc> YuGiOhJCJ: You compile ffmpeg without openal, then you compile openal, then you compile ffmpeg with it.
[16:55] <YuGiOhJCJ> ah ok thanks for the tip ;)
[16:56] <dorjePy> following compile ffmpeg.org instructions; ubuntu 14.04
[16:57] <sacarasc> dorjePy: Did you compile libx264 first?
[17:05] <dorjePy> sacarasc: x264 compiled successfully and lib installed
[17:05] <sacarasc> What does the config log say?
[17:06] <sacarasc> Just the config log to there, please.
[17:11] <dorjePy> sacarasc http://pastebin.com/tQDxPnbS
[17:16] <dorjePy> sacarasc: /home/install/ffmpeg_build/include/x264.h:36:4: warning: #warning You must include stdint.h or inttypes.h before x264.h [-Wcpp]
[17:16] <dorjePy> # warning You must include stdint.h or inttypes.h before x264.h
[17:24] <sacarasc> dorjePy: That's just a warning, the actual error is a little further down, but I don't know how to fix. Someone might be around who does, though.
[17:35] <relaxed> dorjePy: you need --extra-ldflags="-ldl"
[17:35] <relaxed> or build libx264 with --disable-opencl
[18:54] <Matsy_> Hey everyone!
[18:56] <Matsy> Is there a way to force ffmpeg to pipe its output to another process? I want to 'ffmpeg -i udp://239.37.0.0:4422 test.mp4' and set up a HTTP-server with the 'test.mp4'-file
[18:56] <c_14> ffmpeg [stuff] pipe:1 | foobar
[18:56] <Matsy> And I want the client to be able to read the MP4 file before it is finished, because the UDP-stream is just a television stream
[18:56] <c_14> You cannot read an mp4 file before it is finished (normally).
[18:57] <Matsy> ... oh
[18:57] <c_14> That has to do with funky things like moov atoms.
[18:57] <Matsy> Is there any file format that can be read by Chrome?
[18:57] <Matsy> That does support that
[18:57] <c_14> webm?
[18:57] <Matsy> I've never worked with webm
[18:58] <c_14> It's basically matroska except that it only supports vp8/vp9 and opus/vorbis.
[18:58] <Matsy> But, the app Popcorn Time is able to stream torrent files to a same HTTP-server
[18:58] <Matsy> So also with incomplete mp4-files
[18:59] <c_14> Because the file has already been encoded correctly, therefore it has the moov atom and other fun stuff.
[18:59] <Matsy> Ah, right
[18:59] <Matsy> Makes sense
[19:00] <Matsy> Webm doesn't need those things?
[19:00] <c_14> Nope.
[19:00] <Matsy> That sounds really promising!
[19:00] <c_14> You can try something like mov fragmentation and other "fun" things, but that's a lot of black magic that I don't know much about.
[19:00] <Matsy> Neither do I, hah
[19:00] <Matsy> I'm pretty new to this all
[19:02] <c_14> imo mp4 is a rather shitty format because it sets so many restrictions, but it is supported by almost everything, so&
[19:05] <Matsy> Encoding to webm seems to give me Error while opening encoder for output stream #0:2 - maybe incorrect parameters such as bit_rate, rate, width or height
[19:06] <Matsy> Oh right, I don't need to encode that stream
[19:06] <Matsy> http://pastebin.com/q6eFwqfq
[19:06] <c_14> Subtitle stream?
[19:07] <Matsy> Yeah, I can just ignore that one
[19:07] <Matsy> It's a Dutch thing, we still have something called Teletext for old people
[19:10] <Matsy> 'ffmpeg -i udp://239.37.0.0:4422 -map 0:0 -map 0:1 -c:v libvpx -b:v 1M -c:a libvorbis output.webm' did it
[19:12] <Matsy> c_14: Hero!
[20:41] <onyx> hey guys I keep getting Unknown encoder 'libx264'
[20:41] <onyx> I have libx264 installed
[20:42] <onyx> EV libx264 libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[20:42] <onyx> ideas?
[20:44] <llogan> onyx: see tail of config.log, show your x264 configure, show your ffmpeg configure (use a pastebin service)
[20:46] <onyx> how do I see tail of config.log?
[20:46] <llogan> $ tail config.log
[20:46] <llogan> or open config.log and look at bottom
[20:47] <onyx> location?
[20:47] <onyx> tail: cannot open `config.log' for reading: No such file or directory
[20:47] <llogan> it's in your ffmpeg source directory
[20:47] <onyx> which ffmpeg
[20:48] <llogan> you should probably just use a static build instead of compiling
[20:48] <onyx> which ffmpeg show /usr/local/bin/ffmpeg
[20:48] <onyx> but when I do cd: /usr/local/bin/ffmpeg: Not a directory
[20:49] <llogan> oh, i was assuming that you were getting this message upconf ffmpeg configuration, but i read too breifly.
[20:49] <llogan> s/upconf/upon
[20:49] Action: llogan pays more attention now
[20:50] <onyx> http://pastebin.com/BFfDCAff
[20:50] <llogan> few people seem to read the whole fflogger sentence...
[20:51] <onyx> s/upconf/upon?
[20:51] <llogan> Replace upconf with upon in the sentence preceeding that statement
[20:52] <_Crash_Laptop> Just compiled ffmpeg 0.9.1 and when rebooted and ran command "ffmpeg" i get "illegal instruction" - any ideas?
[20:52] <_Crash_Laptop> (What I'm doing requires that version)
[20:52] <onyx> Im trying to transcode an rstp live stream to h264
[20:53] <onyx> llogan: sorry Im really not understanding what you mean with the s/upconf/upon
[20:54] <llogan> upconf was a typo for upon in one of my sentences
[20:54] <onyx> oh, ok, I thought it was a command I needed to run somewhere
[20:54] <llogan> the "s/shit/turd" is neckbeard speak for replace "shit" with "turd"
[20:55] <onyx> gotcha
[20:55] <c_14> neckbeards unite
[20:56] <onyx> ok so this is the command Im using http://pastebin.com/BFfDCAff
[20:56] <onyx> keep getting [h264 @ 0x294f000] number of reference frames (0+2) exceeds max (1; probably corrupt input), discarding one
[20:56] <llogan> you're missing the complete console output as fflogger mentioned twice
[20:56] <onyx> aaaah ok
[20:56] <llogan> the command without the context of the complete console output is often now useful
[20:56] <onyx> gotcha
[20:56] <onyx> on it
[20:57] <llogan> how can ffloggers statement be re-worded?
[20:57] <llogan> many people omit the console output
[20:57] <onyx> http://pastebin.com/W7E5fNnU
[20:58] <c_14> "please paste your EXACT ffmpeg command and the COMPLETE console output to a pastebin lite (like www.pastie.org or www.pastebin.com) [..]" maybe?
[20:58] <dorjePy> relaxed: no success with "make x264" --disable-opencl nor with "./configure ffmpeg" --extra-ldflags="-ldl"
[20:58] <c_14> But then we might get people pasting into the channel again.
[20:58] <llogan> i suspect it's that last sentence because it fails to mention the console output
[20:59] <c_14> Could be that too...
[20:59] <c_14> I'm assuming they either only read the beginning or only read the end.
[20:59] <llogan> onyx: ...and of course I meant "not" instead of "now" earlier
[20:59] <onyx> ok 3rd time is a charm http://pastebin.com/81k8wKCj
[21:00] <llogan> your ffmpeg configuration is blank
[21:00] <llogan> you need at least --enable-gpl --enable-libx264
[21:00] <onyx> ok, so "sudo --enable-gpl --enable-libx264"
[21:00] <onyx> ?
[21:01] <llogan> no, you will need to re-compile ffmpeg
[21:01] <_Crash_Laptop> anyone?
[21:01] <_Crash_Laptop> :P
[21:01] <c_14> _Crash_Laptop: config.log please, though I'm guessing you compiled an instruction set your cpu doesn't support
[21:02] <llogan> _Crash_Laptop: what kind of hardware are you running? did an earlier or later version work as expected?
[21:02] <llogan> how can we attempt to duplicate this?
[21:02] <_Crash_Laptop> Raspberry Pi
[21:02] <_Crash_Laptop> version 0.9.1
[21:02] <_Crash_Laptop> from what you said, I guess I need a compatible version of ffmpeg :P
[21:03] <_Crash_Laptop> i used this page - http://fitcom.co/2013/05/29/create-your-own-video-sharing-site-powered-by-c…
[21:04] <_Crash_Laptop> thats version 0.9.1 of ffmpeg btw
[21:04] <_Crash_Laptop> i saw that tutorial used 0.6.1 so i went to the maximum version that I used which works with what i need it for
[21:05] <llogan> onyx: you can just download a build if you don't want to compile again
[21:05] <onyx> llogan: Im trying to figure that out
[21:05] <onyx> Im here https://ffmpeg.org/download.html#LinuxBuilds
[21:05] <onyx> but dont know what to do
[21:05] <onyx> LOL
[21:06] <llogan> download, extract the downloaded archive, run ffmpeg
[21:06] <onyx> should I remove ffmpeg first?
[21:06] <llogan> you can if you like, but the build you download can co-exist. look for "Linux Static Builds" on the download page.
[21:07] <_Crash_Laptop> llogan, does what i put help?
[21:08] <llogan> _Crash_Laptop: i was still waiting for you to supply config.log as c_14 suggested
[21:08] <llogan> (use a pastebin site)
[21:08] <_Crash_Laptop> where is that file located?
[21:08] <_Crash_Laptop> and yeah dw
[21:08] <c_14> The directory you build ffmpeg in.
[21:09] <_Crash_Laptop> right, you'l have to wait an hour since i had to re-compile it again since it got removed from /tmp when rebooted :P
[21:09] <_Crash_Laptop> raspberry pi takes a long time to compile it lol
[21:10] <llogan> or at least show the complete console output you get when you do attempt to run "ffmpeg"
[21:10] <_Crash_Laptop> llogan, what i said is all i get
[21:10] <_Crash_Laptop> the compilation suceeds
[21:11] <c_14> ALL output from when you press enter until you can type the next command.
[21:12] <_Crash_Laptop> http://pastebin.com/vM2GGThL
[21:12] <_Crash_Laptop> there
[21:13] <_Crash_Laptop> that wasnt the same error i was getting a minute ago.. it was originally "iilegal instruction". hmm
[21:13] <c_14> export LD_LIBRARY_PATH=/path/to/wherever/you/installed/ffmpeg/lib
[21:14] <c_14> or build ffmpeg without --disable-static
[21:15] <_Crash_Laptop> there - http://pastebin.com/gF8iJPKU
[21:16] <c_14> I'm guessing cpu instruction set.
[21:16] <c_14> can you pastebin your configure command?
[21:16] <_Crash_Laptop> sure
[21:17] <_Crash_Laptop> http://pastebin.com/fwbDHR3F
[21:18] <c_14> hmm, have you tried it with a different version of ffmpeg?
[21:20] <_Crash_Laptop> no not currently, i could use the 0.6.1
[21:20] <_Crash_Laptop> that the tutorial uses
[21:22] <_Crash_Laptop> is there a way to completely remove a current installation after "make install" or is "sudo make uninstall" the only way?
[21:22] <c_14> Delete all the files?
[21:23] <_Crash_Laptop> from where though?
[21:23] <_Crash_Laptop> i don't know the directories it installed too
[21:24] <_Crash_Laptop> to*
[21:24] <llogan> that's one reason to install with the package management system of you're going to be installing anywhere that requires sudo
[21:24] <llogan> "if you're"
[21:25] <llogan> or why you should always keep the source directories you compiled in
[21:26] <c_14> In your case it should all be /usr/local/ffmpeg/* though, seeing as that's your prefix
[21:26] <_Crash_Laptop> so would it be alright to remove the /usr/local/ffmpeg folder?
[21:27] <c_14> Unless you put other things there.
[21:27] <_Crash_Laptop> nah
[21:28] <onyx> how many live streams can I transcode in a 1core 512mb ram ubuntu server?
[21:29] <c_14> That depends on approximately n+1 different factors, ymmv. Not very many.
[21:29] <onyx> I need to transcode 5 live streams
[21:30] <onyx> do you think it will hold?
[21:30] <c_14> What's the inres outres and codecs?
[21:31] <onyx> they are h264 and outputing h264 too
[21:32] <c_14> resolution? do you need to reencode or can you copy?
[21:32] <onyx> my problem is that the profile in the h264 from the IP camera is not compatible with ios
[21:32] <onyx> so I need to transcode it to another h264 to make it compatible
[21:36] <c_14> It might work if you use -preset {fast,veryfast,ultrafast}, but try it and then see
[21:37] <onyx> well right now im installing ffmpeg again
[21:38] <onyx> is there a command that includes all the options when installing?
[21:38] <c_14> all the options?
[21:38] <onyx> im at this step http://pastebin.com/4EcC99cJ
[21:38] <llogan> not one person has ever needed all options
[21:40] <c_14> llogan: Should I start construing scenarios?
[21:40] <onyx> ok what should I do then?
[21:40] <onyx> Im a bit lost at this step now
[21:41] <c_14> Wait, you want the option list?
[21:41] <c_14> man ffmpeg or ffmpeg -h
[21:41] <onyx> man ffmpeg
[21:41] <onyx> No manual entry for ffmpeg
[21:41] <onyx> ffmpeg: command not found
[21:42] <llogan> the static build does not include man pages
[21:42] <onyx> ok so far
[21:42] <c_14> ./ffmpeg
[21:42] <onyx> I download the tar
[21:42] <onyx> run ./ffmpeg
[21:42] <onyx> and got http://pastebin.com/4EcC99cJ
[21:42] <c_14> ./ffmpeg -h
[21:43] <onyx> does that mean ffmpeg is installed?
[21:44] <c_14> It's as installed as a static binary gets unless you throw it in your path.
[21:44] <c_14> s/path/PATH that is
[21:45] <onyx> ok so I need to change my command to include the PATH to this ffmpeg static file
[21:45] <onyx> rith?
[21:45] <onyx> right?
[21:45] <c_14> pmuch
[21:45] <onyx> ok, ill give it a go
[21:50] <onyx> ok it seems to be working
[21:52] <onyx> how to I stop it?
[21:52] <onyx> nevermind got it
[21:59] <onyx> ok
[22:00] <onyx> this is not working http://pastebin.com/pNJHeyhz
[22:01] <c_14> Replace -ab with -b:a
[22:02] <c_14> -acodec with -c:a
[22:02] <c_14> -vprofile with -profile:v
[22:02] <c_14> -vb with -b:v
[22:02] <c_14> -vcodec with -c:v
[22:02] <c_14> -vbsf with -bsf:v
[22:02] <c_14> That's mainly cosmetic/compatibility wise though.
[22:03] <c_14> The real problem is here:
[22:03] <c_14> >[tcp @ 0xa9ccc00] Connection to tcp://127.0.0.1:1935?timeout=0 failed: Connection refused
[22:03] <c_14> There's nobody listening on tcp localhost port 1935
[22:04] <onyx> ok, how to I fix that?
[22:05] <c_14> Ehhhh, that's up to whatever rtsp server that's supposed to be listening.
[22:05] <c_14> You can try changing the rtsp_transport to udp
[22:06] <onyx> I tried with -f mpegts udp://127.0.0.1:10000?pkt_size=1316
[22:06] <onyx> and seems to be working
[22:06] <onyx> I just dont know what to do with that udp...
[22:07] <Mavrik> O.o
[22:07] <onyx> I tried playing the using jwplayer but gave me non playable source or something like it
[22:07] <Mavrik> you can't just randomly multicast stuff over internet
[22:07] <Mavrik> you need a streaming server that will distribute transoded video to people opening your site in the browser
[22:08] <onyx> thats what Im trying to do
[22:08] <onyx> right now I have that working this way
[22:08] <onyx> IP Camera ==> Wowza ===> jwplayer
[22:08] <onyx> it works fine in desktop
[22:09] <onyx> but the hls now playing
[22:09] <onyx> I been going back and forth with wowza support and they said is because of the h264 profile of the camera
[22:09] <onyx> so Im trying to do IP Camera ==> ffmpeg ===> wowza ===> jwplayer
[22:10] <onyx> hoping that ffmpeg would fix the h264 profile
[22:11] <Mavrik> mhm
[22:11] <Mavrik> wowza should have no problem receiving UDP MPEG2-TS stream from ffmpeg
[22:11] <onyx> ok
[22:11] <Mavrik> are you sending the data to the correct endpoint?
[22:11] <onyx> well that part i dont know
[22:12] <onyx> I have wowza and ffmpeg in 2 separated servers
[22:12] <onyx> should I put wowza's ip as endpoint?
[22:12] <c_14> Well then maybe you should be using the ip of the other server and not localhost?
[22:12] <Mavrik> onyx, of course
[22:12] <Mavrik> you are sending TO that wowza right? :)
[22:13] <Mavrik> and you probably already set that: http://www.wowza.com/forums/content.php?37-How-to-publish-and-play-a-live-s… :)
[22:13] <onyx> yep I have done that but with the rtsp from the camera
[22:14] <Mavrik> on step "Publishing the stream" you define port on which Wowza will wait for the UDP stream
[22:14] <Mavrik> and then on your ffmpeg machine you need to send it to wowza: ... -f mpegts udp://<wowza ip>:<port configured under Stream URI>
[22:15] <onyx> oooh ok
[22:15] <onyx> let me try that really quick
[22:22] <onyx> just to make sure
[22:23] <onyx> teh udp://0.0.0.0:10000 need to change the 0.0.0.0 to the ip of the ffmpeg server?
[22:23] <Mavrik> no
[22:24] <Mavrik> you're setting listening socket - so it's either address of local NIC on which you want it to listen
[22:24] <Mavrik> or 0.0.0.0 which means "listen on all network interfaces on this machine on port N"
[22:25] <onyx> is working on desktop!
[22:25] <onyx> quality is horrible tho
[22:27] <onyx> it works on ios too!
[22:27] <onyx> how can I improve the video quality tho?
[22:33] <c_14> Increase bitrate.
[22:34] <c_14> 150kb/s is really low for video.
[22:34] <c_14> Also, if you state your bitrates as $numberk it's usually easier to read.
[22:35] <onyx> so this -vb 150000 means 150kb/s
[22:35] <c_14> yep
[22:36] <c_14> You can either increase it or consider switching to crf.
[22:36] <onyx> what is crf?
[22:37] <c_14> Constant Rate Factor
[22:37] <llogan> VBV should be used if bandwidth is a limiting factor
[22:37] <c_14> It basically tries giving you the same perceptual quality throughout the video.
[22:38] <Mavrik> um yeah
[22:38] <Mavrik> don't use CRF for video streaming
[22:38] <onyx> ok, what should I use?
[22:38] <Mavrik> that'll make everyones experience miserable... bitrate + vbv works best, crf with vbv works ok
[22:39] <onyx> so -vb 1500000?
[22:39] <Mavrik> so "-b:v 500k -maxrate 500k -bufsize 1000k" should be an improvement
[22:39] <Mavrik> tweak according to your users badwith availability and buffer size in the player
[22:39] <onyx> I have a 5mbps up on the camera
[22:40] <Mavrik> yeah you probably don't want to stream 5mbps SD video to people on iPhones on 3G :P
[22:40] <onyx> yep
[22:41] <Mavrik> cca 1.5Mbit is reasonable for 720p video, 700-1k is sweet spot for PAL depending on how much movement you have
[22:42] <onyx> so -b:v 1000k -maxrate 1000k -bufsize 2000k?
[22:42] <Mavrik> that should work reasonably well
[22:42] <Mavrik> adjust bufsize if your bitrate will spike too much
[22:43] <onyx> video is coming a bit better
[22:43] <onyx> but not so much
[22:43] <onyx> is playing very choppy too, like 5fps
[22:44] <onyx> -b:v 1000k -maxrate 1500k -bufsize 3000k?
[22:44] <Mavrik> :)
[22:45] <Mavrik> easier that way :)
[22:45] <onyx> http://pastebin.com/gABFqpVP
[22:50] <Mavrik> onyx, dude. ffmpeg output :)
[22:51] <Mavrik> also, baseline will look like crap
[22:51] <Mavrik> and all new iOS/Androids since years can play Main :)
[22:52] <llogan> onyx: you should always include the console output with your command as I explained earlier
[22:52] <onyx> ok
[22:52] <onyx> one sec
[22:52] <_Crash_Laptop> llogan, just compiled and installed ffmpeg and still getting the illegal instruction - http://pastebin.com/an7Tb7YZ
[22:54] <llogan> how did you compile ffmpeg? what is your configure?
[22:54] <onyx> http://pastebin.com/JRSYZGhx
[22:55] <Mavrik> onyx, ok, encoding HD 720p content WILL look like crap at only 1Mbit :D
[22:55] <_Crash_Laptop> llogan, exactly as i showed you before - http://pastebin.com/fwbDHR3F
[22:55] <Mavrik> especially on baseline profile
[22:55] <onyx> ok what should I do?
[22:56] <Mavrik> onyx, also your machine is slow - you're getting low fps because it's dropping packets
[22:56] <Mavrik> er, dropping frames since it can't keep up
[22:56] <onyx> the server for ffmpeg?
[22:56] <llogan> _Crash_Laptop: i don't know. you could take a look at https://trac.ffmpeg.org/wiki/CompilationGuide/RaspberryPi
[22:57] <Mavrik> onyx, yes, you see the "drop=" parameter in the output - if it's increasing it means the encoder has to drop frames to keep up
[22:57] <onyx> yep it keept adding and adding...
[22:57] <Mavrik> baseline 720p content on a slow processor will probably need about 3-4Mbit to look ok
[22:57] <Mavrik> onyx, try adding -preset fast or -preset faster
[22:57] <Mavrik> and see if it can keep up then
[22:58] <Mavrik> onyx, also, lower output video resolution - drop it to 720x576 or something to significantly lower the load
[22:58] <onyx> ok
[22:58] <Mavrik> "-vf scale=-1:576" or even "-vf scale=-1:480"
[22:58] <llogan> also you have audio options, but no audio input
[22:59] <onyx> Mavrik: can you grab the command from the pastebin and modify so I dont mess it up?
[22:59] <MrYaah> Hi, I'm having trouble getting a basic rtsp config working with ffserver and was wondering if anyone could help me figure out whats wrong
[22:59] <MrYaah> in order to test that i got it working im just trying to stream an flv file i have via ffserver and then read it with ffplay
[22:59] <MrYaah> ffserver seems to be working but when I try to play it it says invalid ddate found when processing input
[22:59] <Mavrik> onyx, just add "-preset faster" anywhere after "-vcodec" and see if you get enough fps now and dropping stops
[23:00] <llogan> MrYaah: ffserver is basically unmaintained
[23:00] <Mavrik> onyx, if not, add "-vf scale=-1:480" after the -vcodec libx264 and see then :)
[23:00] <llogan> MrYaah: might be useful: https://trac.ffmpeg.org/wiki/Streaming%20media%20with%20ffserver
[23:01] <onyx> like this? -vcodec libx264 -vf scale=-1:480 -preset faster
[23:01] <MrYaah> yea i've been trying to follow the configs and stuff but nothing I seem to try works
[23:01] <MrYaah> llogan: can you take a quick look at my configs and see if anything is obviously wrong?
[23:01] <Mavrik> onyx, mhm, you need to find a balance of your CPU and best quality =
[23:01] <Mavrik> :)
[23:02] <MrYaah> the main error im getting is "DESCRIBE FAILED 503 service unavailable
[23:02] <MrYaah> but heres the setup
[23:02] <MrYaah> http://hastebin.com/eqinojutab.xml
[23:02] <MrYaah> and then i try to connect with "ffplay rtsp://127.0.0.1:8544/test.sdp"
[23:04] <onyx> Mavrik: didnt work http://pastebin.com/3BjGAi4j
[23:04] <Mavrik> [libx264 @ 0xba09a60] width not divisible by 2 (853x480)
[23:04] <Mavrik> I guess the math doesn't add up
[23:04] <llogan> try -2 instead of -1
[23:05] <Mavrik> do scale=854:480
[23:05] <Mavrik> or -2 :)
[23:05] <Mavrik> if that works now :)
[23:05] <onyx> wait lost me, scale=-2:480
[23:05] <onyx> ?
[23:05] <onyx> or scale=-2
[23:06] <Mavrik> -2:480
[23:06] <llogan> MrYaah: i've never used ffserver, but i recommend building up from the sample config file. is feed required? you commented it out. http://ffmpeg.org/sample.html
[23:06] <Mavrik> it means "scale video to 480 height while keeping width proportional and divisible by 2"
[23:06] <MrYaah> I don't think feed is required because its supposed to be using the file instead of the feed
[23:09] <llogan> shows how much I know about ffserver
[23:09] <onyx> ok working now
[23:09] <Mavrik> I think I even managed to configure it once.
[23:10] <Mavrik> oh, even wrote a blog post: https://www.virag.si/2012/11/streaming-live-webm-video-with-ffmpeg/
[23:10] <Mavrik> forgot about it afterwards :D
[23:10] <onyx> still a lot of dropping
[23:10] <MrYaah> llogan: do you know of any different ways to send a video feed from a camera to an android device
[23:11] <MrYaah> we're tryiing to use rtsp because when we do it over http theres like 15 seconds of delay
[23:11] <MrYaah> and we're hoping rtsp would fix that
[23:11] <llogan> Mavrik would know more about that than me. i'm just a local file guy.
[23:11] <MrYaah> Mavrik save me :S
[23:11] <Mavrik> MrYaah, honestly, use HLS
[23:12] <Mavrik> and throw everything pre-4.0 into a dumpster
[23:12] <MrYaah> how does one use HLS?
[23:12] <Mavrik> everything else just caused us huge amounts of grief
[23:14] <Mavrik> MrYaah, grab one of the free streaming servers from here: http://en.wikipedia.org/wiki/HTTP_Live_Streaming
[23:14] <Mavrik> and use ffmpeg to stream to it
[23:15] <Mavrik> I've only used Wowza and Adobe, but those are probably out of your budget :)
[23:30] <MrYaah> I don't think we can use HLS, don't only the newer versions of android support it?
[23:40] <MrYaah> JK we can use HLS
[23:40] <MrYaah> we're going to give adobe media server a try
[23:40] <MrYaah> the trial that is
[00:00] --- Fri Aug 1 2014
1
0