[FFmpeg-trac] #7934(documentation:new): encode_video_test.c example does not work with libx264

FFmpeg trac at avcodec.org
Tue Jan 17 00:14:11 EET 2023


#7934: encode_video_test.c example does not work with libx264
-------------------------------------+-------------------------------------
             Reporter:  maahn        |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  documentation
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Stefano Sabatini):

 `encode_video.c` is not supposed to generate a valid mp4 file (in fact it
 ignores the output file extension altogether), for that you need to check
 the muxing examples.

 When encoding H.264 video, it outputs to raw H.264 container format, which
 might not be supported by all applications (while supported e.g. by
 `ffplay`).

 We want to keep `encode_video.c` simple, so we don't plan to add support
 to muxing facilities since there are distinct examples for that.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/7934#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list