We are encoding and applying DRM to movies submitted by members of our
website. Here's a sample encoding command line.
encode.cmd moviefilename streambitrates_profilename
Encode.cmd looks like this:
call cscript.exe "C:\Program Files\Windows Media
Components\Encoder\wmcmd.vbs" -input "C:\Documents and
Settings\Administrator\My Documents\Movies to Encode\%1.wmv" -output
"C:\Documents and Settings\Administrator\My Documents\Movies
Encoded\%1.wmv" -loadprofile "c:\Program Files\Windows Media
Components\Encoder\Profiles\%2.prx"
Using the profile files we'd encode a 2Mbps movie at 512Kbps, 1Mbps and
1.5Mbps and 2Mbps to ensure the best streaming quality can be delivered
based on members' connection speeds.
Pretty basic stuff and most go through with no problems at all, but some
movies give us the following error message part way through encoding:
Error occurred in transcoding: Error Code = 0x8007000E
I've done some research and see that this error points to out of memory.
This is a Windows 2003 Server with all updates and codecs and has 8Gb of RAM
and 4 quad core CPUs. Unless there's an issue with the memory being
assigned to the command prompt or cscript then I would think there should be
no cause for memory issues.
One thing that we do notice is that movie submissions from some Vista
machines come encoded as "Windows Media 9 Professional". If we re-encode
these movies (using AVS Video Converter) to "Windows Media 9", (i.e. losing
the Professional bit), whilst keeping the same bitrates and sizes, they can
then be encoded/encrypted by out batch file without any problems.
My question is why does this format (which may be a red herring), give us
these errors? Why does re-encoding using the same movie settings but
perhaps a less modern codec allow our file to be encrypted with DRM?
We're not talking about huge or complicated movies. One sample I have is
195Mb, 16m35s long , 1920 x 1080, Audio: Windows Media Audio 9.2, 128 kbps,
44 kHz, stereo (A/V) 1-pass CBR, Video: Windows Media Video 9 Professional
with a bit rate of 1.59 Mbps.
Any help would be gratefully appreciated.
Many thanks
Mike