Opened 19 years ago

Last modified 18 years ago

#22 assigned

mjpg no sound when using uniaud-plugin, wrong speed when using dart-plugin

Reported by: fbakan@… Owned by: anonymous
Priority: normal Milestone:
Component: UNIAUD-plugin Version:
Severity: normal Keywords:
Cc:

Description

stdout (using UNIAUD-Plugnin) says:

...
sr: 11024
channels: 1
sample rate supported: 8000 to 48000
rate refine err: -22, 11024, 2, 2, 2
pcm open error -10006
Buffer: 0
Output bit per sec: 11024
Error in audio init
Video: fourcc:[MJPG] size:640x480 fps:15.00[[BR]] video fourcc: 47504A4D [MJPG]
...

I only get sound out of the speakers when using DART - plugin
WAVE - plugin also works. Allthough I get sound, the speed is wrong,
Audio is played too slow (both DART and WAVE output)

Using uniaud-plugin no sound at all.

When I selcect 'Resample everything to 48kHz' I get sound,
but it's only intermittent noise.

Attachments (1)

1.11024 (7.1 KB ) - added by fbakan@… 19 years ago.
stdout from playing mjpg with 11024-mono-pcm-audio with T23

Download all attachments as: .zip

Change History (13)

comment:1 by vladest, 19 years ago

Owner: changed from vladest to anonymous
Status: newassigned

what version of uniaud.dll?

comment:2 by fbakan@…, 19 years ago

latest version from uniaud114rc1

comment:3 by vladest, 19 years ago

looks like your audio card doesnt likes 11024 Hz sample rate instead of standard 11025 Hz

comment:4 by fbakan@…, 19 years ago

I don't believe that it's a problem with the audio-card (Crystal-Chip), tried a different computer with C-Media, same problem.

I just found some short clips with 11024Hz sample-rate on the WEB you could try yourself:

http://www-sk.icrr.u-tokyo.ac.jp/~berns/PHOTOS/VideoClips/

(FFPlay latest version compiled by Paul Smedley based on FFMPEG) plays these files fine including audio.

comment:5 by vladest, 19 years ago

Its definitely with audio card I've played it successfully please, gimme full name of your audio card and full stdout uniaud log

comment:6 by fbakan@…, 19 years ago

one card (unimix -card) says:

Detected UNIAUD version 1.14

Detected 1 audio adapter(s)

longname: C-Media PCI CMI8738-MC4 (model 37) at 0xe800, irq 9 mixer: CMedia PCI

please advice how to generate stdout uniaud log

comment:7 by vladest, 19 years ago

wvgui stdout of couse

by fbakan@…, 19 years ago

Attachment: 1.11024 added

stdout from playing mjpg with 11024-mono-pcm-audio with T23

comment:8 by fbakan@…, 19 years ago

attached.

more info: I was wrong, also ffplay does not play the movie correctly, it's a little bit too slow.

If I recompile plugins/uniplug.c for testing and replace SamplingRate in line 194 with 11025, wvgui plays the little avi, but with minor interruptions of the movie and sync-problems.

Note: See TracTickets for help on using tickets.