gmarty/DVD.js: Playing DVD in JavaScript for the ... - GitHub
文章推薦指數: 80 %
Playing DVD in JavaScript for the sake of interoperability - GitHub - gmarty/DVD.js: Playing DVD in JavaScript for the sake of interoperability. Skiptocontent {{message}} gmarty / DVD.js Public Notifications Fork 15 Star 165 PlayingDVDinJavaScriptforthesakeofinteroperability gmarty.github.io/jsconf-2014-talk-play-dvd-in-js/ GPL-3.0License 165 stars 15 forks Star Notifications Code Issues 6 Pullrequests 0 Actions Projects 0 Security Insights More Code Issues Pullrequests Actions Projects Security Insights Thiscommitdoesnotbelongtoanybranchonthisrepository,andmaybelongtoaforkoutsideoftherepository. converter Branches Tags Couldnotloadbranches Nothingtoshow {{refName}} default Couldnotloadtags Nothingtoshow {{refName}} default 2 branches 0 tags Code Latestcommit Gitstats 214 commits Files Permalink Failedtoloadlatestcommitinformation. Type Name Latestcommitmessage Committime bin config public src .bowerrc .gitattributes .gitignore Gruntfile.js LICENSE.txt README.md bower.json package.json tsd.json Viewcode DVD.js Talk Approach Install Support FAQ Doyouneedhelp? Whydoingthat? Whydon'tyoujustconvertthevideofortheweb? WhynotusingEmscripten? README.md DVD.js PlayingDVDinJavaScriptforthesakeofinteroperability Talk Formoredetailsonthisproject,havealookatthevideoofthetalkIgave atJSConf2014. Theslidedeckis alsoavailable. Approach Thisbranch,namedconverter,containsanencoderofDVDtowebformat.For theattempttoplayDVDon-the-fly,lookintothemasterbranch. IportedlibdvdreadandlibdvdnavtoJavaScript.Severalpassesareappliedto thecontentofaDVDtomakeitplayableonabrowserusingnativefeatures: IFOfilesareparsedtoJSON ChaptersaregeneratedasWebVTT NAVpacketsareextractedtoJSON Thebuttonssize/positionaresavedtoCSS ThemenustillframesaresavedtoPNG(tobedone) VMcommandsarecompiledintoJavaScript ThevideoisencodedtoWebm Install Clonetherepolocallyandinstallthedependencieswith: $npminstall $bowerinstall $gruntinstall You'llneedtoinstallthelatestversionofffmpeg. Then,compiletheTSfilestoJavaScriptwith: $grunt Ifyouseeamessagesaying'Done,withouterrors'thenthecompilationto JavaScriptwassuccessful. CreatethefolderthatwillholdyourDVD,e.g.: $cd/home/user/ $mkdirdvd $pwd /home/user/dvd ThenupdatethedvdPathpropertyoftheconfigfileinconfig/app.jsonto matchthepathtothefoldercreatedabove. CopyanunprotectedDVDintoasubfolderofdvd/(e.g.in /home/user/dvd/SitaSingstheBlues/) ToconverttheDVD,do: $nodebin/convert/home/user/dvd/SitaSingstheBlues/ Waitforawhile(reencodingvideotakesaloooooongtime). Startthewebserver: nodebin/http-server Finally,pointyourbrowserto: http://localhost:3000/ ...andenjoyyourDVDfromyourbrowser! Support Allbrowserssupportingthefollowingfeatures:
延伸文章資訊
- 1Playing DVD in JavaScript for the sake of interoperability
For that purpose, I ported libdvdread and libdvdnav libraries to JavaScript so that we can parse ...
- 2Bouncing DVD Logo With Vanilla JavaScript For Beginners
- 3JS Bach: Goldberg-Variationen / Andreas Staier (CD+DVD)
J.S. Bach: Goldberg-Variationen / Andreas Staier (CD+DVD)
- 4.:JSDVD Mall:. Welcome to JSDVD.com!! =Worldwide Delivery ...
Special Education. Family Education. Erotic. Horror. Drama. Animation. Movie. Music. Animation. T...
- 5js dvd - 人氣推薦- 其他- 2022年2月 - 露天拍賣
你想要的網路熱門推薦js dvd人氣商品都在露天!買js dvd立即上露天享超低折扣優惠和運費補助,新註冊會員天天享優惠,快來露天參加各種快閃優惠活動,安心網購超方便!