[FFmpeg-user] ffserver Unknown VideoCodec: libx264

Ajay Parashar Ajay.Parashar at rsystems.com
Fri Sep 12 10:06:28 CEST 2014


Hi,

I recompiled by enabling libx264 but it is not working, i am feeding H264-MPEG-1AVC(part 10) (avc1) file. VLC is playing this file but ffmpeg does not.
please find below logs.

********************************************************************************************************

ffmpeg -i media_files/Cars2_Video_Only.mp4 -f mov udp://226.0.0.1:1234
ffmpeg version 2.3.3 Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep 12 2014 12:21:59 with gcc 4.8.3 (GCC) 20140624 (Red Hat 4.8.3-1)
  configuration: --enable-debug --enable-gpl --enable-libx264
  libavutil      52. 92.100 / 52. 92.100
  libavcodec     55. 69.100 / 55. 69.100
  libavformat    55. 48.100 / 55. 48.100
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.100 /  4. 11.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
[h264 @ 0x1abf5c0] A non-intra slice in an IDR NAL unit.
[h264 @ 0x1abf5c0] decode_slice_header error
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'media_files/Cars2_Video_Only.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 0
    compatible_brands: mp41avc1qt
    creation_time   : 2014-09-12 07:07:47
    encoder         : vlc 2.1.3 stream output
    encoder-eng     : vlc 2.1.3 stream output
  Duration: 00:01:26.25, start: 0.000000, bitrate: 388 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 576x240 [SAR 1:1 DAR 12:5], 386 kb/s, 24 fps, 24 tbr, 1000k tbn, 48 tbc (default)
    Metadata:
      creation_time   : 2014-09-12 07:07:47
      handler_name    : VideoHandler
[libx264 @ 0x1ac4340] using SAR=1/1
[libx264 @ 0x1ac4340] using cpu capabilities: MMX2 SSE2 SSE3 Cache64
[libx264 @ 0x1ac4340] profile High, level 2.1
[libx264 @ 0x1ac4340] 264 - core 138 r2363 c628e3b - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=24 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[mov @ 0x1ac0900] muxer does not support non seekable output
Output #0, mov, to 'udp://226.0.0.1:1234':
  Metadata:
    major_brand     : isom
    minor_version   : 0
    compatible_brands: mp41avc1qt
    encoder         : Lavf55.48.100
    Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 576x240 [SAR 1:1 DAR 12:5], q=-1--1, 24 fps, 24 tbn, 24 tbc (default)
    Metadata:
      creation_time   : 2014-09-12 07:07:47
      handler_name    : VideoHandler
      encoder         : Lavc55.69.100 libx264
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument


The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, please immediately alert the sender by reply e-mail and then delete this message. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. R Systems has taken every reasonable precaution to minimize the risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment.


More information about the ffmpeg-user mailing list