VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Member usta's Avatar
    Join Date
    Jun 2009
    Location
    Netherlands
    Search Comp PM
    I have converted an avi file, but the audio didn't work (tested on VLC and KMPlayer).
    So, I extracted the audio stream separately and tried to mux it.
    As a result, I have a video with two audio streams, where I can't hear anything on first stream (see Mediainfo extract).
    I thought avi container can hold only one audio stream???

    Code:
    General
    Complete name                    : E:\TEMP\Test 1.avi
    Format                           : AVI
    Format/Info                      : Audio Video Interleave
    File size                        : 1.41 GiB
    Duration                         : 1h 34mn
    Overall bit rate                 : 2 134 Kbps
    Writing application              : VirtualDubMod 1.5.10.2 (build 2540/release)
    Writing library                  : VirtualDubMod build 2540/release
    
    Video
    ID                               : 0
    Format                           : MPEG-4 Visual
    Format profile                   : Simple@L1
    Format settings, BVOP            : No
    Format settings, QPel            : No
    Format settings, GMC             : No warppoints
    Format settings, Matrix          : Default (H.263)
    Codec ID                         : DX50
    Codec ID/Hint                    : DivX 5
    Duration                         : 1h 34mn
    Bit rate                         : 1 996 Kbps
    Width                            : 700 pixels
    Height                           : 576 pixels
    Display aspect ratio             : 1.296
    Frame rate                       : 25.000 fps
    Resolution                       : 24 bits
    Colorimetry                      : 4:2:0
    Scan type                        : Progressive
    Bits/(Pixel*Frame)               : 0.198
    Stream size                      : 1.32 GiB (94%)
    Writing library                  : Lavc52.0.0
    
    Audio #1
    ID                               : 1
    Format                           : MPEG Audio
    Codec ID                         : 55
    Codec ID/Hint                    : MP3
    Duration                         : 1h 34mn
    Bit rate                         : 128 Kbps
    Channel(s)                       : 2 channels
    Sampling rate                    : 48.0 KHz
    Alignment                        : Aligned on interleaves
    
    Audio #2
    ID                               : 2
    Format                           : MPEG Audio
    Format version                   : Version 1
    Format profile                   : Layer 3
    Codec ID                         : 55
    Codec ID/Hint                    : MP3
    Duration                         : 1h 34mn
    Bit rate mode                    : Constant
    Bit rate                         : 128 Kbps
    Channel(s)                       : 2 channels
    Sampling rate                    : 48.0 KHz
    Resolution                       : 16 bits
    Stream size                      : 86.6 MiB (6%)
    Alignment                        : Aligned on interleaves
    Interleave, duration             : 40 ms (1.00 video frame)
    Interleave, preload duration     : 504 ms
    Writing library                  : LAME3.97 
    Encoding settings                : -m s -V 4 -q 2 -lowpass 17 -b 128
    Quote Quote  
  2. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    AVIs can have more than one audio stream, yes, but you'll need a splitter to be able to switch between them in a VfW/DirectShow-based player.
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  
  3. Member usta's Avatar
    Join Date
    Jun 2009
    Location
    Netherlands
    Search Comp PM
    Stream 1 doesn't produce any audio playback. I can select the audio streams in a player, and only stream 2 has the good audio.

    I take you don't need such a splitter to switch between the streams in MP4 or mkv container?

    Further, I've tried to put some order in the streams. So I've tried to load it in Avidemux, but it crashed...
    I've used another tool to extract the streams and mux the good audio with the video. Now I have only one video and one audio streams...
    Quote Quote  
  4. Try avimux-gui

    Is each audio track error free? i.e. can you play either separately in a player successfully?

    Or are you saying you messed it up and got 1 audio track deleted?
    Quote Quote  
  5. Member usta's Avatar
    Join Date
    Jun 2009
    Location
    Netherlands
    Search Comp PM
    Audio track 1 didn't produce any sound at all, but it was the default output track in the first conversion.
    I thought if I mux this video with a new track, then the existing track will be replaced. I was surprised to see them both in the avi container.

    I've solved the issue using Avanti (Avidemux was crashing every time I tried to open the video).
    Just extracted the video and muxed it with the good audio track from the original input file.

    Thanks for the suggestion of avimux-gui. I'll keep that in reserve, if Avanti fails me in the future.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!