H.265에서 압축되지 않은 비디오를 인코딩하려고합니다. 그러나 다음 파이프 라인을 작성할 때 해결할 수없는 오류 메시지가 나타납니다. Tegra X1 Multimedia User Guide의 예제 코드를 따르고 있는데, 왜 다음 파이프 라인이 작동하지 않는지 이해할 수 없습니다. 나는 비디오 압축의 초보자이므로 어떤 도움이 매우 유용 할 것이다. 코드/오류 메시지 :오류 : OpenMAX 버퍼에 입력을 쓰지 못했습니다.
[email protected]:~$ gst-launch-1.0 filesrc location=small_mem_vid.mov ! 'video/x-raw, format=(string)I420, framerate=(fraction)30/1, width=(int)1280, height=(int)720' ! omxh265enc ! filesink location=new_encode.mov -e
Setting pipeline to PAUSED ...
Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and MjstreamingPipeline is PREROLLING ...
Framerate set to : 30 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 8
===== MSENC =====
NvMMLiteBlockCreate : Block : BlockType = 8
ERROR: from element /GstPipeline:pipeline0/GstOMXH265Enc-omxh265enc:omxh265enc-omxh265enc0: Could not write to resource.
추가 디버그 정보 :
/dvs/git/dirty/git-master_linux/external/gstreamer/gst-omx/omx/gstomxvideoenc.c(2139): gst_omx_video_enc_handle_frame(): /GstPipeline:pipeline0/GstOMXH265Enc-omxh265enc:omxh265enc-omxh265enc0:
Failed to write input into the OpenMAX buffer
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
[email protected]:~$
.. – nayana