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

burek burek021 at gmail.com
Sun May 6 03:05:01 EEST 2018


[01:06:32 CEST] <amaurea> Let's say I have a large set of [from,to] frame ranges I want to remove from a video. Is ffmpeg the right tool for doing this? I think I could construct somethign convoluted using the select filter, but I think that would mess up the PTS, making the whole thing very complicated
[01:14:31 CEST] <furq> amaurea: use trim/atrim and setpts/asetpts
[01:16:48 CEST] <furq> https://video.stackexchange.com/a/10401
[01:16:51 CEST] <furq> something like that
[01:17:18 CEST] <furq> you can use trim=start_frame=123:end_frame=456 although idk how well that works with atrim
[01:17:41 CEST] <amaurea> furq: Can I specify the filter chain in a file? I fear that I would hit the maximum argument length limit
[01:17:50 CEST] <furq> -filter_complex_script iirc
[01:17:59 CEST] Action: amaurea reads about that
[01:18:55 CEST] <furq> oh i guess atrim doesn't have start_frame/end_frame
[01:18:57 CEST] <furq> that makes sense
[01:19:18 CEST] <TheRock> I have a mp3 with an image. I wonder which decoder/demuxer/parser is required to display mp3s with an attached image (png,jpg,bmp,gif?). i used ffprobe and it shows me encoder Lavf. Is ./configure --enable-decoder=lavf enough to display images?
[01:19:19 CEST] <furq> if you have an audio stream then you'll need to use the actual PTS values rather than the frame number
[01:19:50 CEST] <amaurea> furq: hm... I do have an audio stream. This seems pretty daunting
[01:21:18 CEST] <furq> ffprobe -show_frames will show you the pts values for every frame (and also a million other lines, so pipe it to head/less or something)
[01:21:39 CEST] <furq> so if it's cfr you should be able to figure out what you need to multiply the frame number by
[01:22:50 CEST] <furq> you could also just use timestamps if that's easier
[01:23:35 CEST] <amaurea> Yes, I don't have to use frame numbers
[01:28:28 CEST] <amaurea> furq: Is a construction like [0:v]trim=a:b,setpts...[v0];[0:v]trim=c:d,...[v1];[0:v]trim=e:f,...[v2],..., efficient for large numbers of such trims? I'll give it a try, but I fear that this will involve N passes over all the frames
[01:33:26 CEST] <furq> it should only take one pass
[01:33:40 CEST] <furq> using -ss and -t a million times would decode the file a million times
[01:34:23 CEST] Action: amaurea writes an awk script to generate the filter chain script
[01:58:53 CEST] <amaurea> I'm getting decent speeds for 10 segments each of length 100 s and 100 segments each of length 10 seconds (around 100-150 fps), but for 1000 segments each of length 1 second I get only 1.4 fps, and for 10000 segments each of length 0.1 seconds I'm still waiting for the first frame, and it's using 29 GB of virtual memory.
[01:59:48 CEST] <amaurea> Looks like it might be easier to write my own ffmpeg filter for doing this
[02:00:42 CEST] <furq> you could maybe do it with select and just manually generate PTS values with setpts
[02:01:04 CEST] <furq> that would just be one filter invocation but with a colossal expression to evaluate
[02:02:15 CEST] <amaurea> That would probably be much faster, yes. Still not as fast as a dedicated filter, though. And this is a pretty self-contained, useful operation, so I think a filter is pretty appropriate
[02:02:24 CEST] <amaurea> (and I'm surprised one doesn't already exist)
[02:02:54 CEST] <amaurea> I'll check how easy it is to write a filter. If it's not too hard I might go tha tway
[02:03:11 CEST] <amaurea> (still waiting for the first frame, by the way :) )
[02:03:15 CEST] <furq> select=whatever,setpts=N/(FRAME_RATE/TB)
[02:03:19 CEST] <furq> something like that
[02:03:26 CEST] <furq> FRAME_RATE*TB rather
[02:03:57 CEST] <furq> splitting the output 10,000 times is probably having some unfortunate effect
[02:04:12 CEST] <furq> or 1,000 rather
[02:04:21 CEST] <furq> oh no wait it was 10,000
[02:04:23 CEST] <amaurea> the last one was 10000 times
[02:11:07 CEST] <amaurea> which operators are allowed in select? Can I use between()|between()|..., or do I have to do or(between(),or(between(),or(...))))?
[02:11:19 CEST] Action: amaurea tries | first
[02:11:23 CEST] <furq> you can use between()+between()+between()...
[02:13:16 CEST] <amaurea> ah, of course
[02:13:55 CEST] <amaurea> and video and audio must be selected separately, right?
[02:14:00 CEST] <furq> yeah
[02:33:26 CEST] <amaurea> select=between(t\,0\,1);aselect=between(t\,0\,1);setpts=N/FRAME_RATE/TB;asetpts=N/SAMPLE_RATE/TB <-- I thought this would work, but it complains about not being able to find a matching stream: Cannot find a matching stream for unlabeled input pad 0 on filter Parsed_setpts_2
[02:41:04 CEST] <amaurea> setting explicit labels gets rid of this error, but instead results in ffmpeg continuing to encode nothing after 1 second has been output: [0:v]select=between(t\,0\,1)[v1];[0:a]aselect=between(t\,0\,1)[a1];[v1]setpts=N/FRAME_RATE/TB;[a1]asetpts=N/SAMPLE_RATE/TB[out]
[02:41:20 CEST] <amaurea> I guess I don't understand filter chains well enough
[02:42:54 CEST] <amaurea> ok, the being stuck part was just ffmpeg not knowing that it doesn't need to decode the rest of of the stream
[02:44:11 CEST] <amaurea> The select approach gives good speed even with 10k segments
[02:45:05 CEST] <TheRock> encoder         : Lavf - what kind of decoder is this?
[03:08:08 CEST] <kepstin> TheRock: that tells you nothing about the codec used - Lavf is short for 'libavformat' (a library that's a part of ffmpeg), so all that line means is that the file was muxed using ffmpeg libraries.
[03:09:09 CEST] <TheRock> i see, does png required zlib enabled?
[03:53:25 CEST] <kepstin> TheRock: yes
[10:57:05 CEST] <Franciman> Hi, is it possible that when converting from one video codec to another, params like fps change?
[15:07:32 CEST] <kepstin> Franciman: unless you add some filters or other options, ffmpeg will normally preserve the relative timings of individual frames as close as possible. For more help, please provide a command line and console output.
[15:11:33 CEST] <Franciman> thanks
[17:13:29 CEST] <giaco> hello
[17:15:12 CEST] <giaco> I'm playing with multiple rtp streams. I have the sender working correctly and I have copied the sdp file, but when I do on the listener ffplay -protocol_whitelist file,udp,rtp -i mysdp.sdp it returns bind failed: Address already in use, Invalid data found when processing input.
[17:15:56 CEST] <giaco> netcat -peanut confirm that there's nothing listening on the ports
[17:18:16 CEST] <c_14> what's your sdp file look like?
[17:22:29 CEST] <giaco> c_14: solved. I've found out that the two maps cannot be on sequential ports. Moving 4444+4445 to 4444+5555 worked
[17:23:04 CEST] <giaco> But now I have video but no audio. Or, at least, I have a spike of sound on the first second and then silence
[17:29:30 CEST] <c_14> yeah, port+1 is used for rtcp
[17:30:55 CEST] <giaco> I've just changed mp3lame with aac and edited to sdp file to get only the audio stream, but I still have a spike of sound and then silence. where's the error?
[17:56:27 CEST] <kyan> Hi! I just wanted to let you know that ffmpeg 3.4.1, as used by VLC, seems to not work with this file (I guess the file is invalid or something). Windows 10's FLAC decoder and the Clementine music player in GNU/Linux both work with it. It would be nice if ffmpeg did too! https://archive.org/download/McScuse_me__Beats/1.%20McScuse%20me,%20BEATS.flac
[17:57:31 CEST] <JEEB> make an issue on trac.ffmpeg.org
[17:57:41 CEST] <JEEB> probably the best visibility you could get :P
[17:58:01 CEST] <JEEB> also I'm not that sure VLC is using FFmpeg for it? I'm not wholly sure. so please try with ffmpeg.c from FFmpeg first
[17:58:11 CEST] <JEEB> (and preferably with current master, not the release branch)
[17:59:57 CEST] <kyan> Thanks!
[18:03:06 CEST] <kyan> Compiling...
[18:09:32 CEST] <Blacker47> kyan, even flac (with --test or --analyze) can't use the file.
[18:20:07 CEST] <durandal_1707> kyan: file seems invalid, it have broken image tag
[18:22:23 CEST] <kyan> It would be nice to be able to play it though, since some players do work with it...
[18:27:31 CEST] <kyan> The flac command can decode it with the -F option, at least.
[18:39:31 CEST] <Blacker47> kyan, it is allways a bad idea to try play corrupted files. the file needs to be reuploaded. maybe you can reencode it using -F...
[18:44:30 CEST] <giaco> hello. I need help to setup my rtp stream. I got it working but audio and video seems not compatible. If I start video+audio I see video but just a spark of audio, if I start just audio on the server it plays correctly (ffmpeg). I am not succeeding in finding what's wrong
[18:47:50 CEST] <kyan> Blacker47: I guess, I just assume that there might be more files with that problem, though, since it was encoded using "reference libFLAC 1.2.1 20070917" according to metaflac.
[18:49:08 CEST] <Blacker47> kyan, i have no idea if some old version has have bugs or incompabilities or just failed or damaged encoding. i think some flac people could know more.
[18:49:23 CEST] <kyan> mm. thanks :)
[18:58:17 CEST] <giaco> please
[19:03:27 CEST] <giaco> could you please point me to the right manual page to learn how to make a proper stream combining two input and creating two synchronized rtp streams?
[19:27:00 CEST] <vidal> Hi I am not a regular user of ffmpeg but I am relying on it for some crucial activities... Is it really sure that ffserver will be discontinued?? It is a terrible problem for me I have no alternative  😥
[19:29:45 CEST] <JEEB> vidal: well effectively it was not maintained and generally it seemed like there are better alternatives for various use cases. what was yours?
[20:20:32 CEST] <vidal_> I am  acquiring conferences during events then stream them live.
[20:23:25 CEST] <vidal_> At the moment I am trying to use a raspberry pi as a cheap acquisition system to watch children or elders. It was so easy to have a chain  : raspi(raspivid + nc) encoder (nc+ffmpeg -> ffm) server (ffserver multiple views including  smartphones with app like vlc)
[20:23:53 CEST] <JEEB> yea, the general use cases I'm not that interested of, but the technical use cases
[20:24:06 CEST] <JEEB> for example, input/output protocols etc
[20:24:37 CEST] <JEEB> I've seen https://github.com/sergey-dryabzhinsky/nginx-rtmp-module/ poked around quite a bit for web browsers and mobiles
[20:24:44 CEST] <JEEB> which you can feed into with ffmpeg.c
[20:25:06 CEST] <JEEB> (it generates RTMP|HLS|DASH from RTMP ingest)
[20:30:38 CEST] <vidal_> Thanks for the link. i will have to work a little bit because I have never used rtmp 😶 because things were so simple in http. I am using nginx I will check. thanks again
[20:31:17 CEST] <JEEB> rtmp as a thing sucks as adobe will not extend the container utilized within it
[20:31:28 CEST] <JEEB> but for various use cases it (currently) works
[20:31:37 CEST] <JEEB> and people are working on other formats for ingest
[20:31:44 CEST] <vidal_> Anyway now ffmpeg refuses to go for anything else than a file , <i think I will have to have a look in the code.
[20:32:07 CEST] <JEEB> well, with current master I've had various things work daily, such as UDP
[20:32:15 CEST] <JEEB> so most definitely not just files
[20:32:40 CEST] <JEEB> (also it's generally a good thing to distinguish between ffmpeg.c and FFmpeg itself)
[20:32:45 CEST] <vidal_> OK  I'll have also to investigate....
[20:33:03 CEST] <JEEB> ffmpeg.c is the command line application with a bunch of semi-random logic, and then you have the libraries of which FFmpeg consists
[20:33:29 CEST] <JEEB> ffmpeg.c is basically an API client for those libraries, doing a whole lot of stuff but also having some quirks and limitations
[20:33:38 CEST] <giaco> could you please help me. I need to understand why my stream audio is not working.
[20:34:31 CEST] <vidal_> I was not aware of that
[20:35:44 CEST] <vidal_> My plan at first was to try to compile 3.4.2 or do the checkout that is recommended but years ago for another software I suffered many problems while trying to use it against developper's trend and will...
[20:38:02 CEST] <JEEB> also for HLS you in theory don't even need to have nginx-rtmp built in
[20:38:25 CEST] <JEEB> since you can just PUT/POST the files from ffmpeg.c
[20:38:39 CEST] <JEEB> and then just make your normal nginx be OK with receiving stuff from a specific ingest address
[20:38:48 CEST] <JEEB> and then share those uploaded things through another end point
[20:39:08 CEST] <TheRock> Question: when building ffmpeg with --enable-zlib on Windows with MingW. In which pathes does the configure look? I'm getting always the error zlib not found.
[20:39:29 CEST] <JEEB> I think it lacks pkg-config check so it checks the default search paths only
[20:39:51 CEST] <JEEB> if it had a pkg-config check you could set PKG_CONFIG_PATH or PKG_CONFIG_LIBDIR to your prefix's /lib
[20:40:08 CEST] <JEEB> currently you have to manually augment your --extra-cflags and extra-ldflags
[20:40:11 CEST] <JEEB> with the search path
[20:40:43 CEST] <JEEB> I've been meaning to post a patch but I've always been unsure how you add a check for a library like zlib, which by default is autoenabled unless you add disable-autodetect
[20:40:56 CEST] <TheRock> I already put zlib.h in /mingw/include /usr/include etc., but the config tests fails with zilb.h not found.
[20:41:00 CEST] <TheRock> Can you tell me how to specify the path manually?
[20:41:33 CEST] <JEEB> --extra-cflags="-I/your/prefix/include" --extra-ldflags="-L/your/prefix/lib"
[20:41:37 CEST] <JEEB> which I hate doing
[20:41:39 CEST] <JEEB> for the record
[20:41:58 CEST] <JEEB> because zlib actually contains a pc file when you install it
[20:43:26 CEST] <TheRock> Ty, gonna give it a try
[20:43:46 CEST] <JEEB> actually, let's see if I can hack up the pkg-config check and post it on the ML
[20:45:15 CEST] <TheRock> running confgiure now.
[20:45:23 CEST] <TheRock> just curious about i looked the error previously, it also checks for bzlib.h, it's not shipped with zlib?
[20:45:32 CEST] <JEEB> that's a separate check
[20:45:35 CEST] <JEEB> it's for bzlib
[20:45:40 CEST] <JEEB> which really isn't seemingly used for much at all
[20:45:51 CEST] <JEEB> I at least don't care about it in my own builds
[20:46:00 CEST] <JEEB> you can ctrl+F bzlib in the configure script
[20:46:13 CEST] <JEEB> to see which modules even have a dependency on it (probably partial anyways)
[20:46:54 CEST] <JEEB> ok, literally only matroska demuxer suggests bzlib
[20:47:07 CEST] <JEEB> and that's just to support compressed headers in that compression format
[20:47:21 CEST] <JEEB> which, thankfully, are not really popular at all
[20:50:24 CEST] <TheRock> afaik, i had matroska enabled and played .mkvs without zlib before?
[20:50:34 CEST] <JEEB> yes
[20:50:51 CEST] <JEEB> most matroska files lack compressed headers, and those that had them most likely weren't bzip
[20:52:23 CEST] <TheRock> zlib is now found
[20:52:29 CEST] <TheRock> but it hangs on bzlib.h
[20:52:30 CEST] <TheRock> https://nopaste.xyz/?998b3b1ad8df862b#rXzxk9LJ/pbzFvw9TBFwdc2hjhkI5wsGKkR7DMismZA=
[20:52:34 CEST] <TheRock> so i can delete bzlib.h?
[20:52:38 CEST] <TheRock> from the check?
[20:53:12 CEST] <JEEB> uhh, that sounds really weird
[20:53:27 CEST] <JEEB> the zlib test does not check for bzip2
[20:54:09 CEST] <TheRock> i just need that  bitch for png ;(
[20:54:25 CEST] <TheRock> any idea how to continue now?
[20:55:11 CEST] <JEEB> well you're clearly failing at not something zlib
[20:55:23 CEST] <JEEB> so you have poked the configure script or something?
[20:55:28 CEST] <TheRock> nothing at all
[20:55:41 CEST] <JEEB> I mean, I am building with zlib and without bzlib2
[20:55:47 CEST] <JEEB> and it WorksForMe
[20:55:54 CEST] <TheRock> but matroska is enabled?
[20:55:58 CEST] <JEEB> yes, of course
[20:56:55 CEST] <JEEB> let me check the bzip check
[20:56:57 CEST] <TheRock> Hm Hm hMh
[20:57:32 CEST] <JEEB> but yes, it seems like I've got an initial version of the zlib check done
[20:57:37 CEST] <JEEB> let's see if it works
[20:58:32 CEST] <vidal_> Thanks @JEEB I'll try to investigate your idea on nginx fed by ffmpeg.c  I'll  let some traces if I succeed.
[20:59:59 CEST] <TheRock> matroska_demuxer_suggest='bzlib lzo zlib'
[21:01:03 CEST] <JEEB> TheRock: yes, that's the only place where bzlib is utilized
[21:01:07 CEST] <JEEB> and it is not a requirement
[21:01:19 CEST] <TheRock> Gonna remove matroska now to test
[21:01:19 CEST] <JEEB> unless specifically "enabling" it means you want all features, which is kind of retarded
[21:01:48 CEST] <JEEB> wonder if you can then disable-bzlib
[21:01:54 CEST] <JEEB> if that is the case
[21:01:54 CEST] <TheRock> but why is it "required" on my OS? i haven't altered any config files
[21:02:04 CEST] <TheRock> --disable-bzlib didn't work
[21:02:07 CEST] <JEEB> ok
[21:02:25 CEST] <JEEB> TheRock: it isn't for your OS. I bet if you stop disabling everything it will nicely build the limited matroska demuxer
[21:02:33 CEST] <JEEB> since _suggest is exactly that
[21:02:47 CEST] <JEEB> it might be some dumb logic of "if you specifically enable it, you want ALL THE THINGS"
[21:03:07 CEST] <JEEB> also classic thing, of course I get shell syntax incorrect
[21:03:08 CEST] <TheRock> yeah matroska builds just fine, but once zlib is enabled it gets greedy and wants bzlib as well ;(
[21:03:10 CEST] Action: JEEB sighs
[21:03:25 CEST] <JEEB> TheRock: it really shouldn't. either the script is weird or something else is weird
[21:03:47 CEST] <JEEB> oh right, I forgot a ;
[21:03:56 CEST] <TheRock> I just removed matroska
[21:04:03 CEST] <TheRock> *still wants bzlib*
[21:04:41 CEST] <TheRock> using ffmpeg 3.4.2, without any modifications
[21:04:45 CEST] <JEEB> unless you have disable-autodetect it will try to find it, but that shouldn't be a failure
[21:05:01 CEST] <JEEB> so something wonky is going on *somewhere*
[21:05:27 CEST] <JEEB> yay
[21:05:32 CEST] <JEEB> got my zlib pkg-config check done
[21:06:34 CEST] <JEEB> https://github.com/jeeb/ffmpeg/commit/351fbff9339ab631913f0de1e125b489c320189d
[21:06:37 CEST] <JEEB> if you want to give it a whirl
[21:07:09 CEST] <JEEB> also now I am reminded that I should probably change wording
[21:07:21 CEST] <JEEB> s/me/one/
[21:09:25 CEST] <JEEB> heh, just checked what the only thing was that utilized lzma
[21:09:28 CEST] <JEEB> the TIFF thing
[21:09:48 CEST] <Boobuigi> I use lavfi -show_entries with ffprobe to detect scene changes and fades.  It works great, but I would like to see some kind of progress indication.  The best I've found is -v debug, but that produces waaaaay too much output.  Can anyone help?
[21:16:11 CEST] <JEEB> Boobuigi: I don't think you get that from ffprobe
[21:16:19 CEST] <JEEB> would probably be worth it to make your own API client for that
[21:16:48 CEST] <Boobuigi> Thanks for checking.
[21:17:51 CEST] <Boobuigi> I suppose I'll try piping -v debug output through some kind of formatter.
[21:18:31 CEST] <JEEB> (I didn't check anything, I just don't think that's a thing to expect from ffprobe)
[21:19:16 CEST] <Boobuigi> Well, you checked your brain.  That's good enough for thanks.
[21:20:09 CEST] <JEEB> but yea, since ffprobe is so limited I'd really probably just do a proper thing that would only do what you need (whatever lavfi filter chain you need and the output of which), which would export you the state properly
[21:28:29 CEST] <Boobuigi> Using ffmpeg and not ffprobe?
[21:29:57 CEST] <JEEB> not sure what you'd get out of that if you mean ffmpeg.c instead of ffprobe.c?
[21:30:04 CEST] <JEEB> (or do you mean the APIs?)
[21:31:29 CEST] <TheRock> JEEB: i just added bzlib as well
[21:31:31 CEST] <TheRock> https://nopaste.xyz/?7d692817cfea47a9#D4pBJuljRY0hJ8SQy4J6O4AUWOWQnJTyVkz7xrmxkAc=
[21:31:42 CEST] <TheRock> Is that fail eventually due to the compile errors?
[21:31:48 CEST] <TheRock> I use MSVC 2013
[21:32:07 CEST] <TheRock> Even with bzlib, it fails
[21:33:02 CEST] <TheRock> not even sure if the errors are related to zlib
[21:33:05 CEST] <JEEB> uhh, yea
[21:33:08 CEST] <JEEB> that seems rather unrelated
[21:33:16 CEST] <JEEB> at least looking at that test.c
[21:33:29 CEST] <JEEB> which is just static inline int foo(int a) { return a; }
[21:33:54 CEST] <JEEB> seems like it's rather failing at trying to utilize inline
[21:34:01 CEST] <JEEB> since it wants ( after inline
[21:34:11 CEST] <JEEB> I thought there was something special for MSVC for that, maybe?
[21:34:26 CEST] <TheRock> I'm not quite sure if the test is for zlib/bzlib
[21:34:32 CEST] <JEEB> it definitely isn't
[21:34:34 CEST] <TheRock> that are just the last lines before zlib not found
[21:34:39 CEST] <TheRock> so, i guess i can ignore it
[21:34:44 CEST] <TheRock> but still weird it doesn't work
[21:35:07 CEST] <JEEB> at this point I would nuke your build dir and start from a clean one, although the configure script isn't affected by previous runs
[21:35:22 CEST] <JEEB> are you sure you are telling teh configure script that you're under MSVC?
[21:35:52 CEST] <TheRock> yes toolset=msvc, built previously without png support
[21:35:59 CEST] <TheRock> since i want png=zlib/bzlib
[21:36:01 CEST] <TheRock> problems start
[21:36:35 CEST] <TheRock> No more *zlib.h* *bzlib.h* errors anymore, from the config I wouldn't know why it fails
[21:37:12 CEST] <JEEB> well zlib at least has special flag conversion for it
[21:37:34 CEST] <JEEB> bzlip doesn't, but that still doesn't explain why on earth it would be wanting bzlip if you're not enabling it :P
[21:39:04 CEST] <TheRock> i will nuke the directroy now
[21:39:24 CEST] <JEEB> also which shell are you using? bash or dash?
[21:39:41 CEST] <JEEB> (dash is just quite a bit faster on native windows)
[21:40:09 CEST] <TheRock> bash
[21:40:17 CEST] <TheRock> invoked through msys.bat
[21:40:49 CEST] <JEEB> next time to save time you might want to try out running dash ../configure --blah
[21:40:57 CEST] <JEEB> since dash is quite a bit simpler and quicker
[21:41:03 CEST] <JEEB> and on windows that makes an actual difference
[21:41:34 CEST] <TheRock> Hmhm, yeah but it just builds fine
[21:41:38 CEST] <TheRock> without zlib stuff
[21:41:57 CEST] <JEEB> ../configure --disable-autodetect --enable-zlib
[21:42:04 CEST] <JEEB> try that and let's see where we get
[21:48:21 CEST] <TheRock> running now
[21:50:57 CEST] <TheRock> failed ;_(
[21:51:49 CEST] <TheRock> using a new dir now
[21:57:48 CEST] <TheRock> JEEB: https://nopaste.xyz/?e3de09a3a955adb8#c7Nzg9tQEaWgrcbZZLaFO6Mt+w7NIOXz7uBTePd/pGQ=
[21:57:53 CEST] <TheRock> here is the new output from a new dir
[21:58:12 CEST] <TheRock> It's quite hard to tell, if the errors are from bzip/zlib at begin?
[21:58:26 CEST] <TheRock> it appears there is a redefinition of time_t which causes a fail
[21:58:35 CEST] <JEEB> can you pastebin the whole thing?
[21:59:39 CEST] <TheRock> Here is the entire log
[21:59:40 CEST] <TheRock> https://nopaste.xyz/?d6d62df6fbc01f23#h6mq8r6jv52tcqgX00E0+yBYjZTLEo/jx1tGs5WWtS8=
[22:00:07 CEST] <TheRock> search for "zlib.h" to get to the compile output
[22:00:52 CEST] <TheRock> to me it looks like there is a header error in the zlib compliation
[22:00:58 CEST] <TheRock>         C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(580) : see declaration of 'time_t'
[22:01:04 CEST] <TheRock> but not sure, if thats from the zlib test
[22:01:12 CEST] <JEEB> also just for the record during our initial discussion I did not note that you were building with MSVC
[22:01:27 CEST] <TheRock> oh, ok
[22:01:41 CEST] <JEEB> so you are clearly now including stuff from the mingw setup you have
[22:01:44 CEST] <JEEB> which doesn't mix well
[22:01:46 CEST] <JEEB> with the MSVC stuff
[22:01:57 CEST] <JEEB> so just put your zlib built with MSVC *somewhere*
[22:02:03 CEST] <TheRock> yeah, looks like. I placed the zlib stuff in /mingw/include /mingw/lib
[22:02:05 CEST] <JEEB> and add extra_*flags
[22:02:13 CEST] <TheRock> and added that dir
[22:02:14 CEST] <JEEB> yea, don't mix mingw-w64 and MSVC
[22:02:16 CEST] <TheRock> so thats probably the problem
[22:02:20 CEST] <JEEB> yes, quite likely
[22:02:34 CEST] <JEEB> because /mingw-get/include/process.h sounds like a mingw-w64 process.h
[22:03:08 CEST] <TheRock> hopefully it works now =)
[22:03:13 CEST] <TheRock> gonna move it to /home/zlib
[00:00:00 CEST] --- Sun May  6 2018


More information about the Ffmpeg-devel-irc mailing list