+ Reply to Thread
Results 1 to 13 of 13
-
-
-
AllisOne.
You really should not suggest using a program that you do not use. It might be able to do that but you still end up with a video file not an audio file.
To the OP.
Use Audacity for this. Load your video and then go to file/Export Audio. Select the format you want. Name the file and 'save' -
Try VirtualDubMod and the "Streams/Streams" list menu, then click "Demux".
For VirtualDub it's File/Export raw audio.
I think the problem with ffmpeg is for raw streams you have to know the type of audio you're demuxing because you have to specify the extension. For example if you used a command line like this for an AVI containing MP3 audio:
ffmpeg.exe -i "E:\video.avi" -y -threads 1 -vn -acodec copy "E:\output.ac3"
You'd end up with a file called output.ac3 that's actually an MP3. Changing the extension to mp3 should fix playback problems, but you still need to know what type of audio it is.
If you don't need raw streams, you could mux the audio into another container such as MP4. I'm pretty sure it'll hold all the types of audio commonly found in AVIs. Or use MKA.
ffmpeg.exe -i "E:\video.avi" -y -threads 1 -vn -acodec copy "E:\output.mp4"
If I had a lot of extracting to do and I wanted raw audio, I'd probably go with a two step process. First by creating an AnotherGUI preset for ffmpeg that looks something like this (for batch remuxing the audio to an mka container regardless of the audio type or input container).
-i "<SourceFileName>" -y -threads 1 -vn -acodec copy "<OutputPath><OutputFileName>.mka"
Then with all the audio in MKV or MKA containers I'd use MKVCleaver to batch extract the raw streams.Last edited by hello_hello; 24th May 2016 at 07:33.
-
If I read the OP's requirement correctly he wants lossless audio from what could be a lossy source. A simple 'copy' will not fit that bill.
-
The version is 2.5.2 of Ubuntu.
MediaInfo says, "Container and general information: AVI: 82.0MiB, 21s 433ms. 1 video stream: JPEG. 1 audio stream: PCM."
When I click Open, Audacity says, "Audacity recognized the type of the file...Importers supposedly supporting such files are: FFmpeg compatible files, but none of them understood this file format."
It's version 1.3.12-beta of Ubuntu.
Here's the command and output: http://pastebin.com/n0E2e07P
How can I input the type of audio into FFmpeg? MediaInfo says the avi's audio type is PCM.
I just want the audio from the avi, but without the video. I don't want to lose audio quality from converting. -
Similar Threads
-
How to Demux avi with multiple video streams?
By Chojun in forum Newbie / General discussionsReplies: 34Last Post: 11th Dec 2015, 14:29 -
Demux AVI to mux into MKV
By john3voltas in forum Video ConversionReplies: 17Last Post: 27th Oct 2013, 11:35 -
demux avi, mkv file
By volam1 in forum EditingReplies: 19Last Post: 4th Oct 2013, 07:03 -
Demux from MOV and mux to AVI
By windranger in forum Newbie / General discussionsReplies: 21Last Post: 9th Mar 2013, 23:57 -
Avi Demux - what settings should I use when converting to avi?
By Digmen1 in forum Video ConversionReplies: 9Last Post: 23rd Dec 2012, 03:54