Re:I made a cell phone [video]
by jsprogrammer on Sunday August 16, 2015 @04:40PM
(#10070187)
You think VLC pulls the VP8/9 version instead of the h264 version? I seriously doubt it. Why would it? It would make no sense. Most devices have h264 hardware decoders. Most don't have VP8/9 decoders (though they exist).
I also have no doubts that an Athlon64 could decode 720p h264 completely in software. You'd be pegging that single core pretty high, but it could do it.
My point was that the hardware acceleration, and vp8 vs h264, doesn't really matter. The computation power of processors sold in 2010, even those in not-very-thick laptops, was probably double my Athlon64. The difference is everything else, the UI stuff (and maybe also flash and browsers being less efficient at decoding than ffmpeg).
Re:I made a cell phone [video]
by jsprogrammer on Sunday August 16, 2015 @07:04PM
(#10070605)
Well, on a single core you are going to hit issues with multiple processes running. If you have the browser, flash, network, and decoding all happening on a single core, it wouldn't be surprising to see stuttering. Obviously, offloading the decode to a different processor would help out, but so would running just a single process.
Well, you'd use 30% less bandwidth (and therefore start / seek faster).
In addition, decoding VP9 in software is actually faster than H.264 with ffmpeg, the decoding library that VLC uses.
Are you sure overlay doesn't support subtitles? IIRC, they had a special color value that the graphics card replaced with the decoded video, and they just didn't use that color wherever they wanted to display subtitles. This is just from memory and from what I deduced, so take it with a grain of salt.
Back in 2010 I was using a computer I built in 2004, which had a single-core athlon64 3200. Watching standard definition video in Hulu was a blocky slideshow, totally unusable. But I could watch 720p h264 video at a decent bitrate, with mplayer, with no hardware acceleration.
One of the bigger differences is that browsers/flash have to put the video output as a surface that they composite with the controls on top and the rest of the page behind. Old-style video players actually render to a different hardware "overlay" plane and don't mix anything with it in software, and it makes a huge difference.
(My mplayer example is from linux, but I've also used MPC on windows a lot. You can change the renderer in the settings, and "overlay" doesn't support showing subtitles, but has noticeably faster/smoother performance. Well, back on windows XP.)