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

burek burek021 at gmail.com
Fri Jul 12 03:05:02 EEST 2019


[00:31:40 CEST] <Thomas_J> Can anyone point me to the latest master git source for download? I am afraid that the packages on the downloads page have the rtmps fix migrated into them yet.
[00:33:14 CEST] <another> https://ffmpeg.org/download.html#get-sources
[00:37:10 CEST] <Thomas_J> Are these the master git packages?
[00:37:21 CEST] <another> i guess you could try removing pulse but i'm not sure
[00:39:24 CEST] <another> not sure what you mean
[00:40:15 CEST] <klaxa> just run git pull https://git.ffmpeg.org/ffmpeg.git
[00:40:27 CEST] <another> it's the source
[00:40:33 CEST] <another> klaxa: clone
[00:40:39 CEST] <klaxa> right
[00:40:43 CEST] <klaxa> git clone
[00:41:01 CEST] <klaxa> he wanted the latest master git source?
[00:41:03 CEST] <klaxa> that's it
[00:41:48 CEST] <Thomas_J> The reason I ask is that the rtmps bug is recently fixed but it hasn't trickled down yet. I spent 2 days banging my head against a wall trying to get an rtmps stream going to facebook and found that the prebuilt bin's rtmps was broken in it.
[00:42:22 CEST] <klaxa> yeah sounds like something you'd want git master for, "just" get the source and compile it
[00:42:29 CEST] <klaxa> there's guides for that too if you run into problems
[00:45:10 CEST] <Thomas_J> The prebuild that I'm running now successfully streams to facebook but I need to recompile it to get audio input support working.
[00:46:39 CEST] <Thomas_J> I need to add a separate audio source to the stream but this build can't find the supporting alsa modules.
[00:50:29 CEST] <nine_milli_> i never seen a wyatt who wasnt a computer programmer
[00:51:00 CEST] <Thomas_J> how about Wyatt Earp
[00:51:17 CEST] <nine_milli_> dunno who that is
[00:51:27 CEST] <Thomas_J> He was a trouble shooter.
[00:51:37 CEST] <another> i don't think the build is your problem but rather your system
[00:51:56 CEST] <Thomas_J> Brave courageous and bold?
[00:53:15 CEST] <Thomas_J> I've reinstalled libasound2 twice and it still did not produce the /usr/lib/alsa-lib subdirectory for support modules.
[00:53:29 CEST] <another> yes
[00:53:32 CEST] <steve___> maybe keep reinstalling it and see
[00:55:04 CEST] <Thomas_J> Steve; That was sarcasm wasn't it. right?
[00:55:41 CEST] <another> i once again recommend reading which is an underrated skill
[00:55:55 CEST] <another> anyway, i'm out
[00:56:18 CEST] <Thomas_J> Only a fool does the same thing over and over again expecting a different result each time.
[00:57:08 CEST] <Thomas_J> Thqanks for your help. I ahve been reading for 2 months and my eyes are giving out.
[00:57:19 CEST] <another> ...
[00:57:20 CEST] <another> https://en.wikipedia.org/wiki/Hermeneutic_circle
[00:59:22 CEST] <Thomas_J> In other words, don't take things out of context like politicians do.
[01:01:06 CEST] <Thomas_J> That's a huge package. I only have 7% so far. I'm going to dinner.
[01:01:21 CEST] <another> that's.... absolutly not what the hermeneutic circle is about
[01:02:14 CEST] <Thomas_J> That's what I get out of it but that's my interpretation.
[01:02:21 CEST] <steve___> haha
[01:03:50 CEST] <Thomas_J> I'm gone to dinner, By Y'all.
[01:08:40 CEST] <steve___> bye
[08:06:08 CEST] <lain98> how do i check if a video has vfr through the libraries ?
[08:50:40 CEST] <nine_milli> blb_
[11:44:44 CEST] <sine0> anyone know of a channel for media editing
[15:27:44 CEST] <dastan> does someone know how to get the MPD links from youtube?
[15:33:59 CEST] <thebombzen> dastan: youtube-dl
[15:35:11 CEST] <dastan> how?
[15:35:25 CEST] <dastan> because i know how to get the HLS link
[15:36:41 CEST] <dastan> but i am searching about youtube-dl and mpd links and i dont find nothhing
[15:54:54 CEST] <thebombzen> dastan: O I thought you meant HLS links, my bad
[15:55:02 CEST] <thebombzen> try asking in #youtube-dl and see if it's possible
[17:35:12 CEST] <Thomas_J> Hello? Can you hear me now?
[17:57:04 CEST] <Hello71> no
[17:57:47 CEST] <Thomas_J> Finally got alsa working for input.(I think) But now i am getting Segmentation fault. This is the last line out following "Opening an input file: plughw:CARD=Device,DEV=0"
[18:40:26 CEST] <ossifrage> Is there any way to get ffmpeg to compute frame durations for rtsp streams so it won't complain about "pkt->duration = 0, maybe the hls segment duration will not precise"
[19:34:37 CEST] <dastan> hello
[19:35:06 CEST] <dastan> does someone how to get the mpd root from a youtube channel to put into ffmpeg?
[19:35:35 CEST] <dastan> i get this
[19:35:42 CEST] <dastan> from youtube-dl
[19:35:43 CEST] <furq> youtube-dl -g
[19:35:45 CEST] <dastan> tecnico at MSS-ONE:~$ youtube-dl -F https://www.youtube.com/watch?v=MUvxW9uuzog                         [youtube] MUvxW9uuzog: Downloading webpage
[19:35:46 CEST] <dastan>   audio only DASH audio  144k , m4a_dash container, mp4a.40.2 at 128k
[19:35:49 CEST] <dastan> , avc1.4d401f, 30fps, video only
[19:36:25 CEST] <dastan> furq, with this option i get this
[19:36:26 CEST] <dastan> https://r5---sn-p5qlsnz6.googlevideo.com/videoplayback?expire=1562888162&ei=gXMnXbrOOPCAhgbc05bIBQ&ip=158.50.77.241&id=MUvxW9uuzog.0&itag=136&aitags=133%2C134%2C135%2C136%2C160&source=yt_live_broadcast&requiressl=yes&mm=44%2C29&mn=sn-p5qlsnz6%2Csn-p5qs7nel&ms=lva%2Crdu&mv=m&mvi=4&pl=20&initcwndbps=1013750&live=1&hang=1&noclen=1&mime=video%2Fmp4&gir
[19:36:27 CEST] <dastan> =yes&mt=1562866485&fvip=5&keepalive=yes&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Clive%2Chang%2Cnoclen%2Cmime%2Cgir&sig=ALgxI2wwRgIhAKUKSAz00atFRkBqHs-v8hOjXLGaQJ4VHkSO_LUseINfAiEAjMxmAuhtnbA6aD0Sr6FPSC5vQ2kw9q003yC8K96Pt_Q%3D&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHylml4wRgIhANaji50OIxAhNqvadZiXaf-hUBQ
[19:36:27 CEST] <dastan> LeA0noOJ-RaSLWj7_AiEAhkRDgG-oiVg5_8tnuIELVmc0_J4FfpdJnN2SP0q_mSA%3D&ratebypass=yes
[19:36:37 CEST] <dastan> and is not working
[19:37:01 CEST] <dastan> this way works fine for me with HLS, but not with dash
[19:37:17 CEST] <furq> that works fine here
[19:37:30 CEST] <furq> you need to quote it or your shell will interpret the &s
[19:38:39 CEST] <dastan> ffmpeg -f dash -i "https://r5---sn-p5qlsnz6.googlevideo.com/videoplayback?expire=1562887842&ei=QnInXbCHCa2qhwbD2Ico&ip=158.50.77.241&id=MUvxW9uuzog.0&itag=136&aitags=133%2C134%2C135%2C136%2C160&source=yt_live_broadcast&requiressl=yes&mm=44%2C29&mn=sn-p5qlsnz6%2Csn-p5qs7nel&ms=lva%2Crdu&mv=m&mvi=4&pl=20&initcwndbps=801250&live=1&hang=1&noclen=1&mime
[19:38:39 CEST] <dastan> =video%2Fmp4&gir=yes&mt=1562866162&fvip=5&keepalive=yes&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Clive%2Chang%2Cnoclen%2Cmime%2Cgir&sig=ALgxI2wwRQIhANt6Jnyzo1D-748zpIGSb-2uX-Q1sfFI50_TMIMcWAeDAiAFjVleIkYr0yOfCkgf6rAEEWXdppFlKVKxd2tb3e6fXg%3D%3D&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHylml4wRAIgZ6krsxZY3
[19:38:40 CEST] <dastan> JoR5VYHiGbUmjMix7a64onZb4dtziQ43yQCIClWVy7MRKGJcyYtMg8W8gGpXhLer__QZi3sehzsqgnK&ratebypass=yes" -vcodec libx264 -preset ultrafast -f hls decklin.m3u8
[19:39:01 CEST] <dastan> i already put quotesw
[19:39:14 CEST] <dastan> i put ffmpeg -f dash -i ""
[19:39:56 CEST] <furq> get rid of -f dash
[19:39:56 CEST] <dastan> its giving me a ·missing root node·
[19:40:15 CEST] <furq> also don't paste 900 character urls into the channel
[19:40:24 CEST] <dastan> sory
[19:40:51 CEST] <dastan> i dont have access to pastebin to my company
[19:41:40 CEST] <furq> http://vpaste.net/
[19:41:47 CEST] <furq> or any of the thousands of other pastebins
[19:41:55 CEST] <dastan> ok, thanks menç
[19:41:57 CEST] <kepstin> there's lots of pastebin sites on different urls, they can't all be blocked
[19:41:58 CEST] <dastan> that works here
[19:45:17 CEST] <dastan> with single quotes like '' it gives me the error  http://vpaste.net/WcU0z#uploads?ft=a2ps
[19:45:50 CEST] <dastan> with double quotes gives me this
[19:46:28 CEST] <dastan> http://vpaste.net/hjqSk#uploads?ft=a2ps
[19:48:25 CEST] <dastan> when you put the link generated by youtube-dl -g ffmpeg supposed to download all the videos of the repository, isnt it?
[19:49:00 CEST] <furq> no -g will give you the urls that it got from auto format selection
[19:49:05 CEST] <furq> you can use -g and -f together
[19:49:25 CEST] <furq> with that said i get the same errors with that channel so either it's generally broken for live streams or there's an issue with this stream
[19:50:15 CEST] <dastan> is what i do, first i use -F to get all the options
[19:50:41 CEST] <dastan> the i make youtube-dl -f 136 -g youtube-link to get the link
[19:51:11 CEST] <furq> you'd want -f 136+140
[19:51:19 CEST] <furq> then use both urls
[19:51:23 CEST] <furq> that also doesn't work though
[19:51:32 CEST] <dastan> yes, then i can map one over the other to get video and audio
[19:51:37 CEST] <furq> https://clbin.com/gc5M2
[19:52:49 CEST] <dastan> this paste you send is full of errors
[19:52:52 CEST] <furq> right
[19:52:56 CEST] <furq> like i said it doesn't work
[19:53:14 CEST] <furq> the same thing works fine for normal videos so i guess something is broken in live stream handling
[19:53:22 CEST] <dastan> aaaaaa....i was thinking you said that was working in your chase
[19:53:54 CEST] <dastan> fucking youtube, they change everything yesterday
[19:54:50 CEST] <dastan> thay was working with HLS and was great for my project.....it was working, but right now, they change for dash video.....and everything is wrong....
[19:55:02 CEST] <dastan> can you check with other channel?
[19:55:07 CEST] <furq> i'm doing that now
[19:55:09 CEST] <dastan> i will check too
[20:00:12 CEST] <dastan> it works with al jeazhera
[20:00:21 CEST] <dastan> but it download only one segment
[20:00:31 CEST] <dastan> how do you do to download all segments?
[20:00:55 CEST] <furq> i think i'm getting ratelimited by youtube or something
[20:01:02 CEST] <furq> trying youtube-dl -o - | ffmpeg -i -
[20:01:15 CEST] <furq> but it just gets stuck downloading the first segment
[20:01:48 CEST] <furq> and using the urls directly is just timing out
[20:08:07 CEST] <dastan> i try to talk with developpers if someone know something about but it was like to talk with fucking god
[20:08:24 CEST] <dastan> i will open a ticket on track this night
[20:11:10 CEST] <JEEB> the DASH reader maintainer is not on IRC generally
[20:11:16 CEST] <JEEB> and most people don't want to touch the XML
[20:11:30 CEST] <JEEB> I think the dash person might notice on trac, yes
[20:12:07 CEST] <dastan> thanks jeeb
[20:12:47 CEST] <JEEB> also make sure the DASH manifest doesn't have DRM
[20:13:03 CEST] <dastan> i readed a lot about dash and this is a change that youtube made yesterday, youtube was transmitting live channels in HLS, and yesterday chenge everything to dash
[20:13:08 CEST] <JEEB> see if the DASH manifest contains the word "protection"
[20:13:49 CEST] <dastan> i knew about dash yesterday, i really dont know how to access to the mpd manifest
[20:14:11 CEST] <JEEB> it should be a HTTP URL? the mpd manifest is just plain text XML
[20:14:25 CEST] <JEEB> I don't see a problem in accessing it if youtube-dl can extract it for you
[20:14:26 CEST] <JEEB> :P
[20:14:59 CEST] <JEEB> you can use curl or whatever to access the URL as well if you really cannot think of any other way of opening it
[20:16:38 CEST] <JEEB> heck the url could be opened in a browser :P
[20:16:50 CEST] <JEEB> it will probably attempt to download the mpd
[21:41:18 CEST] <dastan> already made that
[21:41:29 CEST] <dastan> and i dont find the mpd link
[21:42:01 CEST] <JEEB> I thought you were getting the link from youtube-dl and giving that to ffmpeg.c?
[21:43:14 CEST] <dastan> i send put the command youtube-dl -f 136 -g youtube-link (thats only to get the video link)
[21:43:29 CEST] <dastan> and the link i get dont finish in .mpd
[21:43:42 CEST] <dastan> it is something strange
[21:44:47 CEST] <dastan> http://vpaste.net/IoEXY
[21:45:08 CEST] <dastan> this is the outside of the command i told you
[21:46:03 CEST] <durandal_1707> perhaps you need to change user-agent?
[21:46:41 CEST] <JEEB> dastan: the extension doesn't matter. if it's not a proper MPEG-DASH manifest that's XML then an MPEG-DASH manifest reader will not work
[21:47:39 CEST] <dastan> user agent?
[21:47:43 CEST] <JEEB> dastan: curling that URL gives you binary data
[21:47:48 CEST] <JEEB> that's not an XML manifest
[21:47:51 CEST] <dastan> sory but i am not understanding
[21:48:10 CEST] <JEEB> < Content-Type: video/mp4
[21:48:16 CEST] <JEEB> so that is a segment or segments
[21:48:20 CEST] <JEEB> not a manifest
[21:48:21 CEST] <dastan> jeeb: thats what i think, i am not getting the manifest
[21:48:34 CEST] <JEEB> then why would you be opening a bug against FFmpeg?
[21:48:38 CEST] <JEEB> if you can't even figure out the URL
[21:48:48 CEST] <JEEB> go ask youtube-dl people :P
[21:48:58 CEST] <JEEB> of course it's possible that there is no proper XML DASH manifest
[21:49:06 CEST] <JEEB> most places do MPEG-DASH with their own custom system
[21:49:07 CEST] <dastan> i already made, i ask them today morning
[21:49:16 CEST] <dastan> and noone answer me
[21:49:28 CEST] <JEEB> that is life
[21:49:35 CEST] <dastan> so i come to ffmpeg if someone knows how to extract the mpd manifest
[21:49:45 CEST] <JEEB> nope
[21:50:02 CEST] <JEEB> if there even is one
[21:50:14 CEST] <dastan> i think is not a ffmpeg problem, because when i put this link in ffmpeg it gets one samll video of the repo, but not everyone
[21:51:20 CEST] <dastan> i used ffmpeg for youtube, because i am adapting ffmpeg to the necesities of my project
[21:52:59 CEST] <dastan> i am only asking, is not a requirement
[21:53:53 CEST] <dastan> is a requirement for my project, if i cant process videos from youtube i will not possible to make an important part of my project
[21:55:08 CEST] <dastan> but is not your fault or a problem of ffmpeg, i am making more likely a proposal, if ffmpeg can process youtube dash can be something great
[22:02:23 CEST] <durandal_1707> dastan: you need to know what user-agent means in terms of curl
[22:12:30 CEST] <Thomas_J> I am getting a segmentation fault error from my audio channel input. The errors are to cryptic to me to understand. https://pastebin.com/D3qJMpyh
[22:14:02 CEST] <JEEB> you'd have to build your own FFmpeg and disable stripping
[22:14:08 CEST] <JEEB> --disable-stripping in configure
[22:14:18 CEST] <JEEB> that disables removal of debug information from the binaries
[22:14:30 CEST] <JEEB> so you can then utilize gdb to run the command and look at where it crashes
[22:14:40 CEST] <JEEB> have a gdb tutorial: http://www.unknownroad.com/rtfm/gdbtut/
[22:15:17 CEST] <kurosu> also, the input seems to be video-only, which is a strange condition to crash the audio part
[22:16:10 CEST] <JEEB> it doesn't log the second input at that point
[22:16:35 CEST] <kurosu> oh right, didn't see the -i hw:CARD=1,0 afterwards
[22:19:41 CEST] <Thomas_J> Oh gaads. That's whaat I have been trying to avoid. I fixed the problem that the alsa-lib by adding a soft link to the file system pointing to it.
[22:20:50 CEST] <Thomas_J> I am afraid to recompile because I don't know what version of the source is safe for the rtmps fix.
[22:22:22 CEST] <Thomas_J> I git cloned the current source from ffmpeg but I am afraid that it may throw me back into no rtmps connectivity.
[22:23:22 CEST] <JEEB> you will have rtmps as long as you install gnutls development package
[22:23:32 CEST] <JEEB> and you can check during the *configure* phase
[22:23:43 CEST] <JEEB> ./configure --enable-gnutls I think :P
[22:24:00 CEST] <JEEB> > --enable-gnutls          enable gnutls, needed for https support
[22:24:03 CEST] <JEEB> yup
[22:24:12 CEST] <JEEB> (the configure script has a --help option to list things)
[22:26:58 CEST] <Thomas_J> Okay, It shouldn't really be a problem since I clone each version in it's own directory and test it from there.
[22:27:52 CEST] <Thomas_J> I ahve a whole bunch of cleanup th do once I get one working.
[22:28:38 CEST] <furq> Thomas_J: run gdb anyway and see if you get anything useful
[22:31:11 CEST] <JEEB> Thomas_J: you can utilize a single clone and multiple build directories. as long as you haven't run configure in the source root :)
[22:31:31 CEST] <JEEB> like in my case I've got plenty of xxx_build directories next to or within the FFmpeg source directory, and I just call the configure script from there :)
[22:32:43 CEST] <Thomas_J> Thanks for that. I waas just about to run ./configure. I'll copy the directory before running it.
[22:33:02 CEST] <JEEB> nah, just make a directory and call the script *from* it
[22:33:18 CEST] <furq> mkdir foo_build; cd foo_build; ../configure
[22:33:18 CEST] <JEEB> like, if you make a directory next to the configure script, it's "../configure" instead of ./configure
[22:33:49 CEST] <Thomas_J> Right now I'm reading the gdb configuration but don't see anything there that sticks out.
[22:34:09 CEST] <JEEB> for gdb you should just read the tutorial I pointed out some time ago :)
[22:34:19 CEST] <furq> pretty much just `gdb --args ffmpeg ...` `run` then wait for it to segfault and `bt`
[22:34:28 CEST] <JEEB> yes
[22:34:30 CEST] <JEEB> that's the gist of it
[22:34:38 CEST] <Thomas_J> Yup! got it.
[22:35:17 CEST] <Thomas_J> configure runs from it's own directory and builds where you are at?
[22:35:27 CEST] <furq> it runs in the working directory
[22:35:44 CEST] <furq> also if you don't actually write much C then that is pretty much 100% of what you need to know about gdb
[22:35:52 CEST] <furq> that's basically all i remember how to do with it
[22:35:59 CEST] <JEEB> well, "bt full" is sometimes useful :)
[22:36:04 CEST] <furq> true
[22:36:09 CEST] <another> ffmpeg can do out-of-source builds?
[22:36:16 CEST] <JEEB> yes
[22:36:25 CEST] <JEEB> as long as you haven't already once configured it in-source
[22:36:26 CEST] <Thomas_J> I haven't written C since the late 80s.
[22:36:39 CEST] <JEEB> I think if it finds some things it generates it will bark at you
[22:38:32 CEST] <Thomas_J> In the 70s, I programed in Basic and dropped into machine code when I need to soeed things up.
[22:39:01 CEST] <Thomas_J> Processors were simple back then.
[22:39:45 CEST] <JEEB> Thomas_J: and now you have multimedia stacks that make you think that you might want whatever the designers were smoking
[22:39:50 CEST] <JEEB> like, MMTP over TLV
[22:40:11 CEST] <Thomas_J> I gave that up too.
[22:40:28 CEST] <JEEB> TLV is not even multimedia, it's a way of transferring IP over <something>
[22:40:43 CEST] <JEEB> and then that contains multicast streams usually
[22:40:57 CEST] <JEEB> which then contain MMTP which is mp4-based funky stuff
[22:41:53 CEST] <Thomas_J> I am not even considering that all this that I am learning will stick with me. I think Senility is slowly sinking in.
[22:43:16 CEST] <ossifrage> Any ideas how to get rtsp-like latency with web based protocols? Is there an even remotely standard way of doing video over WebRTC
[22:44:05 CEST] <Thomas_J> Oh ya, my IP cameras respond to that to identify themselves.
[22:44:07 CEST] <JEEB> ossifrage: all the players seem to be custom solutions at least, while I see at least one media server that at least a couple of people seem to have used
[22:44:29 CEST] <JEEB> https://github.com/aiortc/aiortc
[22:44:36 CEST] <JEEB> supposedly usable for the media serving part?
[22:47:55 CEST] <ossifrage> mp4 really sucks for live streaming which really
[22:48:11 CEST] <nine_milli> blb_
[22:49:44 CEST] <ossifrage> I'm using live555 for rtsp which was really low pain, but isn't really suitable for my end goal
[22:50:45 CEST] <ossifrage> I bodged a hls/dash test which worked better then I expected but the latency sucked and things that help the latency really hurt the compression efficiency
[22:52:23 CEST] <ossifrage> I get around 300-400ms end-to-end latency with 'mpv --profile=low-latency' with rtsp
[22:53:35 CEST] <JEEB> well, HLS/DASH really aren't for low latency. people start doing hacks to make it appear as if the latency is lower, while in the end you have to go for proper streaming connections to get lowest latency
[22:54:42 CEST] <Thomas_J> Once again, what 2 enables do I need for this build? gnu something and stripper sonething?
[22:55:17 CEST] <JEEB> --help parameter and grep -E "(stripping|gnutls)"
[22:55:18 CEST] <JEEB> :)
[22:55:28 CEST] <Thomas_J> Thanks.
[22:57:07 CEST] <ossifrage> I think my primary goal is good compression efficiency, so I'm not willing to sacrifice compression for latency.
[22:57:43 CEST] <JEEB> you don't really have to, since "how long does it take 'til first decoded image" != "latency"
[22:57:45 CEST] <ossifrage> And I'm not so concerned about startup delay, waiting till the start of the next GOP is fine
[22:58:56 CEST] <ossifrage> The fmp4 stuff I've played with outputs 1 gop at a time. the rtp stuff is frame at a time
[22:59:40 CEST] <JEEB> there's nowadays an option in movenc that fragments on each video sample (I think)
[23:00:48 CEST] <JEEB> > frag_every_frame
[23:00:51 CEST] <JEEB> in movflags
[23:01:30 CEST] <Thomas_J> --disable-stripping? I'm missing a couple of header files.
[23:02:02 CEST] <ossifrage> JEEB yeah I was playing around with that frag_every_frame+delay_moov+skip_trailer
[23:02:29 CEST] <JEEB> Thomas_J: that option doesn't require anything, so it's something else if it's complaining about something. and as I noted for --enable-gnutls you need the debian gnutls development package
[23:02:58 CEST] <ossifrage> the ffmpeg muxer was just writing a gop to /tmp and the webserver was effectively doing tail -f on the file in /tmp
[23:03:36 CEST] <JEEB> ossifrage: if it was full GOPs then something wasn't working as expected I think :D
[23:03:44 CEST] <JEEB> since the idea of it was to push each frame as its own fragment
[23:03:56 CEST] <JEEB> Thomas_J: apparently the debian package is something like libgnutls28-dev
[23:05:01 CEST] <ossifrage> JEEB, I was getting 1 frame in 1 frame out of the muxer (I was just writing them to the same file as a placeholder for doing something less stupid)
[23:08:44 CEST] <ossifrage> I liked the idea of DASH/HLS mostly because I have enough spare cycles to encode several different versions of the camera data.
[23:10:54 CEST] <ossifrage> The camera needs to be able to do live streaming, streaming of recent history (say 30s in the past), local archival streaming and then selective external archival
[23:32:44 CEST] <Thomas_J> I'm missing 2 files, frei0r.h dlfcn.h. I ran into this a while back but forgot what I did to fix this.
[23:33:12 CEST] <JEEB> Thomas_J: do you really need freior etc?
[23:33:17 CEST] <JEEB> or are you just copypasting options from somewhere?
[23:34:30 CEST] <furq> dlfcn.h is in libc6-dev on debian
[23:34:32 CEST] <Thomas_J> I think I just removed it's enable in the config instructions last time, I think.
[23:34:37 CEST] <furq> although if you don't have that then you probably can't build anything at all
[23:35:20 CEST] <Thomas_J> I removed --enable-frei0r
[23:35:27 CEST] <furq> that works too
[23:37:51 CEST] <Thomas_J> ERROR: gnutls not found using pkg-config
[23:38:19 CEST] <JEEB> did you install gnutls development package?
[23:40:28 CEST] <Thomas_J> Yes. It looks like I'm going to have to make another directory forward link.
[23:41:16 CEST] <Thomas_J> It works with the prebuilt bin.
[23:41:20 CEST] <kepstin> uhh...
[23:42:11 CEST] <JEEB> Thomas_J: no, it should work with the gnutls -dev package :P
[23:42:17 CEST] <JEEB> already packaged in raspbian
[23:42:19 CEST] <kepstin> you shouldn't have to make any manual links for anything... when you install the dev package, it installs a pkg-config file that ffmpeg's configure script will find, and it'll use that to set the dirs correctly
[23:43:37 CEST] <kepstin> is the problem that you're missing pkg-config, maybe?
[23:44:03 CEST] <JEEB> that could be quite likely :)
[23:45:16 CEST] <Thomas_J> Very well could be. the error in the build log is cannot find in the pkg-config search path.
[23:46:05 CEST] <kepstin> hmm, that means that it ran pkg-config but couldn't find the gnutls pc file
[23:46:19 CEST] <JEEB> Thomas_J: ffbuild/config.log
[23:46:25 CEST] <JEEB> that gives the exact error at the end of it
[23:47:30 CEST] <Thomas_J> I found it in /var/lib/dpkg/info/
[23:47:58 CEST] <kepstin> please don't break your system more by messing inside dpkg internals
[23:49:40 CEST] <kepstin> if running `pkg-config --path gnutls` either gives an error or blank output, then either you never actually installed the gnutls dev package, or your system is otherwise busted in a way out of scope of ffmpeg.
[23:49:50 CEST] <Thomas_J> https://pastebin.com/J9WwiLxj
[23:50:45 CEST] <JEEB> and  you have the pkg-config binary installed?
[23:51:04 CEST] <kepstin> yes, that "was not found in the pkg-config search path" is pkg-config output
[23:51:10 CEST] <JEEB> ok
[23:51:27 CEST] <JEEB> Thomas_J: is libgnutls28-dev installed?
[23:52:09 CEST] <Thomas_J> ln -s doesn't break anything. It just ads a link to where the package is trying to look for something. I had to do that for libasound2.
[23:52:12 CEST] <kepstin> it might be a different version depending on the exact debian release? I think you can do "apt-get install gnutls-dev" (that's a virtual package name) and it should pull in the right one
[23:52:37 CEST] <Thomas_J> Let me check
[23:53:17 CEST] <JEEB> `apt list --installable |grep -E "gnutls.*-dev"` might bring it up as well
[23:53:41 CEST] <Thomas_J> Nope it wasn't.
[23:53:44 CEST] <JEEB> argh, no that was not the proper option
[23:54:05 CEST] <JEEB> ok, just `apt list`
[23:54:13 CEST] <Thomas_J> Installed now
[23:54:44 CEST] <kepstin> wow, an hour of troubleshooting to go from "you need to install the gnutls dev package" to "oh, i didn't install the gnutls dev package" :/
[23:55:26 CEST] <Thomas_J> Still not finding gnutls.
[23:56:48 CEST] <JEEB> Thomas_J: find / -iname '*gnutls*.pc' ?
[23:56:50 CEST] <Thomas_J> OOPS! I thaught it was finished installing. It's apt is still installing it.
[23:56:54 CEST] <JEEB> heh
[23:57:01 CEST] <JEEB> ok, just wait until it's installed :P
[23:57:02 CEST] <Thomas_J> :(
[23:57:23 CEST] <JEEB> kepstin: yes, I have wasted quite a few hours thinking this person was on master as I specifically noted "git master" to be utilized :P
[23:57:32 CEST] <JEEB> just to find him on 4.1.x
[23:59:17 CEST] <Thomas_J> got another one. ERROR: aom >= 1.0.0 not found using pkg-config
[23:59:26 CEST] <JEEB> why did you install something you will not be using?
[23:59:32 CEST] <JEEB> or well, attempt to enable
[23:59:47 CEST] <JEEB> literally start with --enable-gnutls only as an option
[00:00:00 CEST] --- Fri Jul 12 2019


More information about the Ffmpeg-devel-irc mailing list