samiamwork / Movist

Movie Player for Mac OS X based on QuickTime & FFmpeg. (Fork of original project on Google Code as it seems to have died)
GNU General Public License v3.0
206 stars 54 forks source link

16 bit sample format. #11

Open algabassi opened 12 years ago

algabassi commented 12 years ago

Hi,

I need to use this project to play files with others audio streams over 16 bit sample format. What is necessary to conform it?

Thanks. algabassi

samiamwork commented 12 years ago

Are you asking what is needed to fix Movist to play audio streams with a sample format of greater than 16 bits per sample? Or are you asking what you need to do to the audio so that Movist can play it?

I have noticed issues with audio lately. Audio with more than two channels of audio also appears to have serious issues. Movist's audio handling definitely needs some looking into.

algabassi commented 12 years ago

Your first deduction is right. I need to fix Movist to play audio greater than 16 bits per sample. I'm trying to change vars from 16 bits to 32 bits, in initAudioUnit: and nextAudio: methods without success. I'm beginner in audio issues.

samiamwork commented 12 years ago

Ok. I'll take a look at this when I look at the multi-channel stuff.

samiamwork commented 12 years ago

Any chance you could provide me with a small sample clip with that illustrates the problem?

algabassi commented 12 years ago

of course. I'll send you by email?

algabassi commented 12 years ago

The TRACE log from the tracks of clip:

2012-07-23 17:00:05.502 Movist[12530:903] void traceAVFormatContext(AVFormatContext *) 2012-07-23 17:00:05.502 Movist[12530:903] - format: mov,mp4,m4a,3gp,3g2,mj2 2012-07-23 17:00:05.502 Movist[12530:903] - duration: 00:00:10.6 2012-07-23 17:00:05.502 Movist[12530:903] - start: 0.000000 2012-07-23 17:00:05.502 Movist[12530:903] - bit-rate: 59587 kb/s 2012-07-23 17:00:05.502 Movist[12530:903] - stream #0(eng): tag[0]: Video: mpeg2video (xd5b / 0x62356478), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 50000 kb/s, 29.97 fps(r) 2012-07-23 17:00:05.502 Movist[12530:903] - stream #1(eng): tag[0]: Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels, s32, 1152 kb/s 2012-07-23 17:00:05.502 Movist[12530:903] - stream #2(eng): tag[0]: Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels, s32, 1152 kb/s 2012-07-23 17:00:05.503 Movist[12530:903] - stream #3(eng): tag[0]: Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels, s32, 1152 kb/s 2012-07-23 17:00:05.503 Movist[12530:903] - stream #4(eng): tag[0]: Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels, s32, 1152 kb/s 2012-07-23 17:00:05.503 Movist[12530:903] - stream #5(eng): tag[0]: Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels, s32, 1152 kb/s 2012-07-23 17:00:05.503 Movist[12530:903] - stream #6(eng): tag[0]: Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels, s32, 1152 kb/s 2012-07-23 17:00:05.503 Movist[12530:903] - stream #7(eng): tag[0]: Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels, s32, 1152 kb/s 2012-07-23 17:00:05.503 Movist[12530:903] - stream #8(eng): tag[0]: Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels, s32, 1152 kb/s 2012-07-23 17:00:05.503 Movist[12530:903] - stream #9(eng): tag[0]: Data: none (tmcd / 0x64636D74)

samiamwork commented 12 years ago

Yeah email would be fine. It's just my username at gmail.