User User name Password  
   
Sunday 5.1.2025 / 00:12
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > archived forums > mpeg-1 and mpeg-2 encoding (avi to dvd) > problem reencoding mpeg-2 layer 3 audio
Show topics
 
Forums
Forums
Problem reencoding Mpeg-2 Layer 3 audio
  Jump to:
 
Posted Message
RJPotts
Newbie
_
9. January 2009 @ 12:57 _ Link to this message    Send private message to this user   
Hi,

I'm trying to get some avi's to play through a D-Link DSM-320 media streamer. I've found that encoding them as xvids & using the Lame MP3 audio codec works well (also on a Pinnacle ShowCenter).

Most of the files I've converted (or ripped then converted) have been no problem. However I've found some that are a problem & wont play on the D-Link machine.

G-Spot reports that all of them contain MPEG-2 Layer 3 audio. Gspot also reports the presence of a suitable codec & I can play the files on my PC no problem. I initially tried converting them to xvids with Lame MP3 audio. The resulting avi file has no sound when played on the pc and wouldn't play on the D-Link machine.

I then tried encoding them with no audio compression (they will then play correctly on both of the media streamers & the pc) but of course the file-size is then enormous.

I tried encoding the (uncompressed audio) avi with Lame MP3 ausio & again, the sound is lost.

As you can probably tell I'm fairly new to this so have no idea what I'm doing wrong.

I was hoping someone could point me in the right direction.....

Rgds & thanks
Richard
Advertisement
_
__
Senior Member
_
9. January 2009 @ 13:04 _ Link to this message    Send private message to this user   
Install Lame ACM CODEC. Open the avi in virtualdub
and select video/direct stream copy. Select Audio/full processing,
Audio/compression/LAME ACM and on the right side, pick the bitrate.
CBR works best.

File/save as avi.
RJPotts
Newbie
_
9. January 2009 @ 13:20 _ Link to this message    Send private message to this user   
Originally posted by davexnet:
Install Lame ACM CODEC. Open the avi in virtualdub
and select video/direct stream copy. Select Audio/full processing,
Audio/compression/LAME ACM and on the right side, pick the bitrate.
CBR works best.

File/save as avi.
Thanks for the message.

Thats exactly what I've been doing though. The resultant avi file has no sound.

If I select uncompressed ausio the sound is there no problem, but with huge file-sizes. I've reencoded several dozen files from other audio codecs, the only ones that seem to give a problem are the ones with Mpeg-2 Layer 3 audio.

Rgds & thanks
Richard
Senior Member
_
9. January 2009 @ 13:33 _ Link to this message    Send private message to this user   
Try this then.
Open the source audio in an audio editor (Audacity is often
recommended). Save it as an uncompressed PCM/Wav file.

Open the avi in Virtualdub and use this audio source.
Audio/audio from another file
Setup Lame ACM as before and retry. This should work.
RJPotts
Newbie
_
9. January 2009 @ 19:50 _ Link to this message    Send private message to this user   
Thanks for the message!

In a rush as I need to be at work.

Extracting the sound with Audacity and adding it again in virtualdub did work. The sound has regular momentary interference, similar to what you might get if, say, turning on a satellite box when your sound system is already on, i.e. a momentary (but loud) crackle.

The interference is in the extracted audio so hopefully I just need to change the way I used Audacity, will try later.

Rgds & many thanks
Richard
Advertisement
_
__
 
_
RJPotts
Newbie
_
10. January 2009 @ 06:13 _ Link to this message    Send private message to this user   
Hi,

Just had some success at last!!

The spikes / interference in the mp3 extracted by Audacity made it unusable. They were present immediately after opening the avi to extract the audio.

I extracted a wav file with virtualdub which played fine on the PC but when added back in (with virtualdub) lost the sound. The solution seems to be;

Open the file in virtualdub & extract a wav file.
Open the wav in audacity & reencode it into mp3.
Add the audio back into the file with virtualdub.

The results play fine on the PC and the D-Link machine (havn't tried the pinnacle one yet but it seems to play most stuff (apart from dolby!)). Haven't watched a whole file to check for sync errors but a quick skip through one seems to show no problems.

Many thanks indeed for your help.

Rgds
Richard
afterdawn.com > forums > archived forums > mpeg-1 and mpeg-2 encoding (avi to dvd) > problem reencoding mpeg-2 layer 3 audio
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork