[10:09:07 CEST] <Hail_Spacecake> howdy [10:09:23 CEST] <Hail_Spacecake> I want to use some software that will let me stream videos on my computer to my own browser, like a bespoke youtube [10:09:27 CEST] <Hail_Spacecake> is ffmpeg the right tool to use for this? [10:16:18 CEST] <JEEB> FFmpeg usually gets used for use cases like that in some form, but no idea what you want to do specifically [10:16:41 CEST] <Mavrik> In most cases you want a streaming server to go with ffmpeg though [10:16:46 CEST] <Mavrik> E.g. nginx-rtmp-module or something [10:17:27 CEST] <JEEB> yes, or if you just use FFmpeg's HLS output with HTTP posts just normal nginx [10:17:54 CEST] <Mavrik> ohh, forgot about that option [10:18:06 CEST] <JEEB> which reminds me I have to ask the author(s) of that how you're supposed to do multiple audio languages in it - I have done a single line change which works but I've no idea if that's what they want :P [10:18:26 CEST] <bencoh> wait, how does that http/post output works? [10:18:26 CEST] <JEEB> also re-using a stream in multiple muxes "conveniently" crashes [10:18:44 CEST] <JEEB> bencoh: it pushes the generated segments and playlist straight to the server [10:18:49 CEST] <JEEB> Akamai seems to love that [10:18:56 CEST] <JEEB> (they're one of the authors of that thing) [10:19:04 CEST] <Mavrik> Yep, just dump the playlist and segment files somewhere [10:19:04 CEST] <bencoh> they do, yeah [10:19:15 CEST] <Mavrik> And point the player to the m3u8 [10:19:19 CEST] <bencoh> but then you need more than just "normal nginx" to handle the POST I guess [10:19:22 CEST] <JEEB> no [10:19:30 CEST] <JEEB> just normal nginx which is configured for file uploads [10:19:32 CEST] <Mavrik> Nope, it's literaly just dumping files somewhere and then serving them [10:19:32 CEST] <bencoh> ah [10:19:43 CEST] <JEEB> no magicks [10:19:43 CEST] <bencoh> forgot it could do that :) [10:19:56 CEST] <bencoh> (file uploads, that is) [10:19:59 CEST] <Mavrik> Too bad the two major desktop browsers don't support HLS :( [10:20:10 CEST] <JEEB> hls.js seems to work "alright" [10:20:21 CEST] <JEEB> and everyone seems to be testing with it anyways [15:56:13 CEST] <FishPencil> Which deshake program/filter provides the best results right now? I know vidstab is pretty good, but are there better ones? (in ffmpeg or not) [15:58:11 CEST] <Hello71> youtube's is allegedly better [15:58:32 CEST] <Hello71> according to google they have some algorithm for removing moving shutter [16:00:30 CEST] <FishPencil> http://www.guthspot.se/video/deshaker.htm claims to do rolling shutter as well [16:46:11 CEST] <th3_v0ice> Why is encoder producing PTS that is less then the DTS? [17:07:30 CEST] <DHE> note that PTS and DTS can be negative. are you using the correct type for the PTS and TS? [19:18:54 CEST] <ted__> Hello all~ I have a question about the libvpx-vp9 encoder AVOptions. [19:20:25 CEST] <ted__> Which one is correct? -arnr-type (default -1) or -arnr_type (default 3) [19:23:52 CEST] <Hail_Spacecake> JEEB: I was hoping for some tool that would just provide a browser video player video + controls for selecting videos [19:24:00 CEST] <Hail_Spacecake> and whatever backend you need to make the streaming happen [19:28:27 CEST] <ted__> The -arnr- options of the VP9 have still been wrong? If so, I hope devs will fix them at the next version. [19:29:00 CEST] <ted__> Thank you devs for your help as always. [19:29:19 CEST] <th3_v0ice> DHE: Yes actually. The type is int64_t, the problem is that PTS is 49 and DTS is 500 for example. What could throw the encoder to produce these results? [19:38:29 CEST] <DHE> th3_v0ice: interesting... that is definitely not right... [19:57:11 CEST] <th3_v0ice> DHE: Also the DTS are not monotinically increasing, they are jumping all over the place :) For example 10, 20, 60, 70, 80, 30, .... [20:03:45 CEST] <FishPencil> How should I rotate a video 180 degrees [20:04:50 CEST] <Hello71> transpose=2,transpose=2 [20:14:03 CEST] <th3_v0ice> How can i properly copy the packet and its buffers? [20:40:45 CEST] <FishPencil> How do I take a 4:3 image, add black letterboxes up to 16:9, resize to 1920x1080, and display it for 3 sec? [21:00:55 CEST] <Hello71> have you considered just using an image viewer program [21:01:01 CEST] <Hello71> or even just mpv [21:02:15 CEST] <FishPencil> I'm trying to make a video [21:08:40 CEST] <FishPencil> This seems to work: ffmpeg -loop 1 -i i.jpg -vf "scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2" -c:v ffv1 -t 3 -r 60 o.mkv [21:11:42 CEST] <Hello71> sure [21:11:54 CEST] <Hello71> why does it need to be 60 fps [21:13:49 CEST] <FishPencil> I'm concatenating it with other 60fps video [21:14:46 CEST] <Hello71> so in conclusion, XY problem? [21:15:28 CEST] <FishPencil> huh? [21:42:02 CEST] <bob123> I really need a de-fog / de-haze filter for my live stream but I don't know where to start.. [21:42:57 CEST] <bob123> I've looked at libavfilter and libxcam libraries [21:43:33 CEST] <bob123> I'm not sure if libavfilter comes with a defogging filter [21:46:02 CEST] <bob123> libxcam seems like it's not done yet for FFMPEG use [22:21:30 CEST] <Cracki> anyone care for an auto white-balance filter, like handheld video cameras and phone cameras have? involves some summation and some multiplication [22:22:10 CEST] <Cracki> I figure I'd ask here before I ask in #vlc because at least here someone knows what color balance is :P [22:23:29 CEST] <Cracki> plenty of "movies" have been colorgraded and low-contrasted to death and I want something to correct that. I know the math but not how to make a filter for any player I use. [23:07:06 CEST] <bob123> Does anyone know of a defog filter for FFMPEG? [23:08:43 CEST] <Cracki> i've read a paper on de-fog [23:09:12 CEST] <Cracki> involves estimating fog strength (desaturation) and then continuing from there. different approaches look more or less good [23:11:57 CEST] <Cracki> Real Time Fog Removal Technique with Improved Quality through FFT - IEEE Conference Publication https://ieeexplore.ieee.org/document/6821512/figures [23:11:57 CEST] <Cracki> A fast method of fog and haze removal - IEEE Conference Publication https://ieeexplore.ieee.org/document/7471871/ [23:11:57 CEST] <Cracki> Fog removal techniques from images: A comparative review and future directions - IEEE Conference Publication https://ieeexplore.ieee.org/document/6884973/ [23:13:24 CEST] <Cracki> https://www.sciencedirect.com/science/article/pii/S2215098616305067 [00:00:00 CEST] --- Wed Jul 18 2018
participants (1)
-
burek