42
submitted 2 years ago by 0x815@feddit.de to c/technology@beehaw.org

Cheers!

you are viewing a single comment's thread
view the rest of the comments
[-] kionite231@lemmy.ca 0 points 2 years ago
[-] xthexder@beehaw.org 2 points 2 years ago

I'm not OP, but if transcoding is happening on user CPUs, it's theoretically possible to modify or inject stuff into the transcoded video. There'd need to be some way of validating a transcode matches the original, which is non-trivial.
A consensus algorithm could work, but that would massively increase the required compute. I'm not even sure things like NVENC vs CPU ffmpeg are deterministic in how tbey compress video. Different encoders could very likely end up with visually identical transcodes, but the hashes wouldn't always match.
Maybe someone else has a better idea for validating transcodes?

[-] TheTrueLinuxDev@beehaw.org 2 points 2 years ago

Sometime it's better to let it happen and let the user find out the person who mis-transcode video maliciously and get that malicious person banned from the instance. Many instances are invite-only, so it works out in a way that the benefit outweigh the risk.

The average YouTube user is not going to understand any of that. If they're watching a video and something unexpected comes up in the video, they're going to blame the person who uploaded the video.

[-] TheTrueLinuxDev@beehaw.org 1 points 2 years ago* (last edited 2 years ago)

I suppose although the documentation does point it out that the offender can modify such content with ease.

For live transcoding, I would suggest the broadcaster to purchase a good GPU and have it transcode the broadcast. While they are trying to suggest CPU-based solution, i would argue that they should explore the GPU based solution which can be much better optimized for this scenario.

Reference on Support Matrix for Encoding/Decoding support on GPU for Nvidia Information for Transcoding on Nvidia GPU

this post was submitted on 21 Jun 2023
42 points (100.0% liked)

Technology

37804 readers
405 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS