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

FFmpeg trac at avcodec.org
Fri May 31 06:11:15 EEST 2019


#7934: encode_video_test.c example does not work with libx264
--------------------------------------+----------------------------------
             Reporter:  maahn         |                     Type:  defect
               Status:  new           |                 Priority:  normal
            Component:  undetermined  |                  Version:  4.1
             Keywords:  example       |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+----------------------------------
 Summary of the bug:
 Example encode_video_test.c creates invalid mp4 file.

 How to reproduce:
 {{{
 doc/examples/encode_video_test test_libx264.mp4 libx264
 cvlc -v test_libx264.mp4
 VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
 [0000558469a3a700] dummy interface: using the dummy interface module...
 [00007ff278c182a0] ps demux warning: this does not look like an MPEG PS
 stream, continuing anyway
 [00007ff278c182a0] ps demux warning: garbage at input from 509, trying to
 resync...
 }}}

 ffmpeg version 4.1.3 build from sources with
 {{{
 PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
 ./configure \
   --prefix="$HOME/ffmpeg_build" \
   --pkg-config-flags="--static" \
   --extra-cflags="-I$HOME/ffmpeg_build/include" \
   --extra-ldflags="-L$HOME/ffmpeg_build/lib" \
   --extra-libs="-lpthread -lm" \
   --bindir="$HOME/bin" \
   --enable-gpl \
   --enable-libass \
   --enable-libfreetype \
   --enable-libvorbis \
   --enable-libvpx \
   --enable-libx264 \
   --enable-libx265 \
   --enable-nonfree && \
 PATH="$HOME/bin:$PATH" make && \
 make install && \
 hash -z
 }}}
 built on Ubuntu 18.04

 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7934>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list