FFMPEG 可以将 EXR 转换为 TIFF,也可以将 TIFF 转换为 JPG,但不能将 EXR 转换为 JPG

FFMPEG 可以将 EXR 转换为 TIFF,也可以将 TIFF 转换为 JPG,但不能将 EXR 转换为 JPG

我尝试批量转换扩展图片JPG图像。转换扩展JPG 不起作用,当我尝试打开文件时出现损坏错误。

ffmpeg.exe -y -i C:/test.exr C:/outs.jpg

但转换EXR 转 TIFF 功能美好的

ffmpeg.exe -y -i C:/test.exr C:/outs.tiff

并转换TIFF 转 JPG 功能以及:

ffmpeg.exe -y -i C:/test.tiff C:/outs.jpg

我不想双重转换文件来获得最终结果..有解决这个问题的方法吗?

第一个命令的输出:

ffmpeg version N-51683-g9dc88ac Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr  8 2013 21:24:37 with gcc 4.8.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 25.100 / 52. 25.100
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  1.100 / 55.  1.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 49.101 /  3. 49.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[image2 @ 00000000045f6480] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, image2, from 'V:\040_Footage\001_Elements_out\2K_EXR\Event_Version1_0001_0064\VFX_Plates_Cam_9624_CineF14.1000.exr':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: exr, rgb48le, 2048x1152 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'V:\040_Footage\001_Elements_out\2K_EXR\Event_Version 1_0001_0064\tiff\VFX_Plates_Cam_9624_CineF14.1000.jpg':
  Metadata:
    encoder         : Lavf55.1.100
    Stream #0:0: Video: mjpeg, yuvj444p, 2048x1152 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (exr -> mjpeg)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:90kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.023799%

示例文件: http://we.tl/BIWAGR506u

相关内容