Giter Site home page Giter Site logo

halmela / koe-ohje Goto Github PK

View Code? Open in Web Editor NEW

This project forked from digabi/koe-ohje

0.0 1.0 0.0 64.97 MB

Kokelaan käyttöympäristön ohje, joka näytetään kokelaalle WebKit-selaimella.

Makefile 0.13% CSS 0.48% JavaScript 83.15% HTML 15.73% Python 0.27% Shell 0.24%

koe-ohje's Introduction

koe-ohje

Kokelaan käyttöympäristön ohje, joka näytetään YTL:n digitaalisen ylioppilaskokeen kokelaalle WebKit-selaimella (ks. digabi-koe-browser.py).

Ohjeet muutosten ehdottamiseen

YTL ottaa vastaan muutosehdotuksia erityisesti kaavakokoelmaan. Muutosehdotukset on tehtävä pull requestina:

  1. Tee tästä koodihakemistosta oma kopiosi (fork): (https://help.github.com/articles/fork-a-repo/)
  2. Tee muutokset omaan koodihakemistoosi (clone, commit, push): esim. https://guides.github.com/activities/hello-world/
  3. Lähetä muokkausehdotus (pull request): (https://help.github.com/articles/creating-a-pull-request/)

Muutosehdotuksien tekijöiden on hyvä huomata, että kaavakokoelma on kaksikielinen.

Vinkkejä

  • Varsinainen aputiedosto löytyy content/index.html. Välilehdet löytyvät content/tab-*.html.
  • Voit katsoa tiedostoa lataamalla selaimeen content/index.html-tiedoston. Ruotsinkielisen tiedoston voit ladata lisäämällä URL:iin ?sv eli näin: file:///polku-omalla-levyllasi/content/index.html?sv

Videoiden lisääminen

Tutki ensin uuden videotiedoston äänenvoimakkuus:

$ ffmpeg -i videotiedosto.mov -af "volumedetect" -f null /dev/null [Parsed_volumedetect_0 @ 0xb4cd900] mean_volume: -30.1 dB [Parsed_volumedetect_0 @ 0xb4cd900] max_volume: -9.8 dB

Nyt haluat lisätä äänenvoimakkuutta 9.8 dB (ks. edellinen max_volume ja skaalata videon 640px leveyteen:

ffmpeg -i "/home/user/input_video.mpg" -codec:v libvpx -quality good -cpu-used 0 -b:v 600k -qmin 10 -qmax 42 -maxrate 500k -bufsize 1000k -threads 2 -vf scale=640:-1 -af "volume=9.8dB" -an -pass 1 -f webm /dev/null ffmpeg -i "/home/user/input_video.mpg" -codec:v libvpx -quality good -cpu-used 0 -b:v 600k -qmin 10 -qmax 42 -maxrate 500k -bufsize 1000k -threads 2 -vf scale=640:-1 -af "volume=9.8dB" -codec:a libvorbis -b:a 128k -pass 2 -f webm output.webm

Tuloksena on output.webm

Lisenssi

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC-BY-NC-SA).

Kiitämme

  • Peter Ahlroos: Videot
  • Riitta Salmenoja: Mekaniikan kaavoja

koe-ohje's People

Contributors

mplattu avatar timotm avatar

Watchers

James Cloos avatar

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.