[FFmpeg-trac] #7031(documentation:new): encode_video example does not work
FFmpeg
trac at avcodec.org
Tue Feb 20 20:39:59 EET 2018
#7031: encode_video example does not work
-------------------------------------+-------------------------------------
Reporter: Jodon | Type: defect
Status: new | Priority: normal
Component: | Version: git-
documentation | master
Keywords: example | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
I just compiled the encode_video.c example against Shift Media Project's
ffmpeg for Windows (https://github.com/ShiftMediaProject). The result is
that it can never find an encoder (avcodec_find_encoder_by_name always
fails). This is easily fixed by adding avcodec_register_all before the
call.
How to reproduce:
{{{
% ffmpeg -i encode_video.c ... encode_video
% encode_video Test.mp4 libx264
Codec 'libx264' not found
ffmpeg version: libffmpeg_3.4.1.r89955_msvc15
built a couple of weeks ago (but verified against trunk's encode_video.c).
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7031>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list