Skip to main content
added 255 characters in body
Source Link
Hartman
  • 135
  • 8

I have some raw H.264 10bit videos need to convert to HEVC format, but the encoder only takes some frames (600/170000) to encode, and the video is full of noise. What is the correct way to encode those videos?

The command I used:

x265 --input video.h264 --fps 24 --input-res 1920x1080 --output video.hevc

EDIT #1: I just tried to use ffmpeg but give me following error

Truncating packet of size 24883200 to 538208
[rawvideo @ 0x1561e80] Invalid buffer size, packet size 538207 < expected frame_size 24883200 Error while decoding stream #0:0: Invalid argument

EDIT #2: ffmpeg cmd

 ffmpeg -f rawvideo -vcodec rawvideo -s 1920x1080 -pix_fmt yuv420p10le -i video.h264 -c:v libx265 -crf 18 -preset medium -x265-params profile=main10:level-idc=50:high-tier:vbv-bufsize=100000:vbv-maxrate=100000 video.hevc

I have some raw H.264 10bit videos need to convert to HEVC format, but the encoder only takes some frames (600/170000) to encode, and the video is full of noise. What is the correct way to encode those videos?

The command I used:

x265 --input video.h264 --fps 24 --input-res 1920x1080 --output video.hevc

EDIT I just tried to use ffmpeg but give me following error

Truncating packet of size 24883200 to 538208
[rawvideo @ 0x1561e80] Invalid buffer size, packet size 538207 < expected frame_size 24883200 Error while decoding stream #0:0: Invalid argument

I have some raw H.264 10bit videos need to convert to HEVC format, but the encoder only takes some frames (600/170000) to encode, and the video is full of noise. What is the correct way to encode those videos?

The command I used:

x265 --input video.h264 --fps 24 --input-res 1920x1080 --output video.hevc

EDIT #1: I just tried to use ffmpeg but give me following error

Truncating packet of size 24883200 to 538208
[rawvideo @ 0x1561e80] Invalid buffer size, packet size 538207 < expected frame_size 24883200 Error while decoding stream #0:0: Invalid argument

EDIT #2: ffmpeg cmd

 ffmpeg -f rawvideo -vcodec rawvideo -s 1920x1080 -pix_fmt yuv420p10le -i video.h264 -c:v libx265 -crf 18 -preset medium -x265-params profile=main10:level-idc=50:high-tier:vbv-bufsize=100000:vbv-maxrate=100000 video.hevc
added 264 characters in body
Source Link
Hartman
  • 135
  • 8

I have some raw H.264 10bit videos need to convert to HEVC format, but the encoder only takes some frames (600/170000) to encode, and the video is full of noise. What is the correct way to encode those videos?

The command I used:

x265 --input video.h264 --fps 24 --input-res 1920x1080 --output video.hevc

EDIT I just tried to use ffmpeg but give me following error

Truncating packet of size 24883200 to 538208
[rawvideo @ 0x1561e80] Invalid buffer size, packet size 538207 < expected frame_size 24883200 Error while decoding stream #0:0: Invalid argument

I have some raw H.264 10bit videos need to convert to HEVC format, but the encoder only takes some frames (600/170000) to encode, and the video is full of noise. What is the correct way to encode those videos?

The command I used:

x265 --input video.h264 --fps 24 --input-res 1920x1080 --output video.hevc

I have some raw H.264 10bit videos need to convert to HEVC format, but the encoder only takes some frames (600/170000) to encode, and the video is full of noise. What is the correct way to encode those videos?

The command I used:

x265 --input video.h264 --fps 24 --input-res 1920x1080 --output video.hevc

EDIT I just tried to use ffmpeg but give me following error

Truncating packet of size 24883200 to 538208
[rawvideo @ 0x1561e80] Invalid buffer size, packet size 538207 < expected frame_size 24883200 Error while decoding stream #0:0: Invalid argument

Source Link
Hartman
  • 135
  • 8

How to encode with x265 cli

I have some raw H.264 10bit videos need to convert to HEVC format, but the encoder only takes some frames (600/170000) to encode, and the video is full of noise. What is the correct way to encode those videos?

The command I used:

x265 --input video.h264 --fps 24 --input-res 1920x1080 --output video.hevc