Giter Club home page Giter Club logo

Comments (6)

adamjw24 avatar adamjw24 commented on May 30, 2024

How did you generate the input? What computer (CPU/mem) are you using it on? Which release are you using? Did you try using other presets?

from vvenc.

itssoap avatar itssoap commented on May 30, 2024

Input raw was decoded from an H.264 raw that I had. CPU- Intel i5-8250u, Mem- 12gb. Yesterday, I cloned the repo and compiled it on my WSL Ubuntu machine using "make install-release". Same error with --preset medium
image

from vvenc.

adamjw24 avatar adamjw24 commented on May 30, 2024

Are you sure your output is 10bit? I'm not sure h264 supports that per default. You need the high-bit-depth profile (this should not cause a SegFault, though).
Would you mind sharing the first few frames of the video for me to try to reproduce the exact problem?
Otherwise, do you think it would be possible for you to start the run in gdb (using the relwithdebinfo build) and share the stack trace?

Having said that, I had some problems with the WSL runs that are not reproducible on native architectures. You could try compiling with VS (community edition should be alright), VSC should also work.

from vvenc.

itssoap avatar itssoap commented on May 30, 2024

I changed the output format to 8bit again and it worked. But I have been using 10bit output for my encodes in H.265. I tried compiling it with Make on windows, kept getting an error that I don't have Visual C++, though I installed it. So, switched to WSL for compiling. This is the source of the H.264 video, which I converted to raw video.
[link removed]

I can't comprehend the gd part that you have mentioned. I am not familiar with all this development stuff, just wanted some VVC encode testing.
Also, is it possible for it to stop me from using certain commands rather than just break and give a Segmentation fault?
Sorry for the inconvenience, and thanks

from vvenc.

adamjw24 avatar adamjw24 commented on May 30, 2024

I hope you understand I can't really use the "link" to look into the problem, last but not least because I don't know how it would be accessed. I'd appreciate if you removed it from the comment.

About the VC++ compilation. You need to have all the path variables set. Easiest way is just to start the developer command prompt of your VC installation.

About the 10-bit content, there are different ways to represent. If I encode 8-bit video as yuv420_10, I also get a segmentation fault. So maybe your conversion produced a "packed" format?

Best way to produce 10-bit content compatible with our encoder is using ffmpeg:
ffmepg -i input.mp4/wmv/whatever -s WxH -f rawvideo -pix_fmt yuv420p10le raw_yuv_10bit.yuv

Concerning your last point, this cannot be checked during parameter parsing. You provide "raw" content, so basically to catch this error we would need the encoder to go through your provided input and confirm every sample is within the provided range (0-1023). This would provide very considerable overhead. But we might add a few checks here and there to maybe allow the encoder to fail in a more meaningful way.

from vvenc.

itssoap avatar itssoap commented on May 30, 2024

Thanks for the input regarding the generation of a 10bit stream, I'll try and test with it. I will try with VC++ or will cross-compile with MinGW on Linux. Closing this issue here.

from vvenc.

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.