Do you have an example of the AVI container VideoEncoder settings for uncompressed?
This should work:
fps = 24
width = 960
height = 540
enc = Draft.VideoEncoder( 'c:/temp/test.avi', fps, width, height, codec='rawvideo' )
Please let us know if you encounter any problems.
Just tried it and it created an AVI that is somewhat playable in Mediaplayer but Premiere doesn’t recognize. Note I was using “RAWVIDEO” instead of ‘rawvideo’ is case a problem?
Do you need to use an AVI container? Does a MOV container work in Premiere?
EDIT: the codec parameter is case insensitive, so ‘rawvideo’, ‘RAWVIDEO’, or ‘Rawvideo’ will all work fine.
Mov container will work. But my computer wasn’t reading uncompressed MOVs for some reason so we were going to try AVI and I figured I would add AVI support to batchdraft.
I’ve attached two files. One is encoded by media encoder and one is encoded by Draft. The Media Encoder one is able to open in everything but the Draft one only opens in Windows 8’s media player. Hopefully you can take a look at the header data or something and see if there isn’t an easy fix to Draft’s encoding.
What does the Draft version not open in? I’ve tried it in Video (app), VLC, Fusion and WMP, and it opens fine in all of those.
Quicktime and Premiere are the two I tried it in.
What version of QuickTime are you using? (Or what other program are you using to play uncompressed MOVs on your machine?) QuickTime Player 7.7.4 on Windows plays RAWVIDEO .MOV files for me.
I’m using 7.7.4 too. It normally opens uncompressed AVIs… just not Draft encoded uncompressed AVIs. Well it’ll open them but just as black.
EDIT: 7.7.4 (1680.86 ) to be specific.
Report logged.
Bump
This hasn’t been forgotten.