خرید بک لینک

I am using FFmpeg C API to re-encode a video and to remux it (I have been following the official samples, that work after some modifications).

Since I only have to process (modify) some video frames, I was wondering if I could re-encode only some GOPs (Mp4 files) and remux the rest. The main problem I have been encountering is invalid video (alhough I set pix_fmt to correct value (YUV_420P): enter image description here

I also tried avcodec_copy_context but encoder is automatically set to libx264 and decoder to H264 so they are incompatible.

Am I missing something (can partial video re-encoding be done) ?

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 12 فروردين 1395 ساعت: 2:00

صفحه بندی