Search found 3 matches

by hamidi
Tue Mar 12, 2019 11:39 am
Forum: Usage
Topic: 971221 - ffmpeg incorrect decoding
Replies: 0
Views: 349

971221 - ffmpeg incorrect decoding

With this code:
https://pastebin.com/hpFUjRtG
I get this image:
https://imgur.com/a/uWmBzQE.
What's wrong?
by hamidi
Sat Feb 23, 2019 10:21 am
Forum: Developement with FFmpeg
Topic: 971130 - I get invalid argument error in avcodec_send_packet
Replies: 0
Views: 696

971130 - I get invalid argument error in avcodec_send_packet

In the following code: int CplayerDlg::play() { FILE *fp = fopen("video_files/1010.brf", "rb"); ASSERT(fp); RecordFrame rf; RecordHeader hdr; ASSERT(fread(&rf, sizeof(rf), 1, fp) == 1); ASSERT(rf.frameType == FRAME_TYPE_HEADER); ASSERT(fread(&hdr, sizeof(hdr), 1, fp) == 1); GetDlgItem(IDC_DIM)->SetW...
by hamidi
Tue Jan 29, 2019 5:59 am
Forum: Usage
Topic: 971108 - ffmpeg doesn't use GPU
Replies: 0
Views: 433

971108 - ffmpeg doesn't use GPU

I got the latest version binaries of ffmpeg from here[^]. When I examine CPU and GPU usages when I play a video by its ffplay, I see that GPU is used during play. Not much using of CPU also indicates it. But when I get the latest version sources from the original site, I can't use GPU. To clarify, I...
'