Comments (5)
thank you for raising this issue. can you please try if the above patch set works for you
from libultrahdr.
It works, thank you.
I am however unable to open result raw (which has expacted size) and when converting back to jpeg, it looks wierd (red stripes and dots every other pixel on top of what appears to be a luminance map made up of mostly yellow and purple patches)
from libultrahdr.
The output is raw rgb data with r, g and b holding 10 bits per pixel and 2 for alpha which are currently null. the pixel format is x2bgr10le.
ffplay-f rawvideo -video_size 4080x3072 -pixel_format x2bgr10le -i outrgb.raw should help
from libultrahdr.
I probably have wierd version of ffmpeg... (4.4.2-0ubuntu0.22.04.1)
[rawvideo @ 0x7efbac000cc0] No such pixel format: x2bgr10le.
Also is there any way to encode the file back to jpeg after editing it?
ultrahdr_app -m 0 -p outrgb.raw -C 1
uses wrong pixel format (result in my last post).
from libultrahdr.
That is an older version of ffmpeg. You can get an updated one here, https://github.com/ffbinaries/ffbinaries-prebuilt/releases.
Also is there any way to encode the file back to jpeg after editing it?
currently the encoder library does not take in rgb input. So for now it is not possible. Having said that, we are working on few changes that would resolve this. very soon
from libultrahdr.
Related Issues (20)
- DLL installed in lib on MSYS2 HOT 2
- Export only symbols that are needed HOT 1
- Error decoding: "encountered error while parsing metadata" HOT 5
- Request: Support for 1:1 (and 1:2) resolution gain maps HOT 3
- no error thrown in ultrahdr_app for invalid pixel dimensions HOT 1
- No option for output file in ultrahdr_app HOT 1
- Unable to build tests on windows HOT 6
- The srgbRgbToYuv conversion issue in JpegR::toneMap HOT 1
- Google Pixel8 images fail to open HOT 4
- Encode Scenario 4 : Missing Parameters HOT 5
- Encode Scenario 4 Does not replace gain map if input jpeg already contains a gain map. HOT 2
- Support Crop usecases HOT 3
- Request: Emscripten/wasm support HOT 4
- Request: Add support for multi-channel gain maps
- Encoding error HOT 4
- Request: Please add support for API-4 to the ultrahdr_app demo. HOT 11
- Request: brew formula HOT 1
- I am getting error -20008 when trying to decode image from ultrahdr HOT 4
- Make fails HOT 1
- Bundled libjpeg-turbo linkage seems to be hard-coded HOT 2
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 libultrahdr.