[FFmpeg-user] alac and avc in mp4?

Boštjan Strojan bostjan.strojan at gmail.com
Tue Apr 3 13:42:52 CEST 2012


Shouldn't alac sit happily in  mp4 container (with some video)?

thanks, b.

------------

more here:

ffmpeg -i /Users/smoke/Desktop/test.mp4 -acodec alac -pix_fmt
yuv422p10le -vcodec libx264 -preset medium -tune film -crf 184
-threads 0 -x264opts keyint=1
/Users/smoke/Desktop/test.xCRF18tenbit_INTRAmp4.1333453143.mp4
ffmpeg version N-37571-gbb9c8d9 Copyright (c) 2000-2012 the FFmpeg developers
  built on Feb  5 2012 21:30:41 with clang 3.0 (tags/Apple/clang-211.12)
  configuration: --prefix=/Volumes/tempdisk/sw --enable-gpl
--enable-libx264 --cc=clang --enable-runtime-cpudetect
  libavutil      51. 37.100 / 51. 37.100
  libavcodec     54.  1.100 / 54.  1.100
  libavformat    54.  0.100 / 54.  0.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/smoke/Desktop/test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2012-03-27 10:12:59
    encoder         : Lavf54.0.100
  Duration: 00:00:25.08, start: 0.000000, bitrate: 7421 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 7310 kb/s, 25 fps, 25 tbr, 25 tbn, 50
tbc
    Metadata:
      creation_time   : 2012-03-27 10:12:59
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz,
stereo, s16, 119 kb/s
    Metadata:
      creation_time   : 2012-03-27 10:12:59
      handler_name    :
[buffer @ 0x7fd75a4161a0] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000
sar:1/1 sws_param:
[buffersink @ 0x7fd75a4159a0] auto-inserting filter 'auto-inserted
scale 0' between the filter 'src' and the filter 'out'
[scale @ 0x7fd75a4170a0] w:1920 h:1080 fmt:yuv420p -> w:1920 h:1080
fmt:yuv422p10le flags:0x4
[libx264 @ 0x7fd75a825c00] using SAR=1/1
[libx264 @ 0x7fd75a825c00] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2
[libx264 @ 0x7fd75a825c00] profile High 4:2:2 Intra, level 4.0, 4:2:2 10-bit
[libx264 @ 0x7fd75a825c00] 264 - core 120 r2164 da19765 - H.264/MPEG-4
AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html -
options: cabac=1 ref=3 deblock=1:-1:-1 analyse=0x3:0x113 me=hex
subme=7 psy=1 psy_rd=1.00:0.15 mixed_ref=1 me_range=16 chroma_me=1
trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1
chroma_qp_offset=-3 threads=36 sliced_threads=0 nr=0 decimate=1
interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0
keyint=1 keyint_min=1 scenecut=40 intra_refresh=0 rc=crf mbtree=0
crf=51.0 qcomp=0.60 qpmin=0 qpmax=81 qpstep=4 ip_ratio=1.40 aq=1:1.00
[mp4 @ 0x7fd75a842600] track 1: could not find tag, codec not
currently supported in container
Output #0, mp4, to
'/Users/smoke/Desktop/test.xCRF18tenbit_INTRAmp4.1333453143.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2012-03-27 10:12:59
    encoder         : Lavf54.0.100
    Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv422p10le,
1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 tbn, 25 tbc
    Metadata:
      creation_time   : 2012-03-27 10:12:59
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: alac, 48000 Hz, stereo, s16, 128 kb/s
    Metadata:
      creation_time   : 2012-03-27 10:12:59
      handler_name    :
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libx264)
  Stream #0:1 -> #0:1 (aac -> alac)
Could not write header for output file #0 (incorrect codec parameters ?)


More information about the ffmpeg-user mailing list