簡體   English   中英

如何在JPEG中編碼HEVC切片?

[英]How to encode HEVC tile in JPEG?

我正在嘗試將HEIF文件轉換為JPEG文件,我使用MP4Box提取了HEIC圖像圖塊,但是當使用FFMPEG將這些圖塊轉換為JPEG時,我得到了:

SAKATA-INX:台式恆星$ MP4Box -dump-item 1:path = item1.hevc still_rear.HEIC

不支持ICC顏色配置文件不支持ICC顏色配置文件

SAKATA-INX:台式恆星$ ffmpeg -i item1.hevc -frames:v 1 -vsync vfr -q:v 1 -an test.jpg

ffmpeg版本4.0版權所有(c)2000-2018年使用Apple LLVM版本9.1.0(clang-902.0.39.1)構建的FFmpeg開發人員

配置:--prefix = / usr / local / Cellar / ffmpeg / 4.0 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc = clang- host-cflags = --host-ldflags = --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma

libavutil 56. 14.100 / 56. 14.100

libavcodec 58. 18.100 / 58. 18.100

libavformat 58. 12.100 / 58. 12.100

libavdevice 58. 3.100 / 58. 3.100

libavfilter 7. 16.100 / 7. 16.100

libavresample 4. 0. 0 / 4. 0. 0

libswscale 5. 1.100 / 5. 1.100

libswresample 3. 1.100 / 3. 1.100

libpostproc 55. 1.100 / 55. 1.100

[hevc @ 0x7fc56e808e00]僅以1的低分檢測到格式hevc。

[hevc @ 0x7fc56f800000]找不到起始代碼。

[hevc @ 0x7fc56f800000]訪問單元中缺少圖片

[AVBSFContext @ 0x7fc56e505e00]找不到起始代碼。

item1.hevc:找不到編解碼器參數

從'item1.hevc'輸入#0,hevc:

持續時間:不適用,比特率:不適用

 Stream #0:0: Video: hevc, none, 1200k tbn 

輸出#0 image2到'test.jpg':

輸出文件#0不包含任何流

誰能告訴我該怎么做?

提取所有HEVC文件后,創建一個文本文件

file file1.hevc
file file2.hevc
file file3.hevc
...
file file48.hevc

然后運行

ffmpeg -f concat -i list.txt -vf tile=8x6 -vframes 1 -q:v 1 grid.jpg

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM