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:
延伸文章資訊
- 1gmarty/DVD.js: Playing DVD in JavaScript for the ... - GitHub
Playing DVD in JavaScript for the sake of interoperability - GitHub - gmarty/DVD.js: Playing DVD ...
- 2JS Bach: Goldberg-Variationen / Andreas Staier (CD+DVD)
J.S. Bach: Goldberg-Variationen / Andreas Staier (CD+DVD)
- 3[無殼光碟]JS 彭于晏非愛不可首張專輯CD + DVD - 奇摩拍賣
彭于晏 非愛不可 首張專輯 CD + DVD. 播放面狀況: 細紋播放正常. 品相如照片正面印刷請參考圖片(印刷面如有刮傷掉漆等不另敘述). 謝絕完美主義以免日後爭議.
- 4Bouncing DVD Logo With Vanilla JavaScript For Beginners
- 5js dvd - 人氣推薦- 電玩、遊戲- 2022年3月 - 露天拍賣
你想要的網路熱門推薦js dvd人氣商品都在露天!買js dvd立即上露天享超低折扣優惠和運費補助,新註冊會員天天享優惠,快來露天參加各種快閃優惠活動,安心網購超方便!