huffyuv | lossless Win32 video codec | Web Framework library
kandi X-RAY | huffyuv Summary
kandi X-RAY | huffyuv Summary
Huffyuv is a very fast, lossless Win32 video codec. This is a fork of v2.1.1 with CCESP Patch v0.2.5.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of huffyuv
huffyuv Key Features
huffyuv Examples and Code Snippets
Community Discussions
Trending Discussions on huffyuv
QUESTION
I am trying to simply open a video with openCV, process frames and write the processed frames into a new video file.
My problem is that even if I don't process frames at all (just opening a video, reading frames with VideoCapture and writing them with VideoWriter to a new file), the output file appears more "green" than the input.
The code to do that can be found in any openCV tutorial, nothing special.
I use openCV c++ 4.4.0 on Windows 10. I use openCV with ffmpeg through opencv_videoio_ffmpeg440_64.dll The input video is mp4. I write the output as a .avi with huffyuv codec :
...ANSWER
Answered 2021-Aug-05 at 20:24There is a bug in OpenCV VideoCapture
when reading video frames using FFmpeg backend.
The bug results a "color shift" when H.264 video stream is marked as BT.709 color standard.
The subject is too important to leave it unanswered...
The important part of the post, is reproducing the problem, and proving the problem is real.
The solution I found is selecting GStreamer backend instead of FFmpeg backend. The suggested solution has downsides (like the need to build OpenCV with GStreamer support).
Note:
- The problem is reproducible using OpenCV 4.53 under Windows 10.
The problem is also reproducible under Ubuntu 18.04 (using OpenCV in Python).
The issue applies both "full range" and "limited range" of BT.709 color standard.
Building synthetic video pattern for reproducing the problem:
We can use FFmpeg command line tool create a synthetic video to be used as input.
The following command generates an MP4 video file with H.264 codec, and BT.709 color standard:
QUESTION
We have some files encoded in AV1, but we recently noticed that Chrome mobile fails to play the files - but it doesn't fall back to an encoding it can use - it just puts the unplayable AV1 file in there. I'm hoping that if we add a codec attribute we can remedy this - but I'm not sure how to determine the codec for these AV1 files.
I've come across this documentation on MDN, but I'm not sure how I would determine the proper codec from that. It starts off simple enough, but some of the values further down, I have no idea what the right value would be.
Opening the file in VLC player only shows this very limited information about the codec:
The output of MediaInfo is: ...ANSWER
Answered 2020-Dec-20 at 20:36Represents the following components: av01.P.LLT.DD.M.CCC.cp.tc.mc.F
.
The "codecs" parameter in common media types: AV1 will link to the appropriate sections of the AV1 specification which provides helpful tables of values.
mediainfo
andffprobe
will tell you ifcp
(color primaries),tc
(transfer characteristics), andmc
(matrix coefficients) are not unknown. Since these are not listed in yourmediainfo
output, and you did not use the associated encoding options (-colorspace
,-color_trc
,-color_primaries
), the value is therefore unknown.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install huffyuv
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page