Comments (6)
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.
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
from vvenc.
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.
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.
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.
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)
- Abbreviations in the article HOT 4
- [QUESTION] Weird intra-period value HOT 1
- The difference between presets
- Massive lag when playing video encoded by vvenc 1.11 HOT 10
- FFmpeg Integration HOT 11
- why not release the exe? HOT 6
- Error while patching FFmpeg HOT 1
- QPA causes significant detail loss in static parts of video HOT 8
- About new multithreading encoder option IFP HOT 1
- SAO default value in help message is 0 but in default preset it's 1 HOT 4
- Integration ffmpeg 7.0 Windows HOT 1
- error: variable length arrays in C++ are a Clang extension [-Werror,-Wvla-cxx-extension] HOT 1
- Build failure: makefile looking for non-existing files in the "build" directory HOT 8
- Concatenating problems HOT 2
- error: variable length arrays in C++ are a Clang extension [-Werror,-Wvla-cxx-extension] HOT 2
- error: variable length arrays in C++ are a Clang extension [-Werror,-Wvla-cxx-extension] HOT 1
- Completely broken video stream HOT 5
- About I P and B frames encoding support HOT 2
- Info for CQF HOT 6
- Buffer underflow when muxing HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vvenc.