[FFmpeg-user] Transcoding PCM to AAC

Mauricio Ulargui mulargui at hotmail.com
Fri Feb 8 09:23:03 CET 2013


Thank you Carl, it worked pretty well for many files!I observed that the ones it didn't worked are at less than 16000Hz. I tried to fix it using -ar 8000 but it didn't work. Any suggestion? ffmpeg version 1.1.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 20 2013 23:05:28 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Guessed Channel Layout for  Input Stream #0.1 : mono
Input #0, avi, from 'video.avi':
  Metadata:
    encoder         : Lavf54.59.106
  Duration: 00:00:51.60, start: 0.000000, bitrate: 6907 kb/s
    Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p, 640x480, 30 tbr, 30 tbn, 30 tbc
    Stream #0:1: Audio: pcm_mulaw ([7][0][0][0] / 0x0007), 8000 Hz, mono, s16, 64 kb/s
[libx264 @ 03190000] using cpu capabilities: MMX2 SSE2 SSE3 Cache64
[libx264 @ 03190000] profile High, level 3.0
[libx264 @ 03190000] 264 - core 129 r2245 bc13772 - 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=25 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
[aac @ 0035ce00] Too many bits per frame requested
Output #0, mp4, to 'video.mp4':
  Metadata:
    encoder         : Lavf54.59.106
    Stream #0:0: Video: h264, yuvj420p, 640x480, q=-1--1, 90k tbn, 30 tbc
    Stream #0:1: Audio: aac, 8000 Hz, mono, fltp, 64 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg -> libx264)
  Stream #0:1 -> #0:1 (pcm_mulaw -> aac)
Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

Mauricio  @ Ulargui .com | +1 425 449 3825
 > To: ffmpeg-user at ffmpeg.org
> From: cehoyos at ag.or.at
> Date: Thu, 7 Feb 2013 22:54:57 +0000
> Subject: Re: [FFmpeg-user] Transcoding PCM to AAC
> 
> Mauricio Ulargui <mulargui <at> hotmail.com> writes:
> 
> > [aac @ 0360f720] Too many bits per frame requested
> 
> Set a lower bitrate (for example "-ab 64k")
> 
> Carl Eugen
> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
 		 	   		  


More information about the ffmpeg-user mailing list