Movist icon indicating copy to clipboard operation
Movist copied to clipboard

16 bit sample format.

Open algabassi opened this issue 13 years ago • 7 comments

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

algabassi avatar Jul 12 '12 22:07 algabassi

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.

samiamwork avatar Jul 16 '12 19:07 samiamwork

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.

algabassi avatar Jul 16 '12 21:07 algabassi

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

samiamwork avatar Jul 19 '12 14:07 samiamwork

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

samiamwork avatar Jul 23 '12 18:07 samiamwork

of course. I'll send you by email?

algabassi avatar Jul 23 '12 18:07 algabassi

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)

algabassi avatar Jul 23 '12 20:07 algabassi

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

samiamwork avatar Jul 24 '12 05:07 samiamwork