[  3  /  a  /  adv  /  an  /  c  /  cgl  /  ck  /  cm  /  co  /  diy  /  fa  /  fit  /  g  /  i  /  ic  /  jp  /  k  /  lit  /  m  /  mlp  /  mu  /  n  /  o  /  p  /  po  /  q  /  sci  /  sp  /  tg  /  toy  /  trv  /  tv  /  v  /  vg  /  vp  /  w  /  wg  /  wsg  /  x  ]

/g/ Technology

Warning: All the content of this page originally come from 4chan.org. This is only a partial archive made to avoid destruction. Some posts and images may be missing. All the messages below have been posted by anonymous users and we do not guarantee any truth of what they said.
For any illegal content, please contact me so that I can immediatly destroy it!

Anonymous 2015-03-22 19:59:05 No.47144933

[Missing image file: ]

http://mpv.io
bakamplayer.u8sand.net
https://github.com/mpv-player/mpv

Questions, suggestions, news, etc.


>>
Anonymous 2015-03-22 20:02:08 No.47144982
Hi haasn. Shouts out to rossy.

>>
Anonymous 2015-03-22 20:02:11 No.47144983
``/g/ is my personal devblog, wiki and bug tracker (also, my favourite anime is Cross Ange ^__^)'' -- mpv devs.

>>
Anonymous 2015-03-22 20:04:32 No.47145021
>>47144933
gimme ideas for lua scripts, I'm in the mood but have got no useful stuff in mind

>>
Anonymous 2015-03-22 20:05:08 No.47145033
>>47144933 (OP)

This guy has a question:

>>47143317

>>
Anonymous 2015-03-22 20:48:21 No.47145677
>>47145021
Would it be possible to make a script that takes a youtube url like this.

youtube.com/watch?v=mghhLqu31cQ#t=172
or
youtube.com/watch?v=mghhLqu31cQ#t=2m52

and takes the #t=172 and changes it to --start 2:52 so the video plays in the right place?

>>
Anonymous 2015-03-22 20:49:45 No.47145695
>>47144982
If it was Haasn he would have linked to his own repository.

>>
Anonymous 2015-03-22 20:51:18 No.47145716
>>47145677
probably, let me look into it

I think this will be a sloppy hack though and should really be supported by the ytdl_hook script itself

>>
Anonymous 2015-03-22 21:19:04 No.47146134
>>47145677
shouldnt be too hard to hack one up, just parse the url for #t=\d* and translate the result into an mpv argument

>>
Anonymous 2015-03-22 21:21:43 No.47146182
>>47144982
I don't know who makes these threads, but it can't have been me - I was sleeping.

>>47145021
You need to make a script that detects aspect ratio on scene changes and adjusts the crop to compensate.

Some movies switch between 16:9 and 21:9 during the course of a film, and the unnecessary black borders are triggering me.

>>
Anonymous 2015-03-22 21:22:44 No.47146205
I actually just upgraded my system from Fedora 20 to Fedora 21 this afternoon, and the right-click contextual menu "Open with mpv" on video files is broken now. I'm rebuilding it from source but I don't know what caused this.

>>
Anonymous 2015-03-22 21:25:52 No.47146252
>>47146205
I recently upgraded to 21 too. Never had that problem but for some reason my bookmarks in nautilus shuffle whenever I try to arrange them and I can't figure out to fix it, it's really annoying.

>>
Anonymous 2015-03-22 21:26:33 No.47146264
>>47146205

Rebuild just finished and the problem is now fixed. That was weird.

>>
Anonymous 2015-03-22 21:27:45 No.47146284
>>47145677
>>47145716
done
http://pastebin.com/mRCc62RF

but this only works for #t=num and not for #t=3m20s or the likes

>>
Anonymous 2015-03-22 21:28:54 No.47146309
>>47146205
>Fedora

>>
Anonymous 2015-03-22 21:30:02 No.47146327
>>47146182
I think such a script already exists
https://github.com/mpv-player/mpv/blob/master/TOOLS/lua/autocrop.lua

>>
Anonymous 2015-03-22 21:33:46 No.47146388
Before my upgrade, I had a config file with these two mixing options set:

# profile for up-mixing two channels audio to six channels
# use -profile 2chto6ch to activate
#[2chto6ch]
#af-add=pan=6:1:0:.4:0:.6:2:0:1:0:.4:.6:2

# profile to down-mixing six channels audio to two channels
# use -profile 6chto2ch to activate
#[6chto2ch]
#af-add=pan=2:0.7:0:0:0.7:0.5:0:0:0.5:0.6:0.6:0:0


But these don't work with the current version. Anyone know what the equivalent commands are now?

>>
Anonymous 2015-03-22 21:36:34 No.47146422
>>47146284
Thanks a lot. I think most people share links in the 3m20 format but at least you can easily read the url and just seek there. It was kind of annoying before to get a url to a long video and have the time written as 3412 and having to figure out the correct time. It would be great if this kind of thing was default functionality though.

>>
Anonymous 2015-03-22 21:39:15 No.47146455
>>47146327
I'm using that one, but it doesn't re-crop on scene changes - so I still end up having to either adjust the crop constantly, or watching half the movie with four black bars and half the movie with two.

>>
Anonymous 2015-03-22 21:43:15 No.47146525
>>47145021
Make a script that automatically skips chapters if they're called “OP” or “Opening”.

>>
Anonymous 2015-03-22 21:55:44 No.47146765
>>47146422
https://gist.github.com/Shudouken/0233126a99627be217a4

this should now handle both versions

>>
Anonymous 2015-03-22 22:07:47 No.47146990
>>47146765
Works great, thanks man. If I'm being very nit picky though it's also possible to link to videos by hour too e.g. 1h20m

>>
Anonymous 2015-03-22 22:12:58 No.47147088
>>47146765
If you care, I discovered why your convert script didn't fully works on Os X (I'm not sure if an universal fix exixsts tho).

>>
Anonymous 2015-03-22 22:19:28 No.47147211
>>47147088
sure, tell me, I don't use Os X so I can't try it out

>>47146990
on it

>>
Anonymous 2015-03-22 22:26:52 No.47147352
>>47147211
I don't know why, but it seems that for some reason when mpv is started by double clicking a file, the script doesn't find the ffmpeg executable; solved by using ffmpeg's full path in the script's command.
The problem is: I have ffmpeg installed via homebrew (a package manager for Os X), and its location is /usr/local/bin/ffmpeg, but I don't actually know if that path is or isn't the same using other install's methods.

>>
Anonymous 2015-03-22 22:29:44 No.47147408
>>47146765
It's probably easier to iterate the parameter string backwards and sum the numbers, multiplying them by 60^x depending on the last character (s/m/h) you came across.
Maybe with some kind of array for x: a[s]=0, a[m]=1... don't know any Lua, though.

>>
Anonymous 2015-03-22 22:31:43 No.47147451
>>47147352
echo $PATH

>>
Anonymous 2015-03-22 22:32:08 No.47147458
>>47147408
yes, I've already switched to an array

>>
Anonymous 2015-03-22 22:33:04 No.47147479
>>47147451
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin

>>
Anonymous 2015-03-22 22:33:10 No.47147480
I asked on another thread, how can I make mpv look for fonts on the video folder?

>>
Anonymous 2015-03-22 22:33:53 No.47147495
>>47147479
hash -r

>>
Anonymous 2015-03-22 22:34:43 No.47147512
>>47147479
Does it work if you start mpv from the terminal, just not if you start it from the WM?

>>
Anonymous 2015-03-22 22:35:00 No.47147514
>>47147352
>I don't know why, but it seems that for some reason when mpv is started by double clicking a file, the script doesn't find the ffmpeg executable
GUI apps (and double clicking launches mpv as such) on OSX don't get your PATH supplied, your .bashrc (or whatever else) is simply not read. The default PATH does not know about /usr/local, so ffmpeg is never found.
There are dedicated places to define the PATH for GUI applications (e.g. /etc/paths.d) but it is recommended not to mess with the GUI app path because quite a few applications rely on the default stuff found there (like older python versions or libraries).

>>
Anonymous 2015-03-22 22:35:24 No.47147524
>>47147512
Yep.

>>
Anonymous 2015-03-22 22:35:40 No.47147529
>Memplayer general

>>
Anonymous 2015-03-22 22:36:28 No.47147547
>>47147524
Then yeah, what >>47147514 said.

>>
Anonymous 2015-03-22 22:36:55 No.47147555
>>47147514
Oh, I see. Good to know, thank you for the explanation.

>>
Anonymous 2015-03-22 22:38:38 No.47147582
>>47147529
fug :DDD

>>
Anonymous 2015-03-22 22:57:58 No.47147915
>>47144983
fuck you Cross Ange is amazing

>>
Anonymous 2015-03-22 23:03:23 No.47147987
>>47146990
https://gist.github.com/Shudouken/0233126a99627be217a4

it's a little ugly imho but it works
mpv "https://www.youtube.com/watch?v=x7gE_f6tCwU&t=1h2m14s"

>>
Anonymous 2015-03-22 23:06:45 No.47148033
Why choose this over MPC-HC?

>>
Anonymous 2015-03-22 23:07:45 No.47148049
>>47148033
it's free software

>>
Anonymous 2015-03-22 23:08:23 No.47148059
>>47148049
Is that really the only thing?

>>
Anonymous 2015-03-22 23:09:39 No.47148082
>>47148033
Because MPC-HC is a bloated hack that only works on Windows.

>>
Anonymous 2015-03-22 23:10:35 No.47148099
>>47148059
no, but that's the thing that should be most important to you

>>
Anonymous 2015-03-22 23:11:58 No.47148117
>>47147987
perfect <3

>>
Anonymous 2015-03-22 23:12:20 No.47148123
>>47148082
>MPC-HC bloated

>>
Anonymous 2015-03-22 23:14:36 No.47148156
>>47148082
>mpv doesn't have ancient mplayer bloat
>mpv doesn't try to be an encoder, too
>mpv on Windows isn't more than double the size of mpc-hc

>>
Anonymous 2015-03-22 23:20:48 No.47148255
>download notepad++
>download MPV source code
>reading through the MPV source code
>mfw I don't know a single thing about programming and I wonder why I'm reading through MPV source code

That was my strenuous brain activity for today. Back to shitposting on /g/ now

>>
Anonymous 2015-03-22 23:22:57 No.47148292
>>47148033

>faster
>less bloat
>less cpu/ram usage
>simpler
>easier to use

Have you used MPC with KCP? Total mess of options and options, menus and menus. When you play a file, like 5 extra programs run, many with their own options and menus, which sometimes overlap with MPC. It works, but it just feels like such a cobbled together mess.

>>
Anonymous 2015-03-22 23:23:54 No.47148304
>>47148255
if you do, check out video/out/gl_video.c

that's my favorite part!!

>>
Anonymous 2015-03-22 23:24:43 No.47148316
>>47148292
In MPC-HC you can press 1,2 and 3 on your keyboard to change they layout. Can you do that on mpv?

>>
Anonymous 2015-03-22 23:26:11 No.47148336
>>47148316
Sure, if you bind the keys that way

>>
Anonymous 2015-03-22 23:26:41 No.47148342
>>47148316
>layout
:^)

>>
Anonymous 2015-03-22 23:26:41 No.47148343
>>47148117
youtube-dl devs want to add this too btw, so one day you might be able to run this natively

>>
Anonymous 2015-03-22 23:30:52 No.47148400
Is there a Wangblows frontend for youtube-dl yet?

PREFERABLY ONE THAT DOESN'T REQUIRE YOU TO INSTALL FUCKING PYTHON ON YOUR SYSTEM FOR ONE PROGRAM

>>
Anonymous 2015-03-22 23:32:11 No.47148428
>>47148400
I highly doubt it, since youtube-dl itself is written in python

>>
Anonymous 2015-03-22 23:33:17 No.47148445
>>47148400
why the fuck would you need a front-end for youtube-dl?

youtube-dl URL

seriously what could be easier??

>>
Anonymous 2015-03-22 23:34:17 No.47148463
>>47148400
Is windows so bad at packaging that people constantly rage about effort involved to install one simple program?

emerge youtube-dl
wow so fucking hard

tell me more about your superior OS

>>
Anonymous 2015-03-22 23:36:45 No.47148496
I like mpv, but I like a frontend too?

I wanna use bakamplayer yo, but I want it ta look mo' like mpv

>mpv's superior osd
>mpv style behavior for right clicking in fullscreen and not full screen

It uses mpv right click for pausing normally, but in full screen it brings up a menu. .

>>
Anonymous 2015-03-22 23:39:50 No.47148538
>>47148496
better fork bakamplayer and make it more like you want

>>
Anonymous 2015-03-22 23:40:08 No.47148541
>>47148463
I don't think wangblows is superior but I'm too dumb to use Linux

>>
Anonymous 2015-03-22 23:41:39 No.47148560
>>47148538

nuttin I can do in the config dawg?

>>
Anonymous 2015-03-22 23:41:57 No.47148562
there's literally no reason to download mpv instead of MPC (windows) or VLC (linux)

it's bloated, slow, and lacks support. basically the worst parts of MPC and VLC combined into one shitty player

>>
Anonymous 2015-03-22 23:48:46 No.47148669
>>47148562
>it's bloated, slow,

It's lightning fast for opening files compared to vlc and mpc.

>>
Anonymous 2015-03-22 23:50:23 No.47148693
>>47148562
Good meme

>>
Anonymous 2015-03-22 23:52:00 No.47148719
>>47148562
>it's bloated, slow, and lacks support.
you're right, that does sound like a player I know :^)

>>
Anonymous 2015-03-23 00:09:11 No.47148964
>>47148156
>>mpv on Windows isn't more than double the size of mpc-hc
Remember to measure the size of MPC-HC, LAV, and madVR, since mpv is a replacement for all these things.

>>
Anonymous 2015-03-23 00:11:41 No.47148993
>>47148964
Also ffmpeg, since it can encode things too

>>
Anonymous 2015-03-23 01:02:19 No.47149626
>>47147915
fucking casual

>>
Anonymous 2015-03-23 01:09:32 No.47149711
>>47148156
>>mpv doesn't have ancient mplayer bloat

they're working on getting rid of that and modernizing it.

>>
Anonymous 2015-03-23 01:12:54 No.47149759
>>47146388
Check the manual, not the stable one but the daily one

>>
Anonymous 2015-03-23 01:13:01 No.47149760
>>47147987
these aren't working for me. script loads and log says
Set property string: file-local-options/start='0'
on Windows btw trying this link
https://youtu.be/BCDZf806-RI?t=8m53s
I tried changing the string find to "youtu" but it still sets it the start to 0

>>
Anonymous 2015-03-23 01:26:07 No.47149928
>>47149760
?t= is a thing too?
the script only works with #t= and &t=
gonna put up a fix for it soon, along with some other fixes

>>
Anonymous 2015-03-23 01:28:15 No.47149964
>>47149928
oh, duh. I should have seen that."

>>
Anonymous 2015-03-23 01:34:58 No.47150073
>>47149964
https://gist.github.com/Shudouken/0233126a99627be217a4

here's a version with some fixes

>>
Anonymous 2015-03-23 01:36:09 No.47150094
>>47150073
neat

>>
Anonymous 2015-03-23 01:40:58 No.47150179
>>47149928
No Webdev guy, but afaik it's basically sort of a convention to start parameter lists with ? and concat different parameters after that with something like &.
At least in the "good old" PHP days it was kind of like that.

>>
Anonymous 2015-03-23 01:43:33 No.47150220
>>47150073
when playing other files:
[youtube_starttime] stack traceback:
[youtube_starttime] [C]: at 0x7ff74c7563f0
[youtube_starttime] Lua error: ...\micah\AppData\Roaming/mpv/scripts/youtube-starttime.lua:9: invalid escape sequence near '"youtu'

>>
Anonymous 2015-03-23 01:50:15 No.47150304
>>47148964
LAV is part of mpc-hc since ~2 years.

Even with madvr, mpv is way bigger, lacks a GUI nor uses many Win APIs. (smoothmotion needs manual framerate)

>>47148993
LAV only uses the decoding parts, so no you can't encode

>>
Anonymous 2015-03-23 01:50:27 No.47150312
>>47150220
what file did you play? can't reproduce the error
does it have youtu or youtube in the file name?

>>
Anonymous 2015-03-23 01:50:50 No.47150315
>>47150073
Some criticism, you should be a bit more specific in the detection of applicable urls. That script would still trigger on direct youtube links you get with youtube-dl -g and mess things up a bit. Relevant for use cases such as mozplugger or mps-youtube (anything that does the youtube handling by itself)

>>
Anonymous 2015-03-23 01:50:57 No.47150317
>>47150304
The manual framerate was fixed in the last stable release

>>
Anonymous 2015-03-23 01:52:29 No.47150338
>>47150312
it is a local flac file.

>>
Anonymous 2015-03-23 01:54:53 No.47150363
https://github.com/mpv-player/mpv/issues/1191

I realize it's Mutter's problem, but my other players can cope. Wrong attitude.

>>
Anonymous 2015-03-23 01:56:02 No.47150380
>>47150304
My MPC-HC and madVR install clocks in at 63 MB, my mpv install at 46.7 MB

>>
Anonymous 2015-03-23 01:56:09 No.47150386
>>47150312
and no, youtu* is not in the name or path

>>
Anonymous 2015-03-23 01:56:18 No.47150391
>>47150315
I noticed this, reintroduced the check for #, & or ? before the t instead of just t=number
https://gist.github.com/Shudouken/0233126a99627be217a4

should be fixed now

>>47150338
try and remove the \.? from line 9, I guess your lua version doesn't like regex? what's the flac file called?

>>
Anonymous 2015-03-23 01:59:20 No.47150430
>>47150317
LOL, those changelogs
so mpv is still fixing basic bugs on Windows
https://github.com/mpv-player/mpv/issues?q=label%3Ams-windows

>>
Anonymous 2015-03-23 01:59:51 No.47150437
>>47148400
1. Install chocolatey
2. choco install python
3. ????
4. Profit!
Wow so hard.

>>47150363
That bug has been fixed in gnome upstream. Install gentoo.

>>
Anonymous 2015-03-23 02:01:26 No.47150456
Is the latest thing by mpc fags sullying the devs? Because I'm tired of it.

>>
Anonymous 2015-03-23 02:05:55 No.47150496
>>47150430
They aren't basic bugs, it's rather the incompatibility between the *nix way and the Windows ways, the reason why they hadn't fixed the manual refresh rate setting was because the Windows API doesn't provide precise refresh rates, they finally decided to half ass it just like madshi
>>47150456
MPC-HC fags are the new VLC fags, they have little if any idea of what's the problem with VLC and only switched because /g/ told them to a zillion times

>>
Anonymous 2015-03-23 02:06:30 No.47150503
>>47144933
just uninstalled mplayer2 and installed mpv the other day because the gentoo overlords recommended it

Just posting this for any person that hasn't made the switch yet. Just uninstall mplayer2, alias mplayer2 to mpv, get rid of any -zoom flags you have, add --osd-fractions --reset-on-next-file="" to retain pausing and <second time and you will barely be able to tell the difference.

Anything that is different is a welcome change (like the text colourizing).

>>
Anonymous 2015-03-23 02:13:30 No.47150586
>>47150220
>>47150391
>\.? from line 9
actually that backslash was useless and it should just be .?
https://gist.github.com/Shudouken/0233126a99627be217a4

>>
Anonymous 2015-03-23 02:13:40 No.47150587
>>47150437
>That bug has been fixed in gnome upstream. Install gentoo.
It isnt' fixed in upstream's stable branch nor would it be the end of the world for some niche video-player to implement a workaround, which can push updates far more easily than a DE.

>>47150496
>They aren't basic bugs, it's rather the incompatibility between the *nix way and the Windows ways, the reason why they hadn't fixed the manual refresh rate setting was because the Windows API doesn't provide precise refresh rates, they finally decided to half ass it just like madshi
Not true. mpv wants to support Windows XP and not use Vista APIs.

I guess they aren't basic bugs when one considers that mpv neither works well in the second most common Linux DE - Gnome 3. Having broken resize/fullscreen are advanced Linux features, so Windows users shouldn't expect more.

>>
Anonymous 2015-03-23 02:47:36 No.47151028
Is mplayer 1/2 even relevant anymore?

>>
Anonymous 2015-03-23 02:54:31 No.47151123
>>47151028
Yes. They even have a label for it.
https://github.com/mpv-player/mpv/issues?q=is%3Aissue+label%3A%22spacebar+heating%22

>>
Anonymous 2015-03-23 03:52:53 No.47151903
>>47150304
>LAV only uses the decoding parts, so no you can't encode
mpv can, though

>>
Anonymous 2015-03-23 03:56:23 No.47151947
>>47151903
Not him, but I'm pretty sure mpv just calls ffmpeg to encode. Why is that even a feature though? Seems like pointless bloat.

>>
Anonymous 2015-03-23 04:01:03 No.47152016
>>47151947
>Not him, but I'm pretty sure mpv just calls ffmpeg to encode.
Yes, but my point here is that if you want a size-based comparison between mpv and a feature-paired solution on Magrosert Wangblows, it's another feature worth accounting for.

>Why is that even a feature though? Seems like pointless bloat.
Well, IMO it's like a screenshot feature - except instead of taking a screenshot you're recording a short clip instead. Both of those ultimately go through libavcodec, after all, whether it's the H.264 or the PNG encoder.

It has some merits:
1. subtitles (as rendered by mpv) can be included in the output
2. it profits from mpv's video filters, eg. deinterlacing
3. lets you quickly and easily record one-off clips (eg. for small weebums you want to post to 4chan for shits and giggles), eg. see the script made by some /g/ user that people keep posting

>>
Anonymous 2015-03-23 06:05:43 No.47153343
What should my next priority be?

1. custom pixel shaders
2. sphinx interpolation
3. customizable window function selection
4. framestepping+interpolation

I wonder which has the most interest.

>>
Anonymous 2015-03-23 06:13:18 No.47153413
Bakamplayer looks completely pointless and gay

>>
Anonymous 2015-03-23 06:16:59 No.47153440
>>47153413
all GUIs are completely pointless and gay

>>
Anonymous 2015-03-23 06:17:25 No.47153445
>>47151028
Sure. mpv is very, very niche.
mplayer2 dev is dead tho.
https://qa.debian.org/popcon.php?package=mplayer
https://qa.debian.org/popcon.php?package=mplayer2
https://qa.debian.org/popcon.php?package=mpv

>>
Anonymous 2015-03-23 06:19:54 No.47153460
>>47153343
Pixel shaders or sphinx.

>>47153413
What do you expect? It's for idiots.

>>
Anonymous 2015-03-23 06:23:31 No.47153489
Anyone else having issues with fullscreen mode taking up way too much CPU usage on Windows?

>>
Anonymous 2015-03-23 06:27:09 No.47153511
>>47153445
Case in point:
Intel gfx devs still use mplayer to test libva:
http://article.gmane.org/gmane.comp.freedesktop.xorg.drivers.intel/51896

>>
Anonymous 2015-03-23 06:27:16 No.47153514
>>47153343
Sphinx

>>
Anonymous 2015-03-23 06:28:44 No.47153522
>>47153445
>mplayer will turn into a virtual package during your lifetime.
feels good.

>>
Anonymous 2015-03-23 06:36:11 No.47153574
I installed the PPA for Ubuntu ( https://launchpad.net/~mc3man/+archive/ubuntu/mpv-tests ) to use it on Linux Mint 17.1.

1. How good is the default configuration compared to MPC-HC + madVR default, and to MPC-HC + madVR with "high quality" settings (JInc 3 tapes with anti-ringing for chroma and image upscaling, smooth motion on)?

2. My computer has hybrid graphics (which I hate since they have only given problems to me, in WIndows too; fuck Intel integrated graphics, I do not want them--but they can't be disabled), which seems to make NVIDIA GPUs to work with tearing on Linux you like it or not ( https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1260128 ), so I can only use Intel HD Graphics (4600). I don't play games. I just want to watch my Chinese cartoons. Does any of you happen to know any solution? What about bumblebee? And If I use Intel HD Graphics I can't expect it too handle much more than the default configuration, right?

I'm the king of newfags regarding Linux.

>>
Anonymous 2015-03-23 06:45:12 No.47153652
>>47153574
The defaults are good, but not really comparable to MPC-HC+madVR. I'm not sure about your hardware issues or how graphically intensive each config setting is. You'll just have to try stuff and see if you start dropping frames, I guess.

>>
Anonymous 2015-03-23 06:53:53 No.47153723
>>47153574
My HD3000 can do spline64 scaling for both luma and chroma, and 256x256x128 3dlut with smoothmotion, you probably could manage somewhat better than me

>>
Anonymous 2015-03-23 07:12:09 No.47153872
>>47153574
mpv has more than smoothmotion. Add
vo=opengl-hq:scale=ewa_lanczos:cscale=ewa_lanczos:tscale=mitchell
to you're ~/.mpv/mpv.conf. You can find all the scalers available to you atmpv --vo=opengl-hq:scale=help

Oh, if you're using a compositor other than compton, turn off compositing and your second monitor to remove tearing completely.

>>
Anonymous 2015-03-23 07:53:48 No.47154176
>>47153460
>>47153514
I implemented sphinx but I don't really like the result.

There's not a huge difference between swa_lanczos and ewa_lanczos×lanczos, except of course that the former is criminally slow.

Also, tscale=lanczos rings way too much; I can try adding planar-only antiringing support to sphinx to salvage it somewhat but it seems a bit pointless.

Maybe somebody else can play around with it, but as the code is right now I'm not sure if it's even worth the extra complexity.

>>
Anonymous 2015-03-23 07:56:54 No.47154199
>>47153343
3 and 4

>>
Anonymous 2015-03-23 08:01:17 No.47154221
What are the best MPV settings for Wangblows and a Radeon 7870?

Current using this:

vo=opengl-hq:smoothmotion:scale=ewa_lanczossharp:scale-antiring=0.5:

>>
Anonymous 2015-03-23 08:06:00 No.47154246
>>47154176
Upon playing around with it some more, it seems like it really only works nicely at radius 2, so I might as well hard-code it to that. I see some very subtle improvements to a “moving line at 55 Hz” worst-case scenario when using it with radius 2.

At radius 3 and beyond it just rings too much and is also terribly slow. The caveat of course is that this way you only get radius 2 upscaling, which will probably look still worse than ewa_lanczos+mitchell on real world content. Oh well.

>>
Anonymous 2015-03-23 08:17:01 No.47154313
>>47154246
I think I still won't include it in the code, though; since not only would it require additional effort on top of what I've already done (correct upscaling on queue underruns, documentation, some tweaks to cropping etc., cleanup) but it also has further caveats, such as the subtitles only being rendered at video res in blend-subtitles mode.

You can use it here if you want to, but I'm not going to touch it further.
https://github.com/haasn/mpv/commit/7d10c9b76f39bfd2fe606b8702b39888d117c685

>>
Anonymous 2015-03-23 08:52:45 No.47154566
>>47153489
I've heard of this issue before. mpv doesn't do anything different in fullscreen mode, but apparently when you call SwapBuffers with V-Sync on, some drivers wait for the VBlank event in kernel mode, which messes up Windows' CPU usage calculation.

>>
Anonymous 2015-03-23 09:10:52 No.47154695
The biggest piece of mpv-related news right now is probably the creation of libdcadec. There is now an accurate FOSS DTS-HD MA decoder. Nevcairiel and madshi approved. It's already supported by FFmpeg-git and it can be used in mpv. Hopefully it will also be used by LAV and eac3to in place of the ArcSoft decoder.

The dev seems pretty great. He rewrote the decoder in C and changed the licence to LGPLv2.1 to make it usable in FFmpeg. The code is exceptionally clean and well-commented. He's currently working with madshi's collection of DTS samples to make sure the decoder is perfect.

https://github.com/foo86/dcadec
https://github.com/foo86/dcadec/issues/8

IIRC the decoder isn't default in FFmpeg, so you might need this in your config to prioritise it over the internal FFmpeg one:
ad=lavc:libdcadec

>>
Anonymous 2015-03-23 09:10:52 No.47154696
>>47153872
Is Intel HD Graphics 4600 supposed to be able to handle that? Ewa_lanczos was Jinc, wasn't it?
Because I tried your settings and mpv works fine, no dropped frames. With an interlaced DVD film remuxed to Matroska too and it only showed 2 dropped frames.
These dropped frames are constantly being added to the previous existing amount for the video you opened, r-right? So it would mean that with that film the total amount of dropped frames was 2 then, right?
The screen I'm using right now for this computer is 1366x768. I suppose that's the reason, since it actually doesn't have to upscale things too much, right?

Is there a way to know if I'm actually melting my Intel HD Graphics or something? With CPU usage? I don't know if I'm asking something stupid now, but... is the scaling actually done by software (CPU) when you use Intel HD Graphics? If not, can it be done by software? Would it be slow?

Disclaimer: I'm pretty ignorant about all these as you should have guessed.

>>
Anonymous 2015-03-23 09:17:51 No.47154748
>>47154696
>Is Intel HD Graphics 4600 supposed to be able to handle that? Ewa_lanczos was Jinc, wasn't it?
mpv is much faster than madvr
> So it would mean that with that film the total amount of dropped frames was 2 then, right?
Yeah, it counts the frames dropped in the whole time, those were probably due to switching to fullscreen or something
>The screen I'm using right now for this computer is 1366x768. I suppose that's the reason, since it actually doesn't have to upscale things too much, right?
It's part of the reason
>Is there a way to know if I'm actually melting my Intel HD Graphics or something?
Shit's never going to melt, it will throttle itself before reaching dangerous temps, the temp should be near the same as the CPU temp, you can check it with any utility to check cpu temps
>is the scaling actually done by software (CPU) when you use Intel HD Graphics?
It's done by hardware, HD graphics actually has "cores" just like AMD/Nvidia, Intel calls them "Execution Units"
GMA used to implement some functions in software
>If not, can it be done by software? Would it be slow?
Yes, yes
AFAIK mpv doesn't have the scalers that it has on the opengl renderer implemented as software

>>
Anonymous 2015-03-23 09:23:47 No.47154790
>>47154748
Thank you very much. If I knew English words to express more gratitute, I would use them.

>>
Anonymous 2015-03-23 09:41:42 No.47154933
>http://mpv.io/installation/

Somebody fix that page. Holy hell, source code first under "Installation?" That's not installing, it's compiling.

Here, this is how it should look.

>>
Anonymous 2015-03-23 09:43:05 No.47154953
>>47154695
Sounds pretty cool. I'm running FFmpeg git, so I decided to test this on a DTS-MA track I got.

ad=lavc:libdcadec
[ad] Codec list:
[ad] lavc:dca (dts) - DCA (DTS Coherent Acoustics)
[ad] spdif:dts - libavformat/spdifenc audio pass-through decoder
[ad] Opening audio decoder lavc:dca
[ad] Requesting 1 threads for decoding.
[ad] Selected audio codec: DCA (DTS Coherent Acoustics) [lavc:dca]


ad=libdcadec:lavc
[ad] Codec list:
[ad] lavc:dca (dts) - DCA (DTS Coherent Acoustics)
[ad] spdif:dts - libavformat/spdifenc audio pass-through decoder
[ad] Opening audio decoder lavc:dca


no special --ad setting
[ad] Codec list:
[ad] lavc:dca (dts) - DCA (DTS Coherent Acoustics)
[ad] Opening audio decoder lavc:dca
[ad] Requesting 1 threads for decoding.
[ad] Selected audio codec: DCA (DTS Coherent Acoustics) [lavc:dca]


Since I see no difference, I guess that means it doesn't work?

>>
Anonymous 2015-03-23 09:45:08 No.47154973
>>47154696
>no dropped frames
Be careful about claiming this, since it's harder to verify than you might think.

The easiest way is to use :check-pattern=1-1 in your VO line, which will output warning messages whenever you dropped a frame.

>>
Anonymous 2015-03-23 09:45:14 No.47154975
>>47153343
Interpolation

>>
Anonymous 2015-03-23 09:46:37 No.47154989
>>47154748
>AFAIK mpv doesn't have the scalers that it has on the opengl renderer implemented as software
You can get jinc etc. as an avisynth filter, which you could potentially also port to vapoursynth.

>>
Anonymous 2015-03-23 09:48:48 No.47155013
>>47154953
It's in an external library. You have build libdcadec from source and compile FFmpeg with --enable-libdcadec

>>
Anonymous 2015-03-23 09:56:50 No.47155078
>>47154933
fix your fonts m8

>>
Anonymous 2015-03-23 09:59:57 No.47155103
>>47154933
>windows first
Heh. I don't think this is likely to happen, unless it did a UA sniffing thing to detect the OS you were actually using.







[  3  /  a  /  adv  /  an  /  c  /  cgl  /  ck  /  cm  /  co  /  diy  /  fa  /  fit  /  g  /  i  /  ic  /  jp  /  k  /  lit  /  m  /  mlp  /  mu  /  n  /  o  /  p  /  po  /  q  /  sci  /  sp  /  tg  /  toy  /  trv  /  tv  /  v  /  vg  /  vp  /  w  /  wg  /  wsg  /  x  ]

Contact me | All the content on this website come from 4chan.org. All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.

Dofus quêtes

Page loaded in 0.027808 seconds.