Donate Share

OpenIPMP

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

encrypt a mp4 file not succeed

You are viewing a single message from this topic. View all messages.

  1. 2007-12-12 02:58:21 UTC
    after i have installed DRM server,DRMPlugin and mpeg4ip under linux ubuntu ,I begin to use mp4creator to encrypt mp4 file from a raw file.but i meet some problem.my process is as follows.
    i use the following order.
    sudo mp4creator -E -W="/home/ouyang/Desktop/installed/openipmp2/src/Demo/mpeg4ip/mpeg4ip-1.5/server/mp4creator/EncoderInfo.xml" -X="UserName;oyqtest" -X="UserPass;123456" -Y="oma;cbc" -Y="openipmp;bfs" /home/ouyang/Desktop/test/test-raw/T5m-new.mp4 enc-T5m-new1.mp4

    i can not find the registered content in the place"http://localhost:8080/openipmp/jsp/registeredContent.jsp".however i only find some errors in the log file "drmplugin.log"
    XMLFactory::DecodeDocumentFromFile: cannot open /home/ouyang/Desktop/installed/openipmp2/src/Demo/mpeg4ip/mpeg4ip-1.5/server/mp4creator/EncoderInfo.xml
    ...
    DRMEncHandler::GetEncryptor: Cannot create XML document...
    And my "/home/ouyang/Desktop/installed/openipmp2/src/Demo/mpeg4ip/mpeg4ip-1.5/server/mp4creator/EncoderInfo.xml" is as follows
    <EncoderInfo>

    <!-- Rights host address-->

    <RightsHostURL>localhost:8080</RightsHostURL>

    <!-- OMA silent header-->

    <SilentHeader>Silent:on-demand;www.silent.com</SilentHeader>

    <!-- OMA preview header-->

    <PreviewHeader>Preview:instant;www.preview.com</PreviewHeader>

    <!-- OMA content URL header-->

    <ContentURLHeader>ContentURL:www.content.com</ContentURLHeader>

    <!-- OMA content version header-->

    <ContentVersionHeader>ContentVersion:original-content-identifier:1.1</ContentVersionHeader>

    <!-- OMA content location header-->

    <ContentLocationHeader>Content-Location:www.content.com</ContentLocationHeader>

    <!-- OpenIPMP p12 file path-->

    <P12FilePath>/home/ouyang/Desktop/</P12FilePath>

    <!-- OpenIPMP random number file-->

    <RandomNumberFilePath>.\entropy.dat</RandomNumberFilePath>

    <!-- Content title, used by DOI content info manager-->

    <ContentTitle></ContentTitle>

    <!-- DOI content information-->

    <doi:KernelMetadata xmlns:doi="http://www.doi.org/">

    <DOI>TBD</DOI>

    <Identifiers>

    <Identifier>

    <IdentifierType>ISWC</IdentifierType>

    <IdentifierValue>T-034.524.680</IdentifierValue>

    </Identifier>

    </Identifiers>

    <Titles>

    <Title>

    <TitleValue>title</TitleValue>

    <Language>en</Language>

    </Title>

    </Titles>

    <StructuralType>visual</StructuralType>

    <Modes>

    <Mode>visual</Mode>

    </Modes>

    <PrimaryAgents>

    <Agent sequence="1">

    <Name>

    <NameType>Person</NameType>

    <NameValue>Matt Witte</NameValue>

    </Name>

    <Roles>

    <Role>Artist</Role>

    </Roles>

    </Agent>

    <Agent sequence="2">

    <Name>

    <NameType>Person</NameType>

    <NameValue>Freddy</NameValue>

    </Name>

    <Roles>

    <Role>Directory</Role>

    </Roles>

    </Agent>

    </PrimaryAgents>

    <Assertor>

    <Registrant>

    <Name>

    <NameType>Person</NameType>

    <NameValue>Persons Name Here</NameValue>

    </Name>

    <Identifier>

    <IdentifierType>PublisherCode</IdentifierType>

    <IdentifierValue>9901</IdentifierValue>

    </Identifier>

    </Registrant>

    <Authority>

    <Name>

    <NameType>Organization</NameType>

    <NameValue>Objectlab</NameValue>

    </Name>

    </Authority>

    </Assertor>

    </doi:KernelMetadata>

    </EncoderInfo>
    my oyqtest.p12 file is located in /home/ouyang/Desktop/oyqtest.p12.
    Also, i don't konw the file "entropy.dat" is from,because i can not find it
    in any directory.
    so what is my problem?
    any advice is appreciated.
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.