News for hackers. Stuff that matters.
Re:IINA – A modern video player for macOS by TheAceOfHearts on Friday January 06, 2017 @08:26PM (#13341845)
I'm gonna be trying it out, since another commenter mentioned it's powered by mpv. Although, as I have very basic requirements, I'm already perfectly content with starting up mpv from the cli or by using mpv.app.

If you try this out and feel like it's not what you're looking for, I'd suggest trying out mpv [0] directly.

It integrates youtube-dl [1], so you can easily watch YouTube, as well as from the other hundreds of sources they support, very easily. For example:

    mpv "https://www.youtube.com/watch?v=dQw4w9WgXcQ"

The most recent macOS update brought a picture-in-picture feature, where you could keep videos playing on top of everything else in one side of the screen. With mpv you can get a close approximation by using the "--ontop" flag. Although admittedly it's not quite as nice as the new built-in feature.

And a bit tangential to the whole thing, I found mpv's C API [2] to be very approachable and well documented.

[0] https://mpv.io/

[1] https://rg3.github.io/youtube-dl/

[2] https://github.com/mpv-player/mpv/blob/master/libmpv/client....

Re:IINA – A modern video player for macOS by ubercow on Friday January 06, 2017 @06:58PM (#13341459)
Looks like this is powered by mpv, which is handling all the media parsing and playback, which is awesome.

I've been wanting "mpv with a modern UI for years now for mac" for years now.

Re:IINA – A modern video player for macOS by sashk on Friday January 06, 2017 @08:33PM (#13341870)
Well, you can use mpv now -- build using homebrew and then make a config file (yeah, config file sucks, but then you get something you want) :)

    brew install mpv
Re:IINA – A modern video player for macOS by ubercow on Monday January 09, 2017 @06:53PM (#13361158)
I've been using mpv from the command line for as long as I can remember. Config file synced with the rest of my dotfiles.

The killer feature here is the modern native UI.

Re:IINA – A modern video player for macOS by rubberbandage on Friday January 06, 2017 @05:55PM (#13341074)
Looks really nice! I just played back a 1080p / 5.1 AC3 file, a 4K 5.1 DTS-HD file, and an audio ALAC file completely seamlessly. Only complaint so far is the playlist sidebar slid in from the side with every new track, obscuring 1/3rd of the content, and I kept having to manually dismiss it.
Re:IINA – A modern video player for macOS by mmastrac on Friday January 06, 2017 @07:17PM (#13341552)
Good to see VLC get some competition. VLC has a pretty decent UI (assuming you don't end up in settings hell), but hasn't really evolved to match modern software design. A reasonable competitor could light a bit of fire under them to get that fixed.

Edit: tried it out with some streaming media. Buffering seems to be more intelligent that VLC (saner default). It is really pretty UI too. Great start for a project.

Re:IINA – A modern video player for macOS by khedoros1 on Friday January 06, 2017 @07:51PM (#13341697)
> A reasonable competitor could light a bit of fire under them to get that fixed.

Is there anything in particular that you'd have them change?

Re:IINA – A modern video player for macOS by mmastrac on Friday January 06, 2017 @07:58PM (#13341725)
> Is there anything in particular that you'd have them change?

I'm no UI/UX expect, but here's my impression of deficiencies (as a fairly heavy VLC user)

- Media player default window is super busy. I rarely use any of those options. - Audio/subtitle sync is tricky. There are keybindings but I can never remember them. - Open dialog is really complex for what you are usually wanting to do - Preferences is just crazy. It used to be tough to configure caching, but that seems to be fixed now (cool!)

The VLC UI is a lot better than it used to be in fairness, but it still has a ways to go before I'd consider it to be modern and clean.

Re:IINA – A modern video player for macOS by khedoros1 on Saturday January 07, 2017 @01:27AM (#13342672)
I'd be a fan of maybe reorganizing the options, but the flexibility of the software is the reason that I use it over other players.

I like the idea of a cleaner interface, but if the choice turns out to be between a cleaner interface and the number of options in the software, I'll stick with the version with the ugly UI until it stops working.

And that's really what I'm afraid of. Most things that get labeled "modern and clean" are programs that I think of as "insufficient and featureless", and they're the ones that I abandon. I don't want to abandon VLC; it's been my good friend for 10 or 11 years, at this point.

Re:IINA – A modern video player for macOS by JCBird1012 on Saturday January 07, 2017 @05:33PM (#13347051)
Another thing that irks me is the inconsistency of VLC's UX/UI from Windows/Linux and MacOS.

In my experience, VLC on MacOS feels rather unpolished compared to the Windows/Linux variants (maybe because they're using Qt and MacOS presumably isn't) but I've generally always have had a smoother experience with VLC on Windows and Linux as opposed to Mac from everything from playing local files to streaming over the network.

Re:IINA – A modern video player for macOS by pram on Friday January 06, 2017 @08:04PM (#13341748)
Only one video can be open at a time by default.
Re:IINA – A modern video player for macOS by khedoros1 on Saturday January 07, 2017 @01:35AM (#13342684)
I'd never considered that a shortcoming before, and it is just a single option to change if you don't like the behavior.
Re:IINA – A modern video player for macOS by peterburkimsher on Saturday January 07, 2017 @02:13AM (#13342811)
Feature suggestion: multiple subtitles, and subtitle time shifting.

It's theoretically possible in VLC, but failing after half an hour of trying to get the settings to work led to the movie being shown without any subtitles. This was for a group discussion, with mixed English & Chinese native speakers. It's publicly embarrassing for everyone, and I'm planning to write my own app to just show subtitles so this might work next time.

Re:IINA – A modern video player for macOS by manojlds on Friday January 06, 2017 @11:44PM (#13342407)
I looked at the screenshots, and I am not sure what's more modern about it than VLC. Only thing attracting in the screens is the video being played.
Re:IINA – A modern video player for macOS by jgh on Friday January 06, 2017 @08:46PM (#13341918)
Supported formats would be good information on the website, also signing the app.
Re:IINA – A modern video player for macOS by nkkollaw on Friday January 06, 2017 @07:01PM (#13341472)
Looks great!

You have a typo on your homepage, though. "A more stable release should be able in one month." should probably be "A more stable release should be available in one month."

Re:IINA – A modern video player for macOS by khazhou on Friday January 06, 2017 @09:37PM (#13342081)
I looked at the docs but it's unclear what "modern" refers to? Does it just mean it's new?
Re:IINA – A modern video player for macOS by aorth on Saturday January 07, 2017 @09:19AM (#13344239)
Perhaps: it is written in Swift and supports the touch bar on the new MacBook Pros.
Re:IINA – A modern video player for macOS by aq3cn on Saturday January 07, 2017 @05:57AM (#13343456)
PotPlayer is my favorite media+music player. Inbuilt file seeking interface like potplayer in IINA can be helpful.

Pinning playlist in front to drag and drop additional files is also required.

Support to take screen shot without quality loss.

Any plan to support mp3/flac files?

Thanks for this great app, looking forward for stable release.

Re:IINA – A modern video player for macOS by soneil on Sunday January 08, 2017 @10:21AM (#13350005)
Works well so far.

Only complaint - it doesn't prevent the screensaver. That does seem like it should be a given.

Re:IINA – A modern video player for macOS by themihai on Friday January 06, 2017 @06:28PM (#13341274)
How is this pure swift? What about the codecs?
Re:IINA – A modern video player for macOS by eridius on Friday January 06, 2017 @07:23PM (#13341576)
I would assume they mean every line of code in IINA is Swift code. It's using libraries which are presumably not written in Swift, but you could make the same argument about literally every Swift program ever (even if they don't use Foundation, they'll at least be using libc and that's obviously not written in Swift).
Re:IINA – A modern video player for macOS by themihai on Monday January 09, 2017 @05:30AM (#13355336)
I can't agree with that. If you develop a videoplayer and you state it's pure Swift I think it's fair to assume the codecs and other core components (i.e. dsp) of the said player are not imported C libs. How can it be pure Swift if it imports C libraries? The std library and toolchain(i.e runtime) may make an exception because these are usually portable, maintained by the language authors and invisible to the end developer so I think your libc argument is not valid.
Re:IINA – A modern video player for macOS by eridius on Monday January 09, 2017 @01:25PM (#13358469)
If you developed the libraries yourself, then you have a point. But if you're using someone else's library, which they maintain, then it seems reasonable to say your application is pure Swift.

Note that there's a difference between saying "my application is pure Swift" and "everything is pure Swift". If you're trying to make an argument about safety (as happens when people talk about writing things in Rust), then having the libraries written in that language is important. If you're just trying to say "this is a modern codebase using the latest tooling and APIs", then all that matters is the code you wrote, and not the pre-existing libraries that you link to.

Re:IINA – A modern video player for macOS by themihai on Tuesday January 10, 2017 @12:36PM (#13366808)
You turn this into a blame game. If it's pure Swift then 100% of its source code should be Swift. This particular repository is mixed with C libs.

From the dictionary:

Pure - not mixed or adulterated with any other substance or material.

Re:IINA – A modern video player for macOS by eridius on Tuesday January 10, 2017 @02:01PM (#13367801)
So, everything has to be Swift, except for the libraries that you personally have decided don't matter (such as libc)? That's not a very useful definition.