[FFmpeg-user] Transcode the movie to x264's problem

Steven Liu lingjiujianke at gmail.com
Thu May 3 12:46:59 CEST 2012


Hi all,

       when i use the ffmpeg to transcode the file from mpeg4 to x264,
i can not transcode success,
       Perhaps i have use the wrong command, but i cannot find out
where the error, can you help me?
       THE MESSAGE BELLOW:


 ffmpeg -y -i shoushou.mp4 -strict experimental -acodec aac -b:a 128k
-vcodec libx264 -profile baseline -level 22  -b:v 1200k -r 15 -s
640x480 a.mp4
ffmpeg version N-37846-g1fbd905 Copyright (c) 2000-2012 the FFmpeg developers
  built on May  2 2012 06:42:11 with gcc 4.4.4 20100726 (Red Hat 4.4.4-13)
  configuration: --prefix=/usr/ --disable-yasm --enable-libx264 --enable-gpl
  libavutil      51. 39.100 / 51. 39.100
  libavcodec     54.  1.100 / 54.  1.100
  libavformat    54.  0.100 / 54.  0.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 62.100 /  2. 62.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x28433a0] multiple edit list entries, a/v
desync might occur, patch welcome
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'shoushou.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isom
    creation_time   : 2010-02-17 03:06:43
    encoder         : mp4creator 1.6.1d
  Duration: 00:02:09.37, start: 0.000000, bitrate: 1007 kb/s
    Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v /
0x7634706D), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 1003 kb/s, 29.97 fps,
29.97 tbr, 90k tbn, 2997 tbc
    Metadata:
      creation_time   : 2010-02-17 03:06:43
      handler_name    :
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz,
stereo, s16, 3 kb/s
    Metadata:
      creation_time   : 2010-02-17 03:06:47
      handler_name    :
[buffer @ 0x287edc0] w:640 h:480 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
Incompatible sample format 's16' for codec 'aac', auto-selecting format 'flt'
[libx264 @ 0x287f920] using SAR=1/1
[libx264 @ 0x287f920] using cpu capabilities: none!
[libx264 @ 0x287f920] profile Constrained Baseline, level 2.2
[libx264 @ 0x287f920] 264 - core 122 - H.264/MPEG-4 AVC codec -
Copyleft 2003-2012 - http://www.videolan.org/x264.html - options:
cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1
psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2
threads=6 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250
keyint_min=15 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr
mbtree=1 bitrate=1200 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4
ip_ratio=1.40 aq=1:1.00
[NULL @ 0x28804e0] [Eval @ 0x7fff9baa9a30] Undefined constant or
missing '(' in 'baseline'
[NULL @ 0x28804e0] Unable to parse option value "baseline"
[NULL @ 0x28804e0] Error setting option profile to value baseline.
Output #0, mp4, to 'a.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isom
    creation_time   : 2010-02-17 03:06:43
    encoder         : mp4creator 1.6.1d
    Stream #0:0(eng): Video: h264, yuv420p, 640x480 [SAR 1:1 DAR 4:3],
q=-1--1, 1200 kb/s, 90k tbn, 15 tbc
    Metadata:
      creation_time   : 2010-02-17 03:06:43
      handler_name    :
    Stream #0:1(eng): Audio: none, 44100 Hz, stereo, flt, 128 kb/s
    Metadata:
      creation_time   : 2010-02-17 03:06:47
      handler_name    :
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 -> libx264)
  Stream #0:1 -> #0:1 (aac -> aac)
Error while opening encoder for output stream #0:1 - maybe incorrect
parameters such as bit_rate, rate, width or height



Thanks

Best Regards.


More information about the ffmpeg-user mailing list