HEVC | HEVC reference encoder and decoder | Messaging library
kandi X-RAY | HEVC Summary
kandi X-RAY | HEVC Summary
HEVC reference encoder and decoder
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 HEVC
HEVC Key Features
HEVC Examples and Code Snippets
Community Discussions
Trending Discussions on HEVC
QUESTION
I am using a modified version of the GetMetaData script originally written by Ed Wilson at Microsoft (https://devblogs.microsoft.com/scripting/hey-scripting-guy-how-can-i-find-files-metadata/) and then modified by user wOxxOm here https://stackoverflow.com/a/42933461/5061596 . I'm trying to analyze all my DVD and BluRay rips and see what tool was used to create them. Mainly I want to check which ones I compressed with Handbrake and which ones came directly from MakeMKV. The problem is I can't find this field.
If I use the "stock" scrip and change the number of properties it looks for from 0 - 266 up to 0 - 330 I find the extra file info like movie length, resolution, etc. But I can't find the tool used. For example here is what the MediaInfo Lite tool reports:
But looking through the meta data I get something like this with no "Writing application" property:
...ANSWER
Answered 2022-Apr-05 at 13:21edit: actually, this seems more reliable. So far any file that mediainfo can read, this also works with.
QUESTION
i'm using libde265(www.libde265.org) to decode my hevc file in c++ project and try to save the decoded YUV as pictures. But i hava a problem to find the address of the Y,U,V values in c++ project. Does anybody know, which format of YUV we get, when we use libde265 decode a hevc file? YUV420, YUV420P, YUV420SP, etc.?
Thanks a lot! Ivan
...ANSWER
Answered 2022-Mar-29 at 07:26I have tried many things :-) And i think that is YUV420P and has 3 planes. Using the method
QUESTION
I am converting some old mjpeg videos (stored in .avi container) to h.265 (.mp4 container) but am noticing the colors are smearing. Using the terminal command:
ffmpeg -y -i "input-file.avi" -c:v libx265 -vtag hvc1 "output-file.mp4"
I get the following image (notice how the red and blue are stretched donward). There is a lot of motion in the scene, but the motion is mostly horizontal:
Any idea what might cause this? The detail and resolution seem fine, just the colors are being interpreted weirdly.
Full output:
...ANSWER
Answered 2022-Mar-10 at 18:58Your file seems to be missing some color information:
QUESTION
In my project, i'd like to save one of the frames from Hevc file. I'm using FFmpeg in source code to decode the Hevc file and get AVFrame and AVCodecContext. What i need is to save the frame as picture(with full colors).
I have tried to save it as *.pgm file, so the picture is just grey, which not really i need.
Any suggesstion? Thanks!
...ANSWER
Answered 2022-Mar-10 at 22:48Converting raw HEVC file to sequence of images image using FFmpeg CLI, is simple.
Assume input.265
is the input file (raw HEVC video stream):
Converting to PNG images:
QUESTION
I'm using avcodec to decode some hevc clip on linux, the avcodec lib is built from source package ffmpeg-4.3.1 with command:
...ANSWER
Answered 2022-Feb-22 at 08:56I do decoding like below:
QUESTION
I've gone through all the previous answers on this question , but my error and approach is slightly different from the previous questions'.
I've only three views in my app : Login , Signup and Main. I want to show an interstitial ad every time I transition from one view to another.
In order to accomplish this, I'm initializing , loading and showing the ad at the start of each view:
MainActivity.java
...ANSWER
Answered 2022-Feb-13 at 09:12While overriding a function , calling the super is necessary. This what was causing the null pointer exceptions in the inner functions.
QUESTION
I'm wondering how to actually use ffmpeg to create a 2xVR180 video file from 2 different VR180 videos. That's to say, on the front side, a stereoscopic 3D video, and on the back side, another stereoscopic 3D video.
Videos are taken with an Insta360 EVO in 3D mode, so I can either deal with 4 video files (2 INSV files for the left eye and other 2 INSV files for the right eye), o directly with the 2 stitched HEVC/MP4 files.
I know the result won't be a 360 3D stereoscopic video, that's why I'm talking about "2xVR180".
Thank you for your help
...ANSWER
Answered 2022-Feb-09 at 17:23I finally found a solution!
The "algorithm" is :
- Separate left eye from right eye of both video files
- Join both left eyes
- Join both right eyes
- Join left eyes with right eyes
- Resize the video
The resulting is something like :
QUESTION
I have an HEVC encoded bitstream (.bin and equivalent .mp4 file). I want to remove some frames from the bitstream to see how a decoder (or media player) behaves when a particular frame is lost.
How I can remove a frame (or a NAL unit) from the bitstream? What tools can be used?
Thanks
...ANSWER
Answered 2022-Feb-08 at 11:34With ffmpeg, you can use the drop option of the noise bitstream filter.
QUESTION
I have several HEVEC files that I'd like to merge. With small files (about 1.5 GB) the following code works fine
...ANSWER
Answered 2022-Feb-03 at 15:04You are reading from infile
in two different places: inside read_in_chunks
, and directly when you call outfile_bl
. This causes you to skip writing the data just read into the variable piece
, so you only copy roughly half the file.
You've already read data into piece
; just write that to your file.
QUESTION
I tried to encode a series of png files into a HEVC codec video with ffmpeg (version modern enough) in these parameters:
ffmpeg -hwaccel cuda -r 60000/1001 -f image2 -i output%05d.png -c:v hevc_nvenc -preset slow -profile:v main10 -level 6.2 -pix_fmt yuv444p16le output.mkv
Then I got a mkv video file and I found that it cannot be decoded with DXV2 but with LAV Decoder, which takes up really lot of my CPU. However, I also found that the other HEVC codec video file, which has similar property of my video, can be decoded with DXV2 Decoder using my GPU. Could anyone help me find a way that, make a HEVC codec video can be decoded using GPU? Thanks a lot.
...ANSWER
Answered 2022-Jan-26 at 18:32I'm going to guess your issue is with -pix_fmt yuv444p16le
. I don't know what format your PNG is, but it's typically 8-bits/component RGB. You're upsampling it to 16-bits/component 4:4:4 YUV and then using that as input to the HEVC encoder at whatever is its closest-supported neighbour (10-bits/component YUV-4:4:4, according to comments in the source code).
4:4:4 is sometimes not supported by hardware decoders (see here). Also see this quote from here:
Many existing end-client devices/GPUs/SoC support hardware decode 4:2:0 but not 4:4:4 and whilst newer hardware and GPUs are introducing 4:4:4 decoders many existing devices only support 4:2:0 decode.
I would try -pix_fmt p010le
, which should result in YUV-4:2:0 10-bits/component, which should work fine with all hardware decoders.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install HEVC
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