Yadif_cuda and Pix_fmt

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Yadif_cuda and Pix_fmt

Andy Sheimo
I'm trying to use yadif_cuda during a transcode along with converting from
8bit to 10bit. The process errors out:

Impossible to convert between the formats supported by the filter
'Parsed_yadif_cuda_0' and the filter 'auto_scaler_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:0

If I don't set the pix_fmt then the transcode works without issue. I'm
trying to understand why I am getting that failure. It would seem to be
that the yadif_cuda filter would take the input stream, perform the
deinterlacing then the hevc_nvenc encoder should accept pix_fmt p010le.
What am I missing here.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Yadif_cuda and Pix_fmt

Carl Eugen Hoyos-2


> Am 25.08.2020 um 06:38 schrieb Andy Sheimo <[hidden email]>:
>
> I'm trying to use yadif_cuda during a transcode along with converting from
> 8bit to 10bit.

Command line and complete, uncut console output missing.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Yadif_cuda and Pix_fmt

Andy Sheimo
Apologies for forgetting the command and output

ffmpeg -loglevel debug -stats -hwaccel cuda -i "F:\\Remuxed\\Robin Hood
Special Edition 2013\\Oo-de-lally Disney Sing-Along Song-featurette.mkv"
-map 0:0 -filter:v "yadif_cuda=deint=interlaced" -c:v hevc_nvenc -pix_fmt:v
p010le -b:v 1500k -maxrate:v 4500k -rc:v vbr_hq -spatial_aq:v 1
-color_primaries:v smpte170m -color_trc:v bt709 -colorspace:v smpte170m
-metadata:s:v "title=" -disposition:v default -map 0:1 -c:a:0 copy
-disposition:a:0 default -map 0:2 -c:s:0 copy -disposition:s:0 0
-metadata:g "title=" "Oo-de-lally Disney Sing-Along Song-featurette.mkv"
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10.2.1 (GCC) 20200726
  configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libdav1d --enable-libbluray --enable-libfreetype
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma
--enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf
--enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa
--enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm
--enable-librav1e --disable-w32threads --enable-libmfx --enable-ffnvcodec
--enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc
--enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
--enable-amf
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument 'debug'.
Reading option '-stats' ... matched as option 'stats' (print progress
report during encoding) with argument '1'.
Reading option '-hwaccel' ... matched as option 'hwaccel' (use HW
accelerated decoding) with argument 'cuda'.
Reading option '-i' ... matched as input url with argument
'F:\\Remuxed\\Robin Hood Special Edition 2013\\Oo-de-lally Disney
Sing-Along Song-featurette.mkv'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '0:0'.
Reading option '-filter:v' ... matched as option 'filter' (set stream
filtergraph) with argument 'yadif_cuda=deint=interlaced'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument
'hevc_nvenc'.
Reading option '-pix_fmt:v' ... matched as option 'pix_fmt' (set pixel
format) with argument 'p010le'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use
-b:v)) with argument '1500k'.
Reading option '-maxrate:v' ... matched as AVOption 'maxrate:v' with
argument '4500k'.
Reading option '-rc:v' ... matched as AVOption 'rc:v' with argument
'vbr_hq'.
Reading option '-spatial_aq:v' ... matched as AVOption 'spatial_aq:v' with
argument '1'.
Reading option '-color_primaries:v' ... matched as AVOption
'color_primaries:v' with argument 'smpte170m'.
Reading option '-color_trc:v' ... matched as AVOption 'color_trc:v' with
argument 'bt709'.
Reading option '-colorspace:v' ... matched as AVOption 'colorspace:v' with
argument 'smpte170m'.
Reading option '-metadata:s:v' ... matched as option 'metadata' (add
metadata) with argument 'title='.
Reading option '-disposition:v' ... matched as option 'disposition'
(disposition) with argument 'default'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '0:1'.
Reading option '-c:a:0' ... matched as option 'c' (codec name) with
argument 'copy'.
Reading option '-disposition:a:0' ... matched as option 'disposition'
(disposition) with argument 'default'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '0:2'.
Reading option '-c:s:0' ... matched as option 'c' (codec name) with
argument 'copy'.
Reading option '-disposition:s:0' ... matched as option 'disposition'
(disposition) with argument '0'.
Reading option '-metadata:g' ... matched as option 'metadata' (add
metadata) with argument 'title='.
Reading option 'Oo-de-lally Disney Sing-Along Song-featurette.mkv' ...
matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option stats (print progress report during encoding) with argument
1.
Successfully parsed a group of options.
Parsing a group of options: input url F:\\Remuxed\\Robin Hood Special
Edition 2013\\Oo-de-lally Disney Sing-Along Song-featurette.mkv.
Applying option hwaccel (use HW accelerated decoding) with argument cuda.
Successfully parsed a group of options.
Opening an input file: F:\\Remuxed\\Robin Hood Special Edition
2013\\Oo-de-lally Disney Sing-Along Song-featurette.mkv.
[NULL @ 00000179ffcbf1c0] Opening 'F:\\Remuxed\\Robin Hood Special Edition
2013\\Oo-de-lally Disney Sing-Along Song-featurette.mkv' for reading
[file @ 00000179ffcc0900] Setting default whitelist 'file,crypto,data'
[matroska,webm @ 00000179ffcbf1c0] Format matroska,webm probed with
size=2048 and score=100
st:0 removing common factor 1000000 from timebase
st:1 removing common factor 1000000 from timebase
st:2 removing common factor 1000000 from timebase
[matroska,webm @ 00000179ffcbf1c0] Before avformat_find_stream_info() pos:
2742 bytes read:33983 seeks:2 nb_streams:3
[h264 @ 00000179ffcc5a00] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 00000179ffcc5a00] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 00000179ffcc5a00] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 00000179ffcc5a00] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 00000179ffcc5a00] ct_type:0 pic_struct:3
[h264 @ 00000179ffcc5a00] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 00000179ffcc5a00] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 00000179ffcc5a00] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 00000179ffcc5a00] nal_unit_type: 6(SEI), nal_ref_idc: 0
    Last message repeated 2 times
[h264 @ 00000179ffcc5a00] nal_unit_type: 5(IDR), nal_ref_idc: 3
    Last message repeated 3 times
[h264 @ 00000179ffcc5a00] Format yuv420p chosen by get_format().
[h264 @ 00000179ffcc5a00] Reinit context to 720x480, pix_fmt: yuv420p
[h264 @ 00000179ffcc5a00] ct_type:0 pic_struct:3
[h264 @ 00000179ffcc5a00] no picture
[h264 @ 00000179ffcc5a00] ct_type:0 pic_struct:3
    Last message repeated 5 times
[matroska,webm @ 00000179ffcbf1c0] first_dts 33 not matching first dts
NOPTS (pts 0, duration 33) in the queue
[h264 @ 00000179ffcc5a00] ct_type:0 pic_struct:3
    Last message repeated 131 times
[matroska,webm @ 00000179ffcbf1c0] Probe buffer size limit of 5000000 bytes
reached
[matroska,webm @ 00000179ffcbf1c0] Could not find codec parameters for
stream 2 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[matroska,webm @ 00000179ffcbf1c0] After avformat_find_stream_info() pos:
5022280 bytes read:5053521 seeks:2 frames:283
Input #0, matroska,webm, from 'F:\\Remuxed\\Robin Hood Special Edition
2013\\Oo-de-lally Disney Sing-Along Song-featurette.mkv':
  Metadata:
    title           : Robin Hood Special Edition 2013
    encoder         : libmakemkv v1.15.2 (1.3.10/1.5.2) win(x64-release)
    creation_time   : 2020-08-25T01:25:17.000000Z
  Duration: 00:02:08.74, start: 0.000000, bitrate: 20191 kb/s
    Stream #0:0(eng), 139, 1/1000: Video: h264 (High), 1 reference frame,
yuv420p(top first, left), 720x480 [SAR 10:11 DAR 15:11], 0/1, SAR 109:120
DAR 109:80, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc
    Metadata:
      BPS-eng         : 19868528
      DURATION-eng    : 00:02:08.728600000
      NUMBER_OF_FRAMES-eng: 3858
      NUMBER_OF_BYTES-eng: 319704500
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.2 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-08-25 01:25:17
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
SOURCE_ID
    Stream #0:1(eng), 144, 1/1000: Audio: ac3, 48000 Hz, stereo, fltp, 320
kb/s (default)
    Metadata:
      title           : Stereo
      BPS-eng         : 320000
      DURATION-eng    : 00:02:08.736000000
      NUMBER_OF_FRAMES-eng: 4023
      NUMBER_OF_BYTES-eng: 5149440
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.2 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-08-25 01:25:17
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
SOURCE_ID
    Stream #0:2(eng), 0, 1/1000: Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 1807
      DURATION-eng    : 00:01:05.115050000
      NUMBER_OF_FRAMES-eng: 6
      NUMBER_OF_BYTES-eng: 14711
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.2 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-08-25 01:25:17
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
SOURCE_ID
Successfully opened the file.
Parsing a group of options: output url Oo-de-lally Disney Sing-Along
Song-featurette.mkv.
Applying option map (set input stream mapping) with argument 0:0.
Applying option filter:v (set stream filtergraph) with argument
yadif_cuda=deint=interlaced.
Applying option c:v (codec name) with argument hevc_nvenc.
Applying option pix_fmt:v (set pixel format) with argument p010le.
Applying option b:v (video bitrate (please use -b:v)) with argument 1500k.
Applying option metadata:s:v (add metadata) with argument title=.
Applying option disposition:v (disposition) with argument default.
Applying option map (set input stream mapping) with argument 0:1.
Applying option c:a:0 (codec name) with argument copy.
Applying option disposition:a:0 (disposition) with argument default.
Applying option map (set input stream mapping) with argument 0:2.
Applying option c:s:0 (codec name) with argument copy.
Applying option disposition:s:0 (disposition) with argument 0.
Applying option metadata:g (add metadata) with argument title=.
Successfully parsed a group of options.
Opening an output file: Oo-de-lally Disney Sing-Along Song-featurette.mkv.
[file @ 00000179ffcd3440] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
[AVHWDeviceContext @ 0000017981aa1300] Loaded lib: nvcuda.dll
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuInit
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuDeviceGetCount
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuDeviceGet
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuDeviceGetAttribute
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuDeviceGetName
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuDeviceComputeCapability
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuCtxCreate_v2
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuCtxSetLimit
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuCtxPushCurrent_v2
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuCtxPopCurrent_v2
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuCtxDestroy_v2
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuMemAlloc_v2
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuMemAllocPitch_v2
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuMemsetD8Async
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuMemFree_v2
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuMemcpy2D_v2
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuMemcpy2DAsync_v2
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuGetErrorName
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuGetErrorString
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuCtxGetDevice
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuDevicePrimaryCtxRetain
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuDevicePrimaryCtxRelease
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym:
cuDevicePrimaryCtxSetFlags
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym:
cuDevicePrimaryCtxGetState
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuDevicePrimaryCtxReset
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuStreamCreate
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuStreamQuery
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuStreamSynchronize
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuStreamDestroy_v2
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuStreamAddCallback
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuEventCreate
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuEventDestroy_v2
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuEventSynchronize
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuEventQuery
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuEventRecord
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuLaunchKernel
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuModuleLoadData
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuModuleUnload
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuModuleGetFunction
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuTexObjectCreate
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuTexObjectDestroy
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuGLGetDevices_v2
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuGraphicsGLRegisterImage
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym:
cuGraphicsUnregisterResource
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuGraphicsMapResources
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuGraphicsUnmapResources
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym:
cuGraphicsSubResourceGetMappedArray
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuDeviceGetUuid
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuImportExternalMemory
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuDestroyExternalMemory
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym:
cuExternalMemoryGetMappedBuffer
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym:
cuExternalMemoryGetMappedMipmappedArray
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuMipmappedArrayGetLevel
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuMipmappedArrayDestroy
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym: cuImportExternalSemaphore
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym:
cuDestroyExternalSemaphore
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym:
cuSignalExternalSemaphoresAsync
[AVHWDeviceContext @ 0000017981aa1300] Loaded sym:
cuWaitExternalSemaphoresAsync
detected 16 logical cores
[h264 @ 00000179ffcf4080] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 00000179ffcf4080] nal_unit_type: 8(PPS), nal_ref_idc: 3
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_nvenc))
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (copy)
Press [q] to stop, [?] for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
    Last message repeated 1 times
[h264 @ 00000179ffcf4080] nal_unit_type: 9(AUD), nal_ref_idc: 0
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf4080] nal_unit_type: 7(SPS), nal_ref_idc: 3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf4080] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 00000179ffcf4080] nal_unit_type: 6(SEI), nal_ref_idc: 0
    Last message repeated 2 times
[h264 @ 00000179ffcf4080] nal_unit_type: 5(IDR), nal_ref_idc: 3
    Last message repeated 3 times
[h264 @ 00000179ffcf4080] Format cuda chosen by get_format().
[h264 @ 00000179ffcf4080] Format cuda requires hwaccel initialisation.
[h264 @ 00000179ffcf4080] Loaded lib: nvcuvid.dll
[h264 @ 00000179ffcf4080] Loaded sym: cuvidGetDecoderCaps
[h264 @ 00000179ffcf4080] Loaded sym: cuvidCreateDecoder
[h264 @ 00000179ffcf4080] Loaded sym: cuvidDestroyDecoder
[h264 @ 00000179ffcf4080] Loaded sym: cuvidDecodePicture
[h264 @ 00000179ffcf4080] Loaded sym: cuvidGetDecodeStatus
[h264 @ 00000179ffcf4080] Loaded sym: cuvidReconfigureDecoder
[h264 @ 00000179ffcf4080] Loaded sym: cuvidMapVideoFrame64
[h264 @ 00000179ffcf4080] Loaded sym: cuvidUnmapVideoFrame64
[h264 @ 00000179ffcf4080] Loaded sym: cuvidCtxLockCreate
[h264 @ 00000179ffcf4080] Loaded sym: cuvidCtxLockDestroy
[h264 @ 00000179ffcf4080] Loaded sym: cuvidCtxLock
[h264 @ 00000179ffcf4080] Loaded sym: cuvidCtxUnlock
[h264 @ 00000179ffcf4080] Loaded sym: cuvidCreateVideoSource
[h264 @ 00000179ffcf4080] Loaded sym: cuvidCreateVideoSourceW
[h264 @ 00000179ffcf4080] Loaded sym: cuvidDestroyVideoSource
[h264 @ 00000179ffcf4080] Loaded sym: cuvidSetVideoSourceState
[h264 @ 00000179ffcf4080] Loaded sym: cuvidGetVideoSourceState
[h264 @ 00000179ffcf4080] Loaded sym: cuvidGetSourceVideoFormat
[h264 @ 00000179ffcf4080] Loaded sym: cuvidGetSourceAudioFormat
[h264 @ 00000179ffcf4080] Loaded sym: cuvidCreateVideoParser
[h264 @ 00000179ffcf4080] Loaded sym: cuvidParseVideoData
[h264 @ 00000179ffcf4080] Loaded sym: cuvidDestroyVideoParser
[h264 @ 00000179ffcf4080] NVDEC capabilities:
[h264 @ 00000179ffcf4080] format supported: yes, max_mb_count: 65536
[h264 @ 00000179ffcf4080] min_width: 48, max_width: 4096
[h264 @ 00000179ffcf4080] min_height: 16, max_height: 4096
[h264 @ 00000179ffcf4080] Reinit context to 720x480, pix_fmt: cuda
[h264 @ 00000179ffcf4080] ct_type:0 pic_struct:3
[h264 @ 00000179ffcf4080] no picture
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf2080] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 00000179ffcf2080] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 00000179ffcf2080] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
    Last message repeated 3 times
[h264 @ 00000179ffcf2080] ct_type:0 pic_struct:3
[h264 @ 00000179ffcf2080] no picture
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf4500] nal_unit_type: 9(AUD), nal_ref_idc: 0
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
    Last message repeated 1 times
[h264 @ 00000179ffcf4500] nal_unit_type: 6(SEI), nal_ref_idc: 0
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf4500] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 0
    Last message repeated 3 times
[h264 @ 00000179ffcf4500] ct_type:0 pic_struct:3
[h264 @ 00000179ffcf4500] no picture
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf2500] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 00000179ffcf2500] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 00000179ffcf2500] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
    Last message repeated 3 times
[h264 @ 00000179ffcf2500] ct_type:0 pic_struct:3
[h264 @ 00000179ffcf2500] no picture
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf2e40] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 00000179ffcf2e40] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 00000179ffcf2e40] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
    Last message repeated 3 times
[h264 @ 00000179ffcf2e40] ct_type:0 pic_struct:3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf3bc0] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 00000179ffcf3bc0] nal_unit_type: 6(SEI), nal_ref_idc: 0
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf3bc0] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 0
    Last message repeated 3 times
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
    Last message repeated 1 times
[h264 @ 00000179ffcf3bc0] ct_type:0 pic_struct:3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf32c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 00000179ffcf32c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 00000179ffcf32c0] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
    Last message repeated 3 times
[h264 @ 00000179ffcf32c0] ct_type:0 pic_struct:3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf4980] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 00000179ffcf4980] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 00000179ffcf4980] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
    Last message repeated 3 times
[h264 @ 00000179ffcf4980] ct_type:0 pic_struct:3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
    Last message repeated 3 times
[h264 @ 00000179ffcf12c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 00000179ffcf12c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 00000179ffcf12c0] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 0
    Last message repeated 3 times
[h264 @ 00000179ffcf12c0] ct_type:0 pic_struct:3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf3740] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 00000179ffcf3740] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 00000179ffcf3740] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
    Last message repeated 3 times
[h264 @ 00000179ffcf3740] ct_type:0 pic_struct:3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf1740] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 00000179ffcf1740] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 00000179ffcf1740] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
    Last message repeated 3 times
[h264 @ 00000179ffcf1740] ct_type:0 pic_struct:3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf1c00] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 00000179ffcf1c00] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 00000179ffcf1c00] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 0
    Last message repeated 1 times
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf1c00] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 0
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf1c00] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 0
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf1c00] ct_type:0 pic_struct:3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 0000017981c23980] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0000017981c23980] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0000017981c23980] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
    Last message repeated 3 times
[h264 @ 0000017981c23980] ct_type:0 pic_struct:3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 0000017981c23e00] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0000017981c23e00] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0000017981c23e00] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
    Last message repeated 3 times
[h264 @ 0000017981c23e00] ct_type:0 pic_struct:3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 0000017981c254c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
    Last message repeated 1 times
[h264 @ 0000017981c254c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0000017981c254c0] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 0
    Last message repeated 3 times
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 0000017981c254c0] ct_type:0 pic_struct:3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 0000017981c24280] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0000017981c24280] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0000017981c24280] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
    Last message repeated 3 times
[h264 @ 0000017981c24280] ct_type:0 pic_struct:3
[h264 @ 00000179ffcf4080] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 00000179ffcf4080] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 00000179ffcf4080] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
    Last message repeated 3 times
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf4080] ct_type:0 pic_struct:3
[h264 @ 00000179ffcf2080] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 00000179ffcf2080] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 00000179ffcf2080] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 0
    Last message repeated 3 times
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf2080] ct_type:0 pic_struct:3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
    Last message repeated 2 times
[h264 @ 00000179ffcf4500] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 00000179ffcf4500] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 00000179ffcf4500] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
    Last message repeated 3 times
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[h264 @ 00000179ffcf4500] ct_type:0 pic_struct:3
[h264 @ 00000179ffcf2500] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 00000179ffcf2500] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 00000179ffcf2500] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
    Last message repeated 3 times
[Parsed_yadif_cuda_0 @ 00000179ffefd9c0] Setting 'deint' to value
'interlaced'
[h264 @ 00000179ffcf2500] ct_type:0 pic_struct:3
[graph 0 input from stream 0:0 @ 00000179ffefdbc0] Setting 'video_size' to
value '720x480'
[graph 0 input from stream 0:0 @ 00000179ffefdbc0] Setting 'pix_fmt' to
value '23'
[graph 0 input from stream 0:0 @ 00000179ffefdbc0] Setting 'time_base' to
value '1/1000'
[graph 0 input from stream 0:0 @ 00000179ffefdbc0] Setting 'pixel_aspect'
to value '109/120'
[graph 0 input from stream 0:0 @ 00000179ffefdbc0] Setting 'frame_rate' to
value '30000/1001'
[graph 0 input from stream 0:0 @ 00000179ffefdbc0] w:720 h:480 pixfmt:nv12
tb:1/1000 fr:30000/1001 sar:109/120
[format @ 00000179ffefdfc0] Setting 'pix_fmts' to value 'p010le'
[auto_scaler_0 @ 00000179ffefcac0] Setting 'flags' to value 'bicubic'
[auto_scaler_0 @ 00000179ffefcac0] w:iw h:ih flags:'bicubic' interl:0
[Parsed_yadif_cuda_0 @ 00000179ffefd9c0] auto-inserting filter
'auto_scaler_0' between the filter 'graph 0 input from stream 0:0' and the
filter 'Parsed_yadif_cuda_0'
Impossible to convert between the formats supported by the filter 'graph 0
input from stream 0:0' and the filter 'auto_scaler_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:0
[AVIOContext @ 00000179ffef7000] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 00000179ffcc8b40] Statistics: 5053521 bytes read, 2 seeks
Conversion failed!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Yadif_cuda and Pix_fmt

Carl Eugen Hoyos-2
In reply to this post by Andy Sheimo
Am Di., 25. Aug. 2020 um 06:38 Uhr schrieb Andy Sheimo <[hidden email]>:
>
> I'm trying to use yadif_cuda during a transcode along with converting from
> 8bit to 10bit.

If I understand correctly, you want to first convert to 10 bit and then upload
to cuda (and nvenc). The "pix_fmt" option will try to convert the output of
the filterchain which is impossible in your command line, you have to
insert the format filter into the filterchain.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Yadif_cuda and Pix_fmt

Andy Sheimo
>
> If I understand correctly, you want to first convert to 10 bit and then
> upload
> to cuda (and nvenc).


I am trying to keep the transcode completely on the GPU using CUDA to
decode then NVENC to encode, avoiding sending the data to the cpu and back
again.



> The "pix_fmt" option will try to convert the output of
> the filterchain which is impossible in your command line, you have to
> insert the format filter into the filterchain.
>
> Could you provide an example or point me toward documentation to help me
> understand how to do that please.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Yadif_cuda and Pix_fmt

Andy Sheimo
If I understand correctly, you want to first convert to 10 bit and then
> upload
> to cuda (and nvenc).


I am trying to keep the transcode completely on the GPU using CUDA to
decode then NVENC to encode, avoiding sending the data to the cpu and back
again.



> The "pix_fmt" option will try to convert the output of
> the filterchain which is impossible in your command line, you have to
> insert the format filter into the filterchain.
>
> Could you provide an example or point me toward documentation to help me
> understand how to do that please.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Fwd: Yadif_cuda and Pix_fmt

Andy Sheimo
I sent this message a couple times with zero response. Is there anyone that
can help with using NVDEC for decoding, converting 8bit to 10bit on the
GPU, then using NVENC to encode the video?


If I understand correctly, you want to first convert to 10 bit and then
> upload
> to cuda (and nvenc).


I am trying to keep the transcode completely on the GPU using CUDA to
decode then NVENC to encode, avoiding sending the data to the cpu and back
again.



> The "pix_fmt" option will try to convert the output of
> the filterchain which is impossible in your command line, you have to
> insert the format filter into the filterchain.
>
> Could you provide an example or point me toward documentation to help me
> understand how to do that please.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".