[Ffmpeg-devel-irc] ffmpeg.log.20181226
burek
burek021 at gmail.com
Thu Dec 27 03:05:02 EET 2018
[02:09:01 CET] <oliv3> Hi there, any reason why swscale fails using SWS_FAST_BILINEAR on NetBSD with a mprotect() error ?
[02:11:14 CET] <oliv3> I get [swscaler @ 0x6f90befb6000] mprotect failed, cannot use fast bilinear scaler when sws_getContext is called
[02:11:39 CET] <oliv3> It works with SWS_BILINEAR, though
[02:15:09 CET] <iive> oliv3, the fast one might be the version where it uses executable code modification.
[02:15:54 CET] <iive> aka, it has the assembly precompiled, but it modifies the code to put some constants in there, like width/height of the image, or the ratios.
[02:18:36 CET] <oliv3> I don't have this error on OpenBSD, and if some privileges are required (which I thought could be), running as root doesn't help either
[02:19:51 CET] <oliv3> And to me, Open is way stricter than Net :)
[02:23:27 CET] <oliv3> Simply put, FAST_BILINEAR works on all Linuces, FreeBSD, OpenBSD; it's the first time I encounter this error on NetBSD
[02:24:26 CET] <oliv3> Anyhow, using plain SWS_BILINEAR would be ok for my case, I was just wondering why/how this wouldn't work on Net..
[02:24:42 CET] <iive> allowing to modify executable code is more dangerous for root ;)
[02:24:53 CET] <oliv3> yeah sure :)
[02:25:16 CET] <oliv3> then, strange this works with OpenBSD :)
[02:25:26 CET] <oliv3> even in userland
[02:26:08 CET] <BtbN> OpenBSD just lacks the security feature to protect against it
[02:26:08 CET] <oliv3> and Open does have mprotect(2)
[02:26:20 CET] <BtbN> It clearly is not working then
[02:29:34 CET] <oliv3> Ok, I'm AFK but still there, will be back later
[02:29:55 CET] <oliv3> Will ask to friends @ :)
[02:30:18 CET] <oliv3> Thanks !
[22:13:23 CET] <fSharp> hello, youtube-dl rejects the download for the video name being too long. is there a parameter that I can get it ignored?
[22:14:33 CET] <JEEB> I think youtube-dl does downloading 100% by itself. it may call ffmpeg.c (the command line API client) afterwards
[22:15:58 CET] <fSharp> so how can I overwrite this length limit?
[22:17:33 CET] <JEEB> try to make sure where the issue lies - if it's youtube-dl itself you go ask youtube-dl developers
[22:41:41 CET] <fella> fSharp: try 'youtube-dl -o short.name URL'
[22:42:26 CET] <fella> .. and/or share that url .. i'm curious now
[22:45:01 CET] <fSharp> fella, yes, I was waiting for the download to end to see if it worked..I used -o with a different addition; youtube-dl -o "$HOME/Videos/%(somename)s-%(videoID)s.%(mp4)s" 'https://vimeo.com/videoID'
[22:45:32 CET] <fSharp> found the solution here; https://askubuntu.com/questions/923814/how-to-fix-youtube-dl-error-unable-to-open-for-writing-errno-21-is-a-direct
[22:47:24 CET] <fSharp> fella, your solution works, too, and much shorter :(
[22:47:28 CET] <fSharp> oops :)
[22:47:31 CET] <fSharp> thank you!
[22:47:46 CET] <fella> lol - output filename actually means filename not path -- 'Kind of counter-intuitive.'
[22:48:42 CET] <fella> fSharp: yw - still curious about that video you dl'd since i never ran into this problem
[22:49:32 CET] <fSharp> fella, https://vimeo.com/9690833
[22:49:43 CET] <fella> ty :)
[22:51:29 CET] <fella> download] Destination: 'HER NAME' Official Music Video - TayF3rd & Mario C [Direct
[22:51:33 CET] <fella> r - Mitch Lemos]-9690833.mp4
[22:51:53 CET] <fella> doesn't seem to be that long though!?
[22:52:35 CET] <fSharp> seems it is for my installed youtube-dl
[22:53:16 CET] <fella> have you tried with '--restrict-ascii'
[22:53:49 CET] <fella> have you tried with '--restrict-filenames'
[22:53:52 CET] <fella> sry
[22:53:53 CET] <fSharp> hm, no
[22:54:51 CET] <fSharp> fella, that didn't work, either
[22:54:57 CET] <fella> kk
[23:17:56 CET] <fSharp> fella, thank you again, for your help, take care!
[00:00:00 CET] --- Thu Dec 27 2018
More information about the Ffmpeg-devel-irc
mailing list