opendcp icon indicating copy to clipboard operation
opendcp copied to clipboard

MXF Grabing frames with incorrect ordering when file names begin with a digit

Open GoogleCodeExporter opened this issue 9 years ago • 17 comments

*Please fill in all defect information below.*

Product Version:0.29.0
GUI or CLI: GUI 
Operating system: Win XP SP3

What steps will reproduce the problem?
1.Create a sequence of Frames Called "StudioHeader000"
2.Create a sequence of Frames Called "MainFilm000"
3.Create a sequence of Frames Called "Credits000"
4.Since we want them in that order but want to keep them labeled:
4.1.Prefix the StudioHeader000 with "_" ie "_StudioHeader000 to put it at the 
beginning
4.2.Prefix the Credits000 with "-" ie "-Credits000 to put it at the end
6. Frames will show in the correct order when sorted by name in the folder
5. make an MXF file
What is the expected output?
an MXF file has frames in AlphaNumeric Order as seen in the folder

What is actual output?
an MXF file that goes Credits000 then MainFilm000 then StudioHeader000.


Please provide any additional information below.
From testing it seems that OpenDCP is grabbing Frames by the byte value of the 
character, and not by normal FileName sorting algorithms. Since "-" has the 
lowest byte value it comes first, and "_" comes last, which is the opposite of 
what a folder will display.


So we can see in wrong in the folder and get the correct result, or see it 
right in the Folder and get the wrong result.






Original issue reported on code.google.com by [email protected] on 18 Feb 2014 at 7:28

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter

This will not work. All filenames need to be the same length and share the same 
base component name.

Original comment by [email protected] on 18 Feb 2014 at 7:40

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter

[deleted comment]

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter

It does work, just the order is wrong.  I'm talking about the conversion from a 
sequence of .j2c to a single .mxf file (not the Jpeg2k compression)

Original comment by [email protected] on 19 Feb 2014 at 2:09

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter

Yes, by it won't work, I mean the order is not guaranteed to be correct.

Original comment by [email protected] on 19 Feb 2014 at 2:47

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter

Ok,  I saw your documentation edit and thought that you might have 
misunderstood me.

Original comment by [email protected] on 19 Feb 2014 at 4:24

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter

Each OS is different in how they return file listings and it can also vary 
depending on which method is used to get the listing. Therefore, it is good 
practice to keep filenames the same length and not mix and match prefixes or 
suffixes. You should have received a warning message saying so. If not, then 
that is a bug.

Original comment by [email protected] on 19 Feb 2014 at 5:13

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter

MXF creation happens alrigth but the output video has the wrong file number. IS 
this an OSX version BUG or it is a program bug? how can i fix this. PLease help!

Original comment by [email protected] on 10 Mar 2014 at 10:56

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter

What do you mean has the wrong file number?

Original comment by [email protected] on 11 Mar 2014 at 12:34

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter

I meant that the program was putting the Jpgs in the wrong order. It might be a 
bug on OSX. I did the same process and just changed the way the files were 
arranged in the finder and it got fixed. Same files, same names.. weird. 
But now I have a DCP that when i try to open in DOREMI evaluation version it 
says that cannot find the reference CPL from PKL.. or something like that. I 
tried doing the whole thing over a couple of time and it just keep happening. 
Also if a try to open in QUVIs. If I do the advance open and choose each MXF 
separately it plays fine, but when I try to open the DCP it just doesn't do 
anything.


David Rubio
PRODUCTOR
IMAGINADA
[email protected]

Original comment by [email protected] on 13 Mar 2014 at 8:01

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter

Please list the first and last filename of your sequence.

Original comment by [email protected] on 13 Mar 2014 at 8:04

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter

13pdcp24p_000000000.j2c

13pdcp24p_000104830.j2c


Do you have any idea why the "wrapping" is not being recognized? I keep getting 
the following error?

https://www.dropbox.com/s/bnycd0zifsqq7ff/Screenshot%202014-03-13%2017.19.54.png

thanks a lot!!

David Rubio
PRODUCTOR
IMAGINADA
[email protected]

Original comment by [email protected] on 13 Mar 2014 at 8:20

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter

That file scheme looks fine. I wonder if starting with the digit causes a 
problem.

Your other issue is a bug in DoRemi's player.

Original comment by [email protected] on 13 Mar 2014 at 8:24

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter

I will try and do it all over again without the digit. I will just write the 
words of the name and let you know if this made a difference.

Could you tell me what is the best way to try the DCP pack. In order to deliver 
it safely to a festival that might not check it themselves, thus risking a very 
important projection.





David Rubio
PRODUCTOR
IMAGINADA
[email protected]

Original comment by [email protected] on 13 Mar 2014 at 8:29

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter

Try EasyDCP Player.

Original comment by [email protected] on 13 Mar 2014 at 8:30

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter

Any update on this?

Original comment by [email protected] on 28 Apr 2014 at 1:11

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter

I did change the digit, instead of writing 13 in numbers I put it in letters 
and it worked just fine. The wrapper and title generator worked perfect.

David Rubio
PRODUCTOR
IMAGINADA
[email protected]

Original comment by [email protected] on 28 Apr 2014 at 1:18

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter

Ok, thanks for the update.

Original comment by [email protected] on 28 Apr 2014 at 1:23

  • Changed title: MXF Grabing frames with incorrect ordering when file names begin with a digit
  • Changed state: Accepted

GoogleCodeExporter avatar Mar 13 '15 16:03 GoogleCodeExporter