Date: Wed, 7 Nov 2007 22:42:57 -0800
From: "Kevin Downey" <[EMAIL PROTECTED]>
On Nov 7, 2007 10:02 PM, Kevin Downey <[EMAIL PROTECTED]> wrote:
>
> On Nov 7, 2007 8:25 PM, Kevin Oberman <[EMAIL PROTECTED]> wrote:
> > > Date: Thu, 8 Nov 2007 11:12:49 +0900
> > > From: "Thomas Zander" <[EMAIL PROTECTED]>
> > >
> > > On 07/11/2007, Kevin Oberman <[EMAIL PROTECTED]> wrote:
> > >
> > > > 'acodec=aac' worked in the version now in ports, although that
version
> > > > failed to write the header with a floating point error. :-(
> > >
> > > Does this mean it has never been in a really useful state?
> >
> > No. It was working fine back in August and before. I only started
> > getting the floating point errors recently. I "lost" acodec=aac in
> > rc2. Since I didn't try making any mp4s for my iPod after August, I
> > can't say exactly when it stopped working, but there have not been
many
> > updates since then. (BTW, I get the floating point error with
ffmpeg, too.)
> >
> > Here is the info for one that was created on Aug. 23.
> > Playing MP4/Test.mp4.
> > Quicktime/MOV file format detected.
> > ID_VIDEO_ID=0
> > [mov] Video stream found, -vid 0
> > ID_AUDIO_ID=1
> > [mov] Audio stream found, -aid 1
> > VIDEO: [mp4v] 640x480 24bpp 29.970 fps 0.0 kbps ( 0.0
kbyte/s)
> > ID_FILENAME=MP4/Test.mp4
> > ID_DEMUXER=mov
> > ID_VIDEO_FORMAT=mp4v
> > ID_VIDEO_BITRATE=0
> > ID_VIDEO_WIDTH=640
> > ID_VIDEO_HEIGHT=480
> > ID_VIDEO_FPS=29.970
> > ID_VIDEO_ASPECT=0.0000
> > ID_AUDIO_FORMAT=mp4a
> > ID_AUDIO_BITRATE=0
> > ID_AUDIO_RATE=48000
> > ID_AUDIO_NCH=2
> > ID_LENGTH=199.80
> >
==========================================================================
> > Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> > Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
> >
==========================================================================
> > ID_VIDEO_CODEC=ffodivx
> >
==========================================================================
> > Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
> > FAAD: compressed input bitrate missing, assuming 128kbit/s!
> > AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio:
16000->192000)
> > ID_AUDIO_BITRATE=128000
> > ID_AUDIO_RATE=48000
> > ID_AUDIO_NCH=2
> > Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4
Audio) decoder)
> >
==========================================================================
> > AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
> > ID_AUDIO_CODEC=faad
> >
> > I usually update ports within a couple if days of entry into the
ports
> > tree, so the version Aug. 5 most likely worked. I will re-install it
> > shortly.
> > --
> > R. Kevin Oberman, Network Engineer
> > Energy Sciences Network (ESnet)
> > Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
> > E-mail: [EMAIL PROTECTED] Phone: +1 510 486-8634
> > Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751
> >
>
> it is possible to have -oac faac and bypass lavc
>
> mencoder -oac help|grep faac
> faac - FAAC AAC audio encoder
>
> but libfaac (/usr/ports/audio/faac) which every free encoder program
> seems to use (mencoder, ffmpeg, vlc) stopped creating valid streams
> for me sometime in the last month or two. Does not seem to be related.
>
The current faac port is 1.26 and thats what gives me invalid aac
streams (won't play in quicktime or mplayer). the previous version
1.25 does work and is usable with mencoder so you might try that
instead of -oac lavc -lavcopts acodec=faac