Build 5002 sometimes gives 4-channel audio for stereo[FIXED]

Bug report and feature request
meRobs
Expert
Expert
Posts: 3116
Joined: Tue Jun 23, 2009 2:45 pm
Location: Sydney, Australia

Build 5002 sometimes gives 4-channel audio for stereo[FIXED]

Post by meRobs » Sat Jan 29, 2011 4:05 pm

When using the settings for MKV in the Encoding Guide (viewtopic.php?f=17&t=9643), ie, Xvid video with LC-AAC audio (stereo) the output file has 4-channel audio!

4-channel audio also happens when converting the same VOB file to MPEG2 (settings in the Encoding Guide) but with "Copy Video" set.
The output audio is 4-channel AC3 yet set for conversion to stereo AC3.
With video encoded instead, and all else the same, the audio is correctly encoded (stereo AC3).
Have you checked out the Tips & Guides for MediaCoder? Try: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Also, get older builds at: http://www.videohelp.com/tools/MediaCoder/old-versions#download

User avatar
rhycos
Modest
Modest
Posts: 211
Joined: Wed May 07, 2008 4:41 am

Re: Build 5002 sometimes gives 4-channel audio for stereo

Post by rhycos » Sat Jan 29, 2011 11:37 pm

Hi,
it does gives 4 channel audio sometimes when using nero encoder

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Re: Build 5002 sometimes gives 4-channel audio for stereo

Post by stanley » Sun Jan 30, 2011 7:07 pm

What's the exact settings on audio tab?
The old preset might be a bit incompatible with the new version.
When things work together, things work.

meRobs
Expert
Expert
Posts: 3116
Joined: Tue Jun 23, 2009 2:45 pm
Location: Sydney, Australia

Re: Build 5002 sometimes gives 4-channel audio for stereo

Post by meRobs » Sun Jan 30, 2011 10:42 pm

I use the preset for 4799 and check that the settings are the same as those in the Encoding Guide, as I mentioned above.
For MKV, the audio settings are Encoder = Nero, Format = LC-AAC at 128 kbps, Source = Auto and Resample = 44.1.
For the MPEG2, the audio Encoder = FFmpeg, Format = AC3 at 128 kbps, Source = Auto and Resample = 48.

The MKV gives 4-channel output.
And the MPEG2 also gives 4-channel (AC3) but only when Copy Video is checked.
Have you checked out the Tips & Guides for MediaCoder? Try: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Also, get older builds at: http://www.videohelp.com/tools/MediaCoder/old-versions#download

meRobs
Expert
Expert
Posts: 3116
Joined: Tue Jun 23, 2009 2:45 pm
Location: Sydney, Australia

Re: Build 5002 sometimes gives 4-channel audio for stereo

Post by meRobs » Sun Jan 30, 2011 10:43 pm

I used the preset for 4799 and checked that the settings are the same as those in the Encoding Guide, as I mentioned above.
For MKV, the audio settings are Encoder = Nero, Format = LC-AAC at 128 kbps, Source = Auto and Resample = 44.1.
For the MPEG2, the audio Encoder = FFmpeg, Format = AC3 at 128 kbps, Source = Auto and Resample = 48.

The MKV gives 4-channel output.
And the MPEG2 also gives 4-channel (AC3) but only when Copy Video is checked.
Have you checked out the Tips & Guides for MediaCoder? Try: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Also, get older builds at: http://www.videohelp.com/tools/MediaCoder/old-versions#download

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Re: Build 5002 sometimes gives 4-channel audio for stereo

Post by stanley » Mon Jan 31, 2011 3:57 am

I cannot reproduce this problem on my end.
Please paste the media info of output file.
When things work together, things work.

meRobs
Expert
Expert
Posts: 3116
Joined: Tue Jun 23, 2009 2:45 pm
Location: Sydney, Australia

Re: Build 5002 sometimes gives 4-channel audio for stereo

Post by meRobs » Mon Jan 31, 2011 9:00 am

The source was a VOB file with Audio as:
Audio
ID : 128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Duration : 1mn 40s
Bit rate mode : Constant
Bit rate : 224 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 2.67 MiB (4%)

Below is the info from MediaInfo for the MKV output. I used the settings in the Encoding Guide (Nero LC-AAC at 128 kbps and Stereo on Sound Tab).

Complete name : E:\MediaCoder tests\MKV\academy 3000frames.mkv
Format : Matroska
File size : 25.5 MiB
Duration : 1mn 40s
Overall bit rate : 2 138 Kbps
Writing application : Lavf52.81.0
Writing library : Lavf52.81.0

Video
ID : 1
Format : MPEG-4 Visual
Codec ID : V_MPEG4/ISO/ASP
Codec ID/Info : Advanced Simple Profile
Duration : 1mn 40s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 fps
Standard : NTSC
Language : English

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : A_AAC
Duration : 1mn 40s
Channel(s) : 4 channels
Channel positions : Front: L C R, Side: C
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Language : English

And the output for MPEG2 conversion, using settings in Encoding Guide (stereo AC3) with Copy Video set :
Audio
ID : 128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Duration : 1mn 40s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 4 channels
Channel positions : Front: L R, Side: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 1.53 MiB (2%)
Have you checked out the Tips & Guides for MediaCoder? Try: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Also, get older builds at: http://www.videohelp.com/tools/MediaCoder/old-versions#download

meRobs
Expert
Expert
Posts: 3116
Joined: Tue Jun 23, 2009 2:45 pm
Location: Sydney, Australia

Re: Build 5002 sometimes gives 4-channel audio for stereo

Post by meRobs » Mon Jan 31, 2011 1:19 pm

NOTE: to create the MKV file I had to set Bypass as Video Source!
Use of MEncoder as source gave 0 kB output and FFmpeg caused Pre=processing to hang up!

Also, Stop > Finish Current Job took too long (froze for a minute or so) and had to close the GUI down!
please fix!
Have you checked out the Tips & Guides for MediaCoder? Try: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Also, get older builds at: http://www.videohelp.com/tools/MediaCoder/old-versions#download

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Re: Build 5002 sometimes gives 4-channel audio for stereo

Post by stanley » Mon Jan 31, 2011 5:32 pm

If you can encode to one format with one video source, there is no reason you can't encode to another format with it. I think forcing video source to bypass by be the fact that causes the problem. On my end however, all video sources work with VOB files.
When things work together, things work.

meRobs
Expert
Expert
Posts: 3116
Joined: Tue Jun 23, 2009 2:45 pm
Location: Sydney, Australia

Re: Build 5002 sometimes gives 4-channel audio for stereo

Post by meRobs » Mon Jan 31, 2011 6:25 pm

Yes that seems reasonable.
Indeed, if you look at the Encoding Guide (viewtopic.php?f=17&t=9643), you will see that 5 of the 7 conversions suggest MEncoder as video source and only 2 NEED Bypass.
The two are for the Xvid format.
For Xvid, I have had to use Bypass since build 4760. Use of MEncoder fails.
So, I agree: I need Bypass to get Xvid for MKV and I also need it for Xvid in AVI.

It sounds as if you didn't try these two conversions.
That's a pity because if you can't confirm the bug you can't fix it and I shall have to continue advising people to use these settings in the Encoding Guide.
Thus, if the Encoding Guide is incorrect, it will remain so!

Moreover, the 4-channel outcome also occurs for MPEG2 conversions, but, only when Copy Video is checked.
This conversion does not use Bypass. So, it cannot be blamed for the problem.
So, once again, maybe you hadn't tried to duplicate this conversion.

Please look at the Encoding Guide. If you don't, no advance can be made.
Have you checked out the Tips & Guides for MediaCoder? Try: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Also, get older builds at: http://www.videohelp.com/tools/MediaCoder/old-versions#download

Post Reply