AVI file container. One MP4 video stream. Two MP3 audio streams: #1 Italian, #2 English
I want to remove the Italian audio to reduce file size. Can it be done without demux+remuxing?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 13 of 13
Thread
-
-
If you feel comfortable using command line ffmpeg:
Find out the stream numbers you want to keep:Code:ffmpeg -i foo.avi
Stream #0.0: Video: details
Stream #0.1: Audio: (Ita) details
Stream #0.2: Audio: (Eng) details
Next, copy the streams that you want to keep to a new file:Code:ffmpeg -i foo.avi -map 0:0 -map 0:2 -vcodec copy -acodec copy foo-new.avi
-
Open the avi in Quicktime Pro. ( w/ Perian installed)
go to Show Movie Properties (Window -->Show Movie Properties)
Select the offending audio track, click delete.
Save As Quicktime Reference movie file in the same folder / destination as the original.
Now when you play the reference file, it will only have the audio you want."Everyone has to learn, so that they can one day teach."
------------------------------------------------------
When I'm not here, Where can I be found?
Urban Mac User -
Case thank you for your unending patience.
However, I'm getting a bazillion errors:
Code:error, non monotone timestamps 19 >= 19 error, non monotone timestamps 22 >= 22 error, non monotone timestamps 25 >= 25 ...
Last edited by exekutive; 26th Jan 2011 at 23:10.
-
Interesting. I may have found out how to kill 2 birds with one stone.
I tried to use the "fix" tool in FFmpegX to repair the AVI index (which was causing the timestamp errors). The output file was 100MB less than the original. Sure enough, one of the audio tracks (#1) was gone. Unfortunately it was the English one I wanted. If I could just figure out how to make it keep the other one ... -
Tried using DivFix++ 0.34 to repair AVI.
Code:Processing file : foo.avi Four CC is : XVID Info: Original index chunk found at 813794760 Error detected at byte: 820382704 File end reached. Error: Bigger than 2 stream? Breaked. DMLH found: 137256 New Stream Size : 813780416 Total Error Count : 1 Total Frame Count : 274501 Video Data Frames : 137256 Audio Data Frames : 137245
AVI's often seem to be plagued with problems. -
The video track doesn't change; just the container is changed. Why does it have to be an AVI if the content is MP4?
-
To play on an AVI-enabled DVD player, and because it's just a more widely used container.
-
A-ha! Okay; I was thinking that, by now, most people would have migrated away from physical media (discs) to a media player like the WD TV Media Player or AppleTV (old style) or any one of a number of others. Those devices (most of them) handle MOV, MP4, AVI, and some others without a complaint. Guess I'm ahead of the curve.
-
OK I got it to work with Avidemux. It practically did everything for me.
As soon as I opened the file, a dialog popped up asking if I wanted to rebuild frames so I clicked yes.
Then another dialog popped up that says "The file you just loaded contains several audio tracks. Go to Audio->MainTrack to select the active one." So I did, and then saved the movie.
Mission accomplished -
"Everyone has to learn, so that they can one day teach."
------------------------------------------------------
When I'm not here, Where can I be found?
Urban Mac User
Similar Threads
-
How do I write an ffmpeg script that will simply strip the audio track?
By Iced Coffee in forum Newbie / General discussionsReplies: 1Last Post: 18th Jan 2012, 08:55 -
How to choose audio track in avi file with two audio tracks
By newnews in forum AudioReplies: 3Last Post: 26th Oct 2010, 05:26 -
Strip out an audio track from an MKV container
By iBeech in forum AudioReplies: 4Last Post: 28th Apr 2009, 07:24 -
removing the commentary audio track from an AVI file with mpeg layer3 audio
By wildrthanevr in forum AudioReplies: 1Last Post: 10th Mar 2009, 01:29 -
How to Strip Audio from an AVI?
By MadisonMax in forum Newbie / General discussionsReplies: 5Last Post: 28th Aug 2008, 12:53