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
42 stars 11 forks source link

Unpacking a non-rawcooked FFV1/MKV #118

Open pjotrek-b opened 6 years ago

pjotrek-b commented 6 years ago

When starting rawcooked with a "normal" FFV1/MKV file (=not produced by rawcooked), rawcooked processes the whole file (CPU at 100%) - but only at the very end says:

Untested More video frames in source content than saved frame headers in reversibility data, please contact info@mediaarea.net if you want support of such file

Would it be possible to tell the user earlier that nothing will be output?

Or even more daring: Would it be possible to actually output a generated DPX sequence for such files? (But that's wishlist of course :wink: )

JeromeMartinez commented 6 years ago

Would it be possible to tell the user earlier that nothing will be output?

Oops... True, I should test sooner that there are issues here.

Would it be possible to actually output a generated DPX sequence for such files?

More work (I need to create the DPX header for every flavor of FFV1) but doable, just wondering how useful it is vs e.g. FFmpeg directly (if/when my decoder is quicker, it is another story... ;-) )

pjotrek-b commented 6 years ago

Sorry that this report contains 2 different things: 1) Report earlier that this is not a rawcooked file 2) Deal with non-rawcooked files.

Shall I create a separate issue for no.2 - as a wishlist thing? I think it'd be useful (but absolutely no priority right now), because using rawcooked instead of FFmpeg would be super-easy, all-in-one step with close-to-no-error potential :grin:

e.g. printf syntax for filenames might be scary for some: %03d.dpx? %06d.dpx? You know... :fearful: Just thinking out loud...

JeromeMartinez commented 6 years ago

Shall I create a separate issue for no.2 - as a wishlist thing?

Would be better, true, I will not implement that at the same time.

e.g. printf syntax for filenames might be scary for some: %03d.dpx? %06d.dpx? You know...

Issue is that I'll have to decide arbitrary of the format. but true, easier for beginners.

Just thinking out loud...

And will not be the priority until a sponsor shows interest. (does not prevent to open a ticket, so we can provide ideas to sponsors).

retokromer commented 6 years ago

Would it be possible to tell the user earlier that nothing will be output?

True, I should test sooner that there are issues here.

Is this implemented in the current head?

JeromeMartinez commented 6 years ago

Not yet implemented. For this one I think it could worth it only if someone is interested in sponsoring it (not a big issue for implementing it but more work not in the initial scope of the project IMO).

retokromer commented 5 years ago

If I use normal Matroska/FFV1 file, i.e. not a RAWcooked one, then I receive the error message:

Time=00:00:00 (0%)    Segmentation fault: 11

I suggest to have a more telling message.

JeromeMartinez commented 5 years ago

Segmentation fault:

Crash is not a feature :). Will do.

retokromer commented 5 years ago

Crash is not a feature :).

Especially not in the airlines industry…

Will do.

Thank you!