Prepare audio for YouTube with avconv

How to create a video file from a single image and audio track using avconv:

Thanks to a question/recipe from SuperUser:

Bash: download from camera and convert to webm

So, M. works on this piece with students of Duncan Centre and SVŠGL, currently in Prague. Later rehearsals will happen in Ljubljana. Anyway, she’s documenting rehearsals on HD camera, which produces HD h264-encoded clips, that are practically unwatchable on her X200 thinkpad. So I wrote a little script that downloads the clips to an external drive and converts them to WEBM format. I think it’s one of the neatest scripts so far from me, as it even uses little error checking (for existence of folders for example).

Continue reading

avconv: replace audio

How to easily replace (faulty/wrong) audio in an video file without re-encoding the whole video? Using “copy” codec for video and -map option to use new audio: