![]() It's better on a newer computer, but soft decoder is better.ĭxva2_retrieve_data_call and sws_swale consume lot of time when hwaccel is enabled. ![]() Problem solved i didn't check if I got a picture before retreiving it.īut the performance are very poor on my desktop cmputer (intel core i5 650, 4GB RAM, ATI HD5800) it consumes 5% more of CPU, 3 times more RAM, and lot of corrupt frame. ffmpegX is a Mac OS X graphic user interface designed to easily operate more than 20 powerful Unix open-source video and audio processing tools including ffmpeg the 'hyper fast video and audio encoder', mpeg2enc the open-source mpeg-2 encoder and multiplexer and mencoder the mpeg-4 encoder with subtitles support. I got my picture but with lot of artefact and after few seconds I got a segmentation fault in dxva2_retrieve_data_call(pCodecCtx, pFrame, &gotPic, &packet) I tried to convert it sws_scale(img_convert_affic, pFrame->data, pFrame->linesize, 0, pCodecCtx->height, pFrameRGB->data, pFrameRGB->linesize) Īnd copy the buffer to a Qimage LastFrame=QImage(w,h,QImage::Format_RGB888) įor(int y=0 ydata+y*pFrameRGB->linesize,w*3) I decode the packet with avcodec_decode_video2(pCodecCtx, pFrame, &gotPic, &packet) Īnd I'm getting my decoded frame with dxva2_retrieve_data_call(pCodecCtx, pFrame, &gotPic, &packet) Hello, I use this post to help me in my HW acceleration with FFMPEGįailed to execute: 0x80070057, when decoding video via ffmpeg with dxva2 ![]() Left-click FFmpegv2.2.2forAudacityonWindows64bit.exe to launch the installer (you can safely ignore any warnings that the 'publisher could not be verified'). I have never use Direct X, do I need Direct X knowledge, or ffmpeg with -enable-dxva2 and -enable-hwaccel=h264_dxva2 care of everything ? Left-click the link FFmpeg v2.2.2 INSTALLER (.EXE) for 64-bit FFmpeg and save the file anywhere on your computer. I have to build FFMPEG with -enable-dxva2 and -enable-hwaccel=h264_dxva2 ? or Zeranoe build I really want to try hardware acceleration with DXVA2 to see if I can get better performance especially in slowest CPU.īut i really don't know how to proceed. I code under windows with Qt.I need the lowest latency as possible and the best result I can get is done whith :īut with "slow" CPU I have lot of latency if the bitrate is too high or it can't handle 1080p. An experimental streaming server for live broadcasts is also included. It includes libavcodec, the leading open source codec library. to see diagnostic information about FFmpeg detection.I've made a player for IP camera (fullHD H264) with FFMPEG FFmpeg is an audio/video conversion tool. You can also choose Help > Diagnostics > Show Log. ![]() button to obtain the correct library for your operating system. If you still see "not found", you may have installed the wrong libraries.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |