ffmpeg-libav-tutorial
ffmpeg-libav-tutorial copied to clipboard
FFmpeg libav tutorial - learn how media works from basic to transmuxing, transcoding and more. Translations: πΊπΈ π¨π³ π°π· πͺπΈ π»π³ π§π·
Followed exactly how you tolled. I'm new to ffmpeg and concepts like these in general. So, the error might be very simple. And then getting this error for some reason....
pCodec is undefuned in README.md But it is defined in [example](https://github.com/leandromoreira/ffmpeg-libav-tutorial/blob/cc1d75b7e5f946b1cf4ed827531e521e625e70e9/0_hello_world.c#L135) I think you should mark that _pCodec = pLocalCodec_ OR use `AVCodecContext *pCodecContext = avcodec_alloc_context3(pLocalCodec);` in README.md
1) dereference a pointer no need in this case 2) avcodec_alloc_context3() wants const (!) AVCodec *codec
to free the context format resource, `avformat_close_input()` is used. But the doc says explicitely to use `avformat_free_context()` for this task. so why is `avformat_close_input()` used ?
Hi, when I try to run the sample code, I got the build error that the function `av_mallocz_array` is not defined. I just looked at the ffmpeg library, and in...
* line 89 : i should be an unsigned int (warning with -Wextra) * pCodec and pLocalCodec should const pointers * channels field is deprecated in AVCodecParameters
I tried 3_transcoding.c to transcode audio. ``` StreamingParams sp = {0}; sp.copy_audio = 0; sp.copy_video = 0; sp.video_codec = "libx264"; sp.codec_priv_key = "x264-params"; sp.codec_priv_value = "keyint=60:min-keyint=60:scenecut=0:force-cfr=1"; sp.audio_codec = "aac"; ```...
https://ffmpeg.org/doxygen/trunk/group__lavc__core.html
In trascoding example there are these lines: video_avcc->rc_max_rate = 2 * 1000 * 1000; video_avcc->rc_min_rate = 2.5 * 1000 * 1000; Which are wrong since the max rate is less...
The URL for xvidcore-1.3.4.tar.gz is no longer reachable. The [corresponding site url](http://downloads.xvid.org/downloads/xvidcore-1.3.4.tar.gz) returns: ```html BunnyCDN Node ASB1-925 Domain suspended or not configured If you are the administrator and believe this...