[FFmpeg-user] Decklink input extra filter inserted

Bartosz Ziemski bartekziemski at gmail.com
Fri Jan 15 11:38:13 EET 2021


Command:

ffmpeg -f decklink -i decklink1 -map 0:v -vf
"hwupload_cuda,scale_npp=format=yuv444p,yadif_cuda,scale_npp=w=1280:h=720:interp_algo=lanczos:format=yuv420p"
-b:v
10000k -vcodec h264_nvenc -delay 0 -preset llhq -g 5 -r 25 -map 0:a -c:a:0
aac -loglevel debug -f
tee "[f=hls: hls_segment_type=fmp4: hls_time=0.2:
hls_flags=split_by_time+second_level_segment_index: strftime=1:
hls_segment_filename=http\\\://localhost\\\:9050/hls/$OUTPUT_ID/$VARIANT_ID/%%18d.m4s:
hls_fmp4_init_filename=init.mp4: master_pl_name=master.m3u8:
hls_playlist_type=event]
http://localhost:9050/hls/$OUTPUT_ID/$VARIANT_ID/index.m3u8"


Logs:

ffmpeg version b9a7135 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 8 (Ubuntu 8.4.0-3ubuntu2)
  configuration: --disable-everything --disable-doc
--enable-protocol='file,http,https,pipe' --enable-gnutls --enable-decklink
--enable-indev=decklink --enable-indev=lavfi --enable-outdev=decklink
--extra-cflags=-I/home/nativewaves/decklink/Blackmagic_DeckLink_SDK_11.5.1/Linux/include
--enable-cuda-nvcc --enable-libnpp --enable-nvenc --disable-cuvid
--disable-nvdec --disable-vdpau --enable-nonfree --enable-libmp3lame
--enable-encoder='h264_nvenc,hevc_nvenc'
--enable-filter='hwupload_cuda,hwdownload,yadif,yadif_cuda,scale_npp,scale,color,pan'
--enable-encoder='aac,libmp3lame,pcm_s16le,rawvideo,wrapped_avframe'
--enable-muxer='aac,mp3,h264,hevc,mp4,matroska,hls,dash,rawvideo,mpegts,null'
--enable-filter=aresample
--enable-decoder='h264,hevc,aac,mp3,pcm_s16le,rawvideo,wrapped_avframe,mjpeg'
--enable-demuxer='aac,mp3,h264,hevc,mov,matroska,hls,dash,rawvideo,mpegts'
--enable-parser='aac,mp3,h264,hevc' --enable-libxml2 --enable-libfreetype
--enable-filter=drawtext --enable-filter=setpts --enable-filter=settb
--enable-muxer=tee --enable-filter=split --enable-muxer=fifo
--enable-libx264 --enable-libx265 --enable-encoder='libx264,libx265'
--enable-gpl
  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 '-f' ... matched as option 'f' (force format) with argument
'decklink'.
Reading option '-i' ... matched as input url with argument 'decklink1'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '0:v'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with
argument
'hwupload_cuda,scale_npp=format=yuv444p,yadif_cuda,scale_npp=w=1280:h=720:interp_algo=lanczos:format=yuv420p'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use
-b:v)) with argument '10000k'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
('copy' to copy stream)) with argument 'h264_nvenc'.
Reading option '-delay' ... matched as AVOption 'delay' with argument '0'.
Reading option '-preset' ... matched as AVOption 'preset' with argument
'llhq'.
Reading option '-g' ... matched as AVOption 'g' with argument '5'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value,
fraction or abbreviation)) with argument '25'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '0:a'.
Reading option '-c:a:0' ... matched as option 'c' (codec name) with
argument 'aac'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument 'debug'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'tee'.
Reading option '[f=hls: hls_segment_type=fmp4: hls_time=0.2:
hls_flags=split_by_time+second_level_segment_index: strftime=1:
hls_segment_filename=http\\://localhost\\:9050/hls/a577fcc0-2fda-4a7e-b96f-2ce6275fa6c3/1/%%18d.m4s:
hls_fmp4_init_filename=init.mp4: master_pl_name=master.m3u8:
hls_playlist_type=event]
http://localhost:9050/hls/a577fcc0-2fda-4a7e-b96f-2ce6275fa6c3/1/index.m3u8'
... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url decklink1.
Applying option f (force format) with argument decklink.
Successfully parsed a group of options.
Opening an input file: decklink1.
[2021-01-15T10:32:56.509] [decklink @ 0x56540515ad00] Autodetected the
input mode
[2021-01-15T10:32:56.510] [decklink @ 0x56540515ad00] Trying to find mode
for frame size 0x0, frame timing 0/0, field order 0, direction 0, format
code Hp25
[2021-01-15T10:32:56.510] [decklink @ 0x56540515ad00] Found Decklink mode
1920 x 1080 with rate 25.00
[2021-01-15T10:32:56.510] [decklink @ 0x56540515ad00] Using 2 input audio
channels
[2021-01-15T10:32:56.599] [decklink @ 0x56540515ad00] Frame received
Frame=0 q_nb_packets=0 pkt_pts=0
[2021-01-15T10:32:56.599] [decklink @ 0x56540515ad00] avpacket_queue_put :
Stream=1 pkt->pts=0 q_nb_packets=0 pkt->size=4147200 pkt->dts=0
[2021-01-15T10:32:56.599] [decklink @ 0x56540515ad00] avpacket_queue_put :
Stream=0 pkt->pts=0 q_nb_packets=1 pkt->size=7680 pkt->dts=0
[2021-01-15T10:32:56.600] [decklink @ 0x56540515ad00] avpacket_queue_get :
Stream=1 pkt->pts=0 q_nb_packets=0 pkt->dts=0 block=1
[2021-01-15T10:32:56.600] [decklink @ 0x56540515ad00] avpacket_queue_get :
Stream=0 pkt->pts=0 q_nb_packets=0 pkt->dts=0 block=1
[2021-01-15T10:32:56.639] [decklink @ 0x56540515ad00] Frame received
Frame=1 q_nb_packets=0 pkt_pts=40000
[2021-01-15T10:32:56.640] [decklink @ 0x56540515ad00] avpacket_queue_put :
Stream=1 pkt->pts=40000 q_nb_packets=0 pkt->size=4147200 pkt->dts=40000
[2021-01-15T10:32:56.640] [decklink @ 0x56540515ad00] avpacket_queue_put :
Stream=0 pkt->pts=40000 q_nb_packets=1 pkt->size=7680 pkt->dts=40000
[2021-01-15T10:32:56.640] [decklink @ 0x56540515ad00] avpacket_queue_get :
Stream=1 pkt->pts=40000 q_nb_packets=0 pkt->dts=40000 block=1
[2021-01-15T10:32:56.640] [decklink @ 0x56540515ad00] Probe buffer size
limit of 5000000 bytes reached
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, decklink, from 'decklink1':
  Duration: N/A, start: 0.000000, bitrate: 830976 kb/s
    Stream #0:0, 1, 1/1000000: Audio: pcm_s16le, 48000 Hz, stereo, s16,
1536 kb/s
    Stream #0:1, 2, 1/1000000: Video: rawvideo, 1 reference frame (UYVY /
0x59565955), uyvy422(progressive), 1920x1080, 0/1, 829440 kb/s, 25 tbr,
1000k tbn, 1000k tbc
Successfully opened the file.
Parsing a group of options: output url [f=hls: hls_segment_type=fmp4:
hls_time=0.2: hls_flags=split_by_time+second_level_segment_index:
strftime=1:
hls_segment_filename=http\\://localhost\\:9050/hls/a577fcc0-2fda-4a7e-b96f-2ce6275fa6c3/1/%%18d.m4s:
hls_fmp4_init_filename=init.mp4: master_pl_name=master.m3u8:
hls_playlist_type=event]
http://localhost:9050/hls/a577fcc0-2fda-4a7e-b96f-2ce6275fa6c3/1/index.m3u8.
Applying option map (set input stream mapping) with argument 0:v.
Applying option vf (set video filters) with argument
hwupload_cuda,scale_npp=format=yuv444p,yadif_cuda,scale_npp=w=1280:h=720:interp_algo=lanczos:format=yuv420p.
Applying option b:v (video bitrate (please use -b:v)) with argument 10000k.
Applying option vcodec (force video codec ('copy' to copy stream)) with
argument h264_nvenc.
Applying option r (set frame rate (Hz value, fraction or abbreviation))
with argument 25.
Applying option map (set input stream mapping) with argument 0:a.
Applying option c:a:0 (codec name) with argument aac.
Applying option f (force format) with argument tee.
Successfully parsed a group of options.
Opening an output file: [f=hls: hls_segment_type=fmp4: hls_time=0.2:
hls_flags=split_by_time+second_level_segment_index: strftime=1:
hls_segment_filename=http\\://localhost\\:9050/hls/a577fcc0-2fda-4a7e-b96f-2ce6275fa6c3/1/%%18d.m4s:
hls_fmp4_init_filename=init.mp4: master_pl_name=master.m3u8:
hls_playlist_type=event]
http://localhost:9050/hls/a577fcc0-2fda-4a7e-b96f-2ce6275fa6c3/1/index.m3u8.
Successfully opened the file.
Stream mapping:
  Stream #0:1 -> #0:0 (rawvideo (native) -> h264 (h264_nvenc))
  Stream #0:0 -> #0:1 (pcm_s16le (native) -> aac (native))
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)
[2021-01-15T10:32:56.642] [rawvideo @ 0x56540519dd00] PACKET SIZE: 4147200,
STRIDE: 3840
[2021-01-15T10:32:56.642] Frame=0 Stream=1 decoded. pkt->pts=0
pkt->size=4147200 pkt->dts=0 decoded_frame->pts=0
detected 8 logical cores
[2021-01-15T10:32:56.649] [AVHWDeviceContext @ 0x56540515a940] Loaded lib:
libcuda.so.1
[2021-01-15T10:32:56.649] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuInit
[2021-01-15T10:32:56.649] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuDeviceGetCount
[2021-01-15T10:32:56.649] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuDeviceGet
[2021-01-15T10:32:56.649] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuDeviceGetAttribute
[2021-01-15T10:32:56.649] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuDeviceGetName
[2021-01-15T10:32:56.649] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuDeviceComputeCapability
[2021-01-15T10:32:56.649] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuCtxCreate_v2
[2021-01-15T10:32:56.649] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuCtxSetLimit
[2021-01-15T10:32:56.649] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuCtxPushCurrent_v2
[2021-01-15T10:32:56.649] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuCtxPopCurrent_v2
[2021-01-15T10:32:56.649] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuCtxDestroy_v2
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuMemAlloc_v2
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuMemAllocPitch_v2
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuMemsetD8Async
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuMemFree_v2
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuMemcpy
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuMemcpyAsync
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuMemcpy2D_v2
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuMemcpy2DAsync_v2
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuGetErrorName
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuGetErrorString
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuCtxGetDevice
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuDevicePrimaryCtxRetain
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuDevicePrimaryCtxRelease
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuDevicePrimaryCtxSetFlags
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuDevicePrimaryCtxGetState
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuDevicePrimaryCtxReset
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuStreamCreate
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuStreamQuery
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuStreamSynchronize
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuStreamDestroy_v2
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuStreamAddCallback
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuEventCreate
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuEventDestroy_v2
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuEventSynchronize
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuEventQuery
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuEventRecord
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuLaunchKernel
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuLinkCreate
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuLinkAddData
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuLinkComplete
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuLinkDestroy
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuModuleLoadData
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuModuleUnload
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuModuleGetFunction
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuModuleGetGlobal
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuTexObjectCreate
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuTexObjectDestroy
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuGLGetDevices_v2
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuGraphicsGLRegisterImage
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuGraphicsUnregisterResource
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuGraphicsMapResources
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuGraphicsUnmapResources
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuGraphicsSubResourceGetMappedArray
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuDeviceGetUuid
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuImportExternalMemory
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuDestroyExternalMemory
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuExternalMemoryGetMappedBuffer
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuExternalMemoryGetMappedMipmappedArray
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuMipmappedArrayGetLevel
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuMipmappedArrayDestroy
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuImportExternalSemaphore
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuDestroyExternalSemaphore
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuSignalExternalSemaphoresAsync
[2021-01-15T10:32:56.650] [AVHWDeviceContext @ 0x56540515a940] Loaded sym:
cuWaitExternalSemaphoresAsync
[2021-01-15T10:32:56.679] [decklink @ 0x56540515ad00] Frame received
Frame=2 q_nb_packets=1 pkt_pts=80000
[2021-01-15T10:32:56.679] [decklink @ 0x56540515ad00] avpacket_queue_put :
Stream=1 pkt->pts=80000 q_nb_packets=1 pkt->size=4147200 pkt->dts=80000
[2021-01-15T10:32:56.679] [decklink @ 0x56540515ad00] avpacket_queue_put :
Stream=0 pkt->pts=80000 q_nb_packets=2 pkt->size=7680 pkt->dts=80000
[2021-01-15T10:32:56.719] [decklink @ 0x56540515ad00] Frame received
Frame=3 q_nb_packets=3 pkt_pts=120000
[2021-01-15T10:32:56.719] [decklink @ 0x56540515ad00] avpacket_queue_put :
Stream=1 pkt->pts=120000 q_nb_packets=3 pkt->size=4147200 pkt->dts=120000
[2021-01-15T10:32:56.719] [decklink @ 0x56540515ad00] avpacket_queue_put :
Stream=0 pkt->pts=120000 q_nb_packets=4 pkt->size=7680 pkt->dts=120000
[2021-01-15T10:32:56.759] [decklink @ 0x56540515ad00] Frame received
Frame=4 q_nb_packets=5 pkt_pts=160000
[2021-01-15T10:32:56.759] [decklink @ 0x56540515ad00] avpacket_queue_put :
Stream=1 pkt->pts=160000 q_nb_packets=5 pkt->size=4147200 pkt->dts=160000
[2021-01-15T10:32:56.759] [decklink @ 0x56540515ad00] avpacket_queue_put :
Stream=0 pkt->pts=160000 q_nb_packets=6 pkt->size=7680 pkt->dts=160000
[2021-01-15T10:32:56.799] [decklink @ 0x56540515ad00] Frame received
Frame=5 q_nb_packets=7 pkt_pts=200000
[2021-01-15T10:32:56.799] [decklink @ 0x56540515ad00] avpacket_queue_put :
Stream=1 pkt->pts=200000 q_nb_packets=7 pkt->size=4147200 pkt->dts=200000
[2021-01-15T10:32:56.799] [decklink @ 0x56540515ad00] avpacket_queue_put :
Stream=0 pkt->pts=200000 q_nb_packets=8 pkt->size=7680 pkt->dts=200000
[2021-01-15T10:32:56.817] [Parsed_scale_npp_1 @ 0x5654058c7fc0] Setting
'format' to value 'yuv444p'
[2021-01-15T10:32:56.817] [Parsed_scale_npp_3 @ 0x5654058c9f40] Setting 'w'
to value '1280'
[2021-01-15T10:32:56.817] [Parsed_scale_npp_3 @ 0x5654058c9f40] Setting 'h'
to value '720'
[2021-01-15T10:32:56.817] [Parsed_scale_npp_3 @ 0x5654058c9f40] Setting
'interp_algo' to value 'lanczos'
[2021-01-15T10:32:56.817] [Parsed_scale_npp_3 @ 0x5654058c9f40] Setting
'format' to value 'yuv420p'
[2021-01-15T10:32:56.817] [graph 0 input from stream 0:1 @ 0x5654058cb880]
Setting 'video_size' to value '1920x1080'
[2021-01-15T10:32:56.817] [graph 0 input from stream 0:1 @ 0x5654058cb880]
Setting 'pix_fmt' to value '15'
[2021-01-15T10:32:56.817] [graph 0 input from stream 0:1 @ 0x5654058cb880]
Setting 'time_base' to value '1/1000000'
[2021-01-15T10:32:56.817] [graph 0 input from stream 0:1 @ 0x5654058cb880]
Setting 'pixel_aspect' to value '0/1'
[2021-01-15T10:32:56.817] [graph 0 input from stream 0:1 @ 0x5654058cb880]
Setting 'frame_rate' to value '25000/1000'
[2021-01-15T10:32:56.817] [graph 0 input from stream 0:1 @ 0x5654058cb880]
w:1920 h:1080 pixfmt:uyvy422 tb:1/1000000 fr:25000/1000 sar:0/1
[2021-01-15T10:32:56.817] [format @ 0x5654058ca500] Setting 'pix_fmts' to
value 'yuv420p|nv12|p010le|yuv444p|p016le|yuv444p16le|bgr0|rgb0|cuda'
[2021-01-15T10:32:56.817] [auto_scaler_0 @ 0x5654058cefc0] Setting 'flags'
to value 'bicubic'
[2021-01-15T10:32:56.817] [auto_scaler_0 @ 0x5654058cefc0] w:iw h:ih
flags:'bicubic' interl:0
[2021-01-15T10:32:56.817] [Parsed_hwupload_cuda_0 @ 0x5654051a0100]
auto-inserting filter 'auto_scaler_0' between the filter 'graph 0 input
from stream 0:1' and the filter 'Parsed_hwupload_cuda_0'
[2021-01-15T10:32:56.818] [AVFilterGraph @ 0x56540524ab80] query_formats: 7
queried, 5 merged, 1 already done, 0 delayed
[2021-01-15T10:32:56.818] [auto_scaler_0 @ 0x5654058cefc0] picking yuv444p
out of 8 ref:uyvy422 alpha:0
[2021-01-15T10:32:56.818] [auto_scaler_0 @ 0x5654058cefc0] w:1920 h:1080
fmt:uyvy422 sar:0/1 -> w:1920 h:1080 fmt:yuv444p sar:0/1 flags:0x4
[2021-01-15T10:32:56.818] [Parsed_scale_npp_1 @ 0x5654058c7fc0] w:1920
h:1080 -> w:1920 h:1080
[2021-01-15T10:32:56.820] [Parsed_scale_npp_3 @ 0x5654058c9f40] w:1920
h:1080 -> w:1280 h:720
[2021-01-15T10:32:56.820] [auto_scaler_0 @ 0x5654058cefc0] [IN] scale_frame
: pkt_pts=0 pkt_dts=0 pkt_size=4147200 pts=0 frame->pkt_pos=-1
[2021-01-15T10:32:56.829] [auto_scaler_0 @ 0x5654058cefc0] [OUT]
scale_frame : pkt_pts=0 pkt_dts=0 pts=0 frame->pkt_pos=-1
[2021-01-15T10:32:56.829] [Parsed_hwupload_cuda_0 @ 0x5654051a0100] [IN]
pkt_pts=0 pkt_dts=0 pts=0
[2021-01-15T10:32:56.832] [Parsed_hwupload_cuda_0 @ 0x5654051a0100] [OUT]
pkt_pts=0 pkt_dts=0 pts=0
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Using input frames
context (format cuda) with h264_nvenc encoder.
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded lib:
libcuda.so.1
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym: cuInit
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuDeviceGetCount
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuDeviceGet
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuDeviceGetAttribute
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuDeviceGetName
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuDeviceComputeCapability
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuCtxCreate_v2
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuCtxSetLimit
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuCtxPushCurrent_v2
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuCtxPopCurrent_v2
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuCtxDestroy_v2
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuMemAlloc_v2
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuMemAllocPitch_v2
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuMemsetD8Async
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuMemFree_v2
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym: cuMemcpy
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuMemcpyAsync
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuMemcpy2D_v2
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuMemcpy2DAsync_v2
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuGetErrorName
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuGetErrorString
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuCtxGetDevice
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuDevicePrimaryCtxRetain
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuDevicePrimaryCtxRelease
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuDevicePrimaryCtxSetFlags
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuDevicePrimaryCtxGetState
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuDevicePrimaryCtxReset
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuStreamCreate
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuStreamQuery
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuStreamSynchronize
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuStreamDestroy_v2
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuStreamAddCallback
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuEventCreate
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuEventDestroy_v2
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuEventSynchronize
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuEventQuery
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuEventRecord
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuLaunchKernel
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuLinkCreate
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuLinkAddData
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuLinkComplete
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuLinkDestroy
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuModuleLoadData
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuModuleUnload
[2021-01-15T10:32:56.832] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuModuleGetFunction
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuModuleGetGlobal
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuTexObjectCreate
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuTexObjectDestroy
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuGLGetDevices_v2
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuGraphicsGLRegisterImage
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuGraphicsUnregisterResource
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuGraphicsMapResources
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuGraphicsUnmapResources
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuGraphicsSubResourceGetMappedArray
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuDeviceGetUuid
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuImportExternalMemory
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuDestroyExternalMemory
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuExternalMemoryGetMappedBuffer
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuExternalMemoryGetMappedMipmappedArray
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuMipmappedArrayGetLevel
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuMipmappedArrayDestroy
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuImportExternalSemaphore
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuDestroyExternalSemaphore
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuSignalExternalSemaphoresAsync
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
cuWaitExternalSemaphoresAsync
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded lib:
libnvidia-encode.so.1
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
NvEncodeAPICreateInstance
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded sym:
NvEncodeAPIGetMaxSupportedVersion
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Loaded Nvenc
version 10.0
[2021-01-15T10:32:56.833] [h264_nvenc @ 0x56540519f780] Nvenc initialized
successfully
[2021-01-15T10:32:56.839] [decklink @ 0x56540515ad00] Frame received
Frame=6 q_nb_packets=9 pkt_pts=240000
[2021-01-15T10:32:56.839] [decklink @ 0x56540515ad00] avpacket_queue_put :
Stream=1 pkt->pts=240000 q_nb_packets=9 pkt->size=4147200 pkt->dts=240000
[2021-01-15T10:32:56.839] [decklink @ 0x56540515ad00] avpacket_queue_put :
Stream=0 pkt->pts=240000 q_nb_packets=10 pkt->size=7680 pkt->dts=240000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
cur_dts is invalid st:1 (0) [init:0 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
[2021-01-15T10:32:56.857] [graph_1_in_0_0 @ 0x5654060f4640] Setting
'time_base' to value '1/48000'
[2021-01-15T10:32:56.857] [graph_1_in_0_0 @ 0x5654060f4640] Setting
'sample_rate' to value '48000'
[2021-01-15T10:32:56.857] [graph_1_in_0_0 @ 0x5654060f4640] Setting
'sample_fmt' to value 's16'
[2021-01-15T10:32:56.857] [graph_1_in_0_0 @ 0x5654060f4640] Setting
'channel_layout' to value '0x3'
[2021-01-15T10:32:56.857] [graph_1_in_0_0 @ 0x5654060f4640] tb:1/48000
samplefmt:s16 samplerate:48000 chlayout:0x3
[2021-01-15T10:32:56.857] [format_out_0_1 @ 0x5654060f5240] Setting
'sample_fmts' to value 'fltp'
[2021-01-15T10:32:56.857] [format_out_0_1 @ 0x5654060f5240] Setting
'sample_rates' to value
'96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
[2021-01-15T10:32:56.857] [format_out_0_1 @ 0x5654060f5240] auto-inserting
filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the
filter 'format_out_0_1'
[2021-01-15T10:32:56.857] [AVFilterGraph @ 0x5654060f2ec0] query_formats: 4
queried, 6 merged, 3 already done, 0 delayed
[auto_resampler_0 @ 0x5654060f7f40] [2021-01-15T10:32:56.857] [SWR @
0x5654060f8400] Using s16p internally between filters
[2021-01-15T10:32:56.857] [auto_resampler_0 @ 0x5654060f7f40] ch:2
chl:stereo fmt:s16 r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
[2021-01-15T10:32:56.859] [hls muxer @ 0x5654061ac580] No HTTP method set,
hls muxer defaulting to method PUT.
[2021-01-15T10:32:56.859] [hls @ 0x5654061abf40] Opening '
http://localhost:9050/hls/a577fcc0-2fda-4a7e-b96f-2ce6275fa6c3/1/init.mp4'
for writing
[2021-01-15T10:32:56.859] [http @ 0x5654061b6100] Setting default whitelist
'http,https,tls,rtp,tcp,udp,crypto,httpproxy,data'
[2021-01-15T10:32:56.860] [tcp @ 0x5654061b8b80] Original list of addresses:
[2021-01-15T10:32:56.860] [tcp @ 0x5654061b8b80] Address 127.0.0.1 port 9050
[2021-01-15T10:32:56.860] [tcp @ 0x5654061b8b80] Interleaved list of
addresses:
[2021-01-15T10:32:56.860] [tcp @ 0x5654061b8b80] Address 127.0.0.1 port 9050
[2021-01-15T10:32:56.860] [tcp @ 0x5654061b8b80] Starting connection
attempt to 127.0.0.1 port 9050
[2021-01-15T10:32:56.860] [tcp @ 0x5654061b8b80] Successfully connected to
127.0.0.1 port 9050
[2021-01-15T10:32:56.860] [http @ 0x5654061b6100] request: PUT
/hls/a577fcc0-2fda-4a7e-b96f-2ce6275fa6c3/1/init.mp4 HTTP/1.1
Transfer-Encoding: chunked
User-Agent: Lavf/58.45.100
Accept: */*
Connection: close
Host: localhost:9050
Icy-MetaData: 1


[2021-01-15T10:32:56.860] [tee @ 0x56540519e140] filename:'
http://localhost:9050/hls/a577fcc0-2fda-4a7e-b96f-2ce6275fa6c3/1/index.m3u8'
format:hls
[2021-01-15T10:32:56.860] [tee @ 0x56540519e140]     stream:0 codec:h264
type:video bsfs: null
[2021-01-15T10:32:56.860] [tee @ 0x56540519e140]     stream:1 codec:aac
type:audio bsfs: null
Output #0, tee, to '[f=hls: hls_segment_type=fmp4: hls_time=0.2:
hls_flags=split_by_time+second_level_segment_index: strftime=1:
hls_segment_filename=http\\://localhost\\:9050/hls/a577fcc0-2fda-4a7e-b96f-2ce6275fa6c3/1/%%18d.m4s:
hls_fmp4_init_filename=init.mp4: master_pl_name=master.m3u8:
hls_playlist_type=event]
http://localhost:9050/hls/a577fcc0-2fda-4a7e-b96f-2ce6275fa6c3/1/index.m3u8
':
  Metadata:
    encoder         : Lavf58.45.100
    Stream #0:0, 0, 1/25: Video: h264 (h264_nvenc) (Main), 1 reference
frame, cuda, 1280x720, 0/1, q=-1--1, 10000 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.91.100 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 0/0/10000000 buffer size: 20000000
vbv_delay: N/A
    Stream #0:1, 0, 1/48000: Audio: aac (LC), 48000 Hz, stereo, fltp, delay
1024, 128 kb/s
    Metadata:
      encoder         : Lavc58.91.100 aac
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)
cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if
it occurs once at the start per stream)


More information about the ffmpeg-user mailing list