Mailing List archive

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

[linuxtv-softmpeg] problems with libsoftmpeg



Hello,

Sorry to hear the development of libsoftmpeg is slowing down, it's such
an interesting project. I'm trying to get it to work but I'm having some
difficulties, hope some of you guys could help me out a little bit. 

I'm using directfb, fusionsound and libsoftmpeg from yesterday. My gfx
card is a Matrox G400. When I try to use the dfb_ts demoprogram I get a
very jerky picture for some reason, don't know why. 

One strange thing is, that the dfb_ts program says that my framebuffer
refresh rate is 52Hz, when it infact is 50 according to fbset program, I
don't know if this could be related.

bash:# fbset

mode "720x576-50"
    # D: 30.274 MHz, H: 37.701 kHz, V: 50.001 Hz
    geometry 720 576 736 576 32
    timings 33032 30 5 110 55 48 13
    vsync high
    bcast true
    accel true
    rgba 8/16,8/8,8/0,8/24
endmode

Here's what I get on the console when trying to use dfb_ts, i'd be very
greatful for any help I could get

juhis



bash:# czap -r "TV2"
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
  2 TV2:283000000:INVERSION_AUTO:5900000:FEC_NONE:QAM_128:513:660:33
  2 TV2: f 283000000, s 5900000, i 2, fec 0, qam 4, v 0x201, a 0x294
status 00 | signal 9898 | snr c7c7 | ber 00000000 | unc ffffffff | 
status 00 | signal a0a0 | snr c4c4 | ber 00000000 | unc ffffffff | 
status 1f | signal f3f3 | snr efef | ber 00000000 | unc ffffffff |
FE_HAS_LOCK
status 1f | signal ffff | snr f0f0 | ber 00000000 | unc 00000000 |
FE_HAS_LOCK
...
...

bash:# ./demo/dfb_ts /dev/dvb/adapter0/dvr0 0x201 0x294
(*) DirectFB/Config: parsing config file '/etc/directfbrc'.

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

(*) DirectFB/Core: Multi Application Core. (with MMX support)
(2004-04-20 18:27)
(*) Direct/Memcpy: using MMXEXT optimized memcpy()
(!) DirectFB/FBDev/vt: FBIOGET_CON2FBMAP failed!
    --> Inappropriate ioctl for device
(!) DirectFB/FBDev/vt: FBIOPUT_CON2FBMAP failed!
    --> Inappropriate ioctl for device
(*) DirectFB/Input: IMPS/2 Mouse (1) 0.9 (convergence integrated media
GmbH)
(*) DirectFB/Input: IMPS/2 Mouse (2) 0.9 (convergence integrated media
GmbH)
(*) DirectFB/Input: LIRC Device 0.2 (convergence integrated media GmbH)
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: Matrox G400 0.7 (convergence integrated media
GmbH)

Layer 0:
  - Has a surface.
  - Brightness can be adjusted.
  - Contrast can be adjusted.
  - Saturation can be adjusted.


Layer 1:
  - Has a surface.
  - Supports destination color keying.
  - Can deinterlace interlaced video for progressive display.  
  - Can be positioned on the screen.
  - Brightness can be adjusted.
  - Contrast can be adjusted.

warning: no PCR PID given, assuming PCR PID == vpid == 0x0201.
{-} [25592:   0.000] SoftMPEG/init/setting up DirectFB: layer_id:1
window_id:-1
{-} [25592:   0.025] SoftMPEG/init/using layer configuration for video
output via DirectFB
{!} [25592:   0.028] SoftMPEG - ERROR in video_decoder_create at
video.c:111:  **********************************************************
{!} [25592:   0.031] SoftMPEG - ERROR in video_decoder_create at
video.c:112:  * your vertical refresh rate is  52 Hz, while 50 Hz is   *
{!} [25592:   0.035] SoftMPEG - ERROR in video_decoder_create at
video.c:113:  * the natural refresh rate of the video material. have a *
{!} [25592:   0.042] SoftMPEG - ERROR in video_decoder_create at
video.c:114:  * look at the docs to learn to set a correct fb mode.    *
{!} [25592:   0.045] SoftMPEG - ERROR in video_decoder_create at
video.c:115:  * libsoftmpeg does it's best to assure a/v sync anyway   *
{!} [25592:   0.048] SoftMPEG - ERROR in video_decoder_create at
video.c:116:  * but don't complain about jerky video now! ;-)          *
{!} [25592:   0.051] SoftMPEG - ERROR in video_decoder_create at
video.c:117:  **********************************************************
(*) DirectFB/Interface: Using 'default' implementation of
'IFusionSound'.
{-} [25592:   5.055]
SoftMPEG/softmpeg_decoder_set_pids/softmpeg_decoder_set_pids(): vpid:0x
201, apid:0x 294, pcrpid:0x 201
{-} [25592:   5.069] SoftMPEG/feed_thread/feed_thread started
{-} [25592:   5.256] SoftMPEG/reconfigure/changing audio configuration:
buffer_size:64000, sample_rate:48000, channels:2
 (!!!)  *** WARNING [device buffer underrun?] *** [core_sound.c:371 in
sound_thread()]
 (!!!)  *** WARNING [device buffer underrun?] *** [core_sound.c:371 in
sound_thread()]
 (!!!)  *** WARNING [device buffer underrun?] *** [core_sound.c:371 in
sound_thread()]
{!} [25592:   6.493] SoftMPEG - WARNING in audio_playout at
audio.c:251:  falling below low mark (2140/3333)
{!} [25592:   6.682] SoftMPEG - WARNING in audio_playout at
audio.c:251:  falling below low mark (2480/3333)
{!} [25592:   6.870] SoftMPEG - WARNING in audio_playout at
audio.c:251:  falling below low mark (2820/3333)
{!} [25592:   7.151] SoftMPEG - WARNING in audio_playout at
audio.c:251:  falling below low mark (2020/3333)
{!} [25592:   7.339] SoftMPEG - WARNING in audio_playout at
audio.c:251:  falling below low mark (2360/3333)
{!} [25592:   7.528] SoftMPEG - WARNING in audio_playout at
audio.c:251:  falling below low mark (2380/3333)
{-} [25592:   7.591] SoftMPEG/resize/changing layer configuration,
w:720, h:576
 (!!!)  *** WARNING [device buffer underrun?] *** [core_sound.c:371 in
sound_thread()]
 (!!!)  *** WARNING [device buffer underrun?] *** [core_sound.c:371 in
sound_thread()]
{!} [25592:   7.716] SoftMPEG - ERROR in audio_playout at audio.c:243: 
stream playback unexpectedly ended! [9216/64000]
 (!!!)  *** WARNING [device buffer underrun?] *** [core_sound.c:371 in
sound_thread()]
 (!!!)  *** WARNING [device buffer underrun?] *** [core_sound.c:371 in
sound_thread()]
{!} [25592:   8.002] SoftMPEG - ERROR in audio_playout at audio.c:243: 
stream playback unexpectedly ended! [10368/64000]
...
...
...




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



Home | Main Index | Thread Index