[FFmpeg-trac] #8127(undetermined:new): false message: Format cuda not usable, retrying get_format() without it.
FFmpeg
trac at avcodec.org
Tue Sep 10 14:27:11 EEST 2019
#8127: false message: Format cuda not usable, retrying get_format() without it.
--------------------------------------+----------------------------------
Reporter: Hett | Type: defect
Status: new | Priority: normal
Component: undetermined | Version: 4.2
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+----------------------------------
Summary of the bug:
The source contains 2 video streams:
{{{
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '3_two_3sec.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.29.100
Duration: 00:00:03.00, start: 0.000000, bitrate: 6299 kb/s
Stream #0:0(und): Video: mjpeg (Baseline) (mp4v / 0x7634706D),
yuvj420p(pc, bt470bg/unknown/unknown), 1920x1080, 90k tbn, 90k tbc
(default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 5803 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
Metadata:
handler_name : VideoHandler
}}}
How to reproduce:
I tried to work with second stream using cuvid:
{{{
ffmpeg -v debug -y -hwaccel cuvid -c:v:0 h264_cuvid -i
/root/3_two_3sec.mp4 -map 0:1 -c:v:0 h264_nvenc -filter:v:0
scale_npp=-2:360,hwdownload,format=nv12 -f mp4 /tmp/out.mp4
}}}
But ffmpeg detecring incorrect format and fails in future
{{{
[h264 @ 0x5645bef4a440] NVDEC capabilities:
[h264 @ 0x5645bef4a440] format supported: yes, max_mb_count: 65536
[h264 @ 0x5645bef4a440] min_width: 48, max_width: 4096
[h264 @ 0x5645bef4a440] min_height: 16, max_height: 4096
[h264 @ 0x5645bef4a440]
decoder->cvdl->cuvidCreateDecoder(&decoder->decoder, params) failed ->
CUDA_ERROR_INVALID_VALUE: invalid argument
[h264 @ 0x5645bef4a440] Failed setup for format cuda: hwaccel
initialisation returned error.
[h264 @ 0x5645bef4a440] Format cuda not usable, retrying get_format()
without it.
[h264 @ 0x5645bef4a440] Format yuv420p chosen by get_format().
[h264 @ 0x5645bef4a440] Reinit context to 1920x1088, pix_fmt: yuv420p
}}}
If I remove mjpeg stream from video, then all works fine.
Full output:
{{{
ffmpeg version n4.2.1-release/4.2 Copyright (c) 2000-2019 the FFmpeg
developers
built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
configuration: --disable-ffplay --extra-version=release/4.2 --extra-
cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64
--enable-cuda --enable-cuvid --enable-gpl --enable-nonfree --enable-
version3 --enable-libx264 --enable-libx265 --enable-nvenc --enable-
avisynth --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libfreetype --enable-libgme --enable-libgsm --enable-libmodplug
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-librtmp --enable-libsnappy --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-
libwebp --enable-libopus --enable-libfdk-aac --enable-libnpp
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument 'debug'.
Reading option '-y' ... matched as option 'y' (overwrite output files)
with argument '1'.
Reading option '-hwaccel' ... matched as option 'hwaccel' (use HW
accelerated decoding) with argument 'cuvid'.
Reading option '-c:v:0' ... matched as option 'c' (codec name) with
argument 'h264_cuvid'.
Reading option '-i' ... matched as input url with argument
'/root/3_two_3sec.mp4'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '0:1'.
Reading option '-c:v:0' ... matched as option 'c' (codec name) with
argument 'h264_nvenc'.
Reading option '-filter:v:0' ... matched as option 'filter' (set stream
filtergraph) with argument 'scale_npp=-2:360,hwdownload,format=nv12'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'mp4'.
Reading option '/tmp/out.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url /root/3_two_3sec.mp4.
Applying option hwaccel (use HW accelerated decoding) with argument cuvid.
Applying option c:v:0 (codec name) with argument h264_cuvid.
Successfully parsed a group of options.
Opening an input file: /root/3_two_3sec.mp4.
[NULL @ 0x5645bee69240] Opening '/root/3_two_3sec.mp4' for reading
[file @ 0x5645bee69c80] Setting default whitelist 'file,crypto'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5645bee69240] Format mov,mp4,m4a,3gp,3g2,mj2
probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5645bee69240] ISO: File Type Major Brand:
isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5645bee69240] Unknown dref type 0x206c7275
size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5645bee69240] Processing st: 0, edit list 0 -
media time: 0, duration: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5645bee69240] drop a frame at curr_cts: 0 @ 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5645bee69240] Unknown dref type 0x206c7275
size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5645bee69240] Processing st: 1, edit list 0 -
media time: 0, duration: 46080
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5645bee69240] Before
avformat_find_stream_info() pos: 2362415 bytes read:34476 seeks:1
nb_streams:2
[h264 @ 0x5645bee6ca80] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x5645bee6ca80] nal_unit_type: 8(PPS), nal_ref_idc: 3
[AVBSFContext @ 0x5645beea3ac0] nal_unit_type: 5(IDR), nal_ref_idc: 0
[AVBSFContext @ 0x5645beea3ac0] nal_unit_type: 2(Coded slice data
partition A), nal_ref_idc: 0
[AVBSFContext @ 0x5645beea3ac0] nal_unit_type: 29(Unspecified 29),
nal_ref_idc: 3
[AVBSFContext @ 0x5645beea3ac0] nal_unit_type: 2(Coded slice data
partition A), nal_ref_idc: 0
[h264 @ 0x5645bee6afc0] nal_unit_type: 5(IDR), nal_ref_idc: 0
[h264 @ 0x5645bee6afc0] nal_unit_type: 2(Coded slice data partition A),
nal_ref_idc: 0
[h264 @ 0x5645bee6afc0] nal_unit_type: 29(Unspecified 29), nal_ref_idc: 3
[h264 @ 0x5645bee6afc0] nal_unit_type: 2(Coded slice data partition A),
nal_ref_idc: 0
[h264 @ 0x5645bee6afc0] A non-intra slice in an IDR NAL unit.
[h264 @ 0x5645bee6afc0] decode_slice_header error
[h264 @ 0x5645bee6afc0] data partitioning is not implemented. Update your
FFmpeg version to the newest one from Git. If the problem still occurs, it
means that your file has a feature which has not been implemented.
[h264 @ 0x5645bee6afc0] If you want to help, upload a sample of this file
to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing
list. (ffmpeg-devel at ffmpeg.org)
[h264 @ 0x5645bee6afc0] Unknown NAL code: 29 (1431 bits)
[h264 @ 0x5645bee6afc0] data partitioning is not implemented. Update your
FFmpeg version to the newest one from Git. If the problem still occurs, it
means that your file has a feature which has not been implemented.
[h264 @ 0x5645bee6afc0] If you want to help, upload a sample of this file
to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing
list. (ffmpeg-devel at ffmpeg.org)
[h264 @ 0x5645bee6afc0] no frame!
[h264 @ 0x5645bee6ca80] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x5645bee6ca80] Format yuv420p chosen by get_format().
[h264 @ 0x5645bee6ca80] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x5645bee6ca80] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 3
Last message repeated 5 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5645bee69240] decoding for stream 0 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5645bee69240] Could not find codec parameters
for stream 0 (Video: h264, 1 reference frame (mp4v / 0x7634706D),
none(left), 1920x1080, 1/180000): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5645bee69240] After
avformat_find_stream_info() pos: 2360707 bytes read:2396843 seeks:2
frames:91
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/root/3_two_3sec.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.29.100
Duration: 00:00:03.00, start: 0.000000, bitrate: 6299 kb/s
Stream #0:0(und), 1, 1/90000: Video: h264, 1 reference frame (mp4v /
0x7634706D), none(left), 1920x1080, 0/1, 90k tbn, 180k tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und), 90, 1/15360: Video: h264 (Main), 1 reference frame
(avc1 / 0x31637661), yuv420p(left), 1920x1080 (1920x1088) [SAR 1:1 DAR
16:9], 0/1, 5803 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
Metadata:
handler_name : VideoHandler
Successfully opened the file.
Parsing a group of options: output url /tmp/out.mp4.
Applying option map (set input stream mapping) with argument 0:1.
Applying option c:v:0 (codec name) with argument h264_nvenc.
Applying option filter:v:0 (set stream filtergraph) with argument
scale_npp=-2:360,hwdownload,format=nv12.
Applying option f (force format) with argument mp4.
Successfully parsed a group of options.
Opening an output file: /tmp/out.mp4.
[file @ 0x5645bee6e540] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 32 logical cores
[h264 @ 0x5645bef4a440] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x5645bef4a440] nal_unit_type: 8(PPS), nal_ref_idc: 3
Stream mapping:
Stream #0:1 -> #0:0 (h264 (native) -> h264 (h264_nvenc))
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 2 times
[h264 @ 0x5645bef4a440] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x5645bef4a440] Initializing cuvid hwaccel
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded lib: libcuda.so.1
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuInit
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuDeviceGetCount
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuDeviceGet
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuDeviceGetAttribute
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuDeviceGetName
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuDeviceComputeCapability
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuCtxCreate_v2
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuCtxSetLimit
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuCtxPushCurrent_v2
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuCtxPopCurrent_v2
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuCtxDestroy_v2
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuMemAlloc_v2
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuMemAllocPitch_v2
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuMemsetD8Async
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuMemFree_v2
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuMemcpy2D_v2
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuMemcpy2DAsync_v2
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuGetErrorName
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuGetErrorString
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuStreamCreate
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuStreamQuery
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuStreamSynchronize
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuStreamDestroy_v2
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuStreamAddCallback
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuEventCreate
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuEventDestroy_v2
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuEventSynchronize
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuEventQuery
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuEventRecord
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuLaunchKernel
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuModuleLoadData
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuModuleUnload
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuModuleGetFunction
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuTexObjectCreate
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuTexObjectDestroy
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuGLGetDevices_v2
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuGraphicsGLRegisterImage
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym:
cuGraphicsUnregisterResource
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuGraphicsMapResources
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuGraphicsUnmapResources
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym:
cuGraphicsSubResourceGetMappedArray
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuDeviceGetUuid
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuImportExternalMemory
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuDestroyExternalMemory
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym:
cuExternalMemoryGetMappedBuffer
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym:
cuExternalMemoryGetMappedMipmappedArray
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuMipmappedArrayGetLevel
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuMipmappedArrayDestroy
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym: cuImportExternalSemaphore
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym:
cuDestroyExternalSemaphore
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym:
cuSignalExternalSemaphoresAsync
[AVHWDeviceContext @ 0x7f25a404a4c0] Loaded sym:
cuWaitExternalSemaphoresAsync
[h264 @ 0x5645bef4a440] Initializing CUDA frames context: sw_format =
yuv420p, width = 1920, height = 1080
[h264 @ 0x5645bef4a440] Format cuda chosen by get_format().
[h264 @ 0x5645bef4a440] Format cuda requires hwaccel initialisation.
[h264 @ 0x5645bef4a440] Loaded lib: libnvcuvid.so.1
[h264 @ 0x5645bef4a440] Loaded sym: cuvidGetDecoderCaps
[h264 @ 0x5645bef4a440] Loaded sym: cuvidCreateDecoder
[h264 @ 0x5645bef4a440] Loaded sym: cuvidDestroyDecoder
[h264 @ 0x5645bef4a440] Loaded sym: cuvidDecodePicture
[h264 @ 0x5645bef4a440] Loaded sym: cuvidGetDecodeStatus
[h264 @ 0x5645bef4a440] Loaded sym: cuvidReconfigureDecoder
[h264 @ 0x5645bef4a440] Loaded sym: cuvidMapVideoFrame64
[h264 @ 0x5645bef4a440] Loaded sym: cuvidUnmapVideoFrame64
[h264 @ 0x5645bef4a440] Loaded sym: cuvidCtxLockCreate
[h264 @ 0x5645bef4a440] Loaded sym: cuvidCtxLockDestroy
[h264 @ 0x5645bef4a440] Loaded sym: cuvidCtxLock
[h264 @ 0x5645bef4a440] Loaded sym: cuvidCtxUnlock
[h264 @ 0x5645bef4a440] Loaded sym: cuvidCreateVideoSource
[h264 @ 0x5645bef4a440] Loaded sym: cuvidCreateVideoSourceW
[h264 @ 0x5645bef4a440] Loaded sym: cuvidDestroyVideoSource
[h264 @ 0x5645bef4a440] Loaded sym: cuvidSetVideoSourceState
[h264 @ 0x5645bef4a440] Loaded sym: cuvidGetVideoSourceState
[h264 @ 0x5645bef4a440] Loaded sym: cuvidGetSourceVideoFormat
[h264 @ 0x5645bef4a440] Loaded sym: cuvidGetSourceAudioFormat
[h264 @ 0x5645bef4a440] Loaded sym: cuvidCreateVideoParser
[h264 @ 0x5645bef4a440] Loaded sym: cuvidParseVideoData
[h264 @ 0x5645bef4a440] Loaded sym: cuvidDestroyVideoParser
[h264 @ 0x5645bef4a440] NVDEC capabilities:
[h264 @ 0x5645bef4a440] format supported: yes, max_mb_count: 65536
[h264 @ 0x5645bef4a440] min_width: 48, max_width: 4096
[h264 @ 0x5645bef4a440] min_height: 16, max_height: 4096
[h264 @ 0x5645bef4a440]
decoder->cvdl->cuvidCreateDecoder(&decoder->decoder, params) failed ->
CUDA_ERROR_INVALID_VALUE: invalid argument
[h264 @ 0x5645bef4a440] Failed setup for format cuda: hwaccel
initialisation returned error.
[h264 @ 0x5645bef4a440] Format cuda not usable, retrying get_format()
without it.
[h264 @ 0x5645bef4a440] Format yuv420p chosen by get_format().
[h264 @ 0x5645bef4a440] Reinit context to 1920x1088, pix_fmt: yuv420p
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 @ 0x5645bef47380] nal_unit_type: 1(Coded slice of a non-IDR
picture), 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 @ 0x5645bef57080] nal_unit_type: 1(Coded slice of a non-IDR
picture), 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 @ 0x5645bef5df40] nal_unit_type: 1(Coded slice of a non-IDR
picture), 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 @ 0x5645bef5fa00] nal_unit_type: 1(Coded slice of a non-IDR
picture), 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 @ 0x5645bef4da40] nal_unit_type: 1(Coded slice of a non-IDR
picture), 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 @ 0x5645bf1d5f40] nal_unit_type: 1(Coded slice of a non-IDR
picture), 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 @ 0x5645bf1f2440] nal_unit_type: 1(Coded slice of a non-IDR
picture), 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 @ 0x5645bf20eb00] nal_unit_type: 1(Coded slice of a non-IDR
picture), 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 @ 0x5645bf22b340] nal_unit_type: 1(Coded slice of a non-IDR
picture), 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 @ 0x5645bf247b80] nal_unit_type: 1(Coded slice of a non-IDR
picture), 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 @ 0x5645bf2643c0] nal_unit_type: 1(Coded slice of a non-IDR
picture), 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 @ 0x5645bf280bc0] nal_unit_type: 1(Coded slice of a non-IDR
picture), 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 @ 0x5645bf29d3c0] nal_unit_type: 1(Coded slice of a non-IDR
picture), 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 @ 0x5645bf2b9c00] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 3
[h264 @ 0x5645bf2d6440] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 3
[Parsed_scale_npp_0 @ 0x5645bef54100] Setting 'w' to value '-2'
[Parsed_scale_npp_0 @ 0x5645bef54100] Setting 'h' to value '360'
[Parsed_format_2 @ 0x5645bff04180] Setting 'pix_fmts' to value 'nv12'
[graph 0 input from stream 0:1 @ 0x5645bff04dc0] Setting 'video_size' to
value '1920x1080'
[graph 0 input from stream 0:1 @ 0x5645bff04dc0] Setting 'pix_fmt' to
value '0'
[graph 0 input from stream 0:1 @ 0x5645bff04dc0] Setting 'time_base' to
value '1/15360'
[graph 0 input from stream 0:1 @ 0x5645bff04dc0] Setting 'pixel_aspect' to
value '1/1'
[graph 0 input from stream 0:1 @ 0x5645bff04dc0] Setting 'sws_param' to
value 'flags=2'
[graph 0 input from stream 0:1 @ 0x5645bff04dc0] Setting 'frame_rate' to
value '30/1'
[graph 0 input from stream 0:1 @ 0x5645bff04dc0] w:1920 h:1080
pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
[format @ 0x5645beec2080] Setting 'pix_fmts' to value
'yuv420p|nv12|p010le|yuv444p|p016le|yuv444p16le|bgr0|rgb0|cuda'
[auto_scaler_0 @ 0x5645bff07a00] Setting 'flags' to value 'bicubic'
[auto_scaler_0 @ 0x5645bff07a00] w:iw h:ih flags:'bicubic' interl:0
[Parsed_scale_npp_0 @ 0x5645bef54100] auto-inserting filter
'auto_scaler_0' between the filter 'graph 0 input from stream 0:1' and the
filter 'Parsed_scale_npp_0'
Impossible to convert between the formats supported by the filter 'graph 0
input from stream 0:1' 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:1
[AVIOContext @ 0x5645bee71940] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 0x5645bee72100] Statistics: 2396843 bytes read, 2 seeks
Conversion failed!
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8127>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list