Posts from 2014-07

Generating Sound with Python

With Python Standard Library Methods

http://www.swharden.com/blog/2011-07-08-create-mono-and-stereo-wave-files-with-python/

from struct import pack
from math import sin, pi
import wave
import random

RATE=44100

## GENERATE MONO FILE ##
wv = wave.open('test_mono.wav', <span...

Read on

Changing the Framerate / FPS of an x264 .mp4 movie file without re-encoding

Alain Kelder mentioned this command employing mencoder in his blog post (see resources section):

MOVIE=your-movie.mp4
mencoder -fps 60 -nosound -ovc copy $MOVIE -o $(basename -s .mp4 $MOVIE)_60p_no-re-enc.mp4

Alternatives

Or use MP4Box if it's available for your platform:

# http://askubuntu.com/a/370826/6326
MP4Box -add source.mp4#video -raw 1 -new test
# Then save it as an...

Read on