I have to cut out the naughty bits from a few videos (avi, mp4, mkv, etc.)
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have to cut out the naughty bits from a few videos (avi, mp4, mkv, etc.)
I work part of the year in a country that has very socially conservative religious laws and I'd like to cut out some of the naughtier bits out of the videos I store on my hard drive. It is unlikely in the extreme that I would ever be caught with them, but I don't want to take any chances.
Any recommendations on software with which I can do this but that won't affect the quality of the end product?
Look through the video to find the start and stop timestamps for the parts that you wish to cut, and record them. You can use ffplay to make sure that you have them correctly.
Short examples:
1st edit, commercial starts at 12:14, stops at 13:34
Code:
ffplay -ss 00:12:14
ffplay -ss 00:13:34
2nd edit, commercial starts at 16:02, stops at 17:05
Code:
ffplay -ss 00:16:02
ffplay -ss 00:17:05
After you are sure what parts to cut, dump the saved parts to files
I work part of the year in a country that has very socially conservative religious laws and I'd like to cut out some of the naughtier bits out of the videos I store on my hard drive. It is unlikely in the extreme that I would ever be caught with them, but I don't want to take any chances.
Any recommendations on software with which I can do this but that won't affect the quality of the end product?
Even if your system is breached, you'd probably still be ok. And if you're honestly afraid for your safety, and could be jailed (or worse) for viewing such things, why even bring them at all? Leave them on a cloud-account with a strong password as an encrypted file. Download over internet, view, and delete afterwards. Even can have a script to delete/nuke a particular directory on boot up if you're that worried.
TBH, if you bought/borrowed/downloaded/torrented such movies, you probably did so for the 'naughty bits'. We're all adults here; it would be a bit pointless watching them otherwise.
Jefro's hit the nail on the head. If the country you work in has strict religious laws about such things (and I'll hazard a guess either somewhere in the Middle East, or the Far East; I know for a fact that some of them get seriously nasty about anything like that), then I personally wouldn't even take the risk.
I'd leave 'em at home.....and practice abstinence for the duration!
Mike.
Last edited by Mike_Walsh; 06-13-2018 at 04:23 PM.
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627
Rep:
I'm assuming they're otherwise acceptable films with a bit of sex in. A good thriller can be just as good with the unnecessary sex removed. And while fairly explicit scenes are acceptable these days in the west, in places like the emirates etc they're not.
There's a few people here assuming the worst.
[ot]
i've seen videos from islamic countries (sorry for being so broad, i honestly don't remember which one) where a dead & mutilated man's body was shown in all its gore, however his (unhurt) bellybutton was blacked (censored) out, and so were the faces of a few women around.
so, i don't think op is assuming the worst (mike_walsh might be, however).
personally, i think if they confiscate your laptop in a country like that, you're probably already toast anyway. i would choose encryption instead of editing.
[/ot]
let's see how it goes with the ffmpeg commands, that's what i would've suggested.
if you do that a few times (and know how to use your shell's history & tab completion), it's actually much quicker than some clicky gui software.
you can use linux, but it's worth a little to use a fully fledged multimedia machine to do multimedia work
(you should have both - you shouldn't force yourself to use ffmpeg commandline tools)
----------------------------------------
you need files movies and can't find any you don't have to hand edit
i don't believe OP. i simply don't. troll post.
reported.
this is definitely at least the third post where this poster accuses people of being trolls or otherwise attacks them for no good reason.
also giving totally useless advice, and resurrecting threads that have already quietly slumbered away.
this is definitely at least the third post where this poster accuses people of being trolls or otherwise attacks them for no good reason.
also giving totally useless advice, and resurrecting threads that have already quietly slumbered away.
I still don't know what I said that's so unbelievable and trollish––I work in Saudi Arabia half the year and I have a lot of R-Rated movies and TV shows (e.g. Westworld) on my external hard drive that I'd really rather not get caught with if I'm ever stopped by the Mutaween. If I could cut out the nude scenes and the scenes with adult situations, I'd feel a whole lot more comfortable carrying them around in my backpack.
And, yeah, as you pointed out, there was no need to resurrect this post just to offer me useless advice and then insult me, but whatever.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.