Skip to content

Instantly share code, notes, and snippets.

@ananthp
Created August 11, 2012 10:33
Show Gist options
  • Select an option

  • Save ananthp/3323662 to your computer and use it in GitHub Desktop.

Select an option

Save ananthp/3323662 to your computer and use it in GitHub Desktop.
Video for Music

Prerequisites

  • projectM-pulseaudio
  • glc
  • alsa-oss (for aoss)

Settings

projectM -- window size = 1282x720, texture = 1024 or 512 (watch performance), (for 1280x720. 2 pix goes for window border)

workflow

launch and capture projectM visualization glc-capture -s -l /tmp/glc.log -o /tmp/video.glc projectM-pulseaudio

convert captured glc video to avi (raw copy. Warning! BIG File ~3GiB/min. no sound.) aoss glc-play video.glc -y 1 -o - | mencoder -demuxer y4m - -ovc raw -nosound -o /tmp/video.avi
Use -vcodec=ffv1 or -vcodec=ljpeg for compression instead of -ovc raw for lossless compression)

Import to kdenlive, render to mp4, h264, 30 fps, audio: aac 48k (defaults)

References

Encoding for Youtube

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment