[MEncoder-users] mencoder asks to "use -absf aac_adtstoasc" - but -absf is an unknown option

Dr.O.Muth at habmalnefrage.de Dr.O.Muth at habmalnefrage.de
Sun Aug 18 19:31:53 CEST 2013


Hi,
 
since I upgraded to Debian wheezy and mencoder version 1.1-4.7 (from Debian-multimedia) I am getting errors like this:
 
Pos:   0.2s      6f ( 0%)  0.60fps Trem:   0min   0mb  A-V:0.020 [0:0]
[mp4 @ 0xdf8e40]malformated aac bitstream, use -absf aac_adtstoasc
Error while writing frame.
 
Input files are mpeg files recorded from DVB-T.
 
My command line (part of a script I have been using for years):
mencoder -ovc x264 -x264encopts \
global_header=1:bitrate=$bitrate:subq=1:partitions=all:8x8dct=yes:frameref=1:bframes=3:b_pyramid=1:weight_b=yes:trellis=1:threads=auto:pass=1:slow_firstpass=1:interlaced=1:chroma_me=1 \
        -ofps 25 -nosound -of lavf -lavfopts format=mp4 \
        -vf il=d,hqdn3d=2:1:2,il=i,harddup=1 $opts \
        -o /dev/null "$datei.mpg" &>> "$datei-mkv2-out"
    
mencoder -ovc x264 -x264encopts \
global_header=1:bitrate=$bitrate:subq=6:partitions=all:8x8dct=yes:frameref=5:me=umh:bframes=3:b_pyramid=1:weight_b=yes:trellis=1:psy-rd=1.0:threads=auto:pass=2:psnr=1:interlaced=1:chroma_me=1 \
        -ofps 25 -oac faac -faacopts quality=64:tns=1:object=2:absf=aac_adtstoasc -of lavf -lavfopts format=mp4 \
        -vf il=d,hqdn3d=2:1:2,il=i,harddup=1 $opts \
        -o "$datei.mp4" "$datei.mpg" &>> "$datei-mkv2-out"
 
The error occurs during the second pass and the resulting file is invalid.
 
I tried to add absf=aac_adtstoasc to -faacopts but then mencoder complains "Unknown suboption absf. error parsing option on the command line: -faacopts".
The option is not documented in the manpage either.
The version of the installed libfaac is 1.28-dmo3.
 
I rolled back to an older mencoder that I built 2 years ago (MPlayer SVN-r31918), which works fine.
 
What can I do to make the new mencoder work?
 
Thanks for your help
 
Oliver


More information about the MEncoder-users mailing list