MediaArea / RAWcooked

Encodes RAW audio-visual data into the Matroska container (MKV), using the video codec FFV1 for the image and audio codec FLAC for the sound.
https://mediaarea.net/RAWcooked
BSD 2-Clause "Simplified" License
41 stars 9 forks source link

Error: undecodable DPX version number of header format #394

Closed megan-mcshea closed 1 year ago

megan-mcshea commented 1 year ago

I'm getting this error with a batch of vendor-produced DPX sequences:

undecodable DPX version number of header format

There are non-zero padding characters in the "Version Number of Header Format" field ("V1.0i" or other stray characters after the 1.0).

Is there any workaround that would allow me to encode the DPX with this error? or would you recommend I correct the files, or have the vendor correct the files?

Thanks.

JeromeMartinez commented 1 year ago

The spec is not very precise, even for V2, we are a bit too strict about that, we'll relax the check and permit such kind of file soon.

Spec: "ASCII vers[8]; / which header format version is being used (v1.0)/" so not so much hint about what is acceptable or not.

or would you recommend I correct the files,

As the spec is not precise, I think that it would not worth it to "fix" that if no other tool fails to read such file, we just change the validation rules on our side.

megan-mcshea commented 1 year ago

Hello, Checking in about this issue. We'll need to proceed with these files in the next few months. Do you think you might get to the issue in that time frame? Or should we correct the header so that it doesn't throw the error as-is? Thanks :)

JeromeMartinez commented 1 year ago

Apologizes for the huge delay, it will be in your time frame for sure, and I try to do it before and of month.

megan-mcshea commented 1 year ago

No apologies necessary. Thanks, Jerome!

JeromeMartinez commented 1 year ago

@megan-mcshea you can test with latest development snapshots.

megan-mcshea commented 1 year ago

Latest snapshot has resolved the issue I was having. Thanks so much!