#include "lib/dcp_content_type.h"
#include "lib/ratio.h"
#include "lib/image_content.h"
+#include <libxml++/libxml++.h>
#include <boost/filesystem.hpp>
#include <getopt.h>
#include <string>
int
main (int argc, char* argv[])
{
+ dcpomatic_setup_path_encoding ();
dcpomatic_setup ();
string name;
film->set_signed (sign);
for (int i = optind; i < argc; ++i) {
- shared_ptr<Content> c = content_factory (film, argv[i]);
+ shared_ptr<Content> c = content_factory (film, boost::filesystem::canonical (argv[i]));
shared_ptr<VideoContent> vc = dynamic_pointer_cast<VideoContent> (c);
if (vc) {
vc->set_scale (VideoContentScale (content_ratio));