View Full Version : Nonstandard audio stream
Anakunda
24th July 2010, 22:22
Hello,
need reuse audio track from a movie. It is MP3 format identified by MediaInfo.
When I use VirtualDub, VirtualDubMod or AviDemux I get the same file. Problem is that the extracted stream is not identified as MP3 and even mkvmerge reports it as MPEG4 Video. Also I tried to play the stream in audio player and it didnot play.
This is media info of the extracted stream:
General
Complete name : H:\video\(pending)\VTS_01_1 temp files\1001.mp3
File size : 57.6 MiB
And this is Media info for that same stream just muxed yet in AVI:
Audio
ID : 1
Format : ADPCM
Codec ID : 2
Codec ID/Hint : Microsoft
Duration : 45mn 4s
Bit rate mode : Constant
Bit rate : 176.4 Kbps
Channel(s) : 2 channels
Sampling rate : 22.05 KHz
Bit depth : 4 bits
Stream size : 57.6 MiB (16%)
Interleave, duration : 47 ms (1.17 video frame)
Interleave, preload duration : 504 ms
Language : English
what do I need to make to extracted stream be handled regular MP3?
:thanks:
Anakunda
24th July 2010, 22:24
So that its not MP3 but ADPCM
Questio is if I can adjust it to accept to matroska container
tebasuna51
25th July 2010, 11:14
ADPCM is a standard codec and must be played with MicroSoft OS. Change the extension to .wav (or extract the audio like wav with VD) and try.
I'm not sure if mkv container can support this, but you can recode to mp3 (maybe resamplig the source to 44.1 KHz).
Anakunda
25th July 2010, 11:45
Hello tebasuna51,
I tried rename to WAV and mkvmerge gives the same error. So it's not about the extension.
Regarding to info from comparison table at http://en.wikipedia.org/wiki/Comparison_of_container_formats MKV can store virtually any audio format, so why mkvmerge does care about what is it. Does it give a chance to override recognized format (2 videos within 1 stream)
Also if only chance how can accept changing sample rate is it possible do this change looslessly? I'm not likely to lose quality as the original is quite poor already..
Please give me some recommendations about tools to use, just no transcoding.
tebasuna51
25th July 2010, 13:45
I tried rename to WAV and mkvmerge gives the same error. So it's not about the extension.
But, the wav file, play ok with MPC, Audacity or Foobar2000?
Does it give a chance to override recognized format (2 videos within 1 stream)
I don't understand this, sorry.
Also if only chance how can accept changing sample rate is it possible do this change looslessly? I'm not likely to lose quality as the original is quite poor already..
Please give me some recommendations about tools to use, just no transcoding.
Don't worry about quality with this level.
Use Audacity or Foobar2000 to upsample to 44100 Hz and encode to mp3
Anakunda
25th July 2010, 15:32
But, the wav file, play ok with MPC, Audacity or Foobar2000?
I don't understand this, sorry.
Don't worry about quality with this level.
Use Audacity or Foobar2000 to upsample to 44100 Hz and encode to mp3
I'm afraid the track is not playable in foobar2000 neiter extracted nor avi-muxed.
So I suppose there must change track type as if imported to mkvmerge in avi container, this is recognized as unsupported (0x0002 ID 1, type: audio) audio and won't mux. If imported as once extracted then recognized as MPEG-4 part 10 ES (ID 0, type: video) and won't mux.
Anakunda
25th July 2010, 15:43
I start to understand the problem, the track once extracted loses all header information so it is handled as untyped. I've tried to open it in cool edit pro, audition and sound forge also and no one loads. Thus the track only seems playable when inside avi..
Any hints to open and convert it?
Midzuki
26th July 2010, 02:58
Already tried ffmpeg?
ffmpeg -i input.avi -vn -acodec pcm_s16le output.wav
tebasuna51
26th July 2010, 03:37
But, have you try extract the track with 'Save WAV' with VirtualDub?
Anakunda
26th July 2010, 07:02
But, have you try extract the track with 'Save WAV' with VirtualDub?
I don't know what you mean Save wav in VirtualDub. What I've done is File->Export->Raw audio
I've managed however to open the avi in Coll Edit and save the audio as Vorbis which muxed successfully,
thanks for you advices
tebasuna51
26th July 2010, 10:52
I don't know what you mean Save wav in VirtualDub. What I've done is File->Export->Raw audio
File -> Save WAV
Overdrive80
27th July 2010, 11:53
File -> Save WAV
But before select Full proccesing mode in Audio options.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.