Extract AAC from video file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



Krzysztof Duchnowski wrote:
> Jon Drukman pisze:
> 
>> Ishere way using mplayer -dumpaudio or mencoder -ovc copy to get an 
>> AACtream out of a .m4v file?  I need it in either .aac stream format 
>> or .mp4 container, with no video, but I can't figure out how to do it. 
>>   I guess dumpaudio gives raw stream with no header or container?
> 
> 
> Eitherou have file with wrong extension or you try to dump audio 
>tream from single video elementar stream... I wonder which it is.

i'm noture what you're saying.  the video file contains an aac audio 
stream:

% midentify 7085_13_1229065288.m4v
ID_VIDEO_ID=0
ID_AUDIO_ID=1
ID_FILENAME=7085_13_1229065288.m4v
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=avc1
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=960
ID_VIDEO_HEIGHT=540
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=255
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_LENGTH=157.48
ID_SEEKABLE=1
ID_CHAPTERS=0
ID_VIDEO_CODEC=ffh264
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_AUDIO_CODEC=faad

I wanto get that stream in either an MPEG transport stream or an .mp4 
fileo I can remux it with a different video stream using MP4Box.

  mplayer -dumpaudio -dumpfile 7085.dump 7085_13_1229065288.m4v

Gives me file with no recognizable container.

Iried mencoder with -oac copy but I couldn't get anything but an .avi 
file.

-jsd-


Fromashkae at tigershaunt.com  Sat Dec 13 02:07:22 2008
From:ashkae at tigershaunt.com (Rashkae)
Date: Fri, 12 Dec 2008 20:07:22 -0500
Subject: Extract AAC from video file?
In-Reply-To: <ghuvb0$hr5$1@xxxxxxxxxxxxx>
References: <ghudrf$t5n$1@xxxxxxxxxxxxx> <4942CECB.5070804@xxxxxxxxx>
	<ghuvb0$hr5$1@xxxxxxxxxxxxx>
Message-ID: <49430ACA.9030306@xxxxxxxxxxxxxxx>

Jon Drukman wrote:

> Iried mencoder with -oac copy but I couldn't get anything but an .avi 
> file.
> 

Couldn'tou just then plug the avi file into whatever mp4box utility is
appropriateo create an mp4?


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux