News for hackers. Stuff that matters.
Re:VLC 2.1.0 by jbk on Wednesday September 25, 2013 @07:21PM (#6447988)
So, this is our new major release, and I'm going to share some stuff that should fit better the audience here on HN, and that are not part of the main announcement :)

First, this is a release that fixes some important architecture mistakes we've done in 2.0.x branch of VLC. I'm notably speaking of the lag in reactivity, notably on volume change (that was shared on the mpv thread) and seeking, but also some grave video settings propagation. I wish we could have fixed and shipped that earlier, but we couldn't (long release cycle).

Then, this is the first official release of libVLC that is LGPL for most of what you need as a developer, including the right modules. SDKs for Win32/64, MacOSX, iOS and Android are getting ready.

If you are a web developer, our VLC plugin now supports Windowless, to fill the gap between Flash and HTML5 (it should work on IE6,7,8 without too much work).

If you are on Mac OS, the interface is finally polished after the major changes of 2.0.0 :)

Finally, we decided, as a community that we will accelerate the major release cycle of VLC. The fact that we needed 1,5 year to get the fix to some critical audio core and video settings issues out is way too much. We will move towards a 6-months schedule with LTS.

Sure, there are other very good players on each platform, but we are doing our best so that you can play everything everywhere for free, using open source technologies :)

Re:VLC 2.1.0 by sillysaurus2 on Thursday September 26, 2013 @12:13AM (#6448912)
I have a rather odd question for you. I've been trying to use VLC for forensic work, specifically for viewing videos frame-by-frame. There's a way to step forward one frame at a time, but there's no way to step backwards. So it's really difficult to switch between two frames back and forth to look for differences. I've resigned myself to capturing screenshots and pasting them into an image editor then using undo/redo to switch between frames. Do you have any suggestions for how to do it better?

I know this feature probably wouldn't be useful to anyone but me, so I'm not really putting in a feature request. Just hoping to discover that someone else has already figured out a way of stepping backwards frame-by-frame, to complement the existing "step forwards" functionality.

Re:VLC 2.1.0 by keithba on Thursday September 26, 2013 @12:48AM (#6449013)
You can use ffmpeg for this. For instance, to output one frame per second: ffmpeg -i foo.avi -r 1 -s WxH -f image2 foo-%03d.jpeg

See http://ffmpeg.org/ffmpeg.html#Video-and-Audio-file-format-co... for more examples.

Re:VLC 2.1.0 by Gormo on Thursday September 26, 2013 @03:47PM (#6453157)
If you want an interactive UI and you're on Windows, FFmpeg + VirtualDub is a great solution for doing this.
Re:VLC 2.1.0 by comex on Thursday September 26, 2013 @02:17AM (#6449193)
There are many use cases for stepping forwards and backwards between frames in a video; it's not nearly as niche as you suggest :)

This is, in fact, far and away my biggest complaint about VLC. You can say it's slow, but it's just a matter of caching the frames, something that QuickTime seems to have no problem with for the formats it supports.

Re:VLC 2.1.0 by jbk on Thursday September 26, 2013 @07:06AM (#6449967)
But that means using a lot more memory.

And you can only cache a couple of frames or so.

Anyway, patches very welcome on that.

Re:VLC 2.1.0 by FizDev on Thursday September 26, 2013 @12:37AM (#6448981)
Although I haven't tried it, there seems to be an extension for that : http://addons.videolan.org/content/show.php/Previous+frame?c...
Re:VLC 2.1.0 by iamthebest on Thursday September 26, 2013 @12:39AM (#6448988)
Last time I checked, Apple's QuickTime Player was able to do this. There's even an option to show frame numbers in place of units of time in the UI.
Re:VLC 2.1.0 by stinos on Thursday September 26, 2013 @03:41AM (#6449415)
Have a look at VirtualDUB (http://virtualdub.org/).Should do everything you want and more.
Re:VLC 2.1.0 by nitrogen on Thursday September 26, 2013 @02:49AM (#6449259)
If you're looking for differences between frames, have you tried using a differencing algorithm, e.g. so every frame is subtracted from the previous frame? EffecTV (http://effectv.sf.net/) uses a variation of this technique to do interesting things like cloaking and hologram effects.
Re:VLC 2.1.0 by jbk on Thursday September 26, 2013 @05:14AM (#6449645)
There is a small extension for that.

The issue is that doing a correct back-frame can mean going back up to 2 I-frame in the back, in some situations.

Re:VLC 2.1.0 by ehsanu1 on Thursday September 26, 2013 @05:58AM (#6449774)
Cache last N frames? (I don't know anything about video codecs)

I guess that would break when you jump to a specific location in the video, without the benefit of having cached the previous frame(s).

Re:VLC 2.1.0 by jbk on Thursday September 26, 2013 @07:07AM (#6449970)
Lots of ram and very limited.
Re:VLC 2.1.0 by etcet on Thursday September 26, 2013 @12:32AM (#6448968)
avidemux can do this. Most video formats are not designed or optimized for going backwards so it's much slower.
Re:VLC 2.1.0 by barrkel on Thursday September 26, 2013 @04:45AM (#6449572)
But fast forward is usually almost instantaneous, to the point it's often faster to seek backwards, then play back at normal speed, than to wait for a previous frame to be calculated.

There's no reason why the software can't cache frames (it's only 25fps normally) or fast forward from the last I-frame. 25 frames of 1080p HD video is 200MB, as uncompressed 32bpp bitmaps. I have 24GB of memory in my PC; that's the worst case, and it's not bad. A bunch of prior frames can be cached, and the next bunch recalculated if it looks like the user is going to continue stepping backwards.

Re:VLC 2.1.0 by 1qaz2wsx3edc on Wednesday September 25, 2013 @08:43PM (#6448240)
I have stared at you're work for over 150 days straight.

Around 8 TB~ of content, estimating about: 666 KB/s.

It's probably higher then that. I just wanted to thank you.

Re:VLC 2.1.0 by jbk on Wednesday September 25, 2013 @08:45PM (#6448247)
Cool content, or?
Re:VLC 2.1.0 by 1qaz2wsx3edc on Wednesday September 25, 2013 @10:26PM (#6448553)
Amazing content: drama, comedies, anime, movies, documentaries, cartoons, horror, broken rars, disc images. VLC handles like a beast.
Re:VLC 2.1.0 by gph on Wednesday September 25, 2013 @09:22PM (#6448362)
Porn. ;)
Re:VLC 2.1.0 by gph on Wednesday September 25, 2013 @11:44PM (#6448818)
I think my comment is too old to edit.

Just wanted to add on a serious note, VLC is great at everything I've thrown at it. Radio and video streams work fantastically and the interface is simple and efficient.

Re:VLC 2.1.0 by baabaab on Wednesday September 25, 2013 @10:07PM (#6448488)
Probably ~80% of the videos VLC plays are pornographic.
Re:VLC 2.1.0 by rjuyal on Thursday September 26, 2013 @12:12AM (#6448911)
76.68% of statistics are made up on the spot.
Re:VLC 2.1.0 by arthulia on Thursday September 26, 2013 @12:46AM (#6449005)
so then only 4.32% of videos VLC plays are pornographic
Re:VLC 2.1.0 by darklajid on Thursday September 26, 2013 @08:35AM (#6450262)
And math is hard in general.
Re:VLC 2.1.0 by mayhew on Wednesday September 25, 2013 @08:01PM (#6448109)
Thanks for all of your hard work. VLC is a great example of open source software that "just works" for normal users.
Re:VLC 2.1.0 by jbk on Wednesday September 25, 2013 @08:10PM (#6448149)
Thanks :)
Re:VLC 2.1.0 by davidu on Wednesday September 25, 2013 @07:46PM (#6448069)
Amazing piece of software.

Somehow still can't figure out how to do the one additional thing I want (above and beyond what I have already sorted out how to do), which is quit the player and re-open it later at the TS of where I left off with my video. :-)

Re:VLC 2.1.0 by jbk on Wednesday September 25, 2013 @08:11PM (#6448150)
Use the srspos extension :)
Re:VLC 2.1.0 by wahnfrieden on Wednesday September 25, 2013 @10:24PM (#6448547)
Re:VLC 2.1.0 by codfrantic on Thursday September 26, 2013 @10:43AM (#6451065)
It already remembers on Android :-D
Re:VLC 2.1.0 by pinaceae on Wednesday September 25, 2013 @10:03PM (#6448476)
VLC is one the most impressive pieces of multi-platform open source software out there. you guys and girls are doing a heck of a job. congrats on all the work.
Re:VLC 2.1.0 by jongalloway2 on Wednesday September 25, 2013 @08:20PM (#6448183)
Congrats on the release!

Can you give any high level updates on the VLC for Window 8 effort? I've been following the Kickstarter updates and know it's been more difficult than expected, just wondering if there's any new news.

Re:VLC 2.1.0 by jbk on Wednesday September 25, 2013 @08:21PM (#6448186)
Yes, we're almost near porting the core: http://people.videolan.org/~funman/win/wack.xml
Re:VLC 2.1.0 by jongalloway2 on Wednesday September 25, 2013 @08:24PM (#6448190)
Awesome! Great to hear, and thanks for the quick response.
Re:VLC 2.1.0 by grinnick on Wednesday September 25, 2013 @07:58PM (#6448104)
I like the (very subtle) OSX interface polish I can see. Also, perhaps it's just me but it seems to open faster than 2.0.8 did.

Thanks for all your hard work anyway. VLC has been my default media player for years now. I can't think of another piece of software that I've used so regularly for such a long time.

Re:VLC 2.1.0 by jbk on Wednesday September 25, 2013 @08:09PM (#6448141)
It is faster than 2.0.8 to open on OSX, yes.

And yes, a bit of polish has been done on the OSX interface, but there is a bit more yet to do :)

Re:VLC 2.1.0 by ethana on Wednesday September 25, 2013 @10:17PM (#6448519)
I wish more attention would also apply to the bland Windows interface. It still feels like windows 95 :(
Re:VLC 2.1.0 by jbk on Thursday September 26, 2013 @05:15AM (#6449652)
You understand that we are volunteers, right?

If noone wants to work on that and shares design, it isn't done.

Re:VLC 2.1.0 by Camillo on Thursday September 26, 2013 @12:09AM (#6448898)
I haven't noticed any differences in the interface, but the application is 50% smaller now. I like that.
Re:VLC 2.1.0 by jbk on Thursday September 26, 2013 @07:08AM (#6449976)
Because there is only 64bits on Mac, no more Universal Binary for 32+64
Re:VLC 2.1.0 by devx on Wednesday September 25, 2013 @08:39PM (#6448226)
It seems to open faster on Windows, too.
Re:VLC 2.1.0 by jbk on Wednesday September 25, 2013 @08:46PM (#6448248)
That is true too :) But the increase should be smaller than on OSX.
Re:VLC 2.1.0 by erikt on Wednesday September 25, 2013 @10:29PM (#6448562)
Why is this update not showing up in my Mac? I'm on 2.0.8 and when I checked for update it says that 2.0.8 is the latest version.

Edit: Nevermind, looks like this has been answered. VLC waits a week before releasing the update to the public.

Re:VLC 2.1.0 by wslh on Wednesday September 25, 2013 @08:27PM (#6448201)
Congratulations! How VLC is currently backed financially? how much extra money do you need for the project?
Re:VLC 2.1.0 by jbk on Wednesday September 25, 2013 @08:32PM (#6448209)
We receive only donation through paypal, that pay for the server, and going to conferences...

The rest is volunteer work :)

If you have a million or two to spare, we could do something though :)

To be honest, we need code more than money.

Re:VLC 2.1.0 by bloopletech on Wednesday September 25, 2013 @09:42PM (#6448420)
As someone who currently uses a different player (mplayer2) which shares an upstream (ffmpeg) with VLC, how much of the codec/format improvements are due to/push to the upstream projects?

I really hope all these great improvements are shared between the media player projects as much as possible.

Re:VLC 2.1.0 by aktau on Thursday September 26, 2013 @12:22AM (#6448936)
Not quite sure myself, but I've been tracking the development of mpv, a fork of both mplayer2 and mplayer, and its development is going fast, very fast.

For example, intel VA-API support was ported and integrated into master in about a week. With support for VA-API VPP (video post-processing), so deinterlacing comes free too (just like for VDPAU).

That means that on my weak intel boxes, decoding 1080p content takes about 3-5% CPU and 25MB. Which means I can play 16-32 simultaneous videos in a grid at the same time. You should've seen the look on my clients' face when they saw me pull that one off, where the former developer couldn't even do one HD clip without lagging horribly.

It is, in a word, awesome. Just like this new VLC, which I use on my mac. Also awesome. I actually looked at the new VLC plugin code to make my own browser plugin for mplayer/mpv. Though in the end I didn't decide to support a windowless interface like VLC (because I couldn't really, mplayer-likes don't support that). That's fine though, windowed mode was far easier to code.

Re:VLC 2.1.0 by luckydude on Wednesday September 25, 2013 @11:09PM (#6448710)
No code, have some money. PM me if that would help.
Re:VLC 2.1.0 by mikevm on Thursday September 26, 2013 @02:54AM (#6449280)
VLC is a great piece of software, but it's always missing some last pieces of polish that stop it from replacing my default video player (I only keep VLC in those rare cases when I have some unplayable video).

Two issues that are very annoying to me:

1. The lack of "Remember last played position" option is very frustrating. This option is now part of many popular media players.

2. The "Disable screensaver" option doesn't work properly. When you pause a video, VLC will stop the computer from going into sleep mode. This is pretty awful! VLC should only disable the screensaver while the video is being played.

And one last thing that would be nice: the ability to move the main VLC window by clicking and dragging on the video area, and not just by the titlebar.

Re:VLC 2.1.0 by fjarlq on Thursday September 26, 2013 @03:08AM (#6449316)
Re:VLC 2.1.0 by jbk on Thursday September 26, 2013 @05:15AM (#6449650)
1. you have an extension called srspos for that.

2. yes, pause is bad in VLC, because it still displays...

Re:VLC 2.1.0 by iamthebest on Thursday September 26, 2013 @02:52AM (#6449273)
I just updated from 2.0.8 and already notice a lot of improvements in 2.1.0. Pause/play and start/stop used to result in some unpleasant audible artifacts. Sounds much cleaner now. Same goes for changing playback speed.

I still think there's some weirdness going on with using F11 vs double-clicking to switch to full screen view for video playback.

Overall great job with this release.

BTW, I'm also loving the fact that I can use VLC on Android. I compiled it from source back when there were no binaries, currently am using the nightlies, and am looking forward to being able to get the stable releases in the app store eventually.

Re:VLC 2.1.0 by devindotcom on Wednesday September 25, 2013 @08:24PM (#6448191)
Thanks for the breakdown. VLC is my primary but maybe now I'll even be able to uninstall mplayer and the others!
Re:VLC 2.1.0 by joseflavio on Thursday September 26, 2013 @10:35AM (#6451010)
I use VLC in win7 (x64) and in ubuntu (x64). I usually watch my videos from a slow memory card or pendrive, because of this I try always to increase the file caching the in input codecs, first, I don't understand why it is limited to 6999ms, is there a reason (my machines have between 8gb to 32gb of ram, so would be nice to prefetch everything...)? and second, the volume is still with some lag... i guess because you pre-amplify it.. the lag is a real pity because makes it feels a way worse player... still it is my favorite player! so thanks!
Re:VLC 2.1.0 by nja on Wednesday September 25, 2013 @11:33PM (#6448788)
So are all the 2.X releases going to be named after Discworld characters? Twoflower and now Rincewind...
Re:VLC 2.1.0 by jbk on Thursday September 26, 2013 @05:17AM (#6449659)
And The luggage for 1.x. Yes.
Re:VLC 2.1.0 by gtufano on Thursday September 26, 2013 @05:25AM (#6449687)
Do you have some pointer handy for further information about the SDKs? I've not been able to find anything on the site (or on the wiki)
Re:VLC 2.1.0 by jbk on Thursday September 26, 2013 @07:16AM (#6449997)
What OS are you interested in?
Re:VLC 2.1.0 by gtufano on Thursday September 26, 2013 @08:57AM (#6450386)
Mostly iOS, but also OS X.
Re:VLC 2.1.0 by Florin_Andrei on Thursday September 26, 2013 @10:53AM (#6451132)
When are you guys going to release an official Android app?
Re:VLC 2.1.0 by iamthebest on Thursday September 26, 2013 @01:02PM (#6452058)
I've been grabbing the nightly builds and installing them on my phone for a while now.

http://nightlies.videolan.org/