Questions tagged [hevc]

HEVC (High Efficiency Video Coding) is a video compression standard developed jointly by ISO/IEC and ITU-T as a successor to H.264/AVC (Advanced Video Coding). The standard was ratified in April 2013.

365 questions
4
votes
2 answers

AVAssetWriter codec type hevc

I a trying to transcode an H264 video to HEVC using AVAssetWriter and it fails on iPhone 6s. Supposedly, the iPhone 6s supports HEVC for transcoding, not real-time video encoding. The same code works on iPhone 7 and above. If the iPhone 6s doesn't…
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
4
votes
0 answers

How to convert HEVC videos from Photos to h264 on iOS?

I've been looking into the Apple documentation but I couldn't find anything that would allow me to convert a video recorded on an iPhone 7 (HEVC) to h264. I need to do this because the app has a web server running and it's streaming the video to web…
nhenrique
  • 874
  • 1
  • 16
  • 35
4
votes
2 answers

Using the ffmpeg to extract video stream

I try to extract the video stream from the bbb-1920x1080-cfg02.mkv The command as follows. ffmpeg -i bbb-1920x1080-cfg02.mkv -map 0:0 -c copy bbb.mkv But the output file can't play with the player(potplayer) I used the ffmpeg -i bbb.mkv to check…
user1395066
  • 127
  • 1
  • 1
  • 11
4
votes
1 answer

MediaMuxer HEVC "no codec config"

Trying to mux HEVC encoded video to a MediaMuxer MPEG-4 container on a Samsung Galaxy S6. MediaFormat (as obtained from MediaCodec): {height=1080, width=1920, max_capacity=8847360, what=1869968451, mime=video/hevc,…
Adrian Crețu
  • 878
  • 8
  • 17
4
votes
2 answers

Where can I find HEVC \ H.265 specs

I'm looking for HEVC \ H.265 specs (especially for hvc1 and hvcC atoms) but I'm not able to find them on-line. Is there a free spec for HEVC on-line?
Alex L
  • 1,069
  • 2
  • 18
  • 33
4
votes
3 answers

Android MediaCodec for HEVC

I'm looking into using the android MediaCodec class to decode HEVC. Are there any examples of projects that do this? At present I configure the decoder with the following: AMEDIAFORMAT_KEY_MIME: "video/hevc" AMEDIAFORMAT_KEY_MAX_HEIGHT:…
Jack
  • 2,153
  • 5
  • 28
  • 43
4
votes
4 answers

How to decode HEVC files to YUV?

I would like to decode HEVC encoded files to YUV files. Is there any simple way to do this yet? An executable would be nice but I would make do with source code that is easily compilable.
NiRR
  • 4,782
  • 5
  • 32
  • 60
3
votes
2 answers

How come the quality of HEVC with alpha from my ffmpeg with videotoolbox is not ok

I'm encoding ProRes 4444 with alpha channel video's to transparent video for web in both VP9 (webm) and HEVC (mp4). I'm using a great free tool by Rotato to encode to both formats at once. However, because I would like to have more control over e.g.…
Jos
  • 1,387
  • 1
  • 13
  • 27
3
votes
1 answer

How to save AVFrame as image in C++ using FFmpeg

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…
Ivan
  • 81
  • 2
  • 11
3
votes
1 answer

How can I convert a webm file with alpha channel to a hevc encoded file that will play in safari on an IPad?

I've got a webm file with transparency : https://itype.techforge.com.au/assets/videos/upshot/module1/NP_1A.webm I'm trying to convert it into something that will play in the video element of a web page in the Safari browser on an IPad. An example of…
Programming Guy
  • 7,259
  • 11
  • 50
  • 59
3
votes
1 answer

Remove all non key frames from video without re-encoding

I have a HEVC mkv video from which I need to remove all but key frames without re-encoding whole thing. I found out that I can extra key frames using this ffmpeg -i full.mkv -c:v copy -vf "select=eq(pict_type\,PICT_TYPE_I)" key.mkv but I…
Teamol
  • 733
  • 1
  • 14
  • 42
3
votes
2 answers

Convert 16bit Grayscale PNG to HEVC/x265

I want to convert a 12bit image signal to HEVC for effective compression. Because I need to be able to reconstruct the original 12bit signal, the compression needs to be losslessly reversible. At the moment I have the data as 16-bit PNG files. My…
Ben Bezos
  • 43
  • 1
  • 5
3
votes
1 answer

Supporting HEVC/H.265 videos in Electron

Chrome/Electron don't normally support H.265 videos. I want the user to be able to play .mov files recorded by Apple devices in my app. How can I do this? Possible approaches: Use ffmpeg to transcode to H.264 in real-time, which will be resource…
Elmo
  • 6,409
  • 16
  • 72
  • 140
3
votes
1 answer

FFmpeg Impossible to convert between the formats supported by the filter

I'm trying to do GPU accelerated HDR tonemapping (HDR->SDR) with ffmpeg and opencl, but I keep running into this error: Impossible to convert between the formats supported by the filter 'Parsed_hwupload_1' and the filter 'auto_scaler_1'. I've tried…
Changer098
  • 53
  • 1
  • 4
3
votes
1 answer

Encoding HEVC video using OpenCV and ffmpeg backend

I try to encode my webcam using OpenCV with ffmpeg backend and Python3 to an HEVC video. It works fine with other codecs like mjpg. Here is my example script which uses the corresponding fourcc (also tried hevc, h265, x265,…
Tik0
  • 2,499
  • 4
  • 35
  • 50
1
2
3
24 25