Date: Mon, 21 Jul 2014 23:59:55 -0700
From: Robert M Ochshorn
Subject: Re: Python, Numpy, etc.

On Jul 21, 2014, at 11:27 PM, Dave Cerf wrote:

Next step will be to figure out how to get raw frames out, &c, but this is a promising beginning. I successfully converted a MXF to a MOV.
That's fantastic… I imagined this would be hellish and take years of pain, so I am very encouraged.

Wow! ffmbc is so similar to ffmpeg that I only needed to change one line of code[1] to drop it in as a replacement. And now we have a MXF thumber:


Onward,
R.M.O.

[1]
diff --git a/fuck_thumber/fuck_thumber.py b/fuck_thumber/fuck_thumber.py
index b188034..9bbfbf8 100644
--- a/fuck_thumber/fuck_thumber.py
+++ b/fuck_thumber/fuck_thumber.py
@@ -3,7 +3,9 @@ import numpy as np
 from PIL import Image

 

 # Use the FFmpeg binary in this directory, rather than on the system
-numm.FFMPEG = "./ffmpeg"
+numm.FFMPEG = "ffmbc"

 

 import sys