Convert DCP to MP4

Archive of historical feature requests.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Cantar4
Posts: 38
Joined: Sun Aug 21, 2016 7:07 am

Convert DCP to MP4

Post by Cantar4 »

I would like to convert DCPs to something else (like MP4..)
in order to easily spread my DCP-o-matic constructed short films.

HandBrake-0.10.5 on MacOS 10.11.6

mduell
Veteran User
Posts: 7132
Joined: Sat Apr 21, 2007 8:54 pm

Re: Convert DCP to MP4

Post by mduell »

Uh, great. What's the scan log look like when you open your DCPs with the nightly build of HB?

Cantar4
Posts: 38
Joined: Sun Aug 21, 2016 7:07 am

Re: Convert DCP to MP4

Post by Cantar4 »

Hello mduell, I am a newbie on this forum,
I can't access the restricted https://build.handbrake.fr/ to get the latest nightly build of HB.
Under v.0.10.5, the scan stops mid distance, the app freezes, the only escape is 'force quit'.

rollin_eng
Veteran User
Posts: 3467
Joined: Wed May 04, 2011 11:06 pm

Re: Convert DCP to MP4

Post by rollin_eng »


Cantar4
Posts: 38
Joined: Sun Aug 21, 2016 7:07 am

Re: Convert DCP to MP4

Post by Cantar4 »

Thanks to you two,
the latest version (2016 08 10 - 21:01:51) shows the same behavior ;
I can't post attachments, here is the scan log.

[23:32:56] macgui: Handbrake Version: 20160810210151-1db9a38-master (2016081101)
[23:32:56] hb_init: starting libhb thread
[23:32:56] hb_init: starting libhb thread
[23:33:31] macgui: trying to open a folder or file
[23:33:31] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[23:33:31] CPU: Intel(R) Core(TM) i5-2557M CPU @ 1.70GHz
[23:33:31] - Intel microarchitecture Sandy Bridge
[23:33:31] - logical processor count: 4
[23:33:31] hb_scan: path=/Users/jp/Movies/New Sarah doctor/NewSarahDoctor_SHR-1_F-178_20_2K_20160821_SMPTE_OV, title_index=0
disc.c:352: error opening file BDMV/index.bdmv
disc.c:352: error opening file BDMV/BACKUP/index.bdmv
[23:33:31] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
libdvdread:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[23:33:31] dvd: not a dvd - trying as a stream/file instead
[23:33:31] batch: scanning /Users/jp/Movies/New Sarah doctor/NewSarahDoctor_SHR-1_F-178_20_2K_20160821_SMPTE_OV/ASSETMAP.xml
[23:33:31] hb_stream_open: open /Users/jp/Movies/New Sarah doctor/NewSarahDoctor_SHR-1_F-178_20_2K_20160821_SMPTE_OV/ASSETMAP.xml failed
[23:33:31] batch: scanning /Users/jp/Movies/New Sarah doctor/NewSarahDoctor_SHR-1_F-178_20_2K_20160821_SMPTE_OV/VOLINDEX.xml
[23:33:31] hb_stream_open: open /Users/jp/Movies/New Sarah doctor/NewSarahDoctor_SHR-1_F-178_20_2K_20160821_SMPTE_OV/VOLINDEX.xml failed
[23:33:31] batch: scanning /Users/jp/Movies/New Sarah doctor/NewSarahDoctor_SHR-1_F-178_20_2K_20160821_SMPTE_OV/cpl_dcdae322-14ff-47bb-8cf4-bc85499c600f.xml
[23:33:31] hb_stream_open: open /Users/jp/Movies/New Sarah doctor/NewSarahDoctor_SHR-1_F-178_20_2K_20160821_SMPTE_OV/cpl_dcdae322-14ff-47bb-8cf4-bc85499c600f.xml failed
[23:33:31] batch: scanning /Users/jp/Movies/New Sarah doctor/NewSarahDoctor_SHR-1_F-178_20_2K_20160821_SMPTE_OV/j2c_4f9718e5-788c-4c47-b947-c899ca4bb84a.mxf
Input #0, mxf, from '/Users/jp/Movies/New Sarah doctor/NewSarahDoctor_SHR-1_F-178_20_2K_20160821_SMPTE_OV/j2c_4f9718e5-788c-4c47-b947-c899ca4bb84a.mxf':
Metadata:
uid : 0677c8d7-10fc-4ec4-bc53-04cf007496a6
generation_uid : cd7c8e83-a79c-4397-bfcb-e47968d8d1ff
company_name : libdcp
product_name : libdcp
product_version : 1.3.4devel
product_uid : 43059a1d-0432-4101-b83f-736815acf31d
modification_date: 2016-08-21 11:41:20
application_platform: linux
Duration: 00:00:21.58, start: 0.000000, bitrate: 99240 kb/s
Stream #0.0: Video: jpeg2000 (JPEG 2000 digital cinema 2K), xyz12le, 1998x1080, 24 fps, 24 tbn
[23:33:32] ffmpeg_title_scan: Unsupported color space
[23:33:32] batch: scanning /Users/jp/Movies/New Sarah doctor/NewSarahDoctor_SHR-1_F-178_20_2K_20160821_SMPTE_OV/pcm_3dc99bfb-9420-4c72-9bcf-6fd17d9c0656.mxf
Input #0, mxf, from '/Users/jp/Movies/New Sarah doctor/NewSarahDoctor_SHR-1_F-178_20_2K_20160821_SMPTE_OV/pcm_3dc99bfb-9420-4c72-9bcf-6fd17d9c0656.mxf':
Metadata:
uid : 5dcd824e-e8d5-461f-a8db-c32585221e26
generation_uid : a6970cf8-32df-4530-81e7-f915678e5824
company_name : libdcp
product_name : libdcp
product_version : 1.3.4devel
product_uid : 43059a1d-0432-4101-b83f-736815acf31d
modification_date: 2016-08-21 11:41:18
application_platform: linux
Duration: 00:00:21.58, start: 0.000000, bitrate: 6922 kb/s
Stream #0.0: Audio: pcm_s24le, 48000 Hz, 6 channels, s32, 6912 kb/s
[23:33:32] hb_stream_open: open /Users/jp/Movies/New Sarah doctor/NewSarahDoctor_SHR-1_F-178_20_2K_20160821_SMPTE_OV/pcm_3dc99bfb-9420-4c72-9bcf-6fd17d9c0656.mxf failed
[23:33:32] batch: scanning /Users/jp/Movies/New Sarah doctor/NewSarahDoctor_SHR-1_F-178_20_2K_20160821_SMPTE_OV/pkl_46c9f918-9a2e-4052-9ab4-fba4c4831f96.xml
[23:33:32] hb_stream_open: open /Users/jp/Movies/New Sarah doctor/NewSarahDoctor_SHR-1_F-178_20_2K_20160821_SMPTE_OV/pkl_46c9f918-9a2e-4052-9ab4-fba4c4831f96.xml failed
[23:33:32] batch: scanning /Users/jp/Movies/New Sarah doctor/NewSarahDoctor_SHR-1_F-178_20_2K_20160821_SMPTE_OV/sub_dcd5da1f-074b-45da-bd5c-bfde8b6bd039.mxf

mduell
Veteran User
Posts: 7132
Joined: Sat Apr 21, 2007 8:54 pm

Re: Convert DCP to MP4

Post by mduell »

Cantar4 wrote: Stream #0.0: Video: jpeg2000 (JPEG 2000 digital cinema 2K), xyz12le, 1998x1080, 24 fps, 24 tbn
[23:33:32] ffmpeg_title_scan: Unsupported color space
Can you pick some other colorspace on export, like YUV or RGB?

Cantar4
Posts: 38
Joined: Sun Aug 21, 2016 7:07 am

Re: Convert DCP to MP4

Post by Cantar4 »

I immmediatly ask Carl Hetherington, the main developer of dcp-o-matic,
to give us his advice since I believe DCPs should be created in the XYZ color space only.

User avatar
Rodeo
HandBrake Team
Posts: 12530
Joined: Tue Mar 03, 2009 8:55 pm

Re: Convert DCP to MP4

Post by Rodeo »

mduell wrote:
Cantar4 wrote: Stream #0.0: Video: jpeg2000 (JPEG 2000 digital cinema 2K), xyz12le, 1998x1080, 24 fps, 24 tbn
[23:33:32] ffmpeg_title_scan: Unsupported color space
Can you pick some other colorspace on export, like YUV or RGB?
He may have more luck once we update to libav12.

Cantar4
Posts: 38
Joined: Sun Aug 21, 2016 7:07 am

Re: Convert DCP to MP4

Post by Cantar4 »

[Rodeo]: once we update to libav12.

It would be much more orthodox !
Is there a risk the pinapple juice be totally eveporated by that time ?

musicvid
Veteran User
Posts: 3593
Joined: Sat Jun 27, 2009 1:19 am

Re: Convert DCP to MP4

Post by musicvid »

There are a number of editors that will open and convert DCP to a 10 bit intermediate that Handbrake will accept. Actually, it's the first I've thought about downconverting DCP for normal delivery.

Cantar4
Posts: 38
Joined: Sun Aug 21, 2016 7:07 am

Re: Convert DCP to MP4

Post by Cantar4 »

Thank you musicvid, would you give me a hint to find the MacOS editor
which has your preference for that purpose?
While waiting for the straightforward libav12 solution announced by Rodeo
I would prefer a non CLI app. :)

musicvid
Veteran User
Posts: 3593
Joined: Sat Jun 27, 2009 1:19 am

Re: Convert DCP to MP4

Post by musicvid »

I'm sure Final Cut Pro or Premiere would suit your purpose.
I'm on Windows, however.

Cantar4
Posts: 38
Joined: Sun Aug 21, 2016 7:07 am

Re: Convert DCP to MP4

Post by Cantar4 »

[23:33:32] ffmpeg_title_scan: Unsupported color space[/quote]
He may have more luck once we update to libav12.[/quote]

Rodeo, Is there a reasonable date for this update ?

User avatar
Rodeo
HandBrake Team
Posts: 12530
Joined: Tue Mar 03, 2009 8:55 pm

Re: Convert DCP to MP4

Post by Rodeo »

Before version 1.0. I think libav12 alpha may already be in the nightlies, or it will land there very shortly.

Cantar4
Posts: 38
Joined: Sun Aug 21, 2016 7:07 am

Re: Convert DCP to MP4

Post by Cantar4 »

Rodeo wrote:Before version 1.0.
I think libav12 alpha may already be in the nightlies, or it will land there very shortly.
Posted on the github handbrake page, "XYZ input color space unsupported " got this bradleysepos confirmation:
Libav (release or master) does not currently support xyz12le as an input pixel format.
Since we use Libav to read most files, it would be up to them to add this.


Good news, but... how do you know they are aware of our xyz misfortune? ;)

mduell
Veteran User
Posts: 7132
Joined: Sat Apr 21, 2007 8:54 pm

Re: Convert DCP to MP4

Post by mduell »

Have you told them yet?

Cantar4
Posts: 38
Joined: Sun Aug 21, 2016 7:07 am

Re: Convert DCP to MP4

Post by Cantar4 »

yes, I registered #960 - libav11 fails to support the XYZ color space
" not supported by Libav11, it's not possible for HandBrake to convert
a DCP (XYZ Digital Cinema Package color space) to an mp4 file (RGB color space)."
see https://bugzilla.libav.org/show_bug.cgi?id=960

Cantar4
Posts: 38
Joined: Sun Aug 21, 2016 7:07 am

Re: Convert DCP to MP4

Post by Cantar4 »

Hi Rodeo, it appears bradleysepos was closer to the plain sad reality:
there is not one word about the 'XYZ input unsupported' issue
between the developpers of Libav12 based on latest master branch.
My week old registered issue is a bird song amidst these tenors.

musicvid
Veteran User
Posts: 3593
Joined: Sat Jun 27, 2009 1:19 am

Re: Convert DCP to MP4

Post by musicvid »

Week old?
Took me a year to get a response, and two more to get my ticket into a release.
Not complaining though, just the way things work when software coders are paying for their own time.

https://bugzilla.libav.org/show_bug.cgi?id=99

Cantar4
Posts: 38
Joined: Sun Aug 21, 2016 7:07 am

Re: Convert DCP to MP4

Post by Cantar4 »

Thank you musicvid fot your insistance. You were right, DNxHD 10-bit 444 should be the standard of all pro cameras.
*******
Oliver Trenouth's blog https://olitee.com/2014/02/ffmpeg-conve ... quicktime/
showed last year how FFmpeg converts a DCP to H.264 -XYZ color space conversion included- by a simple command line:

ffmpeg -i "videofilename"_vid.mxf -i "audiofilename"_aud.mxf -c:v libx264 -pix_fmt yuv420p -preset slow -crf 21 -ac 2 outputfilename.mp4

Not being familiar with the MacTerminal handling, I was afraid to brick my machine by a wrong maneuver
(and why to install ffmeg, which is already there in HandBrake?).
That's why I asked the forum gurus to include this command in HB for us the CLI challenged cinematographers ;)
It appears it's not as simple as that...
Last edited by Cantar4 on Sat Sep 10, 2016 1:32 pm, edited 1 time in total.

rollin_eng
Veteran User
Posts: 3467
Joined: Wed May 04, 2011 11:06 pm

Re: Convert DCP to MP4

Post by rollin_eng »

HB does not use ffmpeg, where do people keep getting this from?

Cantar4
Posts: 38
Joined: Sun Aug 21, 2016 7:07 am

Re: Convert DCP to MP4

Post by Cantar4 »

My bad, I thought the Libav team was using the same ffmpeg roots
after the March 2011 split from the FFmpeg guys.
Would you enlighten us about the situation occuring after this mini-war between the two.
Last edited by Cantar4 on Sat Sep 10, 2016 1:57 pm, edited 1 time in total.

rollin_eng
Veteran User
Posts: 3467
Joined: Wed May 04, 2011 11:06 pm

Re: Convert DCP to MP4

Post by rollin_eng »

Yes libav is a fork of ffmpeg.

That was 5 years ago, just because ffmpeg can do something does not mean libav and/or HB can do it.

Cantar4
Posts: 38
Joined: Sun Aug 21, 2016 7:07 am

Re: Convert DCP to MP4

Post by Cantar4 »

Now I understand why the HB devs are waiting for lib12 to bring them the needed xyz color space input support
and why it is not a simple routine for the Libav team to implement it.
Am I naive to think that in the open source world it is normal to share codes?

btw, are you aware of this possible help: https://github.com/cth103/dumpxyz

User avatar
s55
HandBrake Team
Posts: 9783
Joined: Sun Dec 24, 2006 1:05 pm

Re: Convert DCP to MP4

Post by s55 »

IT's not helpful. This isn't a technical problem. It's more likely a lack of interest problem or people are just busy with other things that are more important to them and/or real-life.

There is no guarentee that libav12 will contain support either. They are in Alpha now so the likely hood of new features being added is slim.

Post Reply