Giter Site home page Giter Site logo

rdp / sensible-cinema Goto Github PK

View Code? Open in Web Editor NEW
98.0 20.0 11.0 112.33 MB

Clean Editing Movie Player (sensible cinema/play it my way) allows you watch edited movies by applying delete lists (EDL's) (i.e. "mute out" or "cut out" scenes) to DVD's/files, with preliminary support for also applying them to arbitrary web/internet based players like netflix instant, hulu/hulu plus etc. http://playitmyway.org

Home Page: http://cleaneditingmovieplayer.inet2.org

License: Other

Ruby 30.24% Shell 0.41% HTML 13.95% Inno Setup 0.31% Batchfile 0.45% JavaScript 41.04% Crystal 11.54% Java 1.04% CSS 1.01%

sensible-cinema's Introduction

This is a README description for Sensible Cinema, the Clean Editing Movie Player (CEM Player)

For installation/download instructions, see http://cleaneditingmovieplayer.inet2.org/

===

	CEM Player allows you to use pre-programmed edit lists (e.g. Edit Decision Lists [2]) to watch movies that you own. I.e. you can watch a DVD while "muting out" or skipping certain
scenes, deemed objectionable. This allows you to sit back and relax as you watch a more "sanitized" showing of your DVD.

	It is currently in alpha/beta, and is free (probably forever, under LGPL license currently). It also includes a library of EDL's that go along with various DVD's.  We need
volunteers/contributors to help it grow!

	To use:
1. Install Sensible Cinema.
2. Insert an original DVD that you want to edit.
3. Run sensible cinema. It will pop up some windows where you choose what to do (watch edited, create a new EDL file, etc.).

Note: please install from the zip files at https://bintray.com/rdp/sensible-cinema/sensible-cinema and not from github's "download" button or even its releases...

	CEM Player has a few "realtime viewing" options available, based on some freely available open source popular video players. [3]

	On a moral note, just because an edited video lacks profanity/sex scenes...does not automatically make it a wholesome experience. CEM Player does not necessarily "a clean movie make of
a dirty one" even if it can cut profanity. Don't watch it if it's not uplifting! Be nice to yourself!

	Dove.org and Common Sense Media are good references for discovering the "uplifting" level of movies [4]. kids-in-mind.com is also a good reference for profanity levels, though
sometimes it misses profanities, and it also lacks timestamps to know when the profanities occur, and doesn't allow for community contribution.  Hence this project existing.

	That being said, some videos are quite enjoyable once you strip out profanity/questionable content. It's your call.

	Enjoy your movies!

[1] http://en.wikipedia.org/wiki/Linear_video_editing
[2] http://www.mplayerhq.hu/DOCS/HTML/en/edl.html and http://en.wikipedia.org/wiki/Edit_decision_list
[3] mostly GPL programs, see http://www.gnu.org/licenses/ VLC Media Player, Mplayer/mencoder, ffmpeg, et al.
[4] http://lds.org/library/display/0,4945,161-1-11-1,00.html search for the word "wholesome"

== Installation ==

Installation and usage instructions available here: http://cleaneditingmovieplayer.inet2.org/

== Creating Your Own Edit Lists, or modifying previously existing ones ==

	Sometimes the movie you want doesn't have an EDL (edit list) available for it yet.
	Not to worry, you can create your own!
	See https://github.com/rdp/sensible-cinema/wiki/How-to-create-your-own-EDL%27s

== Feedback/Contributing to Development ==

	Feedback, including feature requests, comments, etc. are all welcome, see contact links here: http://cleaneditingmovieplayer.inet2.org

	If you're a developer and want to help out with programming or look and feel, etc., please do! See notes_for_potential_developers.txt file, and also http://github.com/rdp/sensible-cinema for source, and/or the wiki there.

	If you want to donate something, please consider donating to a charity of your choice. No really, feel free, go ahead.

== FAQ ==

Q. How do I watch these on my TV, not just on my computer?
A. One way is to plug your computer (laptop) into your TV.
  For instance, position a laptop near your TV and hook it in.  Newer TV's and laptops are typically compatible.
  Or buy a very long monitor and audio cord and plug it in from your desktop/laptop :)
  You could also buy a projector, attach your computer/laptop to it, and then use that to watch.
  If you're interested in also being able to "beam" it from your computer to your game console (ex: PS3) ping me--I might have 
  something in mind that could help, though hasn't been created yet.  (Playon.tv does something like this, too, but
  I might come up with a competitor to it if desired, as the existing one costs money).
  Another option is to purchase a clearplay DVD player.
  
Q. I want to give an edited DVD to a friend, how do I do that well?
A. Give them the original, non-edited DVD and a link to sensible-cinema's website :)

Q. Can I use this with Windows Media Center?
A. Yes, in theory you could use one of the existing WMC plugins that allows you to "call out" to a 3rd party software to play your files.
   Then use the "advanced" mode in sensible cinema "create side-by-side EDL file" button to create an EDL for your previously existing file.
   Then make your WMC plugin "call out" to smplayer to play those files (through whatever means it necessary), and
   it will automatically pick up and use the EDL file.
   You could also use the same side-by-side EDL file with XBMC, which also honors them (need at least an Eden release version).

Q. Is it ethical to watch edited movies?
  Well, producers have been making "airplane edited" movies forever... :)
  But anyway if you don't find it ethical, then do yourself a favor don't watch them.  I personally like cutting out gratuitous profanity from
  my viewing experience.
  http://en.wikipedia.org/wiki/Re-edited_film

Q. Can I know if movies in the theaters have profanity in them?
A. You can--you can download their subtitle file, then use the "part subtitle" button to tell if even movies
   *in the theater* have profanity (this won't help you skip that profanity, obviously, if you go to see it, but it's
   a heads up).  Kids-in-mind.com and common sense media reviews are helpful, as well, though sometimes they miss
   profanity words, one or two.

== Caveats ==

	NB that "someone" has to first create a edit list, per DVD.

	If one doesn't yet exist for the DVD you want edited, you could create it yourself, or employ somebody to create it.  Make sure to submit it back to us when you are done, so that the
rest of the users can benefit from it. Fortunately just one person has to do it, once, for everybody to benefit, and the editing process is not too bad.

	We also have a subtitle parser which really helps locate profanity more conveniently, so that will help you build your edit list.

	Also note that if your DVD has scratches that cause it to skip, the time signatures will be off, so we recommend to always clean your discs first!

== Motivation ==

	The initial motivation for the project was that I dislike deity profanity in movies. And really any profanity is jarring, if you are not used to it in real life, and it can put me a
bit on edge when I watch an otherwise enjoyable movie. Also sometimes producers put in certain bad scenes (ex: scenes involving nudity)  just to get a desired end rating, even if the rest of the movie is not as offensive.

	I once tried Clearplay (a "filter"ed DVD player) but (for me) it didn't cut it.  It costs money monthly (I'm too cheap to pay--and many many other people don't use it because of
this...).  Casual users no longer have the option to buy specific "filters" but are obliged to purchase a monthly subscription, so it doesn't make sense financially for many casual movie viewers. For instance, if you use Redbox every week, and then have to subscribe to Clearplay, it could triple your total cost. 

	Their filters sometimes don't cut out all undesired content (ex: Saints and Soldiers left several profanities in...which was unexpected). If your standards differ from theirs, I guess
you're out of luck.  Clearplay apparently also runs a rather  confusing subscription policy, or so I'm told [1], and their DVD players that  are a bit shaky at times [2], so I'm told.  Their DVD players aren't quite as readily accessible (read: can't buy them at Walmart), nor as cheap to buy as some others.

	Clearplay also doesn't seem to have much community collaboration/review (though you can email them feedback). They also didn't have filters for all the movies that I, at times, wanted
to watch edited (Condorman and Tron) the last time I checked...probably because they were too obscure.  Also it doesn't have filters for educational videos, etc.) 

	If there isn't a filter, you basically have to request one and then *hope* they get around to it. It might take a bit longer than you'd hope (read: years). Or it might never be made. 

	Also, some people watch movies only on computer, and they no longer seem to offer a computer player, just hardware players.  They also don't edit streamed online movies either (last
time I checked, anyway), nor offer an edited blu-ray player. I also emailed them once (2003?) to inform them I'd be making an open source equivalent, and haven't heard back, which I assume to mean implicitly they are all for it (in reality this project is more like in-home Cleanflicks than Clearplay, anyway).

	Also Clearplay isn't quite flexible enough, editing out only profanity/sex/violence et al (and based only on their own criteria).  Some users may want to, for example, skip the intro's 
to specific movies (like older movies with long songs and no content during the intro) because...they want to get to the movie faster.  Or skip commercials in some personal DVD recording.
Or use it on their home DVD's.  Clearplay does not allow for any of these.  

	Also Clearplay doesn't seem to users leave comments on their filters, to improve them, etc. Also you can't tell from Clearplay's list whether a DVD is absent because it's clean, or
because they haven't done a filter for it.

	Also sometimes certain DVD's "don't work" with Clearplay for some reason (rental versions?) [3] As a friend once said "Clearplay is a bit of a hassle to use in today's day and age. It
should either have wireless or have an ethernet port on it. I should enter my login credentials to the box. When I stick a movie in, it should go to the website and download the filter."

	Clearplay's player apparently only works for region 1 DVD's. Clearplay doesn't work for straight "movie files", for instance a download of the free movie "sintel" etc.

	Also owning a Clearplay player takes at least a marginal amount of technical expertise (fails the "grandma" test). [4]

	So overall I wanted to build my own that overcame some of these hurdles. Because at least for some people if there is any cost associated, they will not consider it, so freer might be
better.

	I also wanted to get a prototype out there of some ideas so that others can't later patent them and pretend that they were first inventors later :)

	See also the "Overly Verbose History" section in the history_and_related_works_list.txt file.

[1] http://www.amazon.com/gp/product/B002YPRW7S/ref=cm_rdp_product
 "...I agree that it is not made clear on their website that if you don't continue your membership, you can't continue 
  to use the [previously downloaded] filters"

[2] http://deseretbook.com/ClearPlay-HDMI-DVD-Player-30-Day-Trial-Membership/i/5038491
 "We bought a Clearplay player about 2 years ago. It worked great, until it just stopped working. I called their support line, 
  and they told us the model we got was defective, and that the new one was much better and we could get it at a discount, but 
  the next one just died also."

[3] http://blog.clearplay.com/2010/02/time-travelers-wife.html comments

[4] https://plus.google.com/u/0/112065817515875981770/posts/UeSPiYYTDfV

== History ==

	See the file history_and_related_works_list.txt for an overly verbose history. Also see the file change_log_with_feature_list.txt.

== Related Works ==

	See the file history_and_related_works_list.txt

== License ==

	See the included LICENSE.TXT file for licensing and usage terms (basically it's released under LGPL). Some other programs are (distributed separately and) used, if present. These are
typically released under their own copy of the gplv2 license, though some have differing licenses.

	EDL files themselves are released under the Creative Commons License, however. See first also the file "is_it_legal_to_copy_dvds.txt" for more information on legal use in your country.

== Troubleshooting ==

See the file documentation/troubleshooting.txt, or contact (see the feedback/development section).

== Thanks ==

	Thanks to Jarmo for the win32-screenshot gem, the mini_magick gem authors, jruby guys, etc. The combination of these tools made programming this actually something of a pleasure, 
and a breeze cross platform. CEM Player leverages code from lots of other projects (see LICENSE.TXT)--many thanks to the authors and maintainers of said libraries, and anybody else I forgot to mention. CEM Player also includes a conglomeration of the good ideas from several people who contacted me over time.  Thanks for your contributions.

== Competition/re-use of files ==

	Note that competition/use of files from sensible cinema is welcome!

	In fact, the current end goal is to publish the edit lists (EDL's) to a separate repository with its own API under the CC license, meaning that even "for profit" users can use them for
whatever other use they want, hopefully good uses. :)  More direct direct competitors are also welcome here.  I only made this because I had to and nothing like it existed, so if something else springs up, I'm actually happy to use it instead, too.

sensible-cinema's People

Contributors

davidshq avatar githubsvnclone avatar rdp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sensible-cinema's Issues

no dvd -> hard fail

\zamples\edit_decision_lists\dvds/pack_wedding_2007-03-03.txt a2e3ece630251e4a785218ce71a20ce1"
fatal: Not a git repository (or any of the parent directories): .git
got fatal exception
undefined method +' for nil:NilClass bin\sensible-cinema:295:indo_copy_dvd_to_hard_drive'
bin\sensible-cinema:76:in initialize' D:/dev/sensible-cinema-never-commit-from-here/lib/swing_helpers.rb:24:incall'
D:/dev/sensible-cinema-never-commit-from-here/lib/swing_helpers.rb:24:in `on_clicked'
:1

Donate button broken

Good morning,

(Once again, and I know I say this to you about once a year, thank you for this, and for the original work, which I've used since probably 2012 or so, maybe earlier).

It seems your donate buttons on your website don't really work, as I was expecting Paypal, or just about anything else?

Thanks,
Michael

dvdid woe sighting

D:\dev\sensible-cinema-never-commit-from-here>D:/dev/sensible-cinema-never-commit-from-here/lib/jruby-swing-helpers/vendor/dvdid.exe "F:"
Error detecting medium

meant "eject then insert medium

Download link broken...

Is there an alternative link to download the binaries for mac? The bintray link is broken.

Is there a list of EDL repositories?

Hi @rdp, I'm up in Logan, and caught word of this tool. I'm wondering if you have any list of repositories that host EDL's.
I'm using Kodi, and would like to figure out how I could integrate this into my home media server.

Awesome thanks

Installation

The install instructions indicate you should run a bat file, but this file is not in the root dir. It is in a subdir called template_bats.

Also, running this batch file does not work for me. I get the following;

Welcome to Sensible Cinema...
This window will display lots of debug message output (which you can just ignore
)!
The system cannot find the path specified.
ERROR. Please look for error message, above, and report back the error you see,
or fix it
Press any key to continue . . .

missing dir

D:\dev\sensible-cinema-never-commit-from-here>c:\jruby-1.5.5\bin\jruby.EXE bin\sensible-cinema
Loading Sensible Cinema...
bin\sensible-cinema:178:in chdir': No such file or directory - No such file or directory - D:/dev/sensible-cinema-never-commit-from-here/bin/../vendor/cache/ (Errno::ENOENT) from bin\sensible-cinema:178:incheck_for_dependencies'
from bin\sensible-cinema:146:in initialize' from bin\sensible-cinema:379:innew_proxy'
from bin\sensible-cinema:379

Question About License for EDL Files

Hello again! I have another question. The license for the repository states that "EDL (delete list/edit list/EDL) files are released under the Creative Commons License CC-BYSA 4.0+" and I was wondering if that only applies to the files included in the repository (such as the ones for DVDs here), or if the CC-BYSA 4.0+ license also applies to the EDLs provided on the Play It My Way website.

The reason I'm asking is that I would like to adapt some EDLs on Play It My Way for the open-source VideoSkip filtering service, so people could enjoy the films filtered on streaming services not yet supported on Play It My Way (such as filters for Zootopia on Disney Plus), but I wanted to make sure that the EDLs are under the same license. If so, I will give Play It My Way credit and share the adapted files under the same license (in compliance with CC-BYSA 4.0+).

Thank you so much in advance!

Releases and Links out of Date

Hey man- checking in with your project after a long time. It looks like you've been busy making updates, but the releases are either impossible to download, horribly out of date, or both.

sighting

got fatal exception
undefined method `<=' for nil:NilClass
D:/downloads/sensible-cinema-0.19.0/sensible-cinema-0.19.0/sensible-cinema/lib/v
lc_programmer.rb:50:in `convert_incoming_to_split_sectors'
D:/downloads/sensible-cinema-0.19.0/sensible-cinema-0.19.0/sensible-cinema/lib/v
lc_programmer.rb:43:in `each'
D:/downloads/sensible-cinema-0.19.0/sensible-cinema-0.19.0/sensible-cinema/lib/v
lc_programmer.rb:43:in `each_with_index'
D:/downloads/sensible-cinema-0.19.0/sensible-cinema-0.19.0/sensible-cinema/lib/v
lc_programmer.rb:43:in `convert_incoming_to_split_sectors'
D:/downloads/sensible-cinema-0.19.0/sensible-cinema-0.19.0/sensible-cinema/lib/m
encoder_wrapper.rb:43:in `get_bat_commands'
bin\sensible-cinema:422:in `get_mencoder_commands'
bin\sensible-cinema:427:in `generate_and_run_bat_file'
bin\sensible-cinema:413:in `do_copy_dvd_to_hard_drive'
bin\sensible-cinema:147:in `initialize'
D:/downloads/sensible-cinema-0.19.0/sensible-cinema-0.19.0/sensible-cinema/lib/s
wing_helpers.rb:41:in `call'
D:/downloads/sensible-cinema-0.19.0/sensible-cinema-0.19.0/sensible-cinema/lib/s
wing_helpers.rb:41:in `on_clicked'
:1
you need to install java first! please report back the error you see!
Press any key to continue . . .

Is there a way to work with a video file instead of DVD?

Hi, I was looking at using this player and am really interested in it. However, most of my media is in the form of mp4 and avi files. I have looked all over, but I don't see anywhere where I can select a video file for creating an EDL file. Am I missing something? If it's not available as functionality, can it be added? Thanks. :)

can die when doesn't start well

Selected player normal_in_youtube.com.chrome.txt
        (full path: C:\dev\ruby\sensible-cinema\zamples\players\youtube\normal_in_youtube.com.chrome.txt)
C:/dev/ruby/sensible-cinema/lib/screen_tracker.rb:37:in `initialize': poor width or wrong window (RuntimeError)
        from C:/dev/ruby/sensible-cinema/lib/screen_tracker.rb:10:in`new'
        from C:/dev/ruby/sensible-cinema/lib/screen_tracker.rb:10:in `new_from_yaml'
        from bin\sensible-cinema-cli:73:in`go_sc'
        from bin\sensible-cinema-cli:107

Confusion about how Play It My Way detects ads

Thanks again for creating this amazing program! Play It My Way has been a such a great filtering solution for when I watch Amazon and Youtube. I also greatly appreciate that you have released the program into the open-source world for other developers to learn from.

I have a question regarding one of the functions in the source code for the extension, linked below:

Basically, I'm trying to figure how this function detects when an ad is playing on Amazon Video. It appears the extension can determine if an ad is playing by determining if the video element's duration is different from current_json.url.total_time by more than 10.5 seconds, and if the later variable is greater than 0 (and if current_json isn't null). Upon further investigation, I found out that the current_json object gets its properties from the Kemal server hosted on the Play It My Way website.

So my question is: where does the server get the value for the current_json.url.total_time for the video on Amazon, so it can be compared with the video element's duration property?

Thank you in advance!

dies

if you don't have DVD in there, and do something:

93
done
Please use the Sensible Cinema GUI window popup...
"selecting user's only disk drive D:\ (Insert DVD and re-select)"
calculating disk's unique id...
got fatal exception
drive might not yet have disc in it? D:\
C:/dev/sensible-cinema/lib/drive_info.rb:29:in `md5sum_disk'
bin\sensible-cinema:510:in`choose_dvd_drive'
bin\sensible-cinema:348:in `choose_dvd_and_edl_for_it'
bin\sensible-cinema:392:in`do_copy_dvd_to_hard_drive'
bin\sensible-cinema:154:in `initialize'
C:/dev/sensible-cinema/lib/swing_helpers.rb:41:in`call'
C:/dev/sensible-cinema/lib/swing_helpers.rb:41:in `on_clicked'
:1

hash syntax blows it up

Exiting... (Quit)
got fatal exception in button
can't convert Hash into String
TypeError
D:/dev/sensible-cinema-never-commit-from-here/lib/edl_parser.rb:72:in extract_entry!' D:/dev/sensible-cinema-never-commit-from-here/lib/edl_parser.rb:71:ineach'
D:/dev/sensible-cinema-never-commit-from-here/lib/edl_parser.rb:71:in extract_entry!' D:/dev/sensible-cinema-never-commit-from-here/lib/edl_parser.rb:53:inconvert_to_timestamp_arrays'
D:/dev/sensible-cinema-never-commit-from-here/lib/edl_parser.rb:46:in parse_string' D:/dev/sensible-cinema-never-commit-from-here/lib/edl_parser.rb:24:inparse_file'
bin\sensible-cinema.rb:440:in parse_edl' bin\sensible-cinema.rb:467:inchoose_dvd_and_edl_for_it'
bin\sensible-cinema.rb:296:in do_mplayer_edl' bin\sensible-cinema.rb:147:ininitialize'
D:/dev/sensible-cinema-never-commit-from-here/lib/swing_helpers.rb:41:in call' D:/dev/sensible-cinema-never-commit-from-here/lib/swing_helpers.rb:41:inon_clicked'
:1
can't convert Hash into String

Is this project dead?

Is this project dead and/or discontinued? I'm looking for software like this one, but I see that all the links and the releases are dead and broken.

I have seen some new developments in other issues of this project, but they seem pretty dead, too (eg: https://playitmyway.org/).

Is there any "alive" software/site to filter some content? Is there a repository or web from which you can download the EDL files?

[Sorry for my sad English :(]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.