Saving AVI produces strange AVI file that's harder to play and has no audio

Started by yang, June 09, 2012, 08:03:19 AM

Previous topic - Next topic

yang

I'm using avidemux 2.5.4 which comes with Ubuntu 11.10's package repositories.

I have some AVI files from my camera that are identified as:

$ file *
SDC10806.AVI: RIFF (little-endian) data, AVI, 800 x 592, 20.00 fps, video: XviD, audio: ADPCM (mono, 22050 Hz)
...


The files play fine with the default video player (Totem) and have sound.  You can download these files at http://www.mediafire.com/?jkyj3zbk634ya6m.

However, once I open the files in avidemux and then save it right away (Copy), I get a strange output file:

yang@yang-latitude-13:~/Videos$ file *
A.avi:   RIFF (little-endian) data, AVI, 800 x 592, video: XviD, audio: ADPCM (mono, 22050 Hz)
...


This output file no longer plays in Totem, though it can still play using VLC (known to play anything you throw at it).  However it also has no sound (despite the audio information).

(In case it makes a difference: my ultimate goal is to just concatenate two of these AVIs from my camera together with minimal re-encoding or quality loss.)

Any idea why this might be happening?  Thanks in advance for any help.

Jan Gruuthuse

Has some issues with the 4-bit audio (MSADPCM) in those avi's? When the 2 videos are joined. Leave video in copy, and change the audio to MP2 (lav) and save video now (did test with 2.5.6)
https://rapidshare.com/files/3573024971/test.avi.zip

styrol

Resample Sample Rate at 22050Hz if you wanna stick to PCM audio. Or convert audio to mp3 (56kbps bitrate should be okay) ââ,¬â€œ AVI (XVID/MP3) is more common/compatible than AVI (XVID/MP2).