# Video for web consumption ## Sources Best: DV (or another "classic" lightly compressed format). Second-best: MPEG-4 AVC or VP9 (or another "modern" strongly compressed format), with compression settings lowered most possible. Tolerated: almost any format - if in doubt just accept as-is. Worst: Tolerated format transcoded into a "better" one. ## Fetching Beware that a good source format is huge in size - can literally take *days* to download over the Internet! ### videohost To fetch video from a videohost like Vimeo Youtube, try each of these until it succeeds: cclive 'http://example.com/the.url.single-quoted' youtube-dl 'http://example.com/the.url.single-quoted' get_flash_videos 'http://example.com/the.url.single-quoted' ## Transcoding Move the source file(s) to subdirectory src. Use transcoding script localvideowebencode. Simple use: localvideowebencode src/the-source.dv Refined use: localvideowebencode --video talkinghead --profile 480p25 --audio speech src/the-source.dv Documentation: localvideowebencode --help ## Publishing Push video files to media server, e.g. media.biks.dk. Reference thepublished files, e.g. using a template in Ikiwiki.