View Single Post
Old 16th February 2018, 11:40   #17  |  Link
hydra3333
Registered User
 
Join Date: Oct 2009
Location: crow-land
Posts: 540
Seeking advice about the error below piping 4k hdr from ffmpeg.exe into x265.exe (where the video characteristics are not known in advance, they are deduced from parsing output from ffprobe).

Code:
G:\HDTV\0nvencc\hdr>"C:\SOFTWARE\ffmpeg\0-homebuilt-x64\built_for_generic_opencl\x64_10bit\ffmpeg.exe" -i "G:\HDTV\0nvencc\hdr\3.Real_4K_HDR_60fps_-_Wipe_of_SDR_vs_HDR_UHD_Chromecast_Ultra.webm" -an -strict -1 -pix_fmt yuv420p10le -f yuv4mpegpipe -   | 
"C:\SOFTWARE\ffmpeg\0-homebuilt-x64\built_for_generic_opencl\x64_10bit\x265.exe" --input - --y4m --output "G:\HDTV\0nvencc\hdr\3.Real_4K_HDR_60fps_-_Wipe_of_SDR_vs_HDR_UHD_Chromecast_Ultra.webm.h265" --preset medium  --output-depth 10 --profile main10 --level-idc 5.1 --open-gop --crf 18 --crf-min 5 --crf-max 40 --aq-mode 1 --range tv --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --master-display "G(13247,34499)B(7500,2999)R(34000,15999)WP(15634,16449)L(40000000,99)" --max-cll="4000,300" --hdr --info --hrd   1>>"G:\HDTV\0nvencc\hdr\3.Real_4K_HDR_60fps_-_Wipe_of_SDR_vs_HDR_UHD_Chromecast_Ultra.webm.log" 2>&1
ffmpeg version N-89991-gdd5208aaf5 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.3.0 (GCC)
  configuration: <snip too long>
  libavutil      56.  7.100 / 56.  7.100
  libavcodec     58. 10.100 / 58. 10.100
  libavformat    58.  9.100 / 58.  9.100
  libavdevice    58.  1.100 / 58.  1.100
  libavfilter     7. 11.101 /  7. 11.101
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, matroska,webm, from 'G:\HDTV\0nvencc\hdr\3.Real_4K_HDR_60fps_-_Wipe_of_SDR_vs_HDR_UHD_Chromecast_Ultra.webm':
  Metadata:
    encoder         : google
  Duration: 00:02:36.06, start: 0.000000, bitrate: 16895 kb/s
    Stream #0:0(eng): Video: vp9 (Profile 2), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160, SAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr, 1k tbn, 1k tbc (default)
    Side data:
      Content Light Level Metadata, MaxCLL=4000, MaxFALL=300
      Mastering Display Metadata, has_primaries:1 has_luminance:1 r(0.6800,0.3200) g(0.2649,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.009900, max_luminance=4000.000000
Stream mapping:
  Stream #0:0 -> #0:0 (vp9 (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
[yuv4mpegpipe @ 000001b3a4a0cf40] Warning: generating non standard YUV stream. Mjpegtools will not work.
Output #0, yuv4mpegpipe, to 'pipe:':
  Metadata:
    encoder         : Lavf58.9.100
    Stream #0:0(eng): Video: wrapped_avframe, yuv420p10le, 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 59.94 fps, 59.94 tbn, 59.94 tbc (default)
    Metadata:
      encoder         : Lavc58.10.100 wrapped_avframe
    Side data:
      Content Light Level Metadata, MaxCLL=4000, MaxFALL=300
      Mastering Display Metadata, has_primaries:1 has_luminance:1 r(0.6800,0.3200) g(0.2649,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.009900, max_luminance=4000.000000
av_interleaved_write_frame(): Invalid argument
Error writing trailer of pipe:: Invalid argument
frame=    1 fps=0.0 q=-0.0 Lsize=   24300kB time=00:00:00.01 bitrate=11932275.5kbits/s speed=0.17x
video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 4642301.000000%
Conversion failed!
hydra3333 is offline   Reply With Quote