[Ffmpeg-devel-irc] ffmpeg-devel.log.20160729

burek burek021 at gmail.com
Sat Jul 30 03:05:03 EEST 2016


[00:02:27 CEST] <michaelni> Chloe, look at the change that was done to avconv*c
[00:04:04 CEST] <Chloe> yeah, I was, but I think I've done too much now. I'm gonna have redo it from scratch :/
[00:05:26 CEST] <nevcairiel> one could do it in partial steps, first make sure encoding and decoding doesnt actually use AVStream->codec, but its own dedicated and cleanly created codecontext, and as second step then replace all remaining use of AVStream->codec with codecpar
[00:09:13 CEST] <michaelni> i think spliting the change up would be a very good idea, also for bisecting any breakages
[00:10:24 CEST] <nevcairiel> iirc libav also did these two steps
[00:10:30 CEST] <nevcairiel> at least
[00:36:50 CEST] <cone-553> ffmpeg 03Petru Rares Sincraian 07master:08c1b6bb72e4: fate: add test for silenceremove filter
[00:36:50 CEST] <cone-553> ffmpeg 03Petru Rares Sincraian 07master:286368099a3a: fate: add test for stereotools filter
[09:02:39 CEST] <cone-990> ffmpeg 03Stefano Sabatini 07master:156b5bb9bf75: lavf/mpegtsenc: add special case for handling timed ID3 packets
[10:08:10 CEST] <cone-990> ffmpeg 03Anton Khirnov 07master:17e7c03e12d1: h264: only allow ending a field/starting a new one before finish_setup()
[10:08:11 CEST] <cone-990> ffmpeg 03Clément BSsch 07master:a63c73122e90: Merge commit '17e7c03e12d1e4490921e7bffaeaa6b46a7ada4e'
[10:16:54 CEST] <cone-990> ffmpeg 03Josh de Kock 07master:238733f7417c: hapdec: remove unused memory.h include
[10:18:50 CEST] <ubitux> Chloe: it shouldn't; look at the commit changing stuff in avconv.c
[10:24:07 CEST] <cone-990> ffmpeg 03Anton Khirnov 07master:bcd91f1644b4: h264: move a per-field block from decode_slice_header() to field_start()
[10:24:08 CEST] <cone-990> ffmpeg 03Clément BSsch 07master:13872d2aa1f4: Merge commit 'bcd91f1644b46dd142c5355c8b742b27d9028903'
[10:25:28 CEST] <cone-990> ffmpeg 03Anton Khirnov 07master:19446dc5fff6: h264: drop unused NAL_FF_IGNORE
[10:25:29 CEST] <cone-990> ffmpeg 03Clément BSsch 07master:cc0852bee360: Merge commit '19446dc5fff6a2f5ccd1a73db66e266255a5d768'
[10:52:49 CEST] <cone-990> ffmpeg 03Anton Khirnov 07master:f651c6a259d4: h264: factor out setting frame properties / side data
[10:52:51 CEST] <cone-990> ffmpeg 03Clément BSsch 07master:7dda97fb86ff: Merge commit 'f651c6a259d4bc78f25db11d25df9256d5110bd3'
[11:00:11 CEST] <ubitux> libavcodec/mips/h264chroma_mips.h:#include "libavcodec/h264.h"
[11:00:13 CEST] <ubitux> libavcodec/mips/h264dsp_mips.h:#include "libavcodec/h264.h"
[11:00:15 CEST] <ubitux> do we really need this?...
[11:07:09 CEST] <cone-990> ffmpeg 03Anton Khirnov 07master:9df889a5f116: h264: rename h264.[ch] to h264dec.[ch]
[11:07:10 CEST] <cone-990> ffmpeg 03Clément BSsch 07master:15b26e88cb7c: Merge commit '9df889a5f116c1ee78c2f239e0ba599c492431aa'
[11:20:15 CEST] <cone-990> ffmpeg 03Anton Khirnov 07master:251cbb44003c: h264: create a new header for common h264 definitions
[11:20:16 CEST] <cone-990> ffmpeg 03Clément BSsch 07master:ecf65c30cf75: Merge commit '251cbb44003caf179fb17afbb8a6c56643c2a646'
[11:27:39 CEST] <cone-990> ffmpeg 03Anton Khirnov 07master:4e2f6212483a: svq3: stop using H264Picture
[11:27:40 CEST] <cone-990> ffmpeg 03Clément BSsch 07master:a170365ae9b5: Merge commit '4e2f6212483ae1b2a4043cddf0a1cb001b476abc'
[13:10:41 CEST] <michaelni> ubitux, both #include "libavcodec/h264dec.h" in the mips code are needed, it fails build otherwise
[13:11:02 CEST] <michaelni> src/libavcodec/mips/h264dsp_mips.h:97: error: expected declaration specifiers or ... before ptrdiff_t
[13:11:56 CEST] <ubitux> you don't need h264dec.h to get ptrdiff_t 
[13:12:01 CEST] <ubitux> unless i'm missing something
[13:12:17 CEST] <michaelni> no but some include is needed
[13:13:23 CEST] <ubitux> so stddef.h maybe?
[13:14:41 CEST] <rcombs> should be, yeah
[13:14:51 CEST] <michaelni> with stddef: src/libavcodec/mips/h264dsp_init_mips.c:138: error: expected =, ,, ;, asm or __attribute__ before void
[13:17:14 CEST] <rcombs> needs libavutil/attributes.h
[13:17:33 CEST] <ubitux> michaelni: this .c needs libavcodec/h264dsp.h
[13:18:08 CEST] <ubitux> or if you prefer, h264dec.h ’ h264dsp.h in the header
[13:18:53 CEST] <ubitux> but imo you should have stddef in the header, and h264dsp.h in the .c, because somehow the mips prototypes do not need access to the H264DSPContext
[13:19:45 CEST] <rcombs> this reminds me of a general question: is it safe to use intptr_t/ptrdiff_t as argument types for x86 ASM functions and assume that the top half of the 64-bit register will be cleared on ABIs that use 64-bit registers and 32-bit pointers?
[13:20:12 CEST] <rcombs> (related: fuck said ABIs)
[13:21:20 CEST] <michaelni> still fails to build 4 files with libavcodec/h264dsp.h and stddef.h in the headers
[13:22:06 CEST] <michaelni> libavutil/attributes.h also doesnt help
[13:22:16 CEST] <michaelni> src/libavcodec/mips/h264chroma_init_mips.c:24:5: warning: "HAVE_MSA" is not defined
[13:22:30 CEST] <michaelni> config.h or so missing i guess somewhere
[13:22:45 CEST] <nevcairiel> why are the mips optimizations always such a nightmare
[13:23:13 CEST] <rcombs> because they come from people who don't care
[13:23:32 CEST] <nevcairiel> maybe they should be purged with ENOMAINTAINER
[13:23:58 CEST] <michaelni> with config.h it fails here: src/libavcodec/mips/h264chroma_init_mips.c:55: error: expected ) before * token
[13:24:27 CEST] <michaelni> ill leave the include as is this is not my crussade
[13:24:41 CEST] <michaelni> but happy to test if someone has a patch
[13:31:10 CEST] <michaelni> rcombs, nevcairiel, if you think minimizing the set of recursive includes is imortant, contacting the authors/maintainers for the mips code is probably worth a try
[13:31:34 CEST] <michaelni> they generally have fixed all issues i pointed out to them though not always quick
[13:32:04 CEST] <michaelni> i could look at it too but not today
[13:34:01 CEST] <rcombs> I usually avoid this sort of problem by not building anything for MIPS
[13:34:35 CEST] <rcombs> since I've never done Nintendo 64 homebrew
[13:34:55 CEST] <michaelni> but what problem is there to begin with ? h264 optimizations including the main h264 decoder header doesnt seem all that bad to me
[13:35:00 CEST] <michaelni> ?
[13:35:18 CEST] <rcombs> no clue
[13:35:33 CEST] <rcombs> I'm just here to make fun of obscure architectures with giant convoluted optimizations
[13:43:43 CEST] <JEEB> I think the only MIPS thing I built for was the Sony PSP
[13:57:48 CEST] <ubitux> michaelni: they don't need the decoder; they only need h264 dsp context
[16:14:58 CEST] <durandal_1707> is videolan still giving money away?
[16:27:49 CEST] <mp1> Hi
[16:27:56 CEST] <mp1> I have a question
[16:28:18 CEST] <mp1> I want use ffmpeg in my script php
[16:28:34 CEST] <mp1> for record video from my acquistion card
[16:28:53 CEST] <mp1> No problem for starting a record with php
[16:29:32 CEST] <mp1> but how stop record of ffmpeg with php whitout kill a process ffmpeg
[16:34:26 CEST] <mp1> Would you help me please :)
[16:39:45 CEST] <andrey_turkin> mp1: this question belongs to #ffmpeg channel
[16:40:28 CEST] <mp1> ok :)
[16:40:35 CEST] <mp1> thank you andrey_turkin 
[17:14:40 CEST] <omerjerk> hi everyone
[17:15:00 CEST] <omerjerk> what could be an alternative of url_is_streamed - https://github.com/omerjerk/FFmpeg/blob/alsenc/libavformat/alsenc.c#L60
[17:15:01 CEST] <omerjerk> ?
[17:15:06 CEST] <omerjerk> I couldn't figure it out. 
[17:17:39 CEST] <Chloe> omerjerk: "2cae980 / 8978fed introduce an AVIOContext.seekable field as a replacement for 1923: AVIOContext.is_streamed and url_is_streamed()"
[17:17:59 CEST] <Chloe> from doc/APIchanges
[17:20:25 CEST] <omerjerk> oh okay
[17:20:33 CEST] <omerjerk> let me look into it. 
[18:05:24 CEST] <omerjerk_> what could be the solution to this error - 13 warnings generated. CC	ffmpeg_videotoolbox.o LD	ffmpeg_g Undefined symbols for architecture x86_64:   "_ff_als_demuxer", referenced from:       _av_register_all in libavformat.a(allformats.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [ffmpeg_g] Error 1
[18:05:42 CEST] <omerjerk_> "_ff_als_demuxer", referenced from:       _av_register_all in libavformat.a(allformats.o)
[18:05:54 CEST] <omerjerk_> Undefined symbols for architecture x86_64:
[18:06:12 CEST] <omerjerk_> I've added the entry for the demuxer in allformats.c
[18:08:54 CEST] <durandal_1707> but actual code?
[20:14:56 CEST] <Timothy_Gu> +
[20:16:20 CEST] <Timothy_Gu> oops
[00:00:00 CEST] --- Sat Jul 30 2016


More information about the Ffmpeg-devel-irc mailing list