felx / ffmbc

Automatically exported from code.google.com/p/ffmbc
0 stars 0 forks source link

Can't force use of aac codec, always uses libfaac #106

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Ubuntu 64bit static - Mark Himsley build ;-)

/usr/share/bbcnpf-stitcher/bin/ffmbc0.7rc7 -t 10 -v 3 -i 48k/tasmin_omond.mov 
-y -acodec aac -strict experimental to.mp4
FFmbc version 0.7-rc7
Copyright (c) 2008-2012 Baptiste Coudurier and the FFmpeg developers
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '48k/tasmin_omond.mov':
  Metadata:
    major_brand: qt  
    minor_version: 537199360
    compatible_brands: qt  
    creation_time: 2012-05-31 05:47:18
    com.apple.finalcutstudio.media.uuid: 508E69C4-C2E4-4613-99E6-3F304BC03C22
    timecode: 09:59:50:00
  Duration: 00:11:35.84, start: 0.000000, bitrate: 31642 kb/s
    Stream #0.0(eng): Video: mpeg2video (4:2:2), yuv422p, 720x608i tff [PAR 608:405 DAR 16:9], 30000 kb/s, PAR 64:45 DAR 32:19, 25.00 fps
    Metadata:
      codec_name: MPEG IMX 625/50 (30 Mb/s)
    Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Stream #0.2(eng): Data: unknown (tmcd)
Incompatible pixel format 'yuv422p' for codec 'mpeg4', auto-selecting format 
'yuv420p'
[scale @ 0x290bd20] w:720 h:608 fmt:yuv422p -> w:720 h:608 fmt:yuv420p flags:0x4
Output #0, mp4, to 'to.mp4':
  Metadata:
    encoder: FFmbc 0.7
    Stream #0.0(und): Video: mpeg4, yuv420p, 720x608p [PAR 64:45 DAR 32:19], 200 kb/s, 25.00 fps
    Stream #0.1(und): Audio: libfaac, 48000 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
frame=  246 fps=145 q=31.0 size=     581kB time=00:00:09.84 bitrate= 
483.7kbits/s eta=00:00:00.02
[mp4 @ 0x291cac0] replacing header in front, copying  0.57MB
frame=  250 fps=139 q=31.0 Lsize=     591kB time=00:00:10.00 bitrate= 
484.1kbits/s               
video:503kB audio:81kB global headers:0kB muxing overhead 1.191350%

If I omit -strict experimental, I get the usual error message:

 encoder 'aac' is experimental and might produce bad results.
 Add '-strict experimental' if you want to use it.
 Or use the non experimental encoder 'libfaac'.

So the parser knows I've specified aac rather than libfaac, but it's ignored, 
or at least, appears to be.

--Dave.

Original issue reported on code.google.com by bevan...@gmail.com on 22 Jun 2012 at 7:42

GoogleCodeExporter commented 8 years ago
/usr/share/bbcnpf-stitcher/bin/ffmbc0.7rc7 -codecs|grep aac
FFmbc version 0.7-rc7
Copyright (c) 2008-2012 Baptiste Coudurier and the FFmpeg developers
 DEA    aac             Advanced Audio Coding
 D A    aac_latm        AAC LATM (Advanced Audio Codec LATM syntax)
  EA    libfaac         libfaac AAC (Advanced Audio Codec)

Original comment by bevan...@gmail.com on 22 Jun 2012 at 7:44

GoogleCodeExporter commented 8 years ago
Well it actually uses aac, but displays libfaac, it's a bug I'll fix it

Original comment by baptiste...@gmail.com on 22 Jun 2012 at 9:09

GoogleCodeExporter commented 8 years ago
Thanks Baptiste.
--Dave.

Original comment by bevan...@gmail.com on 22 Jun 2012 at 10:45

GoogleCodeExporter commented 8 years ago
Should be fixed in rc8

Original comment by baptiste...@gmail.com on 14 Mar 2013 at 9:06