Giter Site home page Giter Site logo

Corrupted outfile about vvdec HOT 6 CLOSED

davFaithid avatar davFaithid commented on June 15, 2024 1
Corrupted outfile

from vvdec.

Comments (6)

adamjw24 avatar adamjw24 commented on June 15, 2024 1

It looks alot like you're trying to view a yuv420p10le (10 bit-depth packad into 2 bytes) as yuv420p (8 bit-depth packed into a byte).

How are you viewing the files? ffmpeg (and, by extension, ffplay), should understand yuv420p10le.

If you really need the output to be 8-bit, you could encode the file with 8 bit internal bit-depth, but this only works in the full featured encoder right now (fix coming soon). Otherwise you could use ffmpeg to convert from yuv420p10le to yuv420p.

from vvdec.

adamjw24 avatar adamjw24 commented on June 15, 2024 1

The rest of the problem should be the y4m/yuv. Could you give it a try?

from vvdec.

adamjw24 avatar adamjw24 commented on June 15, 2024

Hallo,

Can you post some screenshots of the corrupted files?

Did you have a look at the issue #4?

vvenc does not understand y4m, so you'd need at least need to strip the header to convert it to raw yuv.

We might add bit-depth conversion into the decoder as it seems to cause alot of confusion, but for now please check if you properly interpret the output format (yuv420p or yuv420p10le).

from vvdec.

davFaithid avatar davFaithid commented on June 15, 2024

corrupted1
corrupted2
Here are screenshots of the corrupted output files. I will try again with a raw yuv and see if anything changes.

from vvdec.

davFaithid avatar davFaithid commented on June 15, 2024

I am viewing the files in YUView. When you said that it was viewing in 8 bit, I changed it to viewing in 10 bit and got this.
corrupted3
which is closer but still corrupted.

from vvdec.

davFaithid avatar davFaithid commented on June 15, 2024

I just finished encoding and decoding using a raw yuv, and it worked great! Thank you very much for the assistance.
notcorrupted

from vvdec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.