[MPlayer-users] Creating mp4 video with AAC audio
Kichigai Mentat
kichigai at comcast.net
Tue Jul 12 00:23:37 CEST 2005
On Jul 11, 2005, at 12.26, zikzak at tele2.fr wrote:
> Hi !
>
> I would like to create a specific type of video with mencoder, can you
> help me please ?
Do you mean the container, or the codec?
>
> The following lines are the output of the type of videoI format I
> need :
>
> Playing mp4sample_movie.mp4.
> ISO: Unknown File Type Major Brand: MSNV
> QuickTime/MOV file format detected.
MEncoder cannot create QuickTime files. AVI isn't quite as good, but
you can use other tools to create OGM and Matroska files, both of
which are better.
> --------------
> MOV track #0: 298 chunks, 2228 samples
> MOV: Found MPEG4 movie Elementary Stream Descriptor atom (67)!
MEncoder can do MPEG-4 however. LAVC has an MPEG-4 output mode.
> Image size: 240 x 176 (24 bpp)
> Display size: 240 x 176
> Fourcc: mp4v Codec: ''
> --------------
> MOV track #1: 339 chunks, 3198 samples
> Audio bits: 16 chans: 2 rate: 44100
> MOV: Found MPEG4 audio Elementary Stream Descriptor atom (39)!
> Fourcc: mp4a
For MPEG-4 Audio (Also known as AAC) you need FAAC/FAAD. It's a free
library for AAC decoding and I believe encoding. I'm not sure if
MEncoder will output to AAC, but you can always encode the audio
separately then mux it in later. I know that muxing with Matroska is
no sweat.
> --------------
> MOV: longest streams: A: #1 (3198 samples) V: #0 (2228 samples)
> VIDEO: [mp4v] 240x176 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
> ======================================================================
> ====
> Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
> AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8000->176400)
> Selected audio codec: [faad] afm:faad (FAAD AAC (MPEG2/MPEG4 Audio)
> decoder)
> ======================================================================
> ====
> open: Permission denied vo_mga: Couldn't open /dev/mga_vid
> open: Permission denied
> vo_mga: Couldn't open /dev/mga_vid
> vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local
> display)
> ======================================================================
> ====
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
> ======================================================================
> ====
> Checking audio filter chain for 44100Hz/2ch/s16le ->
> 44100Hz/2ch/s16le...
>
>
> Regards
> --
> ZikZak
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
More information about the MPlayer-users
mailing list