view the rest of the comments
Ask Lemmy
A Fediverse community for open-ended, thought provoking questions
Rules: (interactive)
1) Be nice and; have fun
Doxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them
2) All posts must end with a '?'
This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?
3) No spam
Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.
4) NSFW is okay, within reason
Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [email protected] or [email protected].
NSFW comments should be restricted to posts tagged [NSFW].
5) This is not a support community.
It is not a place for 'how do I?', type questions.
If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.
6) No US Politics.
Please don't post about current US Politics. If you need to do this, try [email protected] or [email protected]
Reminder: The terms of service apply here too.
Partnered Communities:
Logo design credit goes to: tubbadu
low security is ok, how can I go about it? any software or anything else I need to know
I suppose it's simple enough for a python script. I don't know about video formats but I don't think it would be really hard.
Thank you again.
I’m afraid I have no knowledge of Python or any scripting languages.
I hope this is just a beginner's brainstorming session, and that someone can guide me as if I were five years old.
You will have to do some work yourself (or hire someone to code the solution for you).
If the intended use is on linux, you could also write a bash script for it. If the position in the file (as in exact number of bytes till that position) is known, then you could use dd to cut the video file in two pieces, use gpg to encrypt the second part and then probably also use dd to put both pieces together again.
A video player like VLC should still be able to play the first part of the file (though other players might have bigger problems with such a file). To play the full file, you need to use your script to again seperate the two pieces, use gpg to decrypt the second part and put them back together.
You can also do this in python. Doing it cross platform (Linux, Mac and Windows) will be more difficult.