VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member hydra3333's Avatar
    Join Date
    Oct 2009
    Location
    Australia
    Search Comp PM
    Hello, I would like to try deinterlacing a PAL 1080i (25fps) video to 1080p50 (50fps) using ffmpeg with nvenc for speedy h.264 encoding.

    Using yadif=0:0:0 (25fps output) in the command below, nvenc encoding works.
    Using yadif=1:0:0 (50fps output) in the command below, nvenc encoding aborts per the log below.
    I've tried -r 50 just before the -c:v however it still aborts.

    Can anyone provide advice on how to get this to work ?

    Thanks !

    log:
    Code:
    "C:\SOFTWARE\ffmpeg\0-homebuilt-x64\ffmpeg.exe" -hide_banner -v verbose -init_hw_device opencl 
    [AVHWDeviceContext @ 00000208ee38a3c0] 0.0: NVIDIA CUDA / GeForce GTX 1050 Ti
    [AVHWDeviceContext @ 00000208ee38a3c0] 1.0: Intel(R) CPU Runtime for OpenCL(TM) Applications /         Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz
    [AVHWDeviceContext @ 00000208ee38a3c0] More than one matching device found.
    Device creation failed: -19.
    
    "C:\SOFTWARE\ffmpeg\0-homebuilt-x64\ffmpeg.exe" -hide_banner -v debug 
    -init_hw_device opencl=ocl:0.0 -filter_hw_device ocl 
    -i "G:\HDTV\TEST.mp4" 
    -map_metadata -1 -t 00:00:05 
    -sws_flags lanczos+accurate_rnd+full_chroma_int+full_chroma_inp 
    -filter_complex "[0:v]yadif=1:0:0,format=pix_fmts=yuv420p,setdar=dar=16/9" 
    -c:v h264_nvenc -pix_fmt nv12 -preset slow -bf 2 -g 50 -refs 3 -rc:v vbr_hq -rc-lookahead:v 32 
    -cq 22 -qmin 16 -qmax 25 -coder cabac -strict experimental 
    -movflags +faststart+write_colr 
    -profile:v high -level 4.1 
    -af loudnorm=I=-16:TP=0.0:LRA=11:measured_I=-23.37:measured_LRA=1.20:measured_TP=-10.33:measured_thresh=-33.63:offset=-0.25:linear=true:print_format=summary 
    -c:a libfdk_aac -cutoff 18000 -ab 384k -ar 48000 
    -y "G:\HDTV\TEST.deint.aac.mp4" 
    
    Splitting the commandline.
    Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'.
    Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
    Reading option '-init_hw_device' ... matched as option 'init_hw_device' (initialise hardware device) with argument 'opencl=ocl:0.0'.
    Reading option '-filter_hw_device' ... matched as option 'filter_hw_device' (set hardware device used when filtering) with argument 'ocl'.
    Reading option '-i' ... matched as input url with argument 'G:\HDTV\TEST.mp4'.
    Reading option '-map_metadata' ... matched as option 'map_metadata' (set metadata information of outfile from infile) with argument '-1'.
    Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '00:00:05'.
    Reading option '-sws_flags' ... matched as AVOption 'sws_flags' with argument 'lanczos+accurate_rnd+full_chroma_int+full_chroma_inp'.
    Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument '[0:v]yadif=1:0:0,format=pix_fmts=yuv420p,setdar=dar=16/9'.
    Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_nvenc'.
    Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'nv12'.
    Reading option '-preset' ... matched as AVOption 'preset' with argument 'slow'.
    Reading option '-bf' ... matched as AVOption 'bf' with argument '2'.
    Reading option '-g' ... matched as AVOption 'g' with argument '50'.
    Reading option '-refs' ... matched as AVOption 'refs' with argument '3'.
    Reading option '-rc:v' ... matched as AVOption 'rc:v' with argument 'vbr_hq'.
    Reading option '-rc-lookahead:v' ... matched as AVOption 'rc-lookahead:v' with argument '32'.
    Reading option '-cq' ... matched as AVOption 'cq' with argument '22'.
    Reading option '-qmin' ... matched as AVOption 'qmin' with argument '16'.
    Reading option '-qmax' ... matched as AVOption 'qmax' with argument '25'.
    Reading option '-coder' ... matched as AVOption 'coder' with argument 'cabac'.
    Reading option '-strict' ...Routing option strict to both codec and muxer layer
     matched as AVOption 'strict' with argument 'experimental'.
    Reading option '-movflags' ... matched as AVOption 'movflags' with argument '+faststart+write_colr'.
    Reading option '-profile:v' ... matched as option 'profile' (set profile) with argument 'high'.
    Reading option '-level' ... matched as AVOption 'level' with argument '4.1'.
    Reading option '-af' ... matched as option 'af' (set audio filters) with argument 'loudnorm=I=-16:TP=0.0:LRA=11:measured_I=-23.37:measured_LRA=1.20:measured_TP=-10.33:measured_thresh=-33.63:offset=-0.25:linear=true:print_format=summary'.
    Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'libfdk_aac'.
    Reading option '-cutoff' ... matched as AVOption 'cutoff' with argument '18000'.
    Reading option '-ab' ... matched as option 'ab' (audio bitrate (please use -b:a)) with argument '384k'.
    Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '48000'.
    Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
    Reading option 'G:\HDTV\TEST.deint.aac.mp4' ... matched as output url.
    Finished splitting the commandline.
    Parsing a group of options: global .
    Applying option hide_banner (do not show program banner) with argument 1.
    Applying option v (set logging level) with argument debug.
    Applying option init_hw_device (initialise hardware device) with argument opencl=ocl:0.0.
    [AVHWDeviceContext @ 000001bbe0bbb2c0] 2 OpenCL platforms found.
    [AVHWDeviceContext @ 000001bbe0bbb2c0] 1 OpenCL devices found on platform "NVIDIA CUDA".
    [AVHWDeviceContext @ 000001bbe0bbb2c0] 0.0: NVIDIA CUDA / GeForce GTX 1050 Ti
    [AVHWDeviceContext @ 000001bbe0bbb2c0] DXVA2 to OpenCL mapping function found (clCreateFromDX9MediaSurfaceKHR).
    [AVHWDeviceContext @ 000001bbe0bbb2c0] DXVA2 in OpenCL acquire function found (clEnqueueAcquireDX9MediaSurfacesKHR).
    [AVHWDeviceContext @ 000001bbe0bbb2c0] DXVA2 in OpenCL release function found (clEnqueueReleaseDX9MediaSurfacesKHR).
    [AVHWDeviceContext @ 000001bbe0bbb2c0] The cl_khr_d3d11_sharing extension is required for D3D11 to OpenCL mapping.
    [AVHWDeviceContext @ 000001bbe0bbb2c0] D3D11 to OpenCL mapping not usable.
    Applying option filter_hw_device (set hardware device used when filtering) with argument ocl.
    Applying option filter_complex (create a complex filtergraph) with argument [0:v]yadif=1:0:0,format=pix_fmts=yuv420p,setdar=dar=16/9.
    Applying option y (overwrite output files) with argument 1.
    Successfully parsed a group of options.
    Parsing a group of options: input url G:\HDTV\TEST.mp4.
    Successfully parsed a group of options.
    Opening an input file: G:\HDTV\TEST.mp4.
    [NULL @ 000001bbe0bc03c0] Opening 'G:\HDTV\TEST.mp4' for reading
    [file @ 000001bbe0bc0ac0] Setting default whitelist 'file,crypto'
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] Unknown dref type 0x206c7275 size 12
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] Processing st: 0, edit list 0 - media time: -1, duration: 3600
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] Processing st: 0, edit list 1 - media time: 14400, duration: 32396400
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] stts: 0 ctts: 14400, ctts_index: 0, ctts_count: 8999
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] stts: 3600 ctts: 7200, ctts_index: 1, ctts_count: 8999
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] drop a frame at curr_cts: 10800 @ 1
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] stts: 7200 ctts: 14400, ctts_index: 2, ctts_count: 8999
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] stts: 10800 ctts: 7200, ctts_index: 3, ctts_count: 8999
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] stts: 14400 ctts: 14400, ctts_index: 4, ctts_count: 8999
    <snip>
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] stts: 32374800 ctts: 3600, ctts_index: 8993, ctts_count: 8999
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] stts: 32378400 ctts: 7200, ctts_index: 8994, ctts_count: 8999
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] stts: 32382000 ctts: 21600, ctts_index: 8995, ctts_count: 8999
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] stts: 32385600 ctts: 10800, ctts_index: 8996, ctts_count: 8999
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] stts: 32389200 ctts: 3600, ctts_index: 8997, ctts_count: 8999
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] stts: 32392800 ctts: 7200, ctts_index: 8998, ctts_count: 8999
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] Offset DTS by 14400 to make first pts zero.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] Setting codecpar->delay to 2 for stream st: 0
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] Unknown dref type 0x206c7275 size 12
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] Processing st: 1, edit list 0 - media time: 0, duration: 17278464
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] Unknown dref type 0x206c7275 size 12
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] Processing st: 2, edit list 0 - media time: 0, duration: 359960
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] Before avformat_find_stream_info() pos: 233026 bytes read:262144 seeks:0 nb_streams:3
    [h264 @ 000001bbe0bc0c00] nal_unit_type: 7(SPS), nal_ref_idc: 3
    [h264 @ 000001bbe0bc0c00] nal_unit_type: 8(PPS), nal_ref_idc: 3
    [h264 @ 000001bbe0bc0c00] nal_unit_type: 9(AUD), nal_ref_idc: 0
    [h264 @ 000001bbe0bc0c00] nal_unit_type: 7(SPS), nal_ref_idc: 3
    [h264 @ 000001bbe0bc0c00] nal_unit_type: 8(PPS), nal_ref_idc: 3
    [h264 @ 000001bbe0bc0c00] nal_unit_type: 6(SEI), nal_ref_idc: 0
        Last message repeated 1 times
    [h264 @ 000001bbe0bc0c00] nal_unit_type: 5(IDR), nal_ref_idc: 3
    [h264 @ 000001bbe0bc0c00] Format yuv420p chosen by get_format().
    [h264 @ 000001bbe0bc0c00] Reinit context to 1920x1088, pix_fmt: yuv420p
    [h264 @ 000001bbe0bc0c00] Frame num gap 4 0
    [h264 @ 000001bbe0bc0c00] Frame num gap 4 1
    [h264 @ 000001bbe0bc0c00] Frame num gap 4 2
    [h264 @ 000001bbe0bc0c00] no picture 
    [h264 @ 000001bbe0bc0c00] nal_unit_type: 9(AUD), nal_ref_idc: 0
    [h264 @ 000001bbe0bc0c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
    [h264 @ 000001bbe0bc0c00] no picture 
    [h264 @ 000001bbe0bc0c00] nal_unit_type: 9(AUD), nal_ref_idc: 0
    [h264 @ 000001bbe0bc0c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
    [h264 @ 000001bbe0bc0c00] nal_unit_type: 9(AUD), nal_ref_idc: 0
    [h264 @ 000001bbe0bc0c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
    [h264 @ 000001bbe0bc0c00] nal_unit_type: 9(AUD), nal_ref_idc: 0
    [h264 @ 000001bbe0bc0c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bbe0bc03c0] After avformat_find_stream_info() pos: 491489 bytes read:499069 seeks:0 frames:6
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'G:\HDTV\TEST.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        encoder         : VideoReDo (Lavf56.25.101)
      Duration: 00:05:59.97, start: 0.000000, bitrate: 5319 kb/s
        Chapter #0:0: start 0.000000, end 113.480000
        Metadata:
          title           : Chapter 1
        Chapter #0:1: start 113.480000, end 120.000000
        Metadata:
          title           : Chapter 2
        Chapter #0:2: start 120.000000, end 233.480000
        Metadata:
          title           : Chapter 3
        Chapter #0:3: start 233.480000, end 237.040000
        Metadata:
          title           : Chapter 4
        Chapter #0:4: start 237.040000, end 240.000000
        Metadata:
          title           : Chapter 5
        Chapter #0:5: start 240.000000, end 353.480000
        Metadata:
          title           : Chapter 6
        Chapter #0:6: start 353.480000, end 359.960000
        Metadata:
          title           : Chapter 7
        Stream #0:0(und), 5, 1/90000: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 0/1, 4930 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
        Metadata:
          handler_name    : VideoHandler
        Stream #0:1(eng), 1, 1/48000: Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 384 kb/s (default)
        Metadata:
          handler_name    : SoundHandler
        Side data:
          audio service type: main
        Stream #0:2(eng), 0, 1/1000: Data: bin_data (txet / 0x74657874), 0/1, 0 kb/s
        Metadata:
          handler_name    : SubtitleHandler
    Successfully opened the file.
    [Parsed_yadif_0 @ 000001bbf0fdba80] Setting 'mode' to value '1'
    [Parsed_yadif_0 @ 000001bbf0fdba80] Setting 'parity' to value '0'
    [Parsed_yadif_0 @ 000001bbf0fdba80] Setting 'deint' to value '0'
    [Parsed_format_1 @ 000001bbe0c462c0] Setting 'pix_fmts' to value 'yuv420p'
    [Parsed_setdar_2 @ 000001bbf1759200] Setting 'dar' to value '16/9'
    Parsing a group of options: output url G:\HDTV\TEST.deint.aac.mp4.
    Applying option map_metadata (set metadata information of outfile from infile) with argument -1.
    Applying option t (record or transcode "duration" seconds of audio/video) with argument 00:00:05.
    Applying option c:v (codec name) with argument h264_nvenc.
    Applying option pix_fmt (set pixel format) with argument nv12.
    Applying option profile:v (set profile) with argument high.
    Applying option af (set audio filters) with argument loudnorm=I=-16:TP=0.0:LRA=11:measured_I=-23.37:measured_LRA=1.20:measured_TP=-10.33:measured_thresh=-33.63:offset=-0.25:linear=true:print_format=summary.
    Applying option c:a (codec name) with argument libfdk_aac.
    Applying option ab (audio bitrate (please use -b:a)) with argument 384k.
    Applying option ar (set audio sampling rate (in Hz)) with argument 48000.
    Successfully parsed a group of options.
    Opening an output file: G:\HDTV\TEST.deint.aac.mp4.
    [file @ 000001bbe0bc5b00] Setting default whitelist 'file,crypto'
    Successfully opened the file.
    detected 8 logical cores
    [h264 @ 000001bbe0bbbf40] nal_unit_type: 7(SPS), nal_ref_idc: 3
    [h264 @ 000001bbe0bbbf40] nal_unit_type: 8(PPS), nal_ref_idc: 3
    Stream mapping:
      Stream #0:0 (h264) -> yadif (graph 0)
      setdar (graph 0) -> Stream #0:0 (h264_nvenc)
      Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac))
    Press [q] to stop, [?] for help
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
        Last message repeated 1 times
    [h264 @ 000001bbe0bbbf40] nal_unit_type: 9(AUD), nal_ref_idc: 0
    [h264 @ 000001bbe0bbbf40] nal_unit_type: 7(SPS), nal_ref_idc: 3
    [h264 @ 000001bbe0bbbf40] nal_unit_type: 8(PPS), nal_ref_idc: 3
    [h264 @ 000001bbe0bbbf40] nal_unit_type: 6(SEI), nal_ref_idc: 0
        Last message repeated 1 times
    [h264 @ 000001bbe0bbbf40] nal_unit_type: 5(IDR), nal_ref_idc: 3
    [h264 @ 000001bbe0bbbf40] Format yuv420p chosen by get_format().
    [h264 @ 000001bbe0bbbf40] Reinit context to 1920x1088, pix_fmt: yuv420p
    [h264 @ 000001bbe0bbbf40] Frame num gap 4 0
    [h264 @ 000001bbe0bbbf40] Frame num gap 4 1
    [h264 @ 000001bbe0bbbf40] Frame num gap 4 2
    [h264 @ 000001bbe0bbbf40] no picture 
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    [h264 @ 000001bbf29c00c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
    [h264 @ 000001bbf29c00c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
    [h264 @ 000001bbf29c00c0] no picture 
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    [h264 @ 000001bbf2044080] nal_unit_type: 9(AUD), nal_ref_idc: 0
    [h264 @ 000001bbf2044080] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    [h264 @ 000001bbf20469c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
    [h264 @ 000001bbf20469c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    [h264 @ 000001bbf20449c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
    [h264 @ 000001bbf20449c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
    [Parsed_loudnorm_0 @ 000001bbe0ba8540] Setting 'I' to value '-16'
    [Parsed_loudnorm_0 @ 000001bbe0ba8540] Setting 'TP' to value '0.0'
    [Parsed_loudnorm_0 @ 000001bbe0ba8540] Setting 'LRA' to value '11'
    [Parsed_loudnorm_0 @ 000001bbe0ba8540] Setting 'measured_I' to value '-23.37'
    [Parsed_loudnorm_0 @ 000001bbe0ba8540] Setting 'measured_LRA' to value '1.20'
    [Parsed_loudnorm_0 @ 000001bbe0ba8540] Setting 'measured_TP' to value '-10.33'
    [Parsed_loudnorm_0 @ 000001bbe0ba8540] Setting 'measured_thresh' to value '-33.63'
    [Parsed_loudnorm_0 @ 000001bbe0ba8540] Setting 'offset' to value '-0.25'
    [Parsed_loudnorm_0 @ 000001bbe0ba8540] Setting 'linear' to value 'true'
    [Parsed_loudnorm_0 @ 000001bbe0ba8540] Setting 'print_format' to value 'summary'
    [graph_1_in_0_1 @ 000001bbf35c0140] Setting 'time_base' to value '1/48000'
    [graph_1_in_0_1 @ 000001bbf35c0140] Setting 'sample_rate' to value '48000'
    [graph_1_in_0_1 @ 000001bbf35c0140] Setting 'sample_fmt' to value 'fltp'
    [graph_1_in_0_1 @ 000001bbf35c0140] Setting 'channel_layout' to value '0x3'
    [graph_1_in_0_1 @ 000001bbf35c0140] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x3
    [format_out_0_1 @ 000001bbf35c0440] Setting 'sample_fmts' to value 's16'
    [format_out_0_1 @ 000001bbf35c0440] Setting 'sample_rates' to value '48000'
    [format_out_0_1 @ 000001bbf35c0440] Setting 'channel_layouts' to value '0x4|0x3|0x7|0x107|0x37|0x3f|0xff|0x63f'
    [Parsed_loudnorm_0 @ 000001bbe0ba8540] auto-inserting filter 'auto_resampler_0' between the filter 'graph_1_in_0_1' and the filter 'Parsed_loudnorm_0'
    [format_out_0_1 @ 000001bbf35c0440] auto-inserting filter 'auto_resampler_1' between the filter 'Parsed_loudnorm_0' and the filter 'format_out_0_1'
    [AVFilterGraph @ 000001bbf1769dc0] query_formats: 5 queried, 6 merged, 6 already done, 0 delayed
    [auto_resampler_0 @ 000001bbf35c0240] [SWR @ 000001bbf3613e00] Using fltp internally between filters
    [auto_resampler_0 @ 000001bbf35c0240] ch:2 chl:stereo fmt:fltp r:48000Hz -> ch:2 chl:stereo fmt:dbl r:48000Hz
    [auto_resampler_1 @ 000001bbf35c0c40] [SWR @ 000001bbf3628e00] Using dblp internally between filters
    [auto_resampler_1 @ 000001bbf35c0c40] ch:2 chl:stereo fmt:dbl r:48000Hz -> ch:2 chl:stereo fmt:s16 r:48000Hz
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
        Last message repeated 1 times
    [h264 @ 000001bbf2044540] nal_unit_type: 9(AUD), nal_ref_idc: 0
    [h264 @ 000001bbf2044540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
        Last message repeated 1 times
    [h264 @ 000001bbf20472c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
    [h264 @ 000001bbf20472c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
        Last message repeated 1 times
    [h264 @ 000001bbf2045c00] nal_unit_type: 9(AUD), nal_ref_idc: 0
    [h264 @ 000001bbf2045c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
    [h264 @ 000001bbf2045c00] nal_unit_type: 8(PPS), nal_ref_idc: 3
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
        Last message repeated 2 times
    [h264 @ 000001bbf2044e40] nal_unit_type: 9(AUD), nal_ref_idc: 0
    [h264 @ 000001bbf2044e40] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [h264 @ 000001bbf2044e40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
    [h264 @ 000001bbf2044e40] ct_type:0 pic_struct:3
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
        Last message repeated 1 times
    [h264 @ 000001bbe0bbbf40] nal_unit_type: 9(AUD), nal_ref_idc: 0
    [h264 @ 000001bbe0bbbf40] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [h264 @ 000001bbe0bbbf40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
    [h264 @ 000001bbe0bbbf40] ct_type:0 pic_struct:3
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
        Last message repeated 1 times
    [h264 @ 000001bbf29c00c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
    [h264 @ 000001bbf29c00c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [h264 @ 000001bbf29c00c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
    [h264 @ 000001bbf29c00c0] ct_type:0 pic_struct:3
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    [h264 @ 000001bbf2044080] nal_unit_type: 9(AUD), nal_ref_idc: 0
    [h264 @ 000001bbf2044080] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [h264 @ 000001bbf2044080] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
    [h264 @ 000001bbf2044080] ct_type:0 pic_struct:3
    [Parsed_yadif_0 @ 000001bbf35c0040] Setting 'mode' to value '1'
    [Parsed_yadif_0 @ 000001bbf35c0040] Setting 'parity' to value '0'
    [Parsed_yadif_0 @ 000001bbf35c0040] Setting 'deint' to value '0'
    [Parsed_format_1 @ 000001bbf35c0340] Setting 'pix_fmts' to value 'yuv420p'
    [Parsed_setdar_2 @ 000001bbf35c0540] Setting 'dar' to value '16/9'
    [graph 0 input from stream 0:0 @ 000001bbf35c0640] Setting 'video_size' to value '1920x1080'
    [graph 0 input from stream 0:0 @ 000001bbf35c0640] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 0:0 @ 000001bbf35c0640] Setting 'time_base' to value '1/90000'
    [graph 0 input from stream 0:0 @ 000001bbf35c0640] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 0:0 @ 000001bbf35c0640] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 0:0 @ 000001bbf35c0640] Setting 'frame_rate' to value '25/1'
    [graph 0 input from stream 0:0 @ 000001bbf35c0640] w:1920 h:1080 pixfmt:yuv420p tb:1/90000 fr:25/1 sar:1/1 sws_param:flags=2
    [format @ 000001bbf35c0740] Setting 'pix_fmts' to value 'nv12'
    [auto_scaler_0 @ 000001bbf35c0940] w:iw h:ih flags:'bilinear' interl:0
    [format @ 000001bbf35c0740] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_setdar_2' and the filter 'format'
    [AVFilterGraph @ 000001bbf17692c0] query_formats: 7 queried, 5 merged, 1 already done, 0 delayed
    [Parsed_setdar_2 @ 000001bbf35c0540] w:1920 h:1080 dar:16/9 sar:1/1 -> dar:16/9 sar:1/1
    [auto_scaler_0 @ 000001bbf35c0940] w:1920 h:1080 fmt:yuv420p sar:1/1 -> w:1920 h:1080 fmt:nv12 sar:1/1 flags:0x2
    [h264_nvenc @ 000001bbf13700c0] Loaded lib: nvcuda.dll
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuInit
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuDeviceGetCount
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuDeviceGet
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuDeviceGetAttribute
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuDeviceGetName
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuDeviceComputeCapability
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuCtxCreate_v2
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuCtxSetLimit
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuCtxPushCurrent_v2
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuCtxPopCurrent_v2
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuCtxDestroy_v2
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuMemAlloc_v2
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuMemAllocPitch_v2
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuMemsetD8Async
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuMemFree_v2
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuMemcpy2D_v2
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuMemcpy2DAsync_v2
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuGetErrorName
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuGetErrorString
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuStreamCreate
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuStreamQuery
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuStreamSynchronize
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuStreamDestroy_v2
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuStreamAddCallback
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuEventCreate
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuEventDestroy_v2
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuEventSynchronize
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuEventQuery
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuEventRecord
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuLaunchKernel
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuModuleLoadData
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuModuleUnload
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuModuleGetFunction
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuTexObjectCreate
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuTexObjectDestroy
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuGLGetDevices_v2
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuGraphicsGLRegisterImage
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuGraphicsUnregisterResource
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuGraphicsMapResources
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuGraphicsUnmapResources
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuGraphicsSubResourceGetMappedArray
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuDeviceGetUuid
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuImportExternalMemory
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuDestroyExternalMemory
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuExternalMemoryGetMappedBuffer
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuExternalMemoryGetMappedMipmappedArray
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuMipmappedArrayGetLevel
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuMipmappedArrayDestroy
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuImportExternalSemaphore
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuDestroyExternalSemaphore
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuSignalExternalSemaphoresAsync
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: cuWaitExternalSemaphoresAsync
    [h264_nvenc @ 000001bbf13700c0] Loaded lib: nvEncodeAPI64.dll
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: NvEncodeAPICreateInstance
    [h264_nvenc @ 000001bbf13700c0] Loaded sym: NvEncodeAPIGetMaxSupportedVersion
    [h264_nvenc @ 000001bbf13700c0] Loaded Nvenc version 9.0
    [h264_nvenc @ 000001bbf13700c0] Nvenc initialized successfully
    [h264_nvenc @ 000001bbf13700c0] 1 CUDA capable devices found
    [h264_nvenc @ 000001bbf13700c0] [ GPU #0 - < GeForce GTX 1050 Ti > has Compute SM 6.1 ]
    [h264_nvenc @ 000001bbf13700c0] supports NVENC
    [h264_nvenc @ 000001bbf13700c0] Lookahead enabled: depth 32, scenecut enabled, B-adapt enabled.
    [h264_nvenc @ 000001bbf13700c0] InitializeEncoder failed: invalid param (8)
    [h264_nvenc @ 000001bbf13700c0] Nvenc unloaded
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    [Parsed_loudnorm_0 @ 000001bbe0ba8540] 
    Input Integrated:     -inf LUFS
    Input True Peak:     -10.4 dBTP
    Input LRA:             0.0 LU
    Input Threshold:     -70.0 LUFS
    
    Output Integrated:    -inf LUFS
    Output True Peak:     -3.0 dBTP
    Output LRA:            0.0 LU
    Output Threshold:    -70.0 LUFS
    
    Normalization Type:   Linear
    Target Offset:        +inf LU
    [AVIOContext @ 000001bbf1980a80] Statistics: 0 seeks, 0 writeouts
    [libfdk_aac @ 000001bbf1980500] 2 frames left in the queue on closing
    [AVIOContext @ 000001bbe0bc8d40] Statistics: 777648 bytes read, 0 seeks
    Conversion failed!
    Quote Quote  
  2. 1st thing I see, is that you specify "-profile:v high -level 4.1", but 1920x1080@50fps needs at least level 4.2
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  3. Member hydra3333's Avatar
    Join Date
    Oct 2009
    Location
    Australia
    Search Comp PM
    Ugh. I should have spotted that. Thanks !

    edit: Yes, that did the trick. Now, to lower the bitrate from 32000kbits/s
    Last edited by hydra3333; 24th Mar 2019 at 03:27.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!