Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Issue With Audio Pcm
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
rmanal
Posted: Mar 29 2014, 05:47 PM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



Hello,

I have a MMP4 file coming from my camera, that I have transformed into a DIVX + PCM into an AVI container.
But in fact it is not PCM that I get with something like an extended wav format... and so of course it is not readable by my video authoring software.
And I cannot retransform it with VD, I get that it is not an 8 or 16 bits PCM format.

Can anyone help me getting a true PCM format?
Here the file: http://9giga.sfr.fr/n/50-17/share/LNK36045...4533706630c7d7/

Thank you
Rmanal
 
     Top
dloneranger
Posted: Mar 29 2014, 06:07 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



It's 32bit audio
The ffmpeg input plugin can convert it to normal 16bit pcm for you

in the open video dialog
select the file you want
tick the 'ask for extended options after this dialog'
change 'files of type' to 'ffmpeg supported files'
click ok

in the ffmpeg options that appear there are two audio ones to check
downmix audio (multichanell is converted to stereo)
limit audio to 16 bit
then you can click ok, and the video will load

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
rmanal
Posted: Mar 30 2014, 10:17 AM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



Thank you,

it is a pity VD is not able to manage multi channel 32bit ;-)

More seriously I'm quite block regarding my other post with FFMPEG. effectively if I open the MP4 file with FFMPEG, I will get the audio, but can not be used with deshaker.
If I use directshow plugin, I do not get the correct audio.

Arghhh, how to do?

Another point: I have open the avi file I got after "deshaking" my initial MP4. I can open the avi file with FFMPEG, to downmix the audio, but VD does not allow me to use direct stream for the video: "The source audio stream uses a compression algorithm which is not compatible with AVI files. ...": which is very strange as it is an AVI file?
 
     Top
rmanal
Posted: Mar 30 2014, 11:52 AM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



Finally I have solved my issue: again a problem with FFMPEG (sorry to say that).
Effectively if I do a directstreamcopy on the audio part of my MP4 file, it transform the MP4 audio flux into an extended WAV format, not taken into account by VD.

I have used directshowfilter as input, and no problem.
 
     Top
dloneranger
Posted: Mar 30 2014, 01:07 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



QUOTE
Another point: I have open the avi file I got after "deshaking" my initial MP4. I can open the avi file with FFMPEG, to downmix the audio, but VD does not allow me to use direct stream for the video: "The source audio stream uses a compression algorithm which is not compatible with AVI files. ...": which is very strange as it is an AVI file?

FFMpeg and DirecshowPlugins don't do direct stream access, they fully decode the video/audio and then give it to Virtualdub


QUOTE
Effectively if I do a directstreamcopy on the audio part of my MP4 file, it transform the MP4 audio flux into an extended WAV format, not taken into account by VD.

I have no idea what you mean by this

QUOTE
if I open the MP4 file with FFMPEG, I will get the audio, but can not be used with deshaker.

Your own file works fine here
Your own log shows that Divx is crashing, FFMPeg isn't even in the call stack


--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
rmanal
Posted: Mar 31 2014, 06:51 PM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



Thank you for your support dloneranger, you do really a great job and I love so much VD.

For the second point, I do the following:
- open the MP4 file with FFMPEG (without any option)
- Video compression into DIVX
- Audio: direct stream copy
- Then create an AVI file

In this case the audio part of avi file is not PCM but extended WAV format (32 bits).

 
     Top
dloneranger
Posted: Mar 31 2014, 07:21 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



Avi's have to wrap the raw audio into a container, and for >16bit, then it's got to go into WAVE_FORMAT_EXTENSIBLE
There's an msdn page on it here, but basically >2 channels and >16bit causes too many problems otherwise
http://msdn.microsoft.com/en-us/library/wi...e/gg463006.aspx
(basically your pcm data is there but in a wrapper, kind of like a .zip file but without compression)

Maybe we're going about this the wrong way, could you say what the problem you're trying to solve is, as the normal behaviour hasn't come up as an issue before
Possibly the problem's like somebody trying to find a two metre long drill bit, when what they really needed was an extension for the power cable?

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
rmanal
Posted: Apr 2 2014, 05:44 PM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



Hi,

in fact I have no more issue as it is working with directshowinput.
I was just mentionning that FFMPEG has a strange behaviour with AAC codec in entry, transforming it into 32bits pcm, instead VD is not able to manage it.

Thank you for your support
Rmanal
 
     Top
dloneranger
Posted: Apr 2 2014, 06:12 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



Because you unticked the convert to 16 bit option and the downconvert to stereo option?
Directshow plugin always converts to 16bit stereo



--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
rmanal
Posted: Apr 4 2014, 11:01 PM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



Yes, you are true. But in fact the point is why FFMPEG does not downmix to 16 bit instead 32 bit is not usable by VD?
What is the added value? Because for a neebie like me it is very confusing the first time.
 
     Top
dloneranger
Posted: Apr 4 2014, 11:25 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



If you want normal 16bit stereo then just leave the two boxes ticked
Other users may want to untick them for directstream copy, external encoders etc


--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
rmanal
Posted: Apr 5 2014, 08:51 AM


Advanced Member


Group: Members
Posts: 153
Member No.: 11636
Joined: 28-August 04



Understood now
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
11 replies since Mar 29 2014, 05:47 PM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports