[FFmpeg-trac] #1914(avcodec:new): libavcodec is unable to decode h264 created by "Unreal h264 encoder"

FFmpeg trac at avcodec.org
Wed Nov 14 14:42:40 CET 2012


#1914: libavcodec is unable to decode h264 created by "Unreal h264 encoder"
---------------------------------------+-----------------------------------
             Reporter:  Kozlov Sergey  |                    Owner:
                 Type:  defect         |                   Status:  new
             Priority:  normal         |                Component:  avcodec
              Version:  git-master     |               Resolution:
             Keywords:  h264           |               Blocked By:
             Blocking:                 |  Reproduced by developer:  0
Analyzed by developer:  0              |
---------------------------------------+-----------------------------------

Comment (by Kozlov Sergey):

 Hello.

 I have figured out that in some cases mp4muxer and mp4demuxer work.

 Now i suspect UXH264 video encoder and your avcodec.

 mp4muxer works for direct stream copy and in case NV12 video format.
 For NV12 video format coder, file can be displayer by "Super" player.

 Also mp4demuxer works while playing file, created by "Super".

 There left only video encoder UXH264 and your decoder.

 video encoder is on major suspection.

 The video encoder uses "libx264.a".
 For this file i have got no source code.

 Before conversion to h264 by "libx264.a"
 (
 function /* x264_encoder_encode:
  *      encode one picture */
 int     x264_encoder_encode ( x264_t *, x264_nal_t **, int *,
 x264_picture_t *, x264_picture_t * );
 declared in x364.h file) video has right YV12 format (i had checked).

 I will try to check "libx264.a".

 Also, could you explain, how to save picture (frame) coded by
 x264_encoder_encode, and how to view, if it has right?

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1914#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list