Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linuxtv-softmpeg] Audio jumps



Hi Michael and others,

As I alluded to in another post, I can get libsoftmpeg compiled and the dfb_ts demo program going, but there seems to be an audio related issue.

Right now I am using rivafb on a MX440 card (with plans to go to a Matrox G450 in a week or two), kernel 2.6.4 with ALSA and Intel/Realtek audio. CPU is Intel P4 @ 2.4GHz and 1GB RAM.

What I am experiencing is playback that occurs in bursts of just under one second. Both video and audio are in sync, but I get about 1 second of playback, followed by about 1 second pause, alternating over and over.

Top shows that the CPU usage is about 40-48%. The file is about 33MB in size and plays fine with mplayer. I can collect more data, just let me know what is needed.

I captured the output of dfb_ts stderr:

---------------------- DirectFB v0.9.21 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2003 convergence GmbH
-----------------------------------------------------------

(*) Multi Application Core. (with MMX support) (2004-03-17 09:54)
(*) DirectFB/misc/memcpy: using MMXEXT optimized memcpy()
(!) DirectFB/FBDev/vt: FBIOGET_CON2FBMAP failed!
--> Invalid argument
(!) DirectFB/FBDev/vt: FBIOPUT_CON2FBMAP failed!
--> Invalid argument
(*) DirectFB/InputDevice: IMPS/2 Mouse (1) 0.9 (convergence integrated media GmbH)
(*) DirectFB/InputDevice: IMPS/2 Mouse (2) 0.9 (convergence integrated media GmbH)
(*) DirectFB/InputDevice: IMPS/2 Mouse (3) 0.9 (convergence integrated media GmbH)
(*) DirectFB/InputDevice: Keyboard 0.9 (convergence integrated media GmbH)
(*) MMX detected and enabled
(*) DirectFB/GraphicsDevice: nVidia RIVA TNT/TNT2/GeForce 0.2 (convergence integrated media GmbH)
warning: no PCR PID given, assuming PCR PID == vpid == 0x0207.
{-} [ 9555: 0.000] SoftMPEG/setting up DirectFB: layer_id:1 window_id:-1
{-} [ 9555: 0.006] SoftMPEG/using layer configuration for video output via DirectFB
(*) DirectFB/Interface: Using 'default' implementation of 'IFusionSound'.
{-} [ 9555: 0.010] SoftMPEG/softmpeg_decoder_set_pids(): vpid:0x 207, apid:0x 2d0, pcrpid:0x 207
{-} [ 9598: 0.016] SoftMPEG/feed_thread started
{-} [ 9598: 0.017] SoftMPEG/changing audio configuration: sample_rate:48000, channels:2
[mpeg2video @ 0x4022f428]ac-tex damaged at 11 18
[mpeg2video @ 0x4022f428]concealing errors
[mpeg2video @ 0x4022f428]Warning MVs not available
[mpeg2video @ 0x4022f428]concealing errors
[mpeg2video @ 0x4022f428]concealing errors
[mpeg2video @ 0x4022f428]ac-tex damaged at 23 13
[mpeg2video @ 0x4022f428]concealing errors
[mpeg2video @ 0x4022f428]Warning MVs not available
{!} [ 9598: 0.084] SoftMPEG - WARNING in audio_manage at audio.c:424: providing audio data too fast, at least delay 733 ms
[mpeg2video @ 0x4022f428]slice mismatch
[mpeg2video @ 0x4022f428]concealing errors
[mpeg2video @ 0x4022f428]Warning MVs not available
[mpeg2video @ 0x4022f428]ac-tex damaged at 0 25
[mpeg2video @ 0x4022f428]concealing errors
[mpeg2video @ 0x4022f428]ac-tex damaged at 16 23
[mpeg2video @ 0x4022f428]concealing errors
[mpeg2video @ 0x4022f428]mb incr damaged
[mpeg2video @ 0x4022f428]concealing errors
[mpeg2video @ 0x4022f428]ac-tex damaged at 19 1
[mpeg2video @ 0x4022f428]ac-tex damaged at 16 28
[mpeg2video @ 0x4022f428]concealing errors
[mpeg2video @ 0x4022f428]ac-tex damaged at 20 19
[mpeg2video @ 0x4022f428]concealing errors
[mpeg2video @ 0x4022f428]ac-tex damaged at 31 31
[mpeg2video @ 0x4022f428]concealing errors
[mpeg2video @ 0x4022f428]ac-tex damaged at 13 33
[mpeg2video @ 0x4022f428]concealing errors
[mpeg2video @ 0x4022f428]ac-tex damaged at 38 13
[mpeg2video @ 0x4022f428]concealing errors
[mpeg2video @ 0x4022f428]ac-tex damaged at 15 8
[mpeg2video @ 0x4022f428]concealing errors
[mpeg2video @ 0x4022f428]ac-tex damaged at 1 30
[mpeg2video @ 0x4022f428]concealing errors
[mpeg2video @ 0x4022f428]ac-tex damaged at 10 11
[mpeg2video @ 0x4022f428]concealing errors
[mpeg2video @ 0x4022f428]mb incr damaged
[mpeg2video @ 0x4022f428]concealing errors
{!} [ 9598: 0.843] SoftMPEG - WARNING in audio_manage at audio.c:424: providing audio data too fast, at least delay 794 ms
(!!!) *** CAUTION [device buffer underrun?] *** core_sound.c (354)
{!} [ 9598: 1.640] SoftMPEG - WARNING in audio_manage at audio.c:424: providing audio data too fast, at least delay 706 ms
[mpeg2video @ 0x4022f428]ac-tex damaged at 3 26
.
.
.

Lots of similar output.


--
"Beauty lies in the hands of the beer holder."




--
Info: To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linuxtv-softmpeg" as subject.



Home | Main Index | Thread Index