1.2.2 Version - Stereo issues

The Perian forums have moved to Google Groups, this forum is read only.
iStian
Harmless
Posts: 4
Joined: Sat Apr 16, 2011 8:55 am

1.2.2 Version - Stereo issues

Postby iStian » Sat Apr 16, 2011 9:25 am

Hi,

I have used Handbrake to convert my whole DVD collection to .m4v and after this new update all of my converted files works with AC3 Passthrough!
A big thanks to the devolopers for fixing this issue!

However, some of my DVD's does not have Surround (cartoons, old movies etc.). They have been converted with a stereo track only. After installing the new version there is a clicking sound when playing these movies.

Is this a trade-off for getting AC3 Passthrough? or am I doing something wrong?

When playing AC3 Passthrough I enter the following code in the terminal window:

"defaults write com.cod3r.a52codec attemptPassthrough 1"

When I want to watch the "stereo" movies i enter the following in the terminal window:

"defaults delete com.cod3r.a52codec attemptPassthrough"

I have checked the audio settings and they are set at 48 channel 2-16 bits.
I have tried altering the settings in perian, from Dolby Pro Logic to stereo but this didn't work either.

Answers are appreciated :)

gbooker
Cocoaforge Admin
Posts: 723
Joined: Sat May 06, 2006 2:47 am
Contact:

Re: 1.2.2 Version - Stereo issues

Postby gbooker » Sat Apr 16, 2011 1:28 pm

So the issue is only with tracks that are in stereo? What codec is use for these tracks (get info on the movie file)?

iStian
Harmless
Posts: 4
Joined: Sat Apr 16, 2011 8:55 am

Re: 1.2.2 Version - Stereo issues

Postby iStian » Sat Apr 16, 2011 3:45 pm

gbooker:

The codec used for the movie file is .m4v and the codec for the movie is H.264.
For the sound AC3 format has been used. If I remember correctly I used "AC3 Passthrough" in Handbrake.
When choosing the track the only track to choose from was a 2 Ch track so I know these are not a 5.1 Ch (vintage animations like Snow White, Alice in Wonderland and so on, no Surround).
However when using the Inspector in Quicktime it states AC3, 5.1 (L C R Ls Rs LFE), 48.000 KHz... which I find a little strange since these are not 5.1...
Never the less, before installing the new version these played perfectly and there where no noise or clicking sound in the background. It almost sounds like an old record player with some static and small clicking sounds.

I have tested others movie files in .mov format. They have AAC format for sound and those works fine, no clicking noise or other static as far as I can tell.

After further investigation and testing I have experienced the following (testing the same filen):
iTunes as a mediaplayer
- the static is constant and always there
Quicktime:
- sometimes there is no sound at all
- after shutting down the program and restarting it the sound returns.
- If sound the sound is perfect, no static or noise

It seems like it might be an iTunes Issue? I have 1 Mac Mini (2011) and 1 MacBook Pro (2010) and they both come up with the same result.
I have also tested on my girlfriends MacBook Pro, with the old version 1.2.1 and here they play perfectly both in iTunes and Quicktime

Let me know if there is any other information you would like, or if you would want me to do some further testing.

gbooker
Cocoaforge Admin
Posts: 723
Joined: Sat May 06, 2006 2:47 am
Contact:

Re: 1.2.2 Version - Stereo issues

Postby gbooker » Sat Apr 16, 2011 7:38 pm

This is the result of trying to work around for Apple's refusal to fix one of their bugs, or even acknowledge that it even exists in the first place. It's idiocy like this on Apple's part which makes me want to never develop open source software again.

Corrected:
http://trac.cod3r.com/a52codec/changeset/86

iStian
Harmless
Posts: 4
Joined: Sat Apr 16, 2011 8:55 am

Re: 1.2.2 Version - Stereo issues

Postby iStian » Sat Apr 16, 2011 8:28 pm

gbooker:

I can understand your frustration and where it is coming from.
But hopefully the thought of all the users you are helping by doing this makes it still worth while!

I know some people might not agree with me on this, but I would definitivly buy Perian if it was priced right to support you for making this fix. Despite that fact that this should not have been an error in the first place!
Many of my friends and collegues are new to Mac, and all of them are strugeling to find a program that will help them to play the different codecs, and thanks to you all of them are now happy "campers", including my self!

Since I am new to Mac (1 1/2 year neebie), I might be asking a stupid question, the link below does that fix my issue? In that case, how do I implement it?

Thanks for all your help!

gbooker
Cocoaforge Admin
Posts: 723
Joined: Sat May 06, 2006 2:47 am
Contact:

Re: 1.2.2 Version - Stereo issues

Postby gbooker » Sat Apr 16, 2011 9:33 pm

iStian wrote:Since I am new to Mac (1 1/2 year neebie), I might be asking a stupid question, the link below does that fix my issue? In that case, how do I implement it?

It's the change to the code; I provided it for reference. It'll be fixed in the next release.

iStian
Harmless
Posts: 4
Joined: Sat Apr 16, 2011 8:55 am

Re: 1.2.2 Version - Stereo issues

Postby iStian » Sat Apr 16, 2011 9:50 pm

Thanks gbooker :)

Have a nice weekend!

ducriderx
Harmless
Posts: 1
Joined: Mon Apr 18, 2011 4:14 am

Re: 1.2.2 Version - Stereo issues

Postby ducriderx » Mon Apr 18, 2011 4:30 am

I found Perian a while ago and it was an amazing "fix" for Apples short comings. I just want to make sure I'm reading this correctly, we need a update from 1.2.2 to fix an issue with AC3? Everything was working and then I updated my Perian. I can get Stereo downmix, DTS just wont register any longer in iTunes and 1/2 the time it crashes when I switch between audio tracks. I have verified my files still play AC3/DTS through VLC. Thanks again for everything!

141077
Harmless
Posts: 2
Joined: Sat Apr 16, 2011 1:19 pm

Re: 1.2.2 Version - Stereo issues

Postby 141077 » Mon Apr 18, 2011 6:29 pm

gbooker could you tell us when we should expect the next realease? It's very sad, I'm not able to play any movies with ac3 with QuickTime oder iTunes.

gbooker
Cocoaforge Admin
Posts: 723
Joined: Sat May 06, 2006 2:47 am
Contact:

Re: 1.2.2 Version - Stereo issues

Postby gbooker » Mon Apr 18, 2011 10:03 pm

When it's ready. We never have given any other answer, and we never will.

chucky23
Harmless
Posts: 12
Joined: Wed Apr 08, 2009 8:01 pm

Re: 1.2.2 Version - Stereo issues

Postby chucky23 » Tue Apr 19, 2011 2:33 pm

ducriderx wrote:I just want to make sure I'm reading this correctly, we need a update from 1.2.2 to fix an issue with AC3? Everything was working and then I updated my Perian.

Well, if you are experiencing the problem following the update, and it is bothersome to you, then you don't need another update. A downgrade to v1.2.1 would be your answer until Team Perian gets around to dealing with it.

(And FWIW, I generally don't find iTunes to be a reliable QT playback system with Perian, much as Front Row is not a reliable QT playback system with Perian. Where the Perian playback magic works best is QuickTime Player, or even better yet, QuickTime Player 7...)

slee
Harmless
Posts: 4
Joined: Fri Dec 07, 2007 6:55 pm

Re: 1.2.2 Version - Stereo issues

Postby slee » Tue May 10, 2011 12:38 am

i too am having ac3 passthrough issues so i thought i'd grab the code from http://trac.cod3r.com/a52codec/ and build a new component (easy with xcode) with the fix. still getting the noise on the ac3 tracks (in itunes/qt, vlc/boxee/plex are fine) so i was wondering if i needed something else here. will it not work without an update to the prefpane as well?

gbooker
Cocoaforge Admin
Posts: 723
Joined: Sat May 06, 2006 2:47 am
Contact:

Re: 1.2.2 Version - Stereo issues

Postby gbooker » Tue May 10, 2011 2:48 am

The code in SVN worked with every file I tried. You did remember to restart to actually install the built component and restart the application, didn't you? In addition, if the file was a .mov file, you did re-correct the channel layout, right? If so, then could you provide a sample of the file in which to conduct testing?

slee
Harmless
Posts: 4
Joined: Fri Dec 07, 2007 6:55 pm

Re: 1.2.2 Version - Stereo issues

Postby slee » Tue May 10, 2011 6:04 pm

Yea, here's the order in what i did.

1 Removed Perian & AC3 components.
2 Restarted
3 Installed Perian 1.2.2
4 Replaced /Library/Audio/Plug-Ins/Components/A52Codec.component with the one i built in xcode
5 Replaced /Library/Quicktime/AC3MovieImport.component with the one i built in xcode
6 Restarted
7 Opened a m4v with 2 AC3 tracks (a stereo and a 5.1) and 1 AAC track (stereo) in Quicktime X, both AC3 tracks are just noise, AAC plays fine.
8 Opened the same file in VLC, all audio tracks play fine.

I noticed that the Audio Channel positions was off on the 5.1 track, but my laptop would not let me install QT7 (complained about 10 being installed) so i couldn't reorder. This shouldn't matter on the stereo AC3 track tho, it should still play, right?

Here's the MediaInfo data for the file, i encoded only 1 chapter in Handbrake for testing but it's still big. I'll try to upload the file shortly

General / Container Stream #1
Total Video Streams for this File.................1
Total Audio Streams for this File.................3
Video Codecs Used.................................AVC
Audio Codecs Used.................................AC3 / AAC LC / AC3
File Format.......................................MPEG-4
Play Time.........................................5mn 27s
Total File Size...................................53.9 MiB
Total Stream BitRate..............................1 381 Kbps
Encoded with......................................HandBrake 0.9.5 2011010300
Video Stream #1
Codec (Human Name)................................AVC
Codec (FourCC)....................................avc1
Codec Profile.....................................High@L3.0
Frame Width.......................................720 pixels
Frame Height......................................464 pixels
Frame Rate........................................23.976 fps
Total Frames......................................7852
Display Aspect Ratio..............................16:9
Scan Type.........................................Progressive
Color Space.......................................YUV
Codec Settings (Summary)..........................CABAC / 4 Ref Frames
QF (like Gordian Knot)............................0.071
Codec Settings (CABAC)............................Yes
Codec Settings (Reference Frames).................4
Video Stream Length...............................5mn 27s 494ms
Video Stream BitRate..............................570 Kbps
Video Stream BitRate Mode.........................VBR
Bit Depth.........................................8 bits
Video Stream Size.................................22.2 MiB (41%)
Video Encoder.....................................x264 - core 112
Video Encoder (Settings)..........................cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=19.5 / qcomp=0.60 / qpmin=3 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Date of Original Encoding.........................UTC 2011-05-10 17:35:56
Color Primaries...................................BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Transfer Characteristics..........................BT.709-5, BT.1361
Matrix Coefficients...............................BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Audio Stream #1
Codec.............................................AC-3
Codec (FourCC)....................................ac-3
Audio Stream Length...............................5mn 27s 360ms
Audio Stream BitRate..............................448 Kbps
Audio Stream BitRate Mode.........................CBR
Number of Audio Channels..........................6
Audio Channel's Positions.........................Front: L C R, Side: L R, LFE
Sampling Rate.....................................48.0 KHz
Bit Depth.........................................16 bits
Audio Stream Size.................................17.5 MiB (32%)
Audio Stream Language.............................Japanese
Date of Original Encoding.........................UTC 2011-05-10 17:35:56
Audio Stream #2
Codec.............................................AAC
Codec (FourCC)....................................40
Audio Stream Length...............................5mn 27s 338ms
Audio Stream BitRate..............................165 Kbps
Audio Stream BitRate Mode.........................VBR
Number of Audio Channels..........................2
Audio Channel's Positions.........................Front: L R
Sampling Rate.....................................48.0 KHz
Audio Stream Size.................................6.43 MiB (12%)
Audio Stream Language.............................Japanese
Date of Original Encoding.........................UTC 2011-05-10 17:35:56
Audio Stream #3
Codec.............................................AC-3
Codec (FourCC)....................................ac-3
Audio Stream Length...............................5mn 27s 392ms
Audio Stream BitRate..............................192 Kbps
Audio Stream BitRate Mode.........................CBR
Number of Audio Channels..........................2
Audio Channel's Positions.........................Front: L R
Sampling Rate.....................................48.0 KHz
Bit Depth.........................................16 bits
Audio Stream Size.................................7.49 MiB (14%)
Audio Stream Language.............................English
Date of Original Encoding.........................UTC 2011-05-10 17:35:56

slee
Harmless
Posts: 4
Joined: Fri Dec 07, 2007 6:55 pm

Re: 1.2.2 Version - Stereo issues

Postby slee » Tue May 10, 2011 6:14 pm

Some other notes...

I built the components from SVN revision 86 with Xcode 3.2.3. I did not change anything, just opened the project and hit build. Got no errors or warnings.

Also tried a 1080p MKV with a 5.1 DTS track. The audio in this file played with no problems in QT X


Return to “Perian”

Who is online

Users browsing this forum: No registered users