wolfgangw/digital_cinema_tools

can't generate cpl

parik32 opened this issue · 1 comments

I want create encrypted package but have trouble Cinemaslides say me

  • Write image trackfile ...
  • Write CPL
    ./cinemaslides:1044:in read': failed to allocate memory (NoMemoryError) from ./cinemaslides:1044:inasdcp_digest'
    from ./cinemaslides:1323:in initialize' from /var/lib/gems/1.8/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:373:incall'
    from /var/lib/gems/1.8/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:373:in insert' from /var/lib/gems/1.8/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:357:inmethod_missing'
    from ./cinemaslides:1315:in initialize' from /var/lib/gems/1.8/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:373:incall'
    from /var/lib/gems/1.8/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:373:in insert' from /var/lib/gems/1.8/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:357:inmethod_missing'
    from ./cinemaslides:1299:in initialize' from /var/lib/gems/1.8/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:373:incall'
    from /var/lib/gems/1.8/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:373:in insert' from /var/lib/gems/1.8/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:357:inmethod_missing'
    from ./cinemaslides:1297:in initialize' from /var/lib/gems/1.8/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:274:ineach_with_index'
    from ./cinemaslides:1294:in each' from ./cinemaslides:1294:ineach_with_index'
    from ./cinemaslides:1294:in initialize' from /var/lib/gems/1.8/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:373:incall'
    from /var/lib/gems/1.8/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:373:in insert' from /var/lib/gems/1.8/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:357:inmethod_missing'
    from ./cinemaslides:1293:in initialize' from /var/lib/gems/1.8/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:373:incall'
    from /var/lib/gems/1.8/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:373:in insert' from /var/lib/gems/1.8/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:357:inmethod_missing'
    from ./cinemaslides:1279:in initialize' from /var/lib/gems/1.8/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:293:ininitialize'
    from ./cinemaslides:1278:in new' from ./cinemaslides:1278:ininitialize'
    from ./cinemaslides:2788:in `new'
    from ./cinemaslides:2788
    gem,highline,nokogiri installed
    And dear Wolfgangw can you make instruction "how to create encrypted package".

Upgrade your ruby to 1.9.x: Use rbenv to set up a proper ruby environment and -- while at it -- get rid of your system's default ruby.

Run make-dc-certificate-chain.rb to build a proof-of-concept-grade digital cinema compliant certificate chain.

Run

cinemaslides --type dcp --encrypt [all your other options ...]

to build an encrypted package. Read Cinemaslides Usage, this should get you started.