xiph / awcy

http://arewecompressedyet.com/
MIT License
70 stars 46 forks source link

Does awcy supports MXF? #304

Open tarun-discovery opened 2 years ago

tarun-discovery commented 2 years ago

Hi, I was trying to generate results against MXF file Q1) I was able to get it to read MXF but then workers never picked it up, i get following logs

I also tried to directly run it through x264 and saw it x264 works on it

2021-12-17 18:58:01.771 Retrying work gtptest.mxf with quality 10 for run @2021-12-17T18:55:29.787Z ... 4 of 5 retries. 2021-12-17 18:58:01.771 Encoding gtptest.mxf with quality 10 for run @2021-12-17T18:55:29.787Z on awcy-worker.awcy-worker 2021-12-17 18:58:05.589 Failed to copy back gtptest.mxf-40-stdout.txt, continuing anyway 2021-12-17 18:58:05.589 Decoding result for gtptest.mxf at quality 40 failed! 2021-12-17 18:58:05.589 stdout: 2021-12-17 18:58:05.589 2021-12-17 18:58:05.589 stderr: 2021-12-17 18:58:05.589 /awcyfiles/work/slot0/rd_tool/metrics_gather.sh: line 118: kill: (-3764) - No such process

2021-12-17 18:58:05.777 Retrying work gtptest.mxf with quality 40 for run @2021-12-17T18:55:29.787Z ... 5 of 5 retries. 2021-12-17 18:58:05.777 Encoding gtptest.mxf with quality 40 for run @2021-12-17T18:55:29.787Z on awcy-worker.awcy-worker 2021-12-17 18:58:06.589 Failed to copy back gtptest.mxf-30-stdout.txt, continuing anyway 2021-12-17 18:58:06.589 Decoding result for gtptest.mxf at quality 30 failed! 2021-12-17 18:58:06.589 stdout: 2021-12-17 18:58:06.589 2021-12-17 18:58:06.589 stderr: 2021-12-17 18:58:06.589 /awcyfiles/work/slot1/rd_tool/metrics_gather.sh: line 118: kill: (-3849) - No such process

vibhoothi commented 2 years ago

Right,

  1. Is your workers working for normal files and normal awcy tasks as expected?

It really depends on how you config the codecs encode/decode paramters in the rd_tool, you might require to add support to rd_tool's encoding mechanism, if the codec you supplied supports it, and if it that binary is present inside slotX\$codec, and then it should work properly, Natively it uses x264 binary, and then YUV2YUV4MPEG to decode the encoded files from x264.

Can you see the encoded files present there? The logs says, error in decoding, did you modify the $codec's decoding parameter of yours? If not, I would try to do that first.