nvenc

NVencs Output Bitstream is not readable

元气小坏坏 提交于 2020-01-03 04:48:10
问题 I have one question related to Nvidias NVenc API. I want to use the API to encode some OpenGL graphics. My problem is, that the API reports no error throughout the whole program, everything seems to be fine. But the generated output is not readable by, e.g. VLC. If I try to play the generated file, VLC would flash a black screen for about 0.5s, then ends the playback. The Video has the length of 0, the size of the Vid seems rather small, too. Resolution is 1280*720 and the size of 5secs

nvEncRegisterResource() fails with -23

夙愿已清 提交于 2019-12-21 20:54:29
问题 I've hit a complete brick wall in my attempt to use NVEnc to stream OpenGL frames as H264. I've been at this particular issue for close to 8 hours without any progress. The problem is the call to nvEncRegisterResource() , which invariably fails with code -23 (enum value NV_ENC_ERR_RESOURCE_REGISTER_FAILED, documented as "failed to register the resource" - thanks NVidia). I'm trying to follow a procedure outlined in this document from the University of Oslo (page 54, "OpenGL interop"), so I

decoding H264 from middle of the file

本秂侑毒 提交于 2019-12-11 08:34:20
问题 I am currently using nvenc to decode a H264 file and I require random access to the file. So, what I did for test purposes was make every frame a IDR frame. Now, if I know the file offset of the frame in the H264 file. Is it enough to just seek to that position, read the amount of bytes that was written for that frame and pass that to the decoder. My understanding is that the decoder should be able to handle just a single IDR frame and be able to decode it. Is that correct? 来源: https:/

Building gstreamer from source in windows using cerbero … issues with building gst-libav-1.0

删除回忆录丶 提交于 2019-12-08 09:30:51
问题 I am first time compiling gstreamer from source code and I am facing difficulty in building gst-libav-1.0 in windows. I followed link given in the gstreamer website. only creation of .cerbero.cbc is avoided (as it gives lots more problems ,but default will work it say in site) compiling gstreamer from source code-- gstreamer website ISSUES 1) After running build command I am getting error of " /w32pthreads.h:137:1: error: unknown type name 'INIT_ONCE'" For more detailed error see error.txt

nvEncRegisterResource() fails with -23

一世执手 提交于 2019-12-04 13:10:36
I've hit a complete brick wall in my attempt to use NVEnc to stream OpenGL frames as H264. I've been at this particular issue for close to 8 hours without any progress. The problem is the call to nvEncRegisterResource() , which invariably fails with code -23 (enum value NV_ENC_ERR_RESOURCE_REGISTER_FAILED, documented as "failed to register the resource" - thanks NVidia). I'm trying to follow a procedure outlined in this document from the University of Oslo (page 54, "OpenGL interop"), so I know for a fact that this is supposed to work, though unfortunately said document does not provide the

how to specify the GPU to be used by nvenc in ffmpeg [closed]

廉价感情. 提交于 2019-12-01 10:29:17
I'm using ffmpeg executable for transcoding mpegts stream from h264 to h265 with nvenc and I have two nvidia Graphic Cards installed on my motherboard: GeForce GTX 690 and Tesla k-10. is there any codec specific parameters for nvenc in ffmpeg to choose to encode with any of these GPU which I want? Gyan The nvenc encoders have a GPU option which allow both to list and also to select GPUs to be used for encoding. So, use ffmpeg -f lavfi -i nullsrc -c:v h264_nvenc -gpu list -f null - Above, a dummy video source is generated and then piped to null. Meanwhile, FFmpeg will list the list of available

how to specify the GPU to be used by nvenc in ffmpeg [closed]

耗尽温柔 提交于 2019-11-30 19:14:38
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 3 years ago . I'm using ffmpeg executable for transcoding mpegts stream from h264 to h265 with nvenc and I have two nvidia Graphic Cards installed on my motherboard: GeForce GTX 690 and Tesla k-10. is there any codec specific parameters for nvenc in ffmpeg to choose to encode with any of these GPU which I want?