[FFmpeg-user] iPod conversion fail

. peace at AleksandrSolzhenitsyn.net
Thu Dec 20 16:51:54 CET 2012


On 12/20/2012 10:26 AM, Carl Eugen Hoyos wrote:
> . <peace <at> AleksandrSolzhenitsyn.net> writes:
>
>> ffmpeg -i INPUTFILE.mp4 -vcodec libx264 -preset ultrafast 
>> -vpre ipod320 -crf 24 -acodec libfaac -aq 100 
>> -vf scale="320:trunc(ow/a/2)*2"  CB.mp4
>>
>> Any idea how to fix this?
> The first step is to add complete, uncut console output for 
> above command.
>
> Then please test if the problem only appears for -vcodec 
> libx264 -acodec libfaac or also for -vcodec mpeg4 -strict -2 
> -acodec aac
>
> Carl Eugen
Carl, I hope I provide the correct console ouput....here it is....thank
you for the help


$ ffmpeg -i INPUTFILE.mp4 -vcodec libx264 -preset ultrafast -vpre
ipod320 -crf 24 -acodec libfaac -aq 100  -vf 
scale="320:trunc(ow/a/2)*2"  CB.mp4
ffmpeg version git-2012-06-29-c103dc0 Copyright (c) 2000-2012 the FFmpeg
developers
  built on Jun 28 2012 21:43:37 with gcc 4.6.3
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
--enable-version3 --enable-x11grab
  libavutil      51. 63.100 / 51. 63.100
  libavcodec     54. 29.101 / 54. 29.101
  libavformat    54. 11.100 / 54. 11.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     3.  0.100 /  3.  0.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'INPUTFILE.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isom
    creation_time   : 2012-12-20 15:39:23
  Duration: 00:48:08.00, start: 0.000000, bitrate: 517 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuv420p, 640x360, 416 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
s16, 95 kb/s
    Metadata:
      creation_time   : 2012-12-20 15:39:23
      handler_name    : GPAC ISO Audio Handler
File 'CB.mp4' already exists. Overwrite ? [y/N] y
w:640 h:360 pixfmt:yuv420p tb:1/1000 fr:25/1 sar:0/1 sws_param:flags=2
[output stream 0:0 @ 0xb147d40] No opaque field provided
[Parsed_scale_0 @ 0xb145d60] w:640 h:360 fmt:yuv420p sar:0/1 -> w:320
h:180 fmt:yuv420p sar:0/1 flags:0x4
[graph 1 input from stream 0:1 @ 0xb28d1e0] tb:1/44100 samplefmt:s16
samplerate:44100 chlayout:0x3
[libx264 @ 0xb146600] VBV buffer (3000) > level limit (2000)
[libx264 @ 0xb146600] using cpu capabilities: MMX2 Cache64
[libx264 @ 0xb146600] profile Constrained Baseline, level 1.3
[libx264 @ 0xb146600] 264 - core 120 r2145 748fe16 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html -
options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1
psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0
cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=3
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25
scenecut=0 intra_refresh=0 rc_lookahead=0 rc=crf mbtree=0 crf=24.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=768 vbv_bufsize=3000
crf_max=0.0 nal_hrd=none ip_ratio=1.40 aq=0
Output #0, mp4, to 'CB.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isom
    encoder         : Lavf54.11.100
    Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p,
320x180, q=-1--1, 25 tbn, 25 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz,
stereo, s16, 128 kb/s
    Metadata:
      creation_time   : 2012-12-20 15:39:23
      handler_name    : GPAC ISO Audio Handler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libx264)
  Stream #0:1 -> #0:1 (aac -> libfaac)
Press [q] to stop, [?] for help
frame=72200 fps=162 q=-1.0 Lsize=  162286kB time=00:48:07.88 bitrate=
460.4kbits/s   
video:123584kB audio:36147kB subtitle:0 global headers:0kB muxing
overhead 1.599497%
[libx264 @ 0xb146600] frame I:289   Avg QP:17.31  size: 12011
[libx264 @ 0xb146600] frame P:71911 Avg QP:20.47  size:  1712
[libx264 @ 0xb146600] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 0xb146600] mb P  I16..4:  4.4%  0.0%  0.0%  P16..4: 38.8% 
0.0%  0.0%  0.0%  0.0%    skip:56.7%
[libx264 @ 0xb146600] coded y,uvDC,uvAC intra: 38.0% 59.1% 29.8% inter:
19.1% 19.8% 7.2%
[libx264 @ 0xb146600] i16 v,h,dc,p: 42% 30% 19%  9%
[libx264 @ 0xb146600] i8c dc,h,v,p: 37% 26% 28%  8%
[libx264 @ 0xb146600] kb/s:350.55




>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20121220/2f385703/attachment.asc>


More information about the ffmpeg-user mailing list