Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment Re:mpv does support user supplied shaders (Score 1) 221

mpv allows the user to supply GLSL scripts using the --opengl-shaders=filename option, and it can save single screenshots to files after those shaders have been applied (Ctrl-S), and mpv is scriptable (in Lua or C), so all you need to do is write a script that single-steps through the video, then writes such a post-processed screenshot to a pipe which you can use as input to "ffmpeg".

Doesn't mpv support direct output to a series of PNGs? MPlayer does it simply with -vo png.

Incidendally, I'm working on something related to the original question. I use shaders for math art demos, and I already have the option of using image files as the input (shameless example). It would be trivial to accept a new file for each frame, so it could process video from a series of images. The speed would only be a couple of FPS due to I/O bottleneck, but it won't be realtime anyway. The reason I haven't done this so far is that my focus is on the math of iterated shaders, not processing some existing video. Still, it would be fun to do some day, and of course I'm looking at ways to do it in realtime (the GPU is fast enough, but I/O is harder).

Lastly, you could use a screen recording software instead of the clunky series-of-screenshots idea. I did this for putting my first few demos on Youtube, but the quality is awful, so I much prefer taking the PNGs and encoding separately.

Android

Headphone Users Rejoice: Samsung Reportedly Not Killing the Galaxy S8's Headphone Jack (thenextweb.com) 79

An anonymous reader writes: Contrary to previous reports, Samsung's upcoming flagship Galaxy S8 smartphone will come with a headphone jack, unlike the new iPhone 7 and 7 Plus and several other Android smartphones. The news comes from both Sammobile and Android Police. The Next Web reports: "Both Sammobile and Android Police are today reporting that Samsung is not actually killing the headphone jack. Sammobile, appears to be retracting its own report last month suggesting the jack would be dropped thanks to recent case renders, while Android Police has independently confirmed that the S8 will maintain the 3.5mm jack through its own source. In related news, Samsung's display unit may have also just given us our first good look at the S8. While there's a good chance the phone in the video is a generic model (it appears to be a render, rather than a physical object), as CNET points out, it looks an awful lot like the leaks we've seen from the S8 so far. There are also a few curious touches for a something that's supposed to be just a render, including what might be a faint visible antenna line (on the upper left corner) and a couple of LEDs or sensors to the left of the earpiece grill. By the way, there's also a definitely a headphone jack in this render."

Comment Re:They need better cyber (Score 1) 279

Yeah, I tried putting a giant rubber sheath over my monitor too, but apparently that doesn't stop you from getting an infection when you cyber. I feel his pain.

I thought sexual education in the US was all about abstinence, never mind the resulting teen pregnancy rates. That rubber thingie sounds like some European socialist hippie plot.

Comment Re:My art is shit (Score 1) 564

To me, music means sound waves in the air, something meant to be listened with your ears. Whenever I see these hipsters talking about vinyl or cassettes etc., I wonder if they care more about the storage format than the music itself. If they cared about the music, they might choose a format that doesn't degrade the music so much.
AI

HTC's New Flagship Phone Has AI and a Second Screen, But No Headphone Jack (theverge.com) 205

An anonymous reader shares a report on The Verge: HTC is getting 2017 off to a flying start with an unseasonably early announcement of its next flagship phone: the U Ultra. This 5.7-inch device inaugurates a new U series of smartphones and is joined by a smaller and lesser U Play, which scales things down to 5.2 inches and a humbler camera and processor spec. HTC is touting a new Sense Companion, which is its take on the growing trend for putting AI assistants into phones, plus the addition of a second screen at the top of the U Ultra. As with Apple's latest iPhones, Lenovo's Moto Z, and the HTC Bolt, neither of HTC's new handsets has a headphone jack. The other big change on the outside is the U Ultra's second screen, which is a thin 2-inch strip residing to the right of the front-facing camera and immediately above the Super LCD 5 screen.

Comment Re:When are we going optical? (Score 1) 192

Current systems can generally output S/PDIF digital audio through the line-out port; it's a standard feature, though somewhat hidden. You just need to connect an RCA adapter (use the right/red channel) and enable the S/PDIF output switch in the sound card settings. Audio quality is the same as Toslink (optical S/PDIF), though the signal may attenuate over very long coax links. There are devices like this one available which convert from coax to Toslink.

Ah, good point. I'm pretty sure I've encountered this once before, with a sound card that was specifically advertised to output S/PDIF, while having only 3.5 mm jacks. Alas, it's not quite general, as my Thinkpad is lacking the feature (the digital outputs are all labeled with "HDMI" in alsa).

Incidentally (and you probably know this already), the Toslink output in some earlier laptops was hidden within the line-out jack. A clever solution IMHO, as it doesn't mix up different kinds of signaling in the same electrical pin, and the light makes it clear there's something going on besides plain old analog. OTOH, it requires a small adapter for the Toslink fiber.

Comment Re:When are we going optical? (Score 1) 192

It's obvious if you look at the way people treat their cables. You can't expect them to obey something as esoteric as bend radius limits when their plain old copper wires hardly survive in one piece.

Incidentally, S/PDIF isn't doing too great these days, which is a shame. One of my old laptops from 2005 had optical audio output, and it was awesome especially given the poor quality of its analog output. Since then, this feature has been missing from most laptops, and even with desktop mobos you have to be careful. It seems since HDMI came out, you shouldn't need any other way of getting raw digital audio, which seems especially silly with something like 5.1 or better -- you'll probably want something more than the toy speakers in the TV or monitor.

Also, it sucks to have a professional laptop with DP output, only to realize that the projector at the venue only has consumer-style HDMI or even VGA.

Slashdot Top Deals

Men of lofty genius when they are doing the least work are most active. -- Leonardo da Vinci

Working...