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
November 2013
- 1 participants
- 60 discussions
[02:35] <cone-72> ffmpeg.git 03Martin Storsjö 07master:16381923fb7b: configure: Check whether MSVC requires using the C89-to-C99 converter
[02:35] <cone-72> ffmpeg.git 03Michael Niedermayer 07master:a7663ad9cf74: Merge commit '16381923fb7b9087ce559fb1cd3594469ac6788b'
[02:57] <cone-72> ffmpeg.git 03Diego Biurrun 07master:c7f7bfc9e3a3: Remove all Alpha architecture optimizations
[02:57] <cone-72> ffmpeg.git 03Michael Niedermayer 07master:e25ed2608c96: Merge commit 'c7f7bfc9e3a3150ba72bc34366c13fb2210c66ac'
[03:27] <cone-72> ffmpeg.git 03Diego Biurrun 07master:19e30a58fc8e: Deprecate obsolete XvMC hardware decoding support
[03:27] <cone-72> ffmpeg.git 03Michael Niedermayer 07master:5231eecdafff: Merge remote-tracking branch 'qatar/master'
[08:57] <cone-127> ffmpeg.git 03Kostya Shishkov 07master:bae14f38d992: mpegvideo: Fix swapping of UV planes for VCR2
[08:57] <cone-127> ffmpeg.git 03Diego Biurrun 07master:321514042534: mpeg12dec: Remove incomplete and wrong UV swapping code for VCR2
[08:57] <cone-127> ffmpeg.git 03Diego Biurrun 07master:33311af75d7f: fate: Add VCR2 test
[09:53] <cone-127> ffmpeg.git 03Timothy Gu 07master:52955c412c60: doc/libavutil: add things from avutil.txt
[09:53] <cone-127> ffmpeg.git 03Timothy Gu 07master:62923e9014ba: doc: remove avutil.txt
[10:48] <HzD_Byte> hello ppl
[10:57] <HzD_Byte> how can I submit a patch to the mailing-list? I'm not registered there. cehoyos wrote that I need to create a patch with git format-patch but I never sent patches with it
[11:00] <av500> sign up to the mailing list
[11:01] <av500> git format-patch
[11:01] <av500> attach to emaiö
[11:01] <av500> email
[11:01] <av500> profit
[11:02] <HzD_Byte> git format-patch does't produce any output :) do I need to specify any special options?
[11:02] <ubitux> -1
[11:02] <HzD_Byte> ok
[11:02] <HzD_Byte> thank you
[12:18] <cone-127> ffmpeg.git 03Michael Niedermayer 07master:9e5ef1c5c372: h264: Do not treat the initial frame special in handling of frame gaps
[12:59] <cone-127> ffmpeg.git 03Michael Niedermayer 07master:f3458a56c117: avcodec/vdpau: try to fix version macro use
[13:07] <cone-127> ffmpeg.git 03Anton Khirnov 07master:ca22d1dea284: vdpau: add a convenience function for getting a decoder profile.
[13:07] <cone-127> ffmpeg.git 03Michael Niedermayer 07master:5f231d909f15: Merge commit 'ca22d1dea2842fca0422dd1d2bd09e7eb2c8f118'
[13:14] <cone-127> ffmpeg.git 03Anton Khirnov 07master:728c4658563d: vdpau: add a constructor for AVVDPAUContext.
[13:14] <cone-127> ffmpeg.git 03Michael Niedermayer 07master:31c09b7663ac: Merge commit '728c4658563dc82115ade0f1679679eddb7be5ff'
[13:24] <cone-127> ffmpeg.git 03Anton Khirnov 07master:8941971a8f2e: lavc: make error_rate a private option of mpegvideo encoders
[13:24] <cone-127> ffmpeg.git 03Michael Niedermayer 07master:b71e4d871745: Merge commit '8941971a8f2e24b9a84fe29f128d13ceb89c0a65'
[13:50] <cone-127> ffmpeg.git 03Anton Khirnov 07master:b45c87083de6: lavc: schedule unused FF_QSCALE_TYPE_* for removal on next bump
[13:50] <cone-127> ffmpeg.git 03Michael Niedermayer 07master:d67d3e29779a: Merge commit 'b45c87083de67969c1598cfef41e7c947b137922'
[14:02] <cone-127> ffmpeg.git 03Anton Khirnov 07master:b6094811f9fc: lavc: move MB_TYPE_* macros from avcodec.h to mpegvideo.h
[14:02] <cone-127> ffmpeg.git 03Michael Niedermayer 07master:dbfa4317f3f8: Merge commit 'b6094811f9fca66cdf853420696e96fdc3e4987a'
[14:12] <plepere> ok, I need help for some very basic assembly
[14:13] <plepere> tried to simplify my code more and more and I feel like I'm missing something essential
[14:14] <plepere> I did the %include "libavutil/x86/x86util.asm"
[14:14] <plepere> I'll do a simple pastebin
[14:15] <plepere> http://pastebin.com/0kaVcTqY
[14:16] <plepere> I removed the commented stuff, but this doesn't compile, the mov operation gives me an "invalid opcode" at compilation
[14:17] <ubitux> missing ':' after the x and y declaration?
[14:17] <ubitux> what's '?'?
[14:17] <plepere> ? means that it's undefined
[14:17] <ubitux> aren't you inverting src/dst btw?
[14:18] <ubitux> ah, ok, get it
[14:18] <plepere> isn't mov x,0 equivalent of x=0 ?
[14:18] <nevcairiel> its more like 0=x
[14:18] <ubitux> yeah i wasn't sure
[14:18] <ubitux> plepere: it's fine yes
[14:19] <nevcairiel> doesnt yasm use at&t syntax which has mov src, dst?
[14:20] <ubitux> yasm uses intel
[14:20] <ubitux> plepere: anyway, likely x: DW ...
[14:21] <plepere> inverting the src and dest gives me the same error
[14:21] <ubitux> it's fine
[14:21] <ubitux> mov x, 0 is ok
[14:22] <plepere> isn't name: for jumps ?
[14:22] <ubitux> it's labels
[14:22] <plepere> ok
[14:22] <ubitux> here you want to label your dw
[14:22] <ubitux> i guess
[14:23] <plepere> yes
[14:23] <plepere> well I'm doing this because I couldn't get to use basic eax registers
[14:23] <nevcairiel> writing into a data element like this seems like a bad idea though, if you ask me :D
[14:23] <plepere> using this guide for reference : http://www.cs.virginia.edu/~evans/cs216/guides/x86.html
[14:24] <nevcairiel> did you read the guide to using the x264 asm thing?
[14:24] <nevcairiel> well, kinda-guide
[14:25] <plepere> I did cross that guide a while ago....
[14:25] <nevcairiel> https://wiki.videolan.org/X264_asm_intro/
[14:26] <plepere> ah ok, it wasn't that one I found
[14:26] <nevcairiel> its slightly outdated by now
[14:26] <nevcairiel> anyway the x264inc.asm abstracts a lot of the asm away from you
[14:26] <nevcairiel> so instead of eax, edx, ecx, etc, you would simply use r0, r1, r2, r3,....
[14:27] <nevcairiel> or you can even give them names
[14:27] <nevcairiel> variable names if you want, for code clarity :)
[14:27] <plepere> but isn't r0,r1...etc used for incoming parameters ?
[14:28] <plepere> I'll take a look at the x264 guide. It most likely has the answers to my questions. thanks a bunch !
[14:29] <nevcairiel> if you have 2 parameters to your function, r0 and r1 will be used for those, and you can of course use r2 and upwards for temporary storage
[14:29] <nevcairiel> you need to tell the cglobal line how many registers you want
[14:29] <nevcairiel> but the page all explains that
[14:30] <plepere> that's what I read
[14:31] <plepere> so basically, I have r0 to r15, m0 to m7 and xmm0 to xmm15 (for SSE only). am I still right
[14:32] <nevcairiel> m0 maps to xmm0, if you specifically want mmx, its mm0
[14:32] <plepere> ok
[14:32] Action: plepere takes notes
[14:33] <nevcairiel> there are also quite a lot of comments in x86inc.asm, which might turn out helpful to understand some of the things cglobal does for you
[14:33] <ubitux> looking at the other .asm in the code base is helpful
[14:33] <ubitux> especially recent ones
[14:33] <ubitux> or files with similar logic
[14:34] <plepere> I have h264_chromamc.asm in a tab for reference. :)
[14:34] <nevcairiel> h264 probably has quite a bit of similar functions then hevc needs :)
[14:34] <plepere> nevcairiel, I have to do some testing, bu I think that the idct might be re-used almost entirely.
[14:34] <plepere> *but
[14:35] <plepere> h264 idct for hevc
[14:35] <smarter> nop
[14:36] <smarter> hevc has both DCTs and a 4x4 DST and the DCTs are not the same than in h264
[14:37] <plepere> but if it's only the coefficients that change between the 8x8 and 16x16...
[14:37] <smarter> the tricks used in h264 to compute the transform faster are also different if I'm not mistaken
[14:37] <plepere> ok ok
[14:39] <plepere> I'll have to look into it anyway.
[14:41] <smarter> plepere: if you're brave, there's a ton of x86 intrinsics for hevc here that could be converted to asm: https://github.com/OpenHEVC/FFmpeg/tree/hevc/libavcodec/x86
[14:41] <smarter> there's also hevc_deblock.asm that needs to be reviewed/tested and merged
[14:41] <plepere> smarter, I did the intrinsics. :)
[14:41] <plepere> I'm looking to convert them in asm.
[14:41] <smarter> oh, I see
[14:42] <smarter> nice!
[14:43] <nevcairiel> that shouldnt be too impossible then
[14:43] <plepere> nah.
[14:43] <plepere> It's the first function that I need to do. Then it'll just be automatic
[14:44] <ubitux> objdump the result, copy/paste in .asm, simplify, macrotize, abstract some stuff, done
[14:44] <nevcairiel> lol
[14:45] <nevcairiel> personally i do like intrinsics since they are so easy to use to quickly whip up some simd code, but i see the advantage of yasm code as well
[14:46] <plepere> yeah, intrinsics are a really nice and fast way to optimize C.
[14:46] <plepere> ubitux : that still needs a huge understanding of assembly structures and all, and I'll get that only by writing some.
[14:46] <ubitux> assembly structures?
[14:47] <plepere> coding conventions and so forth
[14:47] <plepere> good practices etc...
[14:51] <cone-127> ffmpeg.git 03Anton Khirnov 07master:aa2412298911: lavc: deprecate FF_MAX_B_FRAMES
[14:51] <cone-127> ffmpeg.git 03Michael Niedermayer 07master:9f32048dd196: Merge commit 'aa241229891173b0357eee04e6ca78f806cc9c0c'
[14:51] <cone-127> ffmpeg.git 03Michael Niedermayer 07master:2925571278bf: avcodec/mpegvideo_enc: Fix possibly exploitable security issue with -bf
[14:54] <ubitux> FF_MAX_B_FRAMES INT_MAX
[14:54] <ubitux> isn't this a bit risky somehow?
[14:56] <ubitux> i see various occurences of s->max_b_frames + N
[14:57] <nevcairiel> is FF_MAX_B_FRAMES actually used anywhere? anton replaced its uses with a codec-specific MAX_B_FRAMES in places
[14:58] <nevcairiel> mostly only mpegvideo_enc
[14:59] <ubitux> i guess the only remaining relevant occurence is in ratecontrol then
[15:00] <ubitux> libavcodec/ratecontrol.c: else if (i % (s->max_b_frames + 1))
[15:00] <ubitux> and libavcodec/libxavs.c
[15:00] <ubitux> libavcodec/libxavs.c: x4->pts_buffer[ctx->frame_number % (ctx->max_b_frames+1)] = frame->pts;
[15:01] <ubitux> not sure if the overflowed mod can cause problems
[15:02] <ubitux> INT_MAX-<arbitrary-small-value> might be less risky
[15:02] <ubitux> nevcairiel: and check the merge, it wasn't correctly sanitized
[15:03] <nevcairiel> more importantly in libxavs it allocates max_b_frames+1*sizeof(*ptrsomething)
[15:03] <ubitux> with braces?
[15:03] <ubitux> :)
[15:03] <nevcairiel> yes
[15:03] <nevcairiel> i didnt bother to copy paste
[15:04] <nevcairiel> all these encoders using max_b_frames should probably sanify the value to their local maximum
[15:04] <nevcairiel> even INT_MAX-30 would still overflow the calculation above
[15:04] <nevcairiel> luckily bad files cant trigger that, need bad cmdline :p
[15:04] <ubitux> checking malloc should be enough
[15:04] <nevcairiel> its checked at least
[15:23] <cone-127> ffmpeg.git 03Anton Khirnov 07master:cce3e0a49f0d: Move av_fast_{m,re}alloc from lavc to lavu.
[15:23] <cone-127> ffmpeg.git 03Michael Niedermayer 07master:7c888ae746da: Merge commit 'cce3e0a49f0dd030262c28d9c53de0bd2fd909c4'
[15:31] <cone-127> ffmpeg.git 03Diego Biurrun 07master:7b9780e7bf9d: mpeg12dec: Remove unused swap_uv member from Mpeg1Context
[15:31] <cone-127> ffmpeg.git 03Michael Niedermayer 07master:1ac4797d1998: Merge commit '7b9780e7bf9d86e3e4e9606a971bb2d0d718bac2'
[15:35] <plepere> ok, another wuestion
[15:35] <plepere> questions
[15:36] <plepere> *question.
[15:36] <plepere> do I need to do something to use rXd ?
[15:37] <plepere> in assembly
[15:37] <JEEB> at least with named variables I remember just adding d or q at the end of them
[15:38] <JEEB> some code I never really finished https://github.com/jeeb/libav/blob/5f00119409f5e2020e74b8609736275b2098883c…
[15:38] <plepere> in h264_chromamc.asm add r4d, 8 is used
[15:39] <plepere> but when I do pxor r2d,r2d I get a compiling error
[15:40] <nevcairiel> pxor is for mm registers, isnt it
[15:40] <plepere> AH YES
[15:40] <plepere> oops caps
[15:40] <JEEB> :)
[15:41] <nevcairiel> a simple xor should work :)
[15:41] <cone-127> ffmpeg.git 03Kostya Shishkov 07master:ddb839e92865: metasound: add missing modes
[15:41] <cone-127> ffmpeg.git 03Michael Niedermayer 07master:2cfdc2879a6c: Merge commit 'ddb839e9286594ff7a862a956402106fca7055c9'
[15:41] <plepere> ok
[15:42] <plepere> I need to seperate mm and r registers.
[15:42] <plepere> different instructions for each of theù
[15:42] <plepere> *them
[15:43] <nevcairiel> some of the mov instructions work on both, but otherwise, yea
[15:43] <plepere> compiling ! :D
[15:44] <plepere> now I just need to point the function and cry because md5 checksums will show that what I did is wrong.
[15:44] <JEEB> I know that feeling, and then you'll use some binary diff tool to see where and how it's going wrong :D
[15:45] <plepere> I'm going from intrinsics to assembly, so it's going to be quite easier than directly from C.
[15:46] <nevcairiel> just need to have a big lookup-list which intrinsic is which command :D
[15:46] <ubitux> it's called objdump -d -Mintel
[15:46] <nevcairiel> heh
[15:47] <nevcairiel> many intrinsics really have it in their name
[15:49] <plepere> yup. And I'm using the intel instrinsics guide which gives me the asm instruction for each intrinsic
[15:49] <JEEB> was that the java applet? :D
[15:49] <plepere> yes
[15:50] <plepere> it's pretty well done.
[15:50] <JEEB> yeah
[15:55] <plepere> I really want to put my hands on a haswell processor. 256-bit registers... this will make 10-bit decoding so much easier !
[15:55] Action: nevcairiel got one
[15:56] Action: JEEB is only on an ivy
[15:56] <JEEB> also I hear x264's 10bit encoding could be made much faster as well
[15:57] <nevcairiel> x264 got a bunch of avx2 improvements already
[15:57] <nevcairiel> but i suppose 10-bit isnt the biggest focus
[15:57] <JEEB> yeah
[15:57] <plepere> you really need the hardware to support it.
[15:58] <JEEB> prunedtree noted that there's still plenty of stuff to be done on that side, but it's mostly a case of lack of interest :)
[15:58] <plepere> are TVs capable of rendering 10bit or is it 8bit ?
[15:58] <nevcairiel> all broadcast content is usually still 8-bit, and hardware decoders are limited to that
[15:58] <JEEB> yup
[15:59] <nevcairiel> although if you send a raw YUV signal to a tv, they can usually accept up to 12-bit over HDMI
[15:59] <plepere> and does it show 12-bit ?
[16:01] <cone-127> ffmpeg.git 03Kostya Shishkov 07master:1afa8a7568ba: twinvq: support multiple frames per packet
[16:01] <cone-127> ffmpeg.git 03Michael Niedermayer 07master:a24aef5dfa51: Merge commit '1afa8a7568ba57ad0cd2923f6e641e10d32cded4'
[16:02] <nevcairiel> most tvs have a 8-bit panel only, i guss
[16:02] <nevcairiel> guess*
[16:02] <nevcairiel> but 10-bit is also about smaller files
[16:02] <nevcairiel> or can be anyway
[16:03] <JEEB> and enables for better keeping of information that generally needs dithering or whatever
[16:03] <plepere> I was told that 10bit is mostly used in medical fields because it's much more precise.
[16:04] <plepere> how can 10-bit bring files smaller ? isn't it adding data compared to 8-bit ?
[16:05] <Compn> need to get some medical device formats supported
[16:05] <JEEB> if you think of uncompressed data or lossless compression, yes
[16:05] <Compn> want to turn some mri images into video :)
[16:05] <JEEB> but in case of lossy compression the extra precision helps
[16:05] <JEEB> so you can actually encode similar quality with less bits
[16:06] <nevcairiel> http://x264.nl/x264/10bit_02-ateme-why_does_10bit_save_bandwidth.pdf
[16:06] <plepere> thanks nevcairiel !
[16:06] <nevcairiel> not sure how much that still applies to hevc
[16:07] <JEEB> it still does, to a lesser extent
[16:07] <JEEB> since the amount of internal precision loss was lessened, but it still happens
[16:08] <JEEB> for H.264 this was the case http://akuvian.org/src/x264/bitdepth_dataflow.png
[16:10] <plepere> dammit. sorry to bother you AGAIN with my assembly, but for some reason, it won't find my function. (undefined reference) even though I have the right name in cgglobal and gave the procedure in the dsp_init
[16:11] <nevcairiel> it would append a cpuid postfix to the name
[16:12] <nevcairiel> if you use INIT_XMM sse2, it would postfix your function name with _sse2
[16:12] <plepere> ok thanks
[16:12] <nevcairiel> and of course it puts ff_ in front
[16:13] <plepere> thank you, be blessed
[16:14] <plepere> aaaaaand the video is incorrect !
[16:14] <ubitux> am i the only one to expect various kind of "bitrate flashes" with vp8 (libvpx) encoding?
[16:14] <JEEB> -f rawvideo and binary diff time?
[16:15] <nevcairiel> first step is always to tripple check what your code does
[16:15] <cone-127> ffmpeg.git 03Kostya Shishkov 07master:669fe505952f: twinvq: consume block_align+1 packets as full ones
[16:15] <cone-127> ffmpeg.git 03Michael Niedermayer 07master:726566704f32: Merge commit '669fe505952f3d8175b1ad6971033a8e8120523b'
[16:15] <ubitux> like this: http://lucy.pkh.me/ncmpcpp.webm (check around 5 sec and 10 sec)
[16:15] <JEEB> and yes, stepping through the asm in gdb / some other debugger is also good to do
[16:16] <plepere> it's a tiny function, so I don't think it will take long.
[16:18] <ubitux> this is the failed frame: http://b.pkh.me/vp8failframe.jpg
[16:18] <ubitux> it's really weird :p
[16:19] <ubitux> and the second one: http://b.pkh.me/vp8failframe2.jpg
[16:20] <cone-127> ffmpeg.git 03Diego Biurrun 07master:ad1161799e09: mpeg12dec: Remove outdated UV swapping code for VCR2
[16:20] <cone-127> ffmpeg.git 03Michael Niedermayer 07master:54af7ce4cec0: Merge remote-tracking branch 'qatar/master'
[16:26] <ubitux> can be reproduced with ./ffmpeg -loop 1 -i tests/lena.pnm -vf 'scale=2*iw:2*ih' -t 20 -y out.webm
[16:26] <ubitux> frame at t=10s is broken
[16:27] <ubitux> it's like it's trying to adjust some bitrate constraints or something
[16:27] <ubitux> but it's still a little visible if you have -b:v 1M
[16:27] <ubitux> (there is this kind of flash effect)
[16:32] <ubitux> it happens at 5 sec too
[16:32] <ubitux> it's regular
[16:37] <ubitux> well i guess no one care about vp8 anyway
[16:37] <ubitux> ...but still.
[16:40] <plepere> sorry can't help you. :/ I'm still debugging my 20 lines of assembly code.
[16:57] <ubitux> :)
[17:38] <ac_slater> Hey guys, before I dig into libavcodec, I have some image data (raw BGR 8bit per channel) and I need to feed this to a RTSP server that can only accept elementary MP4 data (I think that means just the video without headers?). Any advice?
[17:38] <ac_slater> nevermind. Asking on #ffmpeg instead
[20:36] <cone-234> ffmpeg.git 03Marton Balint 07master:951d81900673: mxfdec: update current edit unit when seeking in mxf files without index tables
[20:36] <cone-234> ffmpeg.git 03Michael Niedermayer 07master:0f969c00c6a3: Merge commit '951d819006730145255333749367c4ea722ffd9b'
[20:54] <llogan> let me spam the channel with stupid trac comment mistakes
[21:04] <llogan> mentalcase in #ffmpeg
[21:05] <wm4> amazing what $100 can d
[21:05] <wm4> o
[21:11] <cone-234> ffmpeg.git 03Reimar Döffinger 07master:ecf442a58b09: lavf: improve support for AVC-Intra files.
[21:11] <cone-234> ffmpeg.git 03Michael Niedermayer 07master:074bae745d9d: Merge commit 'ecf442a58b09bdb1dc1d2c3904b82ac5f79b2878'
[21:22] <cone-234> ffmpeg.git 03Anton Khirnov 07master:9eda9d3322a6: h264: free the tables and uninitialize the context on flush
[21:22] <cone-234> ffmpeg.git 03Michael Niedermayer 07master:9244a6809229: Merge remote-tracking branch 'qatar/master'
[22:37] <j-b> smarter: mraulet: http://www.tomshardware.fr/articles/vlc-hevc-h265,1-46216.html
[23:06] <smarter> j-b: fun
[23:10] <j-b> so, 4k plays on a high-end i
[23:10] <j-b> i7
[23:12] <nevcairiel> high bitrate is problematic even on a 4770
[23:13] <nevcairiel> got a clip from which can barely hit 20 fps
[23:26] <ubitux> af05edc658f3af284a1af39c00a36aeff0adaa0d 728c4658563dc82115ade0f1679679eddb7be5ff
[23:26] <ubitux> ll
[23:26] <ubitux> lol
[23:27] <ubitux> it was too much to call them the same name
[23:27] <ubitux> srsly...
[00:00] --- Fri Nov 15 2013
1
0
[00:56] <istvan> hello all - I am trying to learn how to create a simple video player. The tutorial linked by the ffmpeg site ( http://dranger.com/ffmpeg/ffmpeg.html ) is very out of date it seems. When I compile tutorial 8 I get several deprecation errors and other errors. Is there a more up to date example I can download or tutorial I can follow?
[06:03] <ac_slater> Hey guys I want to use ffmpeg to output mpeg1 data via stdout, any clues?
[08:19] <mishehu> greets folks. I'm getting a little confused by what looks like a circular dependency, and hopefuly somebody can clear it up. what's the difference between enabling opencv support in the build of ffmpeg versus enabling ffmpeg support in opencv?
[08:20] <tdr> lmishehu build one without. emerge the other with the support on for the first one. then rebuild the first one with support for the second
[08:21] <tdr> mishehu, lets the binaries etc provided by them use features of the other
[08:24] <mishehu> ah, so then by building opencv again with support for ffmpeg, a separate opencv program can make calls to ffmpeg functions
[08:25] <mishehu> wanted to make sure this was deliberate and not some legacy stuff that didn't get cleaned up :-)
[08:26] <mishehu> one other quesiton that I'm a little confused on - amd's press release from back in june or july mentions both cv and cl... but these are not one in the same, correct?
[08:46] <prkhr4u> how to connect ipcamera source to ffserver using rtsp streaming.Camera ip address is :169.254.75.39
[08:49] <l_r> prkhr4u, cannot you get the video stream from the camera and rebounce it to the rtsp server?
[08:54] <prkhr4u> I don't understand....i want to stream live video from my ipcamera and i am using ffserver for that and will play using ffplay
[10:43] <brontosaurusrex> is it possible to define -ss and -t in frames?
[10:46] <zap0> what is a frame?
[10:48] <cbsrobot> brontosaurusrex: no I think only in seconds or timecode
[10:48] <brontosaurusrex> cbsrobot, ok, thanks.
[10:55] <sacarasc> I think -t can be done as frames in -vframes or maybe just -frames.
[10:58] <zap0> why does a stream of data even have any concept of a frame?
[11:14] <brontosaurusrex> because stream of data defines series of pictures zap0 ?
[11:15] <brontosaurusrex> well, i got it working, kinda annoying i have to convert frames to seconds (which brings in framerate for no special reason), but well ...
[11:17] <zap0> nope. it defines pixels.
[11:18] <brontosaurusrex> zap0, pixels, i want some pixels! go to sleep, must be late in au ...
[11:18] <zap0> you are wrong.
[11:19] <brontosaurusrex> i'am still not gonna have an irc fight, so you are right
[11:19] <zap0> it's not about me. you have entered the denial stage.
[11:19] <brontosaurusrex> no, you need some sleep.
[11:28] <Samus_Aran> can -force_key_frames be used with -ss/-to and -codec copy so that the resulting clips begin on a keyframe?
[11:29] <Samus_Aran> I'm cutting clips from larger files, but they often have encoder glitches until the first keyframe
[11:31] <zap0> your emphasis on me isn't making you more right.
[11:38] <Theholyduck> Samus_Aran, if you want to do lossless splitting
[11:38] <Theholyduck> Samus_Aran, i suggest using mkvmerge
[11:39] <Theholyduck> its much, MUCH more inteligent about splitting video and audio
[11:39] <Theholyduck> without re-encoding
[11:40] <Theholyduck> http://www.logichaos.com/joomla/guides/35/60-how-to-split-mkv-to-multiple-m… Samus_Aran some random guide for how to do it i found by googling
[11:42] <brontosaurusrex> Samus_Aran, i have a script that does fast null x264 encode and use I frame generation to do a sort of a scene detection splicing
[11:42] <brontosaurusrex> but i think ffmpeg has some sort of scene detection filter this days
[11:42] <Theholyduck> brontosaurusrex, why not just use mkvmerge though? it always splits on keyframes,
[11:42] <stonie_> are ffmpeg and avconv totally different encoders?
[11:42] <brontosaurusrex> Theholyduck, sure
[11:42] <Theholyduck> it handles any sort of audio and video ive tried to throw at it
[11:43] <Theholyduck> and, it has all sorts of different splitting modes
[11:43] <Theholyduck> based on filesizes, same lenght files, timecodes, etc,etc
[12:18] <Samus_Aran> Theholyduck: thank you, I will check that app out
[12:18] <Samus_Aran> brontosaurusrex: what do you mean null encode? and is your script available?
[12:19] <Samus_Aran> how can I check how often keyframes appear in my source file? I have no idea how precise it can cut if it only cuts on keyframes
[12:22] <brontosaurusrex> Samus_Aran, yes its available
[12:24] <brontosaurusrex> Samus_Aran, in action on osx http://www.youtube.com/watch?v=Vfvq_skLS8Q&feature=youtu.be
[12:24] <brontosaurusrex> and i can post the script if you want
[12:27] <brontosaurusrex> here https://dl.dropboxusercontent.com/u/79532365/ffdrop/sceneDetect3x.7z , same thing 3 times (one is limited to analisis, other is copy, the last is transcode), find a "script" file and adjust it to your os ...
[12:29] <brontosaurusrex> again, it doesn't do the analisis of the stream, it recodes it to null, and use that new data ...
[12:30] <brontosaurusrex> analysis *
[12:33] <brontosaurusrex> + the -ss thingy seems to be mucho improved in latest ffmpegs, so get yourself a really recent git compile.
[14:22] <Xeta> Hi! What is a normal cross platform c++ library to play audio (and or video) with ffmpeg decoding?
[14:23] <JEEB> there's ffmpegsource (ffms2), but that's not really for playback
[14:23] <Xeta> Aha okay
[14:23] <Xeta> Cause ffmpeg/libav can't do the playback, right?
[14:23] <JEEB> no... because ffms2 tries to specialize in frame-exact seeking etc.
[14:24] <JEEB> so it's for cases where you need things like that
[14:24] <JEEB> I think for playback you're better off by just using the C APIs straight up, or using libvlc's C API
[14:24] <JEEB> (which in turn uses the libav* C APIs)
[14:25] <Xeta> I have been using OpenAL but I had some issues. I running on the raspberry pi
[14:25] <Xeta> Oh okay thanks, haven't checked out libav
[14:25] <Xeta> *libVLC
[14:26] <Xeta> So libvlc can do the actual streaming and playback and everything?
[14:27] <JEEB> look at their docs, I just know you can create a playback solution on top of it if you want :P
[14:45] <Samus_Aran> Xeta: isn't there ffplay for that?
[14:45] <Samus_Aran> I just saw it, I've never tried using it for anything. :)
[14:46] <JEEB> ffplay is nothing else but a simple example player that lets people test some things
[14:57] <Samus_Aran> anyone know if lib-fdk-aac from Franhofer can encode 32bit or 24bit sampled PCM? I compiled the command line fdk-aac, but it can only encode 16bit
[14:57] <Samus_Aran> I mean, when used in FFMPEG. I'd have to compile FFMPEG to find out
[14:58] <JEEB> the cli encoder is very limited
[14:58] <JEEB> just use it via ffmpeg or something
[15:00] <Samus_Aran> it doesn't come with either of the static ffmpeg builds available, and I'm on an old distro, it would be a huge pain to compile it with all deps
[15:00] <Samus_Aran> can you confirm it can encode 24 or 32bit PCM?
[15:01] <JEEB> given the whole framework of the ffmpeg cli, yes
[15:01] <JEEB> now just shut up and compile. Also you shouldn't even need many dependencies
[15:01] <JEEB> and yes, binaries with fdk-aac cannot be redistributed
[15:02] <JEEB> because fdk-aac's license says you may only distribute them if you have licensed AAC
[15:04] <Samus_Aran> the license says it's GPL, but they don't protect against patents. sort of bizarre.
[15:04] <JEEB> no
[15:04] <JEEB> fdk-aac is not GPL
[15:05] <JEEB> https://github.com/mstorsjo/fdk-aac/blob/master/NOTICE
[15:07] <Samus_Aran> I'm referring to the "COPYRIGHT LICENSE; Redistribution and use in source and binary forms, with or without modification, are permitted without payment of copyright license fees"
[15:08] <Samus_Aran> so long a the following conditions are met, which are all compatible with open source
[15:08] <Samus_Aran> but they also specify that they offer no patent protections
[15:09] <JEEB> then you are ignoring the blatant fact that it limits that freedom elsewhere in the license
[15:09] <JEEB> it has also been put through people who know about the licenses more
[15:09] <Samus_Aran> and my mistake on the GPL part, I was thinking about the fact tht it's allowed to change the source and redistribute
[15:09] <JEEB> and it is _NOT_ GPL compatible
[15:10] <Samus_Aran> for many reasons, including that you can't charge license fees if using it
[15:42] <ssspiff> Is there a way I can skip demuxing for an MPEG-TS, and provide the data stream (PES) directly to ffmpeg?
[15:43] <JEEB> you mean to libavcodec?
[15:43] <JEEB> if you can demux the stream, then yes you can just feed it to the decoder
[15:43] <JEEB> (or possibly to ffmpeg if you set input format as raw H.264 or MPEG-2 Video or whatever else you're demuxing)
[15:44] <ssspiff> JEEB: how do I get hold of a decoder context directly, without using a format context?
[15:44] <ssspiff> JEEB: it's in an app using libavcodec, not using ffmpeg
[15:45] <JEEB> just create an AVCodecContext depending on the stuff you've demuxed?
[15:45] <JEEB> and the other related stuff
[15:45] <ssspiff> great, I'll see if I can figure it out, thanks :)
[15:56] <vl4kn0> Hi, is there a way to specify fps using libavformat and libavcodec?
[15:56] <JEEB> yes? set the pts accordingly
[15:56] <Mavrik> vl4kn0, depends on format
[15:57] <Mavrik> setting PTS/DTS is usually synonimous with fps on codecs that do have fixed fps
[15:57] <Mavrik> er, sorry, timebase.
[15:57] <JEEB> if you have a known constant frame rate, just set timebase so that it is 1/25
[15:57] <JEEB> and then +1 the pts every time
[15:57] <JEEB> thus, you get 25fps
[15:57] <vl4kn0> We are talking about decoding, right?
[15:58] <JEEB> either
[15:58] <JEEB> I mean, if you know the frame rate and you want to fix whatever is coming from libavformat
[15:58] <JEEB> feel free
[15:59] <vl4kn0> yes, I want to have 4 frames per second, so I only need to set time_base to 0.25 ?
[15:59] <JEEB> wait
[15:59] <JEEB> what exactly do you mean with "specifying fps"?
[16:00] <JEEB> do you want to convert the frame rate, or just read in the frames so that their frame rate is set to X?
[16:00] <vl4kn0> JEEB: I want to extract 4 video frames per second
[16:00] <JEEB> so you want to convert the frame rate
[16:00] <JEEB> that's a separate issue and you can do that in multiple ways. There's a filter for that as far as I know, for dropping frames
[16:03] <vl4kn0> JEEB: in that case, would it be possible to keep track of frames read and use only every N-th frame ignoring every other frame?
[16:04] <JEEB> every Nth would work if you know you will always have a constant frame rate. Also you'd have to make sure you actually decode and only ignore the decoded pictures after that
[16:04] <JEEB> otherwise formats that use inter prediction will just break
[16:05] <vl4kn0> JEEB: good, that sounds like exactly what I need.
[16:05] <JEEB> there is a filter for that already in libav* methinks
[16:06] <JEEB> if you want you can look into just using that
[16:06] <JEEB> (I think it'd be in libavfilter)
[16:06] <Mavrik> yeah, using the fps filter should be the wisest thing
[16:06] <vl4kn0> JEEB: might as well do that
[16:06] <JEEB> Mavrik, yes -- not reinventing the wheel is generally a good idea :D
[16:07] <Mavrik> yeah, especially since it handles annoying stuff like fixing pts/dts, duplicating, moving and dropping frames :P
[16:07] <JEEB> yup
[16:08] <vl4kn0> Yeah, yeah. I get it, I'm using the filter.
[16:24] <Zeranoe_> Can FFmpeg generate a 15 second sample media file that is maybe something like static or just about anything. I need to run some tests on lots of videos and need some sample clips
[16:25] <ssspiff> Zeranoe_: no but there are a bunch of samples on http://samples.ffmpeg.org
[16:25] <ssspiff> Zeranoe_: don't take my "no" as set in stone, I just don't know of any way, but I'm no expert
[16:26] <Samus_Aran> I wonder if you could encode /dev/urandom as some raw video format
[16:26] <Samus_Aran> would be pretty silly.
[16:26] <ssspiff> Samus_Aran: I was thinking about that, but I'm not sure it would be a good idea :D
[16:26] <vl4kn0> JEEB: is vf_fps the filter I want?
[16:27] <Samus_Aran> ssspiff: better idea: use FFMPEG's image input to generate a video of a single image
[16:27] <Samus_Aran> just set a very long frame duration, like 30 seconds
[16:27] <Samus_Aran> and one frame
[16:28] <Samus_Aran> or set it to a high FPS if that's what you're testing
[16:28] <Samus_Aran> I don't know what you're trying to do.
[17:20] <ac_slater> Hey guys is there a channel for ffmpeg development? (ie - using libavcodec, etc)
[17:36] <saste> ac_slater, yes
[17:37] <ac_slater> saste: duh ffmpeg-devel.
[17:37] <ac_slater> tgabjs
[17:37] <ac_slater> thanks*
[17:37] <saste> ac_slater, ffmpeg-devel if for *internal* ffmpeg development
[17:38] <saste> API users should ask here
[17:38] <ac_slater> oh haha. I'll ask here then, thanks.
[17:39] <ac_slater> Hey guys, before I dig into libavcodec, I have some image data (raw BGR 8bit per channel) and I need to feed this to a RTSP server that can only accept elementary MP4 data (I think that means just the video without headers?). Any advice?
[17:39] <ac_slater> saste: Sorry for the prefix, pasted from my question in the devel channel
[17:53] <ac_slater> or ... I guess this might be more appropriate here. Before I attempt to code this myself, I would love to pipe some v4l2 device via mp4 to ffserver. Googling this is a mess. Any pointers?
[18:13] <Samus_Aran> ac_slater: you said you have image data, and video4linux2. what are you dealing with?
[18:14] <ac_slater> Samus_Aran: image data from v4l2, ie - frame grabs
[18:15] <Samus_Aran> realtime h.264 encoding?
[18:15] <Samus_Aran> where's it going?
[18:16] <sacarasc> Like everything these days, to Google and the NSA.
[18:18] <ac_slater> Samus_Aran: via RTSP. I've noticed that ffserver can do this. I'd like to try this before coding something myself. But basically, the RTSP server I'm working with NEEDS elementary mp4 video data, I was curious if it's possible to "convert"/"encode" my v4l2 BGR data into MP4(e) data
[18:18] <ac_slater> (lots of confusion on my end(
[18:18] <ac_slater> )
[18:30] <Samus_Aran> sacarasc: that made me laugh, though rather dark.
[18:30] <Samus_Aran> ac_slater: mp4 is a container format, not a video codec. it can house a few video and audio codecs
[18:31] <Samus_Aran> usually h.264/AVC video and AAC audio
[18:32] <Samus_Aran> ac_slater: this helpful?: https://trac.ffmpeg.org/wiki/How%20to%20capture%20a%20webcam%20input
[18:33] <Samus_Aran> I've never used v4l2 except to crash my laptop briefly... heh. it doesn't like my webcam drivers
[18:34] <Samus_Aran> it crashes my USB and takes the wireless with it until next reboot.
[19:06] <ac_slater> Samus_Aran: that is helpful thanks. I guess I need to put the data into non-h264 MPG4... is that even a thing. Containers vs codecs is making my head hurt
[19:25] <ac_slater> Alright maybe someone can help me out, here is my ffserver.conf and the launch string I'm using. How do I connect to the bloody thing? Most rtsp clients are returning 503 http://paste.debian.net/plain/65881
[19:30] <ac_slater> any help is appreciated.
[19:41] <ac_slater> So as a newbie, ffserver is not very user friendly. I assume it works, but I cant get anything out of it.
[19:42] <ac_slater> All I want is v4l2->mp4->rtsp
[20:21] <maujhsn> Mic issue! http://pastebin.com/rm1wKvCV
[20:21] <maujhsn> Would like someones help!
[20:25] <maujhsn> ubitux Mic issue! http://pastebin.com/rm1wKvCV
[20:29] <maujhsn> Maverick Can you check this out for me: http://pastebin.com/rm1wKvCV
[20:29] <Maverick|MSG> Mavrik ^^
[20:29] <Maverick|MSG> (I think)
[20:30] <maujhsn> Maverick|MSG Can you check this out for me: http://pastebin.com/rm1wKvCV
[20:31] <maujhsn> Mavrik If you have an answer shoot!
[20:33] <sacarasc> maujhsn: First, upgrade!
[20:34] <maujhsn> sacarasc Hi its been a while since we last communicated!
[20:35] <maujhsn> sacarasc Is that really necessary for a command thats not all that complex!
[20:35] <sacarasc> There could be a bug in your nearly 2 year old version.
[20:38] <maujhsn> sacarasc I have not used this version in over a year because i had the liveusb stuck in a draw! How is a bug created out of thin air? Lets reason together!
[20:41] <maujhsn> sacarasc Do bugs arbitrarily occur after a commands success?
[20:42] <sacarasc> Did you use that exact same command on that exact same system successfully?
[20:44] <maujhsn> sacarasc The only difference in this machine is that its a 32 bit rather that 64 bit HP compaq laptop!
[20:44] <sacarasc> Anyway, use lsof to see what is using /dev/dsp and see if you can close it, maybe.
[20:45] <sacarasc> Or, update.
[20:46] <maujhsn> sacarasc Damn it gave me a laundry list!
[20:53] <llogan> maujhsn: you should not accuse people helping you for free of being "JERK"s.
[20:57] <maujhsn> llogan Now here a penny for that thought!
[20:57] <llogan> the reason i did not answer you is that i was not at my computer. just because a name is listed in this channel does not mean that the user is active, and it does not mean that you're being ignored (on purpose).
[21:01] <maujhsn> llogan Now that you have a FREE moment: http://pastebin.com/rm1wKvCV
[21:02] <maujhsn> du -ah in /dev doesn't show the device busy!
[21:02] <llogan> sorry, i have no experience with oss devices
[21:03] <maujhsn> llogan Shove it!
[21:04] <maujhsn> Llogan its a great place for that penny!
[21:05] <llogan> you're not going to get any help here
[21:05] <maujhsn> Llogan BUT YOU DO NEED HELP!
[21:06] <llogan> just so you know i'll set your name to ignore, so don't waste your time since i'll never see you again
[21:07] <maujhsn> llogan And when your funding does run out some day! Perhaps thhey will give you the axe gladly! :)
[21:08] <aphirst> er, what the shit, maujhsn
[21:08] <maujhsn> er?
[21:08] <maujhsn> lol
[21:08] <maujhsn> shit?
[21:22] <maujhsn> http://pastebin.com/rm1wKvCV....SOLVED!
[21:25] <maujhsn> It's great to know that If I don't ask certain people questions anymore I not have to listen to their GARBAGE!
[21:36] <LithosLaptop> lol
[22:44] <aphirst> oh man, building ffmpeg-git takes forever on my toaster
[00:00] --- Fri Nov 15 2013
1
0
[00:42] <cone-737> ffmpeg.git 03Paul B Mahol 07master:e1c7892013d2: avcodec/vp9: use av_freep() for above_partition_ctx
[02:07] <cone-737> ffmpeg.git 03Michael Niedermayer 07master:e3fc4481b6dd: avformat/vqf: check a few more bits in probe
[02:07] <cone-737> ffmpeg.git 03Ben Boeckel 07master:255302da7019: vorbis: handle special packets in the middle of a stream
[08:13] <HzD_Byte> ehlo
[11:32] <cone-80> ffmpeg.git 03Stefano Sabatini 07master:fe55c3197698: lavc/elbg: rename ff_ symbols to avpriv_, so they can be used in shared libs
[11:32] <cone-80> ffmpeg.git 03Stefano Sabatini 07master:8cd3685a3ff8: lavfi: add elbg filter
[11:40] <cone-80> ffmpeg.git 03Lukasz Marek 07master:f04fe23a5256: lavd/xv: fix memory leak
[11:41] <ubitux> saste: wow, it's slow :)
[11:42] <saste> ubitux, yes, i use it with elbg=l=8
[11:42] <saste> ubitux, considering that it is computing the "palette" at each step
[11:43] <saste> that is for each image
[11:50] <ubitux> saste: why isn't this the default when encoding to PAL8? :)
[12:01] <ubitux> saste: also, why isn't the filter outputing optimized PAL8?
[12:02] <saste> ubitux, you don't have a fixed palette
[12:02] <saste> so you would have to send a new palette for each frame
[12:02] <saste> not very efficient
[12:02] <ubitux> isn't PAL8 supposed to be a map in data[0] and pal in data[1]?
[12:02] <ubitux> saste: not very efficient, but a way to get HD GIF
[12:02] <saste> it would be cool to be able to extract and apply a user provided palette
[12:03] <saste> ubitux, patch welcome :)
[12:03] <ubitux> saste: i'm just wondering about the usefulness of the filter :p
[12:03] <ubitux> in its current state
[12:04] <saste> useful if you don't like images with too many colors, i suppose :)
[14:23] <saste> michaelni, ok to remove soc.txt?
[14:26] <michaelni> saste, sure
[14:30] <cone-80> ffmpeg.git 03Timothy Gu 07master:1062a7f40428: doc: remove soc.txt
[14:33] <michaelni> ubitux, probetest says: Failure of jacosub probing code with score=51 type=1 p=CAB size=16
[14:34] <michaelni> thats tools/probetest 8192 500000
[14:43] <ubitux> michaelni: mmh i'll try not to forget
[14:43] <ubitux> i cant look at it right now
[14:43] <ubitux> and btw, thx for fateserver mirror
[15:04] <Compn> who would i contact about xvid gpl violations ?
[15:04] <Compn> squatters on xvid.org ?
[15:07] <Daemon404> xvid.org really is them
[15:07] <Daemon404> :/
[15:08] <Compn> it looks bad
[15:08] <Daemon404> its been like that for ages
[15:08] <Daemon404> xvid is long dead
[15:09] <Compn> who thought an inline search box on a website was a good idea ?
[15:09] <Compn> like the first guy who came up with that idea
[15:09] <Daemon404> it's babby's first php site
[15:09] Action: Compn afraid to view source and find microsoft frontpage
[15:10] <Daemon404> lol
[15:10] <saste> TYPO3
[15:10] <saste> Compn, why do you care?
[15:11] <ubitux> sometimes easier to browse reading the source
[15:12] <saste> yes like in matrix
[15:12] <Daemon404> also the real cool kids used ms word to make websites
[15:12] <Compn> saste : care about gpl violations or care about their website ?
[16:28] <kierank> 2:14 PM <BugMaster|work> elenril: btw. remember I said about that libav drop first frames after recovery points in H.264. I was wrong. I tested it again few days ago and libav's avconv works exactly as expected producing same output as JM. On other hand ffmpeg fails big at this aspect (it show freezed frame for long period of time far beyond when
[16:28] <kierank> intra-refresh should be already finished. and show artefacts in case of output_corrupt flag at frames where it shouldn't) e
[16:28] <kierank> 2:15 PM <BugMaster|work> * even though it looks like to backport most of libav's patches to h264
[16:28] <kierank> michaelni: ^
[16:35] <michaelni> kierank, how can i reproduce that ?
[16:36] <kierank> ask bugmaster
[17:23] <wm4> have the mp3 probing problems been solved yet?
[17:23] <wm4> there are some mp3 (and also some mpeg) files that fail at probing with a high enough probescore
[17:36] <durandal11707> wm4: uploaded them to someone?
[17:39] <wm4> durandal11707: user handed me this: http://www1.datafilehost.com/d/eeb3e07c
[18:10] <wm4> durandal11707: can you reproduce?
[18:11] <wm4> (I can)
[18:19] <durandal11707> wm4: i'm doing something else, please do not be afraid of creating bug report
[18:34] <cone-874> ffmpeg.git 03Michael Niedermayer 07master:7561974dfee0: avformat/mmst: propagate error code from avio_put_str16le()
[19:24] <cone-874> ffmpeg.git 03Michael Niedermayer 07master:b52ae27edf39: avio_put_str16le: Print error message in case of invalid UTF8 input
[19:24] <cone-874> ffmpeg.git 03Michael Niedermayer 07master:269f5d902abf: avformat/aviobuf: return error from avio_put_str16le() for invalid input
[22:24] <cone-256> ffmpeg.git 03Michael Niedermayer 07master:9647c6deddfa: ffmpeg_opt: fix overriding values set by -target
[22:34] <ruggles> hi all. just wanted to point out a weird corner-case issue that is happening for ffmpeg with multi-threaded audio decoding.
[22:35] <ruggles> if the decoder outputs a valid frame (*got_frame = 1, ret = 0) with no data (nb_samples = 0) it can lead to an infinite loop (EAGAIN) in some cases due to not flushing buffersrc.
[22:36] <ruggles> that situation shouldn't happen in normal cases, but an alac decoder bug was triggering it with corrupt data
[22:36] <ruggles> i sent a patch to libav with the alac fix, but more generally that situation may need to be handled at a higher level
[22:50] <Compn> interesting
[22:52] <ruggles> it also depends on which filters are used and how many decoding threads. so it's a tricky bug. but it's definitely triggered by the empty frames, maybe in combination with something else.
[22:53] <ruggles> and it leads to infinite EAGAIN from avfilter_graph_request_oldest()
[23:05] <cone-256> ffmpeg.git 03Michael Niedermayer 07master:4abe6e415310: avformat/nullenc: mark null as VFPS
[00:00] --- Thu Nov 14 2013
1
0
[00:03] <llogan> pisto: does it make a difference if you change -r to -framerate? can you rule out that playback is the issue as opposed to the actual file?
[00:04] <pisto> how would I rule that out? I'm playing the file with vlc, and that works, usually
[00:05] <llogan> you can try re-encoding the lossless output to something easy for it to play
[00:05] <llogan> if it is also out of sync that my rule out playback issues
[00:06] <llogan> you may also want to test git master to see if you're experiencing a bug
[00:07] <llogan> does the lossless file play as expected with ffplay?
[00:07] <llogan> several things to test here
[00:08] <llogan> https://trac.ffmpeg.org/ticket/3045#comment:7+
[00:08] <llogan> https://trac.ffmpeg.org/ticket/3045#comment:7
[00:09] <pisto> uncompressed, out of sync in ffplay too
[00:09] <pisto> comrpessing now
[00:09] <ac_slater> Hey guys, I'd like to take some mp4 and dump a .264 file from it. Some software I'm writing requires a file with just h.264 frame dumps. Any help?
[00:10] <pisto> the synchronization change every time I create this test file. sometimes it can happen that it is in sync too
[00:10] <pisto> the two audio tracks desync independently
[00:11] <pisto> once the bad/good sync is fixed, it doesn't appear to change
[00:11] <pisto> and yes, it's out of sync with the compressed file too
[00:12] <pisto> could that be a pulseaudio bug?
[00:12] <dbro> ac_slater: ffmpeg -i input.mp4 -vcodec copy -vbsf h264_mp4toannexb -an of.h264
[00:12] <dbro> of.h264 is output, of course
[00:13] <ac_slater> dionoea: hanks!
[00:13] <ac_slater> dbro: I mean ^
[00:15] <ac_slater> What if the input is a .mov ...
[00:17] <llogan> pisto: what if you record video and audio as two separate ffmpeg processes and mux the outputs
[00:17] <llogan> or maybe 3 processes
[00:17] <pisto> ugh, then I would have to take care of starting them at the same time
[00:18] <llogan> use a script
[00:19] <llogan> or see if a reduced -framerate and/or -video_size makes a difference
[04:19] <Zeranoe> How could I take a 720p video and convert it down to 320x240 with a letterbox to maintain the aspect? I tried pad="ih*4/3:ih:(ow-iw)/2:(oh-ih)/2" but that didnt work
[04:50] <llogan> Zeranoe: you want 4:3 dar?
[04:51] <Zeranoe> llogan: Yes, maybe pixel too. I need the letterbox to be burned in
[04:52] <ramiro> hi
[04:52] <Zeranoe> ramiro: Greetings
[04:52] <llogan> maybe "scale=320:-1,pad=0:240:0:(oh-ih)/2" does what you want?
[04:53] <ramiro> what codec gives the best multithreaded decoding in FFmpeg?
[04:53] <ramiro> Zeranoe: on i686 it no longer segfaults, haven't looked into why x86_64 segfaulted
[04:53] <Zeranoe> ramiro: Weird, hope it was unrelated to the script
[04:55] <Zeranoe> llogan: It looks right
[04:56] <Zeranoe> ramiro: I'm not sure if it's decoding, but mjpeg has out preformed everything else I've tried
[04:57] <llogan> ramiro: i'm not sure, but you can test with null format
[04:57] <llogan> http://ffmpeg.org/ffmpeg-formats.html#null
[05:29] <seg> Hi there. I am currently using this cmd (http://pastebin.com/asw1J6r5)to convert home videos to digital format. Can someone with more ffmpeg experience give me some hints on how I could increase bitrate/quality?
[05:33] <relaxed> seg: ffmpeg -f alsa -i hw:1 -f video4linux2 -video_size 720x576 -i /dev/video0 -filter:v yadif -c:v libx264 -crf 16 -c:a flac output.mkv
[05:33] <seg> relaxed, great, thanks a lot--i'll try that.
[05:34] <relaxed> that will deinterlace, use h264 for the video which should be visually lossless, and flac for the audio which is lossless
[05:35] <seg> fantastic. thank you relaxed
[05:39] <relaxed> you're welcome. add "-preset veryslow" for better video compression
[06:16] <Elijah__> Hi all, having trouble building ffmpeg 2.1. Says it can't find libx264, but I can see the library in /usr/lib
[06:16] <Elijah__> config.log --> http://pastebin.com/1ig3Jf6T
[06:16] <Elijah__> any ideas..?
[06:18] <relaxed> did you install libx264-dev?
[06:19] <relaxed> you need --extra-ldflags="-ldl"
[06:19] <Elijah__> Built x264 from one of the latest snapshots
[06:20] <Elijah__> hmm ok I'll try that...
[06:20] <Elijah__> darn, still no luck
[06:21] <Elijah__> where does it look for the x264 headers? Or does it only link against the library
[06:21] <relaxed> where did you install libx264?
[06:22] <Elijah__> The library is in /usr/lib, the binary is in /usr/bin
[06:23] <relaxed> use used --prefix=/usr when compiling x264?
[06:23] <Elijah__> yeah
[06:23] <Elijah__> I guess it defaults to /usr/local/lib as I recall, and I read somewhere someone had a hard time getting ffmpeg to find it there lol
[06:25] <llogan> which distro?
[06:25] <relaxed> --extra-ldflags="-ldl -L/usr/lib" -extra-cflags="-I/usr/include" --enable-libx264 --enable-gpl
[06:25] <Elijah__> ubuntu server 12.04
[06:25] <relaxed> it's frowned upon to compile software to /usr
[06:25] <llogan> http://trac.ffmpeg.org/wiki/UbuntuCompilationGuide
[06:26] <Elijah__> Yeah, I suppose.. just figured it's easier than telling everything else you want to link against it where to look
[06:26] <Elijah__> still no luck with those switches though
[06:26] <relaxed> dpkg -l "*x264*" | grep ^ii
[06:27] <Elijah__> ii libx264-120 2:0.120.2151+gita3f4407-2 x264 video coding library
[06:27] <relaxed> that version is old.
[06:27] <Elijah__> Hmm, guess that should be uninstalled?
[06:28] <relaxed> word
[06:28] <relaxed> but since you compiled another version to the same location...
[06:29] <Elijah__> Yeah, oops
[06:30] <Elijah__> I know just enough about this to be dangerous, sorry :-)
[06:30] <relaxed> sometimes we must learn the hard way.
[06:31] <relaxed> apt-get remove it, then run: find /usr -name "*x264*"
[06:31] <relaxed> and remove the rest of the cruft by hand
[06:31] <relaxed> THEN follow the compile guide llogan pasted
[06:32] <Elijah__> Ok, so the remaining things it found would have been put there my my install from the source...
[06:32] <relaxed> correct
[06:32] <Elijah__> and then the *correct* way is to install to a local dir, and link everything else against that?
[06:34] <relaxed> correct. Run: sudo echo "/usr/local/lib" >> /etc/ld.so.conf.d/local.conf
[06:35] <relaxed> because by default ubuntu doesn't search for libs there
[06:35] <Elijah__> Right... ok yeah I had tried setting the LD_LIBRARY_PATH env variable earlier
[06:35] <relaxed> or /usr/local
[06:36] <Elijah__> so it is OK to install compiles to /usr/local
[06:36] <relaxed> Yes. /usr/local is good for things needed globally.
[06:37] <Elijah__> Yay, that makes sense
[06:42] <Elijah__> If you tell it --prefix=/usr/local will it put the libs and bins in the correct folders, or do you need to specify --libdir and --bindir explicitly?
[06:43] <relaxed> just --prefix=/usr/local
[06:44] <relaxed> which is the default prefix, by the way
[06:45] <Elijah__> ok. And then we'll see if ffmpeg can find it this time
[06:47] <Elijah__> --extra-ldflags="-ldl -L/usr/local/lib" --extra-cflags="-I/usr/local/include" --enable-libx264 --enable-gpl
[06:47] <Elijah__> so I used that, it's still not finding it though :\
[06:47] <relaxed> make distclean
[06:47] <relaxed> and try again
[06:48] <Elijah__> from... libx264? or ffmpeg
[06:48] <relaxed> ffmpeg
[06:48] <Elijah__> k
[06:48] <Elijah__> still no joy
[06:49] <relaxed> pastebin the output of: find /usr -name "*x264*"
[06:50] <Elijah__> http://pastebin.com/q9JGVkKi
[06:50] <relaxed> x264 --version
[06:51] <Elijah__> http://pastebin.com/uMfAsZgz
[06:52] <relaxed> the latest git is 0.140.something
[06:52] <Elijah__> Hmm, I guess I'll try that, I had grabbed a snapshot from like nov 1 or so
[06:52] <Elijah__> let's try the latest git
[06:53] <relaxed> are you floowing the guide?
[06:53] <relaxed> following*
[06:53] <relaxed> http://trac.ffmpeg.org/wiki/UbuntuCompilationGuide
[06:55] <Elijah__> Well, aside from not getting the latest git :-)
[07:03] <Elijah__> yay, got it
[07:03] <Elijah__> ./configure --prefix=/usr/local --enable-libx264 --enable-gpl --extra-cflags="-I/usr/local/include" --extra-ldflags="-L/usr/local/lib" --bindir="/usr/local/bin" --extra-libs="-ldl"
[07:03] <Elijah__> And I had to set that environment variable, PKG_CONFIG_PATH
[07:05] <Elijah__> thankyou :)
[07:25] <llogan> i forgot about that
[07:31] <kriskropd> when i run something like 'ffmpeg -ss 1234 -t 30 -i video.in.mkv video.out.mkv' it seems to always re-encode everything and ruin the quality - is it possible to pass an argument that just retains the original video and audio and simply cuts the clip as specified?
[07:44] <llogan> kriskropd: http://ffmpeg.org/ffmpeg.html#Stream-copy
[07:44] <llogan> "-map 0 -c copy"
[07:48] <llogan> and -t is an output option
[07:50] <kriskropd> llogan: thanks :)
[08:13] <HzD_Byte> ehlo
[08:14] <spaam> 502 Command not implemented
[08:55] <frogonwheels_> I'm expecting this is a FAQ - I'm using avconv on ubuntu, and '-af' switch is not accepted (I wanted -af volume=-3dB ) - should I just compile myself, is there a ppa?
[08:57] <relaxed> frogonwheels_: avconv is from the libav project, #libav
[09:00] <ffmpeg766> opus not found while installing ffmpeg , although already installed
[09:01] <JEEB> check config.log
[09:01] <JEEB> and make sure you have installed development headers and libraries as well
[09:01] <frogonwheels_> relaxed: ah thanks.
[09:02] <ffmpeg766> all headers and libraries properly installed
[09:02] <JEEB> then see config.log as I said
[09:03] <ffmpeg766> is it config.5ssl.gz?
[09:03] <JEEB> what...
[09:03] <ffmpeg766> where can i find config.log
[09:03] <JEEB> it's just config.log where you ran the configure script
[09:03] <JEEB> if you used some automated compilation system, good luck and have fun
[09:03] <JEEB> read your fine documentation
[09:04] <ffmpeg766> ok,so many lines in it..what to look for?
[09:04] <JEEB> opus?
[09:05] <ffmpeg766> last line: "ERROR: opus not found"
[09:05] <ffmpeg766> Package opus was not found in the pkg-config search path
[09:09] <relaxed> ffmpeg766: where did you install libopus?
[09:13] <ffmpeg766> ~/ffmpeg_build
[09:14] <ffmpeg766> PKG_CONFIG_PATH=$HOME/ffmpeg_build/lib/pkgconfig
[09:18] <ffmpeg766> problem solved, xt problem has come
[10:43] <prkhr4u> how to play live stream from ip camera using ffmpeg , i only have its URL,ffmpeg installed already
[10:55] <prkhr4u> anyone there?
[10:55] <zap0> yes
[10:56] <prkhr4u> need help..pl see my previous post
[14:54] <YamakasY> hi guys!
[14:54] <YamakasY> great that there is a channel for this great software
[14:55] <YamakasY> I wonder, is it possible to optimize/re-encode a .flv ?
[14:55] <EchoDev> FLV is just the container
[14:55] <EchoDev> You can always compress the video and audio tho
[14:56] <EchoDev> If you are good with it you might be able to decrease the filesize without too much loss of detail
[14:56] <EchoDev> or you can increase compatability with devices by putting it in a different container
[14:56] <EchoDev> What do you want to do with it?
[15:04] <YamakasY> EchoDev: the issue is that in combination with Red5 server not all movies are recorded well, my code is OK
[15:05] <YamakasY> so I need to cleanup video's
[15:05] <YamakasY> "cleanup"
[15:06] <EchoDev> define cleanup
[15:06] <EchoDev> also define recorded well
[15:07] <YamakasY> EchoDev: my actual movie is sometimes shorter than my player shows to me
[15:07] <EchoDev> YamakasY and you think there is more data than their should be?
[15:07] <EchoDev> there*
[15:07] <YamakasY> EchoDev: and if there are missing or truncated frames I want to see if it "fixes" it... some dev told me he uses it as a workaround
[15:08] <YamakasY> EchoDev: no, when a movie shows in a player 1 min sometimes it's just 40 sec
[15:08] <EchoDev> Hmm I don't know anything about that :> so I can't help you :)
[15:08] <YamakasY> I also have a problem I think with the startbit of the movie because it can happen in front of a movie too
[15:10] <YamakasY> EchoDev: I doubt it :)
[15:10] <YamakasY> what could I do to run a movie.flv > movie_2.flv ?
[15:13] <YamakasY> what I get now is" Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (50/2)
[15:18] <tiksa> Does anyone know how can you use same filter_complex but output multiple inputs with different sizes? Thanks.
[15:19] <tiksa> if I just index the outputs, the filter_complex is applied only to the first output.
[16:20] <DrakaSAN> Hi, I am on Ubuntu Server 12.04 LTS, I m trying to install FFMpeg from source (since ubuntu repositories give the fake ffmpeg). In the way I ve installed (all from source) yasm, x264 codec (with --enable-shared), and ffmpeg, but I m now stuck at this error:
[16:20] <DrakaSAN> error while loading shared libraries: libswresample.so.0
[16:21] <DrakaSAN> which indeed isn t in /usr/lib, but I found libswresample.a in /usr/local/lib
[16:22] <JEEB> DrakaSAN, did you run ldconfig properly?
[16:23] <JEEB> also if you built ffmpeg just for ffmpeg (the cli app), then I have no idea why you made your life miserable to yourself and built shared :)
[16:23] <DrakaSAN> I ran it after installed x264 codec, but I don t really know what does ldconfig
[16:23] <JEEB> it indexes or whatever shared libraries :P
[16:24] <DrakaSAN> I built the codec shared, ffmpeg was built only with --enable-gpl and --enable-x264
[16:24] <DrakaSAN> ah, important so
[16:24] <JEEB> it most definitely was not built static if you got a dot-so
[16:24] <JEEB> that's a shared library
[16:24] <JEEB> or you have derped something up :P
[16:24] <JEEB> as in, have a previous shared compilation in there or something
[16:25] <DrakaSAN> probably both >_>
[16:26] <DrakaSAN> I ll remake ffmpeg to be sure
[16:26] <JEEB> clean your crap our
[16:26] <JEEB> *out
[16:27] <JEEB> with out-of-tree builds it's pretty easy to reset the situation as you're no longer inside the source tree
[16:27] <DrakaSAN> is there a way to uninstall everything automatically? (apt-get remove but for build from sources app)?
[16:28] <JEEB> you didn't install it manually either :P thankfully the default prefix is /usr/local/* and you should generally be rather capable of cleaning that up
[16:28] <JEEB> uhh, s/manually/automatically with package management/
[16:30] <DrakaSAN> make install isn t supposed to install what have been compile by previous make command? (I m searching in /usr/local what I ve done in it)
[16:34] <JEEB> DrakaSAN, yes -- but in general you should never expect an uninstallation command, or expect a `make uninstall` command to work
[16:34] <JEEB> because such things have no idea of knowing what they're removing or if that what is being removed is what you have copied over
[16:35] <DrakaSAN> but it give a excuse to blame someone else if it f... everything up : p
[16:36] <DrakaSAN> I m on a VM so I can make mistakes at least
[16:36] <DrakaSAN> (hopefully)
[16:38] <DrakaSAN> should I use --enable-static and --enable-shared?
[16:38] <DrakaSAN> (for x264 codec)
[16:39] <JEEB> just create static libraries unless you are planning to build multiple things that link into something
[16:39] <JEEB> it's just simpler
[16:39] <JEEB> thus, --enable-static only
[16:39] <JEEB> also make sure you have cleaned your build trees, which most probably are the same as your source tree right now :P
[16:40] <DrakaSAN> I m planning to build ffmpeg with it so...?
[16:40] <DrakaSAN> yes, I ve removed each source folder and extract them again
[16:40] <JEEB> if you are just gonna have one thing link to it
[16:40] <JEEB> then just use static
[16:41] <JEEB> I mean, if you had a dozen things basing on that, I might have said that shared is better because it doesn't copy the library into every binary that links to it :P
[16:42] <DrakaSAN> static is good, the vm will only serve as ffmpeg test base
[16:42] <DrakaSAN> so there will be nothing else but ffmpeg : )
[16:45] <narffy> i have a question on connecting to a rtsp stream on an ip camera
[16:46] <narffy> is there any way to tell ffmpeg not to send a SETUP command to one of the tracks that the camera returns with DESCRIBE?
[17:18] <JEEB> DrakaSAN, stop pm'ing me you dimwit. thank you
[22:13] <fsimonce> hi all, do you know if there's a way to filter out frames with non-monotonic pts? (any filter?)
[23:01] <llogan> fsimonce: maybe you could do something with select and the pts or t options.
[23:01] <llogan> http://ffmpeg.org/ffmpeg-filters.html#select_002c-aselect
[23:02] <fsimonce> llogan, yes, I looked at that but I think I need something smart(er)... I need this filter in the first place because the mpegts stream is corrupted... and therefore some forward jumps might be allowed
[23:03] <fsimonce> llogan, since forward jumps are allowed... what you want to do is to "take back" a frame that you already submitted since you found later on a frame with a pts that is lower
[23:04] <fsimonce> llogan, or maybe I am just over-complicating the issue
[23:05] <llogan> i don't know what to suggest
[23:05] <fsimonce> ok thanks anyway, it's a tricky issue I suppose
[00:00] --- Thu Nov 14 2013
1
0
[00:16] <llogan> ubitux: thanks for the fade color. a user requested that once but i don't remember who it was.
[03:16] <cone-104> ffmpeg.git 03Erik Olofsson 07master:3b1dcdec7d85: libavcodec/xsubenc.c: Fix bounding box coordinates
[03:16] <cone-104> ffmpeg.git 03Erik Olofsson 07master:da9d36055ab1: libavcodec/xsubenc.c: set coded_bits_per_sample
[14:23] <cone-737> ffmpeg.git 03Lou Logan 07master:6d90a5c149fb: Fix example in pullup documentation.
[14:37] <saste> ubitux: what's the correct way to display non printable characters in JSON?
[14:42] <cone-737> ffmpeg.git 03Michael Niedermayer 07master:8146ee7ae909: MAINTAINERS: Add 1.2 back to the maintained releases
[14:45] <ubitux> saste: \uXXXX ?
[14:45] <ubitux> + ass_line = nicolas_george_fix(sd, ass_line);
[14:45] <ubitux> haha wm4
[14:46] <saste> ubitux, right now it will print the non printable character to output
[14:47] <saste> not sure if that's a JSON specific problem, or if I should validate the string before passing it to the JSON printer
[14:47] <saste> similar problem with XML
[14:48] <ubitux> the current json check is not enough?
[14:48] <ubitux> cheap way to test if it's compliant is to python -c "import json;json.loads(...)"
[14:55] <saste> ubitux, doesn't check for non-printable data
[14:55] <saste> isprint()
[14:55] <saste> already tried with a sample with a control character
[14:57] <saste> michaelni, please review the avpriv_ elbg, so i know what to do with my elbg filter patch
[14:58] <saste> the alternative is to make elbg interface public (or drop my elbg filter altogether)
[15:08] <saste> ubitux: I think I'll just extend your escape function
[15:08] <ubitux> ok :)
[15:22] <wm4> ubitux: where did you see this? AFAIK I picked an alternate fix after all
[15:24] <ubitux> in a branch :)
[15:24] <ubitux> can't remember which
[16:24] <HzD_Byte> hello. does anybody use RTMPT with ffmpeg? I'm trying to publish video stream to red5 media server via RTMPT, but it sends video only few seconds and then stops. With RTMP (not RTMPT) there is no such trouble. When I use ffmpeg without librtmp support then avio_open hangs.
[16:25] <HzD_Byte> command line: ffmpeg -re -i file.flv -acodec copy -vcodec h264 -f flv rtmpt://localhost:5080/oflaDemo/stream1384247072828
[16:26] <HzD_Byte> is it a bug?
[16:42] <saste> so, in the end I'll probably need to add some flags to the UTF-8 decode function
[16:48] <HzD_Byte> I've created a new ticket on this bug: https://trac.ffmpeg.org/ticket/3127
[16:55] <Zeranoe> Has there been any work on -shortest since it was implimented here: http://git.videolan.org/?p=ffmpeg.git;a=commit;h=3d77a275487b64373dde3d1c9b… I guess it is acting as if it was omitted in recent versions http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=7&t=1420
[16:58] <Zeranoe> saste: huh
[16:59] <saste> Zeranoe, to reproduce the issue, it worked last time i tried
[16:59] <HzD_Byte> Zeranoe: hello, I want to say many thanks for your FFMPEG builds. It's very handy to have them built with common external libraries.
[17:01] <Zeranoe> HzD_Byte: No problem, thanks for using them!
[17:07] <HzD_Byte> Zeranoe: it would be great to have a chance to exclude some libraries from the build (for example, exclude librtmp support), so maybe you can share your scripts for the custom builds?
[17:11] <Zeranoe> HzD_Byte: Well there are several resources to compile your own builds, mainly scripts provided by Roger. He has a compile script here: https://github.com/rdp/ffmpeg-windows-build-helpers
[17:12] <Zeranoe> HzD_Byte: I mainly say that because my scripts are heavily dependant on the system they are setup on, and to make them work on other machines would be a lot of work.
[17:13] <HzD_Byte> ok, thank you anyway :)
[18:46] <cone-737> ffmpeg.git 03Michael Niedermayer 07master:7b1e0beb2da3: avcodec/mpegvideo_motion: Handle edge emulation even without unrestricted_mv
[21:21] <cone-737> ffmpeg.git 03Michael Niedermayer 07master:0062869ae250: avformat/smacker: check width/height in probe
[00:00] --- Wed Nov 13 2013
1
0
[00:00] <llogan> pyBlob: does that just blur?
[00:01] <pyBlob> it uses the blur filter out of the opencv library ... but my ffmpeg isn't built with opencv
[00:02] <pyBlob> I'm currently experimenting with smartblur ... but it doesn't support large blur radii
[00:02] <llogan> there are several other blurring type of filters: boxblur, sab, smartblur, unshart
[00:02] <llogan> *unsharp
[00:02] <llogan> nobody can undo a "shart"
[00:07] <pyBlob> unsharp looks promising ... bit I think I'll try the simple boxblur too
[00:17] <pyBlob> but finally unsharp is a crap :/
[00:17] <llogan> what's wrong with it?
[00:56] <pyBlob> it doesn't really blur ... but for sharpening stuff it's perfect
[00:57] <maujhsn> Trying to grab audio & video from desktop! this command use to work! "http://pastebin.com/pGir816J"!
[01:05] <maujhsn> Does anybody have time to read this? "http://pastebin.com/pGir816J"!
[01:07] <maujhsn> SASL: added ffmpeg: [PLAIN] maujhsn *
[01:10] <pyBlob> why does ffmpeg output the color yuv=255:128:128 as rgb=236:235:236?
[01:11] <pyBlob> ... and similarly yuv=0:128:128 gets rgb=16:16:16
[01:16] <maujhsn> pyBlob Do you a a minute? Can you look at my pastebin/
[01:16] <iive> yuv formats have deadzones, to easy rounding and overflows of transform and motion compensation.
[01:18] <iive> hum...
[01:18] <c_14> maujhsn: You're using libav not ffmpeg, see #libav or download ffmpeg.
[01:20] <llogan> maujhsn: you've been here enough to know you should use ffmpeg from FFmpeg here
[01:20] <maujhsn> Ok give me a download site.
[01:21] <maujhsn> llogan
[01:21] <llogan> pyBlob: unsharp can blur for me unsharp=7:7:-2:7:7:-2
[01:21] <llogan> or http://trac.ffmpeg.org/wiki/UbuntuCompilationGuide
[01:21] <bencoh> "for 2.6.32+ kernels" ? what the heck ?
[01:22] <pyBlob> llogan: ... ok, that works, but it isn't big enough
[01:22] <llogan> http://ffmpeg.org/ffmpeg-filters.html#unsharp
[01:22] <pyBlob> ... is there a way to use the full range of rgb when converting from yuv to rgb?
[01:23] <zviss> !ping
[01:33] <maujhsn> llogan Where can I get the build directions for this page: http://ffmpeg.gusari.org/static/32bit/?
[01:34] <maujhsn> llogan : ffmpeg.static.32bit.2013-11-01.tar.gz
[01:39] <pyBlob> llogan: final command ... boxblur to blur, unsharp to sharp > finally everything works as expected: http://pastebin.com/rAqj9uPu
[01:40] <pyBlob> saving as .jpg "restores" the full rgb-range
[01:41] <maujhsn> llogan Can you give me build commands for this package?
[01:42] <maujhsn> Obviously its in /Downloads right now!
[01:52] <maujhsn> llogan Your a "JERK"!
[02:16] <klaxa> *you're
[02:16] <klaxa> also, i didn't know offering help free of charge is being a jerk
[02:16] <klaxa> (i know he left)
[04:08] <ussher_> im trying to use ffmpeg to do some screencasting. its almost there, just one small thing i need to figure out. How to get the cursor to display. I've been trying with 'x11grab -follow_mouse 1' but no luck, should that be how you turn it on?
[04:13] <ussher_> oops, sorry, draw_mouse 1. this is the full command im using from the command line on KDE. ffmpeg -f alsa -ac 2 -i pulse -f x11grab -draw_mouse 1 -show_region 1 -y -r 12 -s 1024x780 -i :0.0+2022,1257 -vcodec ffv1 -qscale 0 ./out.avi
[04:36] <ussher_> Thanks llogan. figured it was just 1 line. I'll use pd next time.
[04:36] <llogan> ffv1 is lossless so qscale 0 is probably being ignored
[04:39] <ussher_> thanks for that too, removed it. here is the pastebin of the full command: http://pastebin.com/g3sV1Byh
[08:31] <troulouliou_dev> hi is there an implementation of h264 mvc yet in ffmpeg ?
[09:53] <tiksa> Does anyone know if there is a filter that I could create a cross dissolve (cross fade between two videos) with? Thanks..
[09:55] <viric> look for 'fade' in filters.
[10:02] <tiksa> you can give a color there but how.. wait a sec.. so I put a fade out with alpha=1 to the first video, then fade in with alpha=1 to the second video. How can I interlace them then? There is a 'interlace' filter but it doesn't seem to be meant for this, does it?
[10:03] <ubitux> more likely with concat filter and fade filter
[10:12] <tiksa> how can you interleave with concat..?
[10:13] <ubitux> don't you want one video after another?
[10:13] <ubitux> (with a fade between the two)
[10:14] <tiksa> yeah but so that the faded parts are on top on other
[10:14] <tiksa> I mean, at the same time the first video is fading out, the second is fading in
[10:20] <tiksa> not sure if my question makes sense, thanks anyway so far
[10:21] <ubitux> yeah i don't think we have a filter for this, but maybe concat filter could be patched for this
[10:21] <ubitux> that would be nice
[10:59] <stein_> hello all!
[11:00] <stein_> how can i encode "AVC-Intra 100 im Container MXF OP1A" with ffmpeg?
[11:01] <JEEB> I'm not sure if you can easily set the "Give me a completely whacked AVC Intra compatible stream" setting in ffmpeg
[11:01] <JEEB> x264's command line should be able to do it rather easily
[11:02] <JEEB> and then you could mux that with the MXF tools
[11:03] <stein_> i tried mxf tools once but had no clue how to work with it
[11:04] <JEEB> http://www.obe.tv/about-us/obe-blog/item/1-oss-dpp-creation this should show you some examples, including how to create the avc intra stream
[11:07] <JEEB> hmm, although it seems like you might be able to create AVC Intra by trying to use the avcintra-compat=1 option with ffmpeg's -x264opts
[11:07] <JEEB> I have no idea, though
[11:08] <JEEB> it needs certain other values too so I'd possibly just use x264 cli for it right now >_>
[11:08] <JEEB> (most of those are set'able via x264opts and friends tho, I think)
[11:42] <HzD_Byte> hello
[11:42] <sacarasc> Yo.
[11:42] <HzD_Byte> does anybody use RTMPT with ffmpeg?
[11:44] <HzD_Byte> i have a trouble with publishing
[11:49] <stonie_> JEEB, ok thanks ill take a closer look on that one
[11:49] <bantu> Hey. I am trying to dump an RTMP stream. I'm getting "RTMP_ReadPacket, failed to read RTMP packet header" from time to time which fatally aborts ffmpeg. How do I prevent that?
[12:23] <joxer> hi
[12:24] <HzD_Byte> hello
[12:25] <joxer> i have to encode a bunch of videos at each http request made to the server, but it very very slow
[12:25] <joxer> i can only handle about 5 request per second
[12:25] <joxer> also i'm currently using tmpfs to reduce io overhead
[12:26] <joxer> what can i do to speed up the process?
[12:26] <joxer> there's a daemon mode? i've tried to change the video settings but i need videos of a good quality
[12:46] <buu> joxer: A) Cache data B) switch to ssd/ramdisk C) increase hardware
[12:46] <buu> D) Switch to lower quality
[12:46] <joxer> i'm currently on vbox
[12:46] <buu> Well that won't help.
[12:46] <joxer> uhm, we have a testing environment there
[12:46] <buu> You might want to make sure you aren't thrashing.
[12:47] <buu> Unless your testing environment precisely duplicates your production environment doing load testing isn't the most useful of metrics..
[12:47] <joxer> how can i cache with ffmpeg?
[12:47] <joxer> i think the problem is an io bound related
[12:47] <buu> You don't, you cache the ouput produced by ffmpeg
[12:47] <buu> *output
[12:48] <joxer> oic
[12:48] <buu> In other words, reduce the number of videos to be encoded / the calls to ffmpeg
[12:48] <joxer> yes, i have to think a lot on which way to take
[12:49] <joxer> btw thanks buu
[12:49] <buu> If you've exhausted all other options and are feeling very bored and want to waste some time you might get some very minor performance enhancements by recompiling ffmpeg with higher optimization settings, processor specific settings or a different, more optimized compiler, such as icc for intel.
[12:49] <joxer> yeah
[12:50] <buu> But I seriously doubt you'd ever see anything more than a 10% improvement, and that only with extensive testing.
[12:50] <buu> Buying another quadcore i7 for $400 is considerably easier.
[13:02] <HzD_Byte> I'm trying to publish a video stream to the red5 media server (via RTMPT). After few seconds video stops and I can't receive any picture. FFMPEG freezes too. What's this? I've tried to use different ffmpeg versions from 1.0 till 2.1. Publishing via RTMP (not RTMPT) works fine
[13:03] <buu> At the risk of being obvious, this sounds like a red5 problem..
[13:04] <HzD_Byte> but flash player publishes video streams without troubles (using RTMPT)
[13:05] <HzD_Byte> so I'm not sure that red5 is a problem
[13:06] <JEEB> are you using the native implementation of librtmp?
[13:06] <HzD_Byte> I'm using FFMPEG from http://ffmpeg.zeranoe.com/
[13:07] <HzD_Byte> command line: ffmpeg -re -i file.flv -acodec copy -vcodec h264 -f flv rtmpt://localhost:5080/oflaDemo/stream1384247072828
[13:07] <JEEB> if you just run ffmpeg can you see --enable-librtmp in the configuration?
[13:08] <JEEB> if yes, then you're using librtmp and not the native implementation
[13:08] <JEEB> in that case I recommend you try the native one
[13:09] <JEEB> you'd have to build ffmpeg without librtmp for that
[13:09] <JEEB> or grab a new enough ffmpeg without librtmp
[13:09] <HzD_Byte> yes, configuration: ... --enable-librtmp ...
[13:10] <JEEB> yeah
[13:15] <HzD_Byte> ok, I'll try it
[13:21] <brontosaurusrex> how do i null the video? -vn seems to try to transcode to png
[13:22] <JEEB> uhh, post your command line
[13:23] <brontosaurusrex> ffmpeg -i in -ac 2 -vn -y -f wav - 2> /dev/null| wavegain ...
[13:23] <brontosaurusrex> its a pipe
[13:24] <JEEB> how the hell do you even get video with that, post your log in a pastebin
[13:24] <brontosaurusrex> ok ...
[13:24] <JEEB> -vn should kill off video and you only have one input
[13:28] <brontosaurusrex> http://paste.debian.net/plain/65409
[13:28] <brontosaurusrex> nothing special, png is not mentioned, only the pipe is way to slow
[13:28] <JEEB> yes
[13:29] <JEEB> it's not trying to encode PNG :P
[13:29] <JEEB> I have no idea about your pipe's speed but that indeed seems to do as advertised
[13:29] <JEEB> and vn indeed does kill off video, at least for that output
[13:29] <brontosaurusrex> ok
[13:30] <brontosaurusrex> ill do some more tests to see if i get to the point of things ...
[13:35] <brontosaurusrex> arh, found it, next loop was missing -vn
[13:35] <brontosaurusrex> i was looking at the wrong place ...
[14:04] <HzD_Byte> JEEB: I've tried latest ffmpeg without librtmp. It hangs on avio_open
[14:08] <HzD_Byte> after avio_open I see following strings: http://paste.debian.net/65420/ and that's all. It seems like avio_open never returns
[14:56] <wvdschel> can anyone tell me how I can figure out the pixelformat of an AVSubtitleRect.pict?
[16:08] <wvdschel> I'm currently using AVCodecContext.pix_fmt, but it's always AV_PIX_FMT_NONE, so that's not helping me...
[16:43] <troulouliou_dev> hi is there an implementation of h264 mvc yet in ffmpeg ?
[16:43] <troulouliou_dev> i just saw a thesis on this work
[16:43] <troulouliou_dev> wonder if it is usable already
[16:55] <ubitux> troulouliou_dev: no
[16:56] <troulouliou_dev> ubitux, have you seen that ? : http://www.nt.uni-saarland.de/fileadmin/file_uploads/theses/master/Optimize…
[16:56] <ubitux> so some ppl care about mvc ?
[16:57] <troulouliou_dev> ubitux, :) only way for full hd 3D
[16:58] <ubitux> 3D is still not dead?
[16:58] <klaxa> looks like it
[16:58] <troulouliou_dev> ubitux, why should it ?
[17:00] <ubitux> well if 3D won't die, my eyes and brain will
[17:04] <troulouliou_dev> ubitux, except if you have eyes issue, it totally depends on the source; half sbs / half ou hacks are impossible (for me) to see
[17:04] <troulouliou_dev> 3D bluray are ok for recent 3D movies
[17:08] <Zeranoe> Any ideas whats going on here: http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=8&t=1461 ? Are there any obvious issues with this command "ffmpeg -ss 00:15:00.0 -t 00:30:00.0 -i D:\Videos\source.mpg -vcodec copy -acodec copy D:\Videos\out\destination.mpg"
[20:01] <shevy> hmm "ffmpeg -i foo.mp3" I obtain info that way from a .mp3 file. is there a better way to obtain information about an audio file? mostly just duration, codec used and such info.
[20:01] <shevy> with the above command ffmpeg tells me "At least one output file must be specified" so I assume there may be another way to just feedback info
[20:16] <llogan> shevy: you can ignore that message
[20:16] <llogan> you could also use ffprobe
[20:16] <shevy> cool
[20:16] <llogan> it's advantage is that it can output the info in various formats
[20:16] <shevy> ffprobe seems to be a tiny bit nicer, thanks llogan
[20:18] <llogan> see ffprobe -h
[20:18] <llogan> -print_format, -show_streams, -show_format are worth experimenting with
[23:27] <pisto> hello. I cannot get screencast to work properly, audio is out of sync. I'm using x11grab and pulse with a monitor device as input
[23:27] <pisto> it is not a problem of cpu power because the fps stays to the value I specified on the command line
[23:38] <pisto> http://pastebin.com/HXM9QSph
[23:42] <pisto> http://pastebin.com/TbFA0pMv <- alright, complete console output
[00:00] --- Wed Nov 13 2013
1
0
[01:03] <ramiro> is it possible for a muxer to tell lavformat it is still using the AVPacket it received? and then the muxer can also "release" the packet when it's done using it
[01:18] <michaelni> ramiro, theres code in avformat that interleaves packets by dts, see ff_interleave_add_packet() and related code
[01:19] <michaelni> that code keeps packets for "longer"
[10:56] <cone-486> ffmpeg.git 03Timothy Gu 07master:a7f35afb56d3: doc: delete viterbi.txt
[12:12] <ubitux> ah, forgot to close
[12:21] <saste> ubitux, willing to review elbg?
[12:21] <ubitux> not now
[12:21] <ubitux> maybe later
[12:23] <saste> uhm we have a duplicated AVFilterPad, starting to diverge
[12:23] <saste> should we move it to a separate header?
[12:44] <ubitux> saste: ok, will review soon
[13:14] <cone-486> ffmpeg.git 03Michael Niedermayer 07master:676bc505f74a: avformat/utils: disabled debug code to collect format probing statistics
[16:39] <cone-104> ffmpeg.git 03Michael Niedermayer 07master:650fd9c004e0: avformat/avr: check channels and bps in probe
[17:26] <burek> "We have to use ppa/compile ourselves because someone didn't stay in kirdengarden long enough." :)))
[17:54] <durandal_1707> why vp9 patch have no comments?
[18:00] <cone-104> ffmpeg.git 03Michael Niedermayer 07master:f66f3819b968: avformat/bethsoftvid: check 4th header byte in probe
[19:40] <cone-104> ffmpeg.git 03Michael Niedermayer 07master:bdab2421a540: avformat/dfa: check first frame offset in probe
[21:34] <cone-104> ffmpeg.git 03Michael Niedermayer 07master:20769d9349ba: avformat/electronicarts: check chunk size.
[21:35] <cone-104> ffmpeg.git 03Michael Niedermayer 07master:f9b89b61f819: avformat/electronicarts: check chunksize more completely in probe()
[21:55] <cone-104> ffmpeg.git 03Diego Biurrun 07master:5d6a990c1158: mpegaudioenc: Remove broken integer-only quantization code path
[21:55] <cone-104> ffmpeg.git 03Michael Niedermayer 07master:afc660ab9bdf: Merge commit '5d6a990c115850326711c2f5be4d9fd33f399616'
[21:57] <ubitux> haha
[22:29] <cone-104> ffmpeg.git 03Diego Biurrun 07master:45ef963908f5: mpegaudioenc: Move some static tables to MpegAudioContext
[22:29] <cone-104> ffmpeg.git 03Michael Niedermayer 07master:43bf4297e4db: Merge remote-tracking branch 'qatar/master'
[22:35] <cone-104> ffmpeg.git 03Marton Balint 07master:a494757b34e3: libzvbi-teletextdec: support multiple teletext pages in a single packet
[22:35] <cone-104> ffmpeg.git 03Marton Balint 07master:688652e0d65d: libzvbi-teletextdec: fix indentation after last commit
[22:35] <cone-104> ffmpeg.git 03Marton Balint 07master:b689b1f6ee1a: libzvbi-teletextdec: use option constants instead of strings
[22:35] <cone-104> ffmpeg.git 03Marton Balint 07master:65fb59abd27a: libzvbi-teletextdec: use AVBPrint for whitespace cleanup
[22:35] <cone-104> ffmpeg.git 03Marton Balint 07master:f148954b0ac1: ass: factor out ff_ass_bprint_dialog
[22:35] <cone-104> ffmpeg.git 03Marton Balint 07master:0f0a8d9859c3: ass: fix error handling in ff_ass_add_subrect
[22:35] <cone-104> ffmpeg.git 03Marton Balint 07master:b96325e023cf: ass: move text_event_to_ass from textdec.c to ass.c and export it
[22:35] <cone-104> ffmpeg.git 03Marton Balint 07master:3c4b5275b6dd: libzvbi-teletextdec: output ass subtitles instead of plain text
[22:35] <cone-104> ffmpeg.git 03Marton Balint 07master:4947b0624b4f: libzvbi-teletextdec: dont ignore memory allocation error silently
[22:35] <cone-104> ffmpeg.git 03Marton Balint 07master:c0479f0f062f: libzvbi-teletextdec: propagate errors generated in page handler
[22:35] <cone-104> ffmpeg.git 03Michael Niedermayer 07master:355cea8ddc9b: Merge remote-tracking branch 'cus/stable'
[00:00] --- Tue Nov 12 2013
1
0
[08:42] <znf> Hello.
[08:43] <znf> How would I merge 2 or more files, while only using 1:00:00 of each video? I tried -i with -ss / -t for every file, but that didn't produce the desired results
[08:57] <spaam> merge?
[08:57] <spaam> maybe you mean concat
[08:57] <spaam> ?
[08:59] <viric> znf: -ss is per input, but not -t.
[08:59] <znf> spaam, yes
[08:59] <znf> viric, oh - so... what can I do about it?
[08:59] <viric> I think it's that way. No idea how to limit the length of one stream...
[09:01] <znf> oh :-/
[09:02] <viric> I don't know much of ffmpeg though :)
[09:05] <znf> thanks for the info
[11:04] <chandra_> Hi, I am trying a run some sample code with ubuntu ffmpeg dev packages , "gcc sample1.c -lavformat -lavutil -lavcodec -lz -lm ". I am ending up with libavformat/avformat.h: no such file or directory. I have installed libavformat-dev package though I am missing something in installation . I could not find includes in /usr/include/libavformat
[11:05] <chandra_> sorry for lengthy text
[11:06] <JEEB> hmm
[11:07] <JEEB> of course, you are actually using libav in that case, not ffmpeg. Since that is the project that debian has chosen for itself
[11:07] <JEEB> but unrelated to that...
[11:08] <JEEB> chandra_, which ubuntu btw?
[11:08] <chandra_> jeeb: 12.04
[11:09] <JEEB> both i386 and x86_64 libavformat-dev packages seem to include avformat.h
[11:09] <JEEB> http://packages.ubuntu.com/precise/i386/libavformat-dev/filelist http://packages.ubuntu.com/precise/amd64/libavformat-dev/filelist
[11:11] <chandra_> ok
[11:12] <chandra_> i think i messed up somthing installation
[11:12] <JEEB> how can you mess something up o_O
[11:13] <chandra_> Let me try again
[11:13] <JEEB> also are you sure you're using #include <derp/file.h>
[11:13] <chandra_> ok
[11:13] <JEEB> and not #include "derp/file.h"
[11:13] <tinyhippo> Contaminants from other vehicles these can include:
[11:13] <tinyhippo> Unburnt fuel
[11:13] <tinyhippo> Fuel Additives
[11:13] <tinyhippo> Vanadium
[11:13] <tinyhippo> Iron
[11:13] <tinyhippo> Sulphur
[11:14] <tinyhippo> Soot & Coke
[11:22] <chandra_> JEEB: thanks, its working now. I could be some apt-get install problem
[11:22] <JEEB> chandra_, also just for the future, if you have problems with the libav* stuff that comes with ubuntu (other than possible ubuntu-related problems which should of course go to #ubuntu or so), then #libav is the correct place to poke :)
[11:23] <JEEB> since debian and ubuntu use libav to provide those headers and libraries
[12:09] <brontosaurusrex> any clues about this; http://paste.debian.net/plain/65140 ? (Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted)
[12:10] <brontosaurusrex> older versions of ffmpeg will convert this with the same command line btw.
[12:12] <JEEB> [mov @ 0x7fb293026c00] Drop frame is only allowed with 30000/1001 or 60000/1001 FPS
[12:13] <JEEB> I guess this is what causes it to fail
[12:13] <brontosaurusrex> JEEB, is that something in the input?
[12:15] <JEEB> there's also [mpeg2video @ 0x7fb293027200] Invalid frame dimensions 0x0., but as libav* finds the actual w/h...
[12:15] <JEEB> so that's prolly not it
[12:16] <JEEB> it's how libav* handles it. Not sure why it brought up drop frames unless it was in the avi
[12:16] <JEEB> what's the profile 3 btw?
[12:17] <brontosaurusrex> profile 3 should be highest-quality prores 422 version
[12:18] <JEEB> unknown profile %d, use [0 - apco, 1 - apcs, 2 - apcn (default), 3 - apch]
[12:21] <brontosaurusrex> any ideas on whats worth trying?
[12:22] <brontosaurusrex> profile 2 not working, adding -vf scale x:y not working ...
[12:22] <JEEB> that's not it as I think the drop frame part is what makes it fail :P
[12:22] <JEEB> I have no idea what your source looks like or if you have drop frames there somewhere
[12:23] <brontosaurusrex> -r 25 didnt work either
[12:23] <JEEB> try current git HEAD, if it still fails then create a small sample that can replicate it, and report on the trac
[12:23] <brontosaurusrex> is there a filter to force constant fps or something like that
[12:23] <JEEB> in the worst case you will get the real reason in that case :P
[12:23] <JEEB> (and get told that it's an invalid ticket)
[12:23] <JEEB> in the best case it will get fixed
[12:23] <fkochem> hi there. i'm trying to convert a wav file to ogg and was wondering, which is the correct codec to use? vorbis or libvorbis? and what's the difference between those two?
[12:23] <brontosaurusrex> right, but my samples are all like 100 gigs
[12:23] <brontosaurusrex> not sure how to cut that properly
[12:24] <JEEB> if it's an avi just use virtualdub or something
[12:24] <brontosaurusrex> right
[12:24] <JEEB> in wine if needed
[12:24] <brontosaurusrex> yeah
[12:25] <JEEB> fkochem, libvorbis since the vorbis encoder is a horrible reminder why the wheel should not be remade unless you can think you can do at least as good of a job
[12:25] <JEEB> (and actually do it to a level)
[12:26] <fkochem> JEEB: so "vorbis" is a bad implementation of the same thing?
[12:26] <iive> brontosaurusrex: try without pixfmt, too.
[12:26] <JEEB> vorbis is the libavcodec internal implementation, which just happens to be godawful (at encoding)
[12:28] <fkochem> ok thanks
[12:32] <hay> hi all... can I use shoutcast audio as an input in ffmpeg?
[12:35] <brontosaurusrex> well, for now i'll use version from 2012 ...
[12:35] <iive> brontosaurusrex: btw, it would be helpful if you could locate the last release that worked with your samples.
[12:36] <brontosaurusrex> iive, i'am just not such a compiling expert
[12:36] <JEEB> then please provide a sample and report it :)
[12:36] <JEEB> then someone else can possibly do the rest for you
[12:36] <brontosaurusrex> JEEB, i will
[12:36] <JEEB> thanks
[12:36] <iive> brontosaurusrex: i just assumed you compiled it yourself. :)
[12:52] <brontosaurusrex> iive, i did actually, but it wasn't fun :)
[12:53] <iive> oh.. :(
[13:21] <brontosaurusrex> how is 500 megs sample? too big?
[13:27] <durandal_1707> brontosaurusrex: just upload it somewhere and provide link to it
[13:32] <brontosaurusrex> a sample 3.6 megs https://dl.dropboxusercontent.com/u/79532365/ffmpeg-problem/file_copy.avi (md5: 4dd4f95c0a432809f60fd44f9629d34f)
[13:33] <brontosaurusrex> i used vcodec copy, acodec copy to make it
[13:33] <brontosaurusrex> and the error is the same
[13:50] <iive> brontosaurusrex: try -t 10 with the copy and see if this gets it smaller. btw, does the sample matter? i mean, are there files where this command works?
[13:53] <brontosaurusrex> iive, yes
[13:54] <iive> same resolution?
[13:54] <iive> or fps ?
[13:54] <brontosaurusrex> works all the time, resolution is always 1920x1080
[13:54] <brontosaurusrex> and same fps
[13:54] <brontosaurusrex> fps is always 25
[13:55] <brontosaurusrex> it works with the same sample if i use got from feb. 2012
[13:55] <brontosaurusrex> git*
[14:02] <hay> are the input devices the only input I could use to get the data in to the ffmpeg? I have a dshow UScreenCapture video input and would like to add shoutcast radio to it.. is this possible?
[18:02] <DrSlony> Hi, when I record a screencast using ffmpeg it ends up running faster than i recorded it at. Why, and how do I fix it? Here is the code: https://pastee.org/waqc
[18:03] <sacarasc> Even. :D
[18:03] <DrSlony> eh?
[18:03] <DrSlony> i did use a pastebin site
[18:03] <sacarasc> Did you read the whole line?
[18:03] <sacarasc> Use a site like that for a command (not a script) and the output.
[18:03] <DrSlony> ah, output, one sec
[18:07] <DrSlony> here you go http://pastebin.com/3Mar0X9Z
[18:15] <DrSlony> any idea?
[18:16] <DrSlony> tbc is 48
[20:03] <Elijah__> When I run ./configure on ffmpeg 2.1, it says ERROR: libx264 not found. But I can see libx264.a in /usr/lib
[20:03] <Elijah__> any ideas?
[20:05] <klaxa> pastebin config.log
[20:10] <Elijah__> http://pastebin.com/iwKidwR5
[20:14] <klaxa> can you try to add --extra-cflags=-I/usr/lib ?
[20:14] <Elijah__> ok, one sec
[20:14] <klaxa> hmm... wait i don't think that'll help...
[20:15] <Elijah__> I was kidn of thinking that was the default include dir anyways, but I threw it in there just in case
[20:15] <klaxa> yeah weird
[20:16] <Elijah__> I did this on another computer with ffmpeg 1.2.1 no issues, so not sure what's up
[20:20] <Elijah__> back in a few
[20:23] <chr1stopher> good evening, i am absolutely new to ffmpeg and i got a question/problem: is it possible to grep images of a rtp stream?
[21:27] <bparker> I have a video file that has a over/under 3D layout and I need to convert it to a left/right layout. Is this possible in one command with ffmpeg filters?
[21:28] <bparker> e.g. left eye of the video is at 0,0 1920x540, right eye is at 0,540 1920x540, and the output should be: left eye 0,0 960x1080, right eye 960,0 960x1080
[21:30] <JEEB> I would guess libavfilter's stuff would make that possible
[21:31] <JEEB> but that is unfortunately something I've never looked too much into because I dislike the syntax :s
[21:31] <JEEB> something useful might pop up @ the video filtering docs for ffmpeg
[21:44] <bparker> oh hi JEEB
[21:45] <bparker> yea I looked over there, I know I can use the scale filter to get the right dimensions per eye, but then on how to physically move the right from the bottom to the right side, I don't know which filter would do that
[21:45] <bparker> move the right eye*
[21:55] <JEEB> bparker, I would guess overlaying filters and such would make it possible
[21:56] <JEEB> as in, crop one part and the other part, make two clips out of them
[21:56] <JEEB> and then overlay them next to each other
[21:56] <JEEB> I know it's in theory possible
[21:56] <JEEB> but > me > libavfilter syntax
[21:56] <llogan> what was the question?
[21:57] <JEEB> top/bottom 3d conversion to left/right 3d
[21:57] <JEEB> cropping and resizing, and then putting them next to each other
[21:58] <llogan> ah. thanks.
[21:58] <llogan> i've done someting like that before...
[21:58] Action: llogan scrounges
[22:08] <llogan> bparker: -filter_complex "[0:v]crop=iw:ih/2:0:0,pad=iw*2:ih:0:0[top];[0:v]crop=iw:ih/2:0:ih[bot];[top][bot]overlay=W/2"
[22:08] <llogan> or something like that
[22:08] <fp> Hi, Can't get ffprobe to work with hevc. Please see http://pastebin.com/vTK8T1bD The pict_type doesn't seem to be reported correctly. Any ideas? I'm using raw hevc format.
[22:09] <DrSlony> Help, when I record a screencast using ffmpeg it ends up running faster than i recorded it at. Over twice as fast. Why, and how do I fix it? Here is the code: http://pastebin.com/3Mar0X9Z
[22:09] <bparker> llogan: almost! it's 3840x540
[22:09] <bparker> but the eyes are in the right place
[22:10] <bparker> so the height needs to be scaled by 2x instead of the width
[22:12] <bparker> llogan: ideas?
[22:13] <llogan> i'm having trouble visualizing
[22:13] <bparker> ok
[22:15] <llogan> DrSlony: in what player?
[22:15] <DrSlony> llogan mplayer
[22:15] <DrSlony> and ffplay
[22:16] <bparker> llogan: http://dpaste.com/1456393/
[22:16] <DrSlony> ffplay plays it twice as fast as mplayer!
[22:16] <DrSlony> whats going on?
[22:17] <DrSlony> luckily the system clock was visible in the screencast, so i can exactly see how the seconds zoom by
[22:17] <llogan> bparker: i'm feeling lazy. can you provide the input or a small part of it, or even a simple image? ffmpeg -i input -vframes 1 out.png
[22:17] <JEEB> fp, I can't see the HEVC decoder setting pict_type
[22:17] <JEEB> just slice_type
[22:19] <bparker> llogan: sure
[22:20] <fp> JEEB: true! And i guess slize_type isn't supprted by ffprobe?
[22:21] <llogan> DrSlony: i don't know. does the lossless file also play too fast? did you try ffmpeg from git head?
[22:21] <bparker> llogan: http://imgur.com/a/JVZuu
[22:22] <JEEB> fp, unfortunately I have no idea about ffprobe :) I just code inside libavcodec ;)
[22:23] <llogan> bparker: eww.
[22:23] <bparker> yummy
[22:23] <bparker> you asked for a sample :p
[22:23] <llogan> what is that?
[22:24] <bparker> a prostate
[22:24] <bparker> through the eyes of a 3D surgical robot
[22:24] <llogan> looking forward to it
[22:24] <bparker> haha
[22:24] <fp> JEEB: thanks anyway :-) You lead me into the correct path for further investigations
[22:24] <llogan> at least the demerol will be fun
[22:25] <bparker> :p
[22:25] <bparker> when I had back surgery they gave me a button I could press to inject pain meds whenever I wanted more
[22:30] <llogan> bparker: you want the output to be squished like the middle example?
[22:31] <bparker> yep
[22:31] <bparker> same resolution in and out
[22:31] <DrSlony> llogan yes the "preset ultrafast" one plays faster in ffplay than in mplayer
[22:31] <bparker> no regard to aspect ratio
[22:31] <DrSlony> llogan no, using 1.2.4
[22:44] <llogan> bparker: you can just add ',scale=iw/2:ih*2' to the end of the filterchain
[22:45] <bparker> llogan: ok
[22:46] <bparker> works :)
[22:47] <bparker> thanks a lot
[22:48] <llogan> you could probably clean up the filterchain if you like. i didn't really get to mess with it much
[22:48] <bparker> well I'd like to understand it more before I do that, but yea :)
[22:49] <llogan> a good start http://ffmpeg.org/ffmpeg-filters.html#Description
[23:23] <pyBlob> for testing it would be useful if I could disable the output of ffmpeg > no files are written, is there an option to achieve that?
[23:38] <llogan> pyBlob: ffmpeg -i input ... -f null -
[23:38] <pyBlob> ah yes ... thanks =)
[23:38] <llogan> http://ffmpeg.org/ffmpeg-formats.html#null
[23:51] <pyBlob> is there an alternative to the ocv=smooth:gaussian filter?
[00:00] --- Tue Nov 12 2013
1
0
[02:22] <cone-19> ffmpeg.git 03Michael Niedermayer 07master:858ef5629737: avformat/thp: do not set sample_rate for a video codec
[02:22] <cone-19> ffmpeg.git 03Michael Niedermayer 07master:52268def10f3: avformat/thp: check fps value during probing
[02:49] <cone-19> ffmpeg.git 03Timothy Gu 07master:3853fcd5a94a: doc/doxy-wrapper: disable inserting headers and footers
[04:56] <Compn> hmm
[04:56] <Compn> say i have a codec with a new fourcc
[04:56] <Compn> isnt there a way to force a decoder in ffmpeg ?
[04:56] <Compn> doesnt seem to work with mkv files
[04:57] <Compn> mencoder h264.mkv -nosound -ovc copy -of lavf -endpos 5 -ffourcc BLAH -o out.mkv
[04:57] <Compn> ffmpeg -vcodec h264 -i out.mkv
[04:57] <Compn> [matroska,webm @ 028e40c0] Could not find codec parameters for stream 0 (Video: none (BLAH / 0x48414
[05:07] <Compn> oops
[05:07] <Compn> works with ffmpeg
[05:07] <Compn> not ffplay
[05:07] <Compn> maybe i should upgrade :)
[05:11] <Compn> http://dpaste.com/1452531/
[07:41] <ron__> Hi, I'm building static FFmpeg for Linux, but FFplay won't build. Any ideas please
[07:43] <ron__> Hello
[07:44] Last message repeated 1 time(s).
[12:28] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:59ce62f7135c: avformat/dv: remove unused variable
[12:28] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:1836a42c2950: avcodec/vp8: remove unused webp_decode_frame()
[12:39] <cone-499> ffmpeg.git 03Timothy Gu 07master:bc2730959163: doc/encoders: fix libfdk-aac "Examples" subsection
[13:38] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:b57083529650: avformat/ape: check version in probe
[13:38] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:9225ebd50d4f: avformat/swfdec: return AVPROBE_SCORE_MAX / 4 for unexpected versions
[13:38] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:ef28694d363f: avformat/lvfdec: increase the score for odd channels to max/8
[13:38] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:eb96802355ba: avformat/rsd: increase the score for odd samplerate/channels to max/8
[13:38] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:023953e96425: avformat/astdec: increase the score for odd samplerate/channels to max/8
[13:44] <saste> michaelni, do we assume all ff* input strings are utf8 or what?
[13:45] <saste> what if for example the terminal encoding is not UTF8?
[13:46] <saste> should we validate all the input strings?
[14:40] <michaelni> saste, i dont think you can assume that. Nor could you validate it. Or you could then not even open a file that has its name in a non UTF-8 encoding
[17:35] <cone-954> ffmpeg.git 03Michael Niedermayer 07master:2fbc759d08ca: avformat/diracdec: check 2 chunks in probe
[17:55] <cone-954> ffmpeg.git 03Luca Barbato 07master:08303d774132: hwaccel: Simplify ff_find_hwaccel
[17:55] <cone-954> ffmpeg.git 03Michael Niedermayer 07master:78e150c5e9bb: Merge remote-tracking branch 'qatar/master'
[18:20] <zWaR> hi!
[18:21] <zWaR> does ffmpeg compiled on mingw get use of proxy support included in libavformat/http.c ?
[18:28] <sulphur27> helo, where ffmpeg parse Elementary Stream Desctiptior(esds) in mpeg4 .mov file ? or just the stsd atom
[18:34] <Compn> sulphur27 : probably ffmpeg/libavformat/mov.c
[18:35] <sulphur27> ah yes i just found it too thanks
[19:08] <cone-954> ffmpeg.git 03Clément BSsch 07master:3e1097b909e5: avfilter/fade: add color option.
[19:17] <cone-954> ffmpeg.git 03Clément BSsch 07master:461e810cfce9: avfilter/fade: use inlink->frame_count.
[19:17] <cone-954> ffmpeg.git 03Clément BSsch 07master:981128c2c184: avfilter/fade: remove a bunch of useless parenthesis.
[19:17] <cone-954> ffmpeg.git 03Clément BSsch 07master:199b8fbd09f0: avfilter/fade: use FADE_OUT macro.
[19:56] <ramiro> hi
[19:58] <ramiro> is it possible to force ffmpeg to pass data to my encoder in a specific pixel format? I can specify AV_CODEC_ID_RAWVIDEO, but I don't know how to specify the pixel format.
[20:01] <wm4> ramiro: no, you have to convert it yourself (using libavresample and libswscale)
[20:03] <ramiro> hm, I mixed things up. I'm writing a muxer (libavdevice output), not an encoder
[20:04] <wm4> oh
[20:08] <BBB> ramiro: -pix_fmt or -pixel_format or -vf format=...
[20:08] <BBB> ramiro: but I'm not sure whether you can force or specify a supported list in your muxer, if that's what you're looking or
[20:08] <BBB> +f
[20:09] <ramiro> yes, that's what I was looking for. doesn't seem to be possible, I guess I'll have to use the command line.
[20:10] <wm4> actually doesn't AVCodec have a pix_fmts array
[20:10] <wm4> oh that's the codec
[20:11] <durandal_1707> BBB: feel free to refactor vp9 code (i assume it would take you much less time for it)
[20:14] <BBB> hm...
[20:14] <BBB> ok
[20:14] <BBB> the idea is obviously to expose more people to the code to decrease bus factor
[20:15] <BBB> but ohwell
[20:15] <Compn> ramiro : for what device?
[20:16] <ramiro> Compn: Blackmagic DeckLink
[20:20] <Compn> ah
[20:41] <ramiro> where are new codec IDs supposed to be added? before AV_CODEC_ID_ESCAPE130_DEPRECATED, after AV_CODEC_ID_HEVC_DEPRECATED, or somewhere else?
[20:44] <ubitux> video?
[20:45] <ubitux> i think you can defined them after the AV_CODEC_ID_HEVC (after the macro even)
[20:45] <ubitux> and don't forget a MKBETAG
[20:46] <ramiro> I haven't followed the list. what's this mess about? is ffmpeg changing from a simple counter to a tag for each codec?
[20:47] <ubitux> libav abi compat
[20:47] <ubitux> we define a tag to avoid a clash when libav adds a codec id
[21:11] <ramiro> #include "libswscale/swscale.h" doesn't seem to be needed on ffmpeg.c anymore.
[21:48] <cone-954> ffmpeg.git 03Michael Niedermayer 07master:8cdf4e08237c: ffmpeg: remove unneeded include "libswscale/swscale.h"
[21:52] <michaelni> ramiro, yes seems so, fixed
[23:49] <saste> michaelni, any comment on my av_utf8_decode patch?
[23:50] <saste> especially from security / efficiency POV?
[00:00] --- Mon Nov 11 2013
1
0
[00:12] <dgbaley27> Eh, never mind, I just wrote some quick code to do it with libmp4v2
[01:17] <jonno11> Hi, is it possible to loop a video input file with ffmpeg?
[01:18] <jonno11> "ffmpeg -re -i content/adstream -loop 1 -c copy -f flv rtmp://test.myserver.com/live/test"
[01:18] <jonno11> ^ this doesn't work...
[01:46] <l_r> hello
[03:47] <Compn> Stream #0:0: Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], SAR 73:41 DAR 1168:369, 23.98 fps, 23.98 tbr, 48003.07 tbn, 47.95 tbc (default)
[03:47] <Compn> is that SAR and DAR normal ?
[04:11] <matham> I'm wondering how I can add subtitles read using avcodec_decode_subtitle2 into a overlay filter. ffplay seems to handle only bitmap subs and it blends those using manual code. ffmpeg also seems to do some manual hacking for bitmap subs only. ffplay for me doesn't display non-bitmap subs. Finally, from the filter page the subtitles filter requires a filename? not sure how to use this with avcodec_decode_subtitle2.
[04:32] <funyun> hi. how can i encode multiple wmv files into one h264 mp4 file?
[04:32] <funyun> or is that not possible with ffmpeg?
[04:50] <Compn> funyun : its possible
[04:50] <Compn> matham : should be using textsubs anyhow :P
[04:50] <Compn> funyun : check concat in manual
[05:09] <matham> Compn: you mean to use with the subtitles filter with text subs? That filter seems to require a seperate file containing the subtitles. The file I was testing with is an mkv file with a subtitle stream. Is there a way to feed that into the subtitles filter?
[05:09] <Compn> extract it first :)
[05:09] <Compn> i know, its stupid
[05:09] <Compn> mkvextract
[05:09] <Compn> or mplayer -dumpsub
[05:11] <matham> Oh, ok. Thanks :)
[07:38] <ron__> Compiling static FFmpeg for Linux, but FFplay won't build... any ideas
[07:46] <ron__> Hello Compiling static FFmpeg for Linux, but FFplay won't build... any ideas
[07:47] <sacarasc> relaxed might be able to help when he's around...
[07:48] <ron__> I see relaxed on the list, but not lit up
[07:48] <sacarasc> He's the only person I can think of offhand that builds statically.
[07:50] <ron__> Does he build statically for linux? same as gusari.org
[08:27] <matador007> G'day
[09:07] <buu> If I'm running the command: ffmpeg -f concat -i out -c copy output.avi; why would it give me the error: [concat @ 0x9c1900] Impossible to open 'out' ?
[09:08] <buu> Also it segfaults =[
[10:30] <sacarasc> buu: What is "out"?
[10:55] <buu> sacarasc: A text file
[10:55] <buu> Containing "file 'foo'...
[12:16] <relaxed> buu: try: ffmpeg -i concat:1.ext\|2.ext\|3.ext ...
[12:23] <buu> relaxed: I thought that wouldn't work unless you could naturally concatenate the files?
[12:48] <relaxed> explain what you're doing.
[12:55] <seece> i can't get my ffserver audio stream to send anything, any ideas why? here's the configuration http://pastebin.com/raw.php?i=hijnewiP
[12:56] <seece> here's the ffmpeg source stream http://pastebin.com/raw.php?i=7Epx1DjG
[12:59] <seece> and ffplay output http://pastebin.com/raw.php?i=R3dzkc5g
[13:44] <Samus_Aran> any tips on losslessly cutting pieces from an .mts file (Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc, Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s)?
[13:44] <Samus_Aran> I'm getting debug messages like: first_dts 90000 not matching first dts 315000 in the queue
[13:44] <Samus_Aran> it just sits and eats 100% CPU and does nothing
[13:45] <Samus_Aran> # ffmpeg -sn -ss 00:02:03 -t 3 -i *01*.mts -acodec copy -vcodec copy output.mp4
[13:45] <Samus_Aran> example line. I'm not really sure what's wrong.
[13:46] <Samus_Aran> I also tried using -acodec pcm_s16le, as I'm not sure if .mp4 can handle AC3 audio, but no change
[13:54] <l_r> could anyone help me to find the most efficien solution to my problem?
[13:54] <Samus_Aran> l_r: what's your problem?
[13:55] <l_r> i need to feed a server from a camera which is capable of mjpeg and h264, but h264 s not supported by v4l2 it seems
[13:57] <l_r> want to send mjpeg without conversions to the server
[14:02] <Samus_Aran> l_r: V4L2 should support h.264, but I'm not experienced
[14:03] <l_r> but it lists the format as Unsupported
[14:03] <l_r> [video4linux2 @ 0x14089c0] C : Unsupported : H264 : {64-1920, 8}x{64-1080, 8}
[14:04] <l_r> oh no
[14:04] <l_r> the new version i ve just compiled supports it
[14:04] <l_r> thx
[14:04] <l_r> i ll try it
[14:04] <l_r> Samus_Aran, do you know how to setup an efficient solution with this?
[14:05] <l_r> something like "send h264 to the server WITHOUT conversion in the middle"
[14:05] <Samus_Aran> does your device do hardware encoding of h.264?
[14:06] <Samus_Aran> or are you converting a raw signal with ffmpeg or what?
[14:06] <Samus_Aran> I've only briefly used V4L and VLC streaming servers, so I'm not much help
[14:06] <l_r> Samus_Aran, yes,it does hw h264
[14:07] <Samus_Aran> VLC streaming server might be easy to use, if it can play the stream it can broadcast it
[14:07] <l_r> yes, i have successfully used vlc
[14:07] <l_r> but i am trying ffmpeg now
[14:07] <Samus_Aran> an example I found, not sure if it's helpful: v4l2-ctl --set-fmt-video=width=640,height=480,pixelformat=H264; vlc v4l2c/h264://
[14:07] <l_r> i want to setup a solution with it
[14:07] <l_r> yes,vlc rocks
[14:13] <Samus_Aran> l_r: if VLC can play it, it can stream it. is it not working? http://www.videolan.org/doc/streaming-howto/en/
[14:13] <Samus_Aran> section 2 has GUI, section 3 command line
[14:28] <Samus_Aran> solved my problem. cutting pieces of video worked fine after converting the container from .mts to .mp4
[14:28] <Samus_Aran> it also made the video files a lot smaller, 53MB savings on a 1GB file. :p
[14:28] <Samus_Aran> so much overhead
[14:29] <Samus_Aran> it seems the .mts files can't seek properly, causing the buffer problems.
[14:29] <Samus_Aran> not sure if it's an ffmpeg bug or what, but it's annoying.
[14:30] <Samus_Aran> night.
[15:47] <lkiesow> Hi, I'm trying to downmix a stereo audio stream to a mono stream encoding it with libfdk_aac using a VBR (and doing some filtering that does not matter at this point)
[15:47] <lkiesow> I noticed that both of the following commands work without a problem:
[15:47] <lkiesow> ffmpeg -y -i 1372360064.wav -t 15 -c:a libfdk_aac -vbr 3 test4.aac
[15:47] <lkiesow> ffmpeg -y -i 1372360064.wav -t 15 -c:a libfdk_aac -ac 1 test4.aac
[15:47] <lkiesow> However, if I combine the -ac and -vbr options I get the following error:
[15:48] <lkiesow> [libfdk_aac @ 0x1c4c380] Unable to encode frame: Encoding error Audio encoding failed (avcodec_encode_audio2)
[15:48] <lkiesow> I'm using the latest stable (FFmpeg 2.1)
[15:48] <lkiesow> Any thoughts?
[15:48] <jonno11> Hi. I'm using ffmpeg to stream a file to rtmp server. Is there any way to loop over the input file? Or even better a playlist?
[15:48] <lkiesow> jonno11: If I remember correctly then there is a -loop parameter
[15:49] <jonno11> lkiesow: Hmm yeah I tried that... -loop 1 did nothing
[15:50] <jonno11> "ffmpeg -re -i adstream -loop 1 -c copy -f flv rtmp://localhost:1935/live/r2" - just ignored the -loop parameter
[15:52] <lkiesow> Hm, can't find the -loop option in the manpage but it says that at least -loop_input only works for images
[15:52] <lkiesow> Thats probably the problem
[15:52] <klaxa> -loop 1 will also loop once iirc
[15:52] <klaxa> -loop 0 should loop infinitely
[15:53] <klaxa> at least it did in mplayer2 :x
[15:53] <lkiesow> &and mplayer
[15:56] <therube_> lkiesow: did you build ffmpeg yourself? if not, where did you get a build with libfdk_aac ?
[16:00] <lkiesow> therube_again: I build it mysqlf, xes
[16:00] <lkiesow> *yes
[16:02] <lkiesow> The problem with libfdk_aac is that you cannot redistribute it if you also link against x264 :(
[16:07] <lkiesow> therube_again: I could give you the source rpms though
[16:07] <lkiesow> They might be helpful if you use a RedHat based os
[16:08] <therube_again> i'm nowhere near the stage of being able to build, but thanks anyway (& i'm on windows)
[16:19] <lkiesow> no one any thoughts about the problem?
[16:39] <Anarhist> hi, is there a way to remove a still schene (when there is no change between frames)?
[16:39] <Fjorgynn> Hi, I am trying ffmpeg -list_devices true -f dshow -i dummy
[16:39] <Fjorgynn> but I get that it's depricated
[18:00] <Bombo> is there a ffmpeg build with hardcoded x264 presets?
[18:01] <Bombo> (i mean for win)
[18:08] <Bombo> is that possible anyways?
[18:11] <vl4kn0> Hi, is it possible to set FPS while decoding a video or do I just decode it and ignore it? Can I just read the frame and not decode it then? Or do I need to flush some sort of internal buffer when not decoding the retrieved frame?
[18:15] <Bombo> i tried -vpre superfast, but it says 'superfast not found' and i don't see the profile in the source tarball...
[18:17] <klaxa> superfast is not a default x264 preset
[18:17] <klaxa> try fast, faster or ultrafast instead
[18:23] <Bombo> klaxa: ultrafast is ultrabad
[18:24] <Bombo> faster is too slow
[18:38] <JEEB> you shouldn't use vpre for libx264's presets
[18:38] <JEEB> but -preset
[18:38] <JEEB> also, superfast *is* a libx264 preset
[18:38] <JEEB> http://mewiki.project357.com/wiki/X264_Settings#preset
[18:38] <lkiesow> Bombo: Have a look at the x264 documentation. There you can find what parameters the presets actually set. Then you can set them manually
[18:38] <lkiesow> x264 --fullhelp
[18:38] <JEEB> you have superfast and veryfast between ultrafast and faster :P
[18:39] <JEEB> Bombo, everything new enough that is linked with libx264 has the presets available via -preset
[18:39] <JEEB> including zeranoe's binaries
[18:40] <JEEB> lkiesow, that should only be the last resort, but as you can see there's *two* presets between the two he is trying :P
[18:40] <JEEB> and yes, proper libx264 presets are not in ffpreset files, they are internal to libx264
[18:40] <JEEB> and you use them via -preset, not -pre
[18:48] <cm13g09> OK.. so I've just built ffmpeg from source on Raspi and my desktop.....
[18:48] <cm13g09> and I'm now trying to stream from raspi (ffmpeg) to my desktop (ffserver)
[18:48] <cm13g09> av_interleaved_write_frame(): Connection reset by peer
[18:49] <cm13g09> is the error I'm getting
[18:49] <cm13g09> Any suggestions?
[19:06] <Samus_Aran> when doing -ss 00:00:57 -t 3, is it not supposed to do a 3 second clip starting at 57 seconds? instead it is producing a 60 second clip starting at 57 seconds.
[19:12] <Bombo> JEEB: ah! ok thx... works with -preset superfast ;)
[19:16] <JEEB> :)
[19:16] <JEEB> basically the -pre setting is for separate ffpreset files
[19:16] <JEEB> and -preset is for possible internal presets
[19:19] <Samus_Aran> got it working putting the times after the input video
[19:50] <klaxa> <JEEB> also, superfast *is* a libx264 preset
[19:51] <klaxa> oh...
[19:55] <zWaR> enyone ever got rtmpt stream through proxy working on win?
[20:01] <Bombo> JEEB: i tried with -vpre superfast
[20:01] <Bombo> should rename it to -filepreset and -internalpreset -fpre -ipre or something like that
[20:02] <Bombo> maybe
[20:02] <Bombo> ;)
[20:05] <JEEB> Bombo, -preset was added for x264 originally and the setting name was basically just matched with the x264 cli one
[20:05] <JEEB> --preset with the x264 binary, and -preset with ffmpeg
[20:42] <matador007> Hi :)
[20:55] <phr3ak> hi
[20:56] <phr3ak> do you know any software that can do DRC dynamic range compression?
[21:01] <l_r> could anyone help me to find the most efficien solution to my problem?
[21:01] <l_r> i need to feed a server from a camera which is capable of mjpeg and h264. i have no luck
[21:02] <l_r> i don't what is wrong, but it seems ffmpeg always tries to transcode the video
[21:02] <l_r> from mjpeg or h264 to yuv420p and then sends it to the server feed
[21:27] <fyp> hello, i've been using this guide, like before, but right now on this installation of lmde a problem arises in the final step (compiling and installing ffmpeg)
[21:27] <fyp> http://vjetnamnet.com/how-to-compile-ffmpeg-with-h-264-and-lame-in-ubuntu-d…
[21:27] <fyp> it tells me to come here
[21:27] <fyp> and yes it is the latest git, the guide makes me get it
[21:30] <fyp> http://pastebin.com/HUk4MKcP
[21:31] <fyp> even if I do what i'm being told about adding libopencore_amrnb is version3 and --enable-version3 is not specified. then configure does nothing
[21:38] <wmnnd> Hey there, I have a a dash file and I'm trying to copy its video content into an MP4 container. In order to do that, I use ffmpeg -i file.dash -an -vcodec copy output.mp4
[21:39] <wmnnd> However, I only get a file that is 284 bytes. This is the console output I get from ffmpeg: http://pastebin.com/217mZveX
[21:40] <wmnnd> If I use ffplay on the dash file, it works without any problems.
[21:41] <wmnnd> Do you maybe have an idea how I could resolve this issue?
[21:41] <fyp> be patient indeed, my issue has been floating for 15 minutes
[21:41] <fyp> :)
[21:42] <fyp> you seem to be doing something somewhat advanceed, i just have an issue like that : http://pastebin.com/217mZveX
[21:42] <fyp> if you can help out to pass the time while you get an answer
[21:42] <fyp> i've followed this guide before on other computers/linuxes whatever and it worked
[21:42] <JEEB> fyp, I think that configure output is pretty understandable
[21:43] <fyp> yeah
[21:43] <JEEB> opencore-amrnb needs GPLv3
[21:43] <fyp> i added --enable-version3
[21:43] <fyp> nothing happens
[21:43] <JEEB> and --enable-version3 is not specified
[21:43] <JEEB> oh
[21:43] <JEEB> dunno :P
[21:43] <fyp> first time I see configure just do nothing after pressing enter
[21:43] <fyp> yeah it's unusual :p
[21:44] <fyp> should I add it somewhere specific ?
[21:44] <JEEB> shouldn't matter unless you did something weird
[21:44] <fyp> most likely not, i followed that guide i linked to before
[21:45] <fyp> so it has everything compiled with it, lame, vpx, x264 etc.
[21:45] <JEEB> I don't really get it why people need guides for compiling ffmpeg, it's not /that/ hard
[21:45] <JEEB> and generally you need two to four external dependencies at max
[21:45] <JEEB> x264, fdk-aac, libvorbis and libvpx
[21:46] <JEEB> and two of those can be just fine with what you get from the repositories
[21:46] <JEEB> (vorbis and vpx)
[21:46] <fyp> it's just faster, and all those parameters they use after checkinstall, not things i'd know out of nowhere
[21:46] <JEEB> also there's an official guide on the trac if you really need one :P
[21:46] <fyp> when i compile simpler things i just go with checkinstall and no parameters like this
[21:46] <JEEB> but that sounds like a bug if it stays there doing nothing
[21:47] <JEEB> try current git HEAD and if it still does it, go report it with the standard output and config.log (as much of it as has been written) pasted
[21:47] <fyp> there I entered it again, i'm gonna see if it's going to sit there eternally
[21:48] <fyp> ah
[21:48] <fyp> it didnt
[21:48] <fyp> after 40 seconds i know the answer now
[21:48] <fyp> ERROR: libass not found
[21:48] <fyp> ok then
[21:48] <JEEB> also on an unrelated note: do you really need LAME and opencore-amr?
[21:48] <fyp> i really need LAME
[21:48] <JEEB> (or libass)
[21:49] <JEEB> ok, so you do mp3 /encoding/
[21:49] <JEEB> ?
[21:49] <fyp> yep
[21:49] <JEEB> ok
[21:49] <fyp> i rip a lot of freshly bought music
[21:49] <fyp> me so evil
[21:49] <JEEB> do you need theora encoding?
[21:49] <fyp> ;)
[21:49] <fyp> brb, gonna install libass and see what happens
[21:49] <JEEB> theora being the very old xiph video format based upon VP3
[21:50] <JEEB> (encoder is around MPEG-4 Part 2 quality nowadays, I think?)
[21:50] <JEEB> also are you sure you need librtmp?
[21:50] <JEEB> ffmpeg has an internal rtmp(e) implementation
[21:53] <fyp> i know of theora but x264 is where it's at, i've been disbelieving how small I can make video files, especially huge as an elephant HD wmv's into tiny files
[21:54] <JEEB> yes, x264 is the best encoder currently
[21:54] <fyp> i dont know/remember what rtmp is, but hey, that guide never failed me before, must be because i'm getting familiar with a real linux using mint debian edition
[21:54] <fyp> it configured fine now
[21:54] <JEEB> rtmp is an adobe streaming protocol and as I said, ffmpeg has its own support for it
[21:54] <JEEB> so you can leave it out
[21:54] <JEEB> if you enable librtmp that will disable the internal support, if I recall correctly
[21:55] <JEEB> also you can leave libtheora out if you know you're not going to encode theora
[21:55] <JEEB> vp3/theora support is internal decoding-wise
[21:55] <fyp> i'm not sure that's gonna be causing me problems, but i'll put that in my massive txt of ideas for another time
[21:55] <fyp> too late now, it's compiling
[21:55] <fyp> ;p
[21:55] <JEEB> generally not, the internal support tends to be better than librtmp in many cases
[21:56] <JEEB> I recommend people use it unless they specifically have something that doesn't work with the internal one and works with librtmp
[21:56] <JEEB> (and report that problem)
[21:56] <JEEB> the guy who made the support was working on it at the same time as I did my summer of code project last year
[21:57] <fyp> you had something going though, i did have to dowload libopencore_amrnb
[21:57] <fyp> it it can remove steps in the future I'll take it
[21:57] <JEEB> that's only for a certain specific type of amr and I think that might mostly be useful as an encoder (?)
[21:58] <JEEB> so generally you can leave it out
[21:58] <JEEB> ffmpeg does have an internal amr decoder
[21:58] <JEEB> AMR is a format generally used for very very low bit rate voice encoding
[21:58] <fyp> well, i do encode stuff a lot, i'm a major content deliverer on some private torrent thingy
[21:59] <JEEB> I'm pretty sure you won't be encoding AMR
[21:59] <fyp> yeah me too
[21:59] <fyp> lol
[21:59] <JEEB> so remove both of the amr ones
[21:59] <JEEB> remove librtmp
[21:59] <JEEB> remove libtheora
[21:59] <fyp> well next time sir, right it has been compiled
[22:00] <fyp> i've taken note
[22:00] <JEEB> do you encode or plan to encode VP8/9?
[22:00] <fyp> yeah, that can happen sometimes
[22:00] <fyp> in the future
[22:00] <fyp> mostly
[22:00] <fyp> when flash goes the way of the dodo
[22:00] <JEEB> everything supports H.264 pretty much
[22:00] <JEEB> including firefox
[22:00] <JEEB> (Ž
[22:01] <fyp> html5 ?
[22:01] <fyp> ;)
[22:01] <JEEB> yes
[22:01] <fyp> oh well, i know google have a thing for vpx
[22:01] <JEEB> of course they have, it's their thing
[22:01] <JEEB> too bad VP8 came very late to the party :P
[22:02] <JEEB> VP9 is at least less late
[22:02] <JEEB> but have fun using it right now
[22:02] <JEEB> VP8 encoding was slow, and VP9 is even more so
[22:05] <fyp> its nice to know some of those added parameters are absolutely not necessary though, like theora
[22:06] <fyp> but as my speciality irl is chemistry and not computer science I'll usually do what makes everything work, even if burdens hehe
[22:06] <JEEB> ffmpeg has support for pretty much everything and the kitchen sink, and since you're not trying to please everyone on the planet like package managers in linux distributions, you don't have to build an ffmpeg with a lot of stuff linked in
[22:06] <fyp> i know vpx will be needed when youtube is only html5 most likely
[22:06] <JEEB> no
[22:06] <JEEB> youtube always encodes your stuff
[22:07] <JEEB> so it doesn't matter what you give to it
[22:07] <fyp> doesn't vpx make it "online friendly"
[22:07] <JEEB> and libvpx is primarily an encoder
[22:07] <JEEB> decoding is internal
[22:07] <fyp> like in Handbrake with mp4's
[22:07] <JEEB> that has nothing to do with what libvpx gives you when you build ffmpeg with it
[22:07] <fyp> k
[22:07] <fyp> well
[22:07] <JEEB> youtube gives you both H.264 and VP8/9
[22:07] <JEEB> and all of that is decoded INTERNALLY
[22:08] <JEEB> and as for what you give to youtube, that will always get re-encoded
[22:08] <fyp> take a look around on any search engine, the top rated guides all say to have it support vpx
[22:08] <fyp> how could I know? :)
[22:08] <JEEB> sigh...
[22:08] <JEEB> it's around these things that you should think :)
[22:08] <JEEB> "What will I be doing with this thing"
[22:09] <JEEB> I mean, ffmpeg has pretty much all the decoders internal
[22:09] <JEEB> so input is not a problem
[22:09] <JEEB> what is left is the encoding side
[22:09] <JEEB> so you have to think what you will be encoding in
[22:09] <JEEB> that generally tends to be a simple thing
[22:09] <fyp> all of that i know, but sometimes some of these codecs or whatever are obscure i dont know them so imagine it is something else entirely, like I said, my crazy language is organic chemistry
[22:09] <JEEB> (do note that ffmpeg has a lot of internal, default-enabled encoders)
[22:10] <fyp> i took your advice for the future though
[22:10] <fyp> :)
[22:10] <JEEB> most people are just fine with libx264 and libfdk (H.264 and AAC)
[22:10] <JEEB> also rebuilding ffmpeg is not that hard nor does it take long
[22:10] <JEEB> if you ever end up needing something extra
[22:10] <fyp> eh, i'm done with it now
[22:10] <fyp> don't order me around to rebuild it bro ;p
[22:10] <JEEB> let's just say that you generally won't need anything extra :P
[22:11] <JEEB> no, I'm just saying for the future
[22:11] <fyp> ah alright
[22:11] <JEEB> blindly following guides is not good
[22:11] <fyp> well that's been useful, thanks
[22:11] <JEEB> no problem
[23:54] <Chat2511> Hello all
[00:00] --- Mon Nov 11 2013
1
0