ffmpeg-tutorial
ffmpeg-tutorial copied to clipboard
A set of tutorials that demonstrates how to write a video player based on FFmpeg
I have an error while compiling the Tutorial07.c release_buffer is not a member of AVCodecContext. The version of ffmpeg that I used is 4.1. I could not found the alternative...
Used your latest. Video works fine but Audio is scratchy and high pitched. Can you provide any guidance on this ? Thanks Sean
Audio broken
A lot of noise/clicking/garbage can be heard in addition to something that vaguely resembles what should be heard. I've tried tutorial 3 and 7 but neither play audio correctly. I've...
I'm trying to use my gpu for my frame decoding in C++, but I am unable to activate gpu hardware acceleration. I tried stuff mentionned in this thread : https://stackoverflow.com/questions/25791722/using-hardware-acceleration-with-libavcodec#25952193
I use ffmpeg version 3.0 , and when I complie the codes I get some trouble. `AVCodecContext has no member named release_buffer` .
The tutorials are compiling fine but I am getting segmentation fault error when running tutorial4 it or any other tutorials after that. gdb backtrace Program received signal SIGSEGV, Segmentation fault....
Hi The image and the audio are not synchronized anymore, once seeked backwards. The image seems to be in the correct position unlike the audio. However, the video becomes synchronized...
Hi! I took the player (tutorial07.c), changed the main into: playVideoFile(char *filename); by simply exchanging argv to filename. Everything works, but when exiting the player function, the memory isn't freed....
This: ``` for(y=0; ydata[0]+y*pFrame->linesize[0], 1, width*3, pFile); ``` can be done with this: ``` fwrite(pFrame->data[0], 1, width*height*3, pFile); ``` which is easier to understand, at least for me, since I'm...
Would you happen to know about any tutorials that contain code for reading an encoded frame from memory and then streaming it to the network?