18 lines
821 B
Markdown
18 lines
821 B
Markdown
# media-prawo-jazdy
|
|
|
|
## Requirements
|
|
|
|
- bash
|
|
- ffmpeg
|
|
|
|
## Usage
|
|
|
|
`bash script.sh <media_path>`
|
|
|
|
- media_path - folder with media files from the (Ministry of Infrasture)[https://www.gov.pl/web/infrastruktura/prawo-jazdy], the newest at the moment of me writing this (December 17th 2025) are the (visualisations for questions from November 2025)[https://www.gov.pl/pliki/mi/pytania_egzaminacyjne_na_prawo_jazdy_11_2025.zip], extract the media files themselves to this folder
|
|
|
|
## What does it do?
|
|
|
|
It converts (copies) all `.wmv` files to `.mp4` and copies all `.jpeg` files to `.jpg`.
|
|
|
|
When you have all media and the script completed successfully with `Seems fine`, host these files on a webserver of your choice (e.g. apache, nginx), further steps on [nuxt-prawo-jazdy](https://git.mandarynki.eu/netman/nuxt-prawo-jazdy)
|