Autor Thema: Laggy Playback on Ubuntu  (Gelesen 17155 mal)

pilzus

  • Newbie
  • *
  • Beiträge: 6
    • Profil anzeigen
Laggy Playback on Ubuntu
« am: Oktober 12, 2009, 05:39:04 Nachmittag »
Hi there,

after trying DVB-T on win7 without any success. I have now also problems under linux (latest ubuntu).
Analogue works fine using tv-time, but playback for DVB-T does not work.
I can detect all channels, no problem here, but the playback does not work.
I tried now several applications, the only app which works is me-tv until I try to change the channel.
Kaffeine and mplayer no go, argh this is becoming frustrating!!
PLEASE HELP!
Here the output of the mplayer.

mplayer dvb://
MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     E8500  @ 3.16GHz (Family: 6, Model: 23, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not open config files /home/fpi/.lircrc and /etc/lirc//lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.

Playing dvb://.
dvb_tune Freq: 682000000
TS file format detected.
VIDEO MPEG2(pid=520) AUDIO MPA(pid=674) NO SUBS (yet)!  PROGRAM N. 0
VIDEO:  MPEG2  544x576  (aspect 2)  25.000 fps  15000.0 kbps (1875.0 kbyte/s)
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 544 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
AO: [pulse] Failed to connect to server: Connection refused
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 544 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 544x576 => 768x576 Planar YV12
A:93019.0 V:93018.0 A-V:  1.005 ct: -0.236  64/ 64  4%  0% 341.0% 50 0

           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.


 

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:Laggy Playback on Ubuntu
« Antwort #1 am: Oktober 12, 2009, 05:42:00 Nachmittag »
Try to use kaffeine (it's much easier and very comfortable to use, also see the documentation in the "Software" board), for mplayer you should add the parameter "-cache 10240" this "Laggy" bug comes from mplayer.

http://support.sundtek.de/index.php/board,10.0.html

What is the output of kaffeine? What version?
Maybe the Codecs are missing?

With kaffeine please also check the Signalstrength of your channels (you might adjust your antenna)
« Letzte Änderung: Oktober 12, 2009, 05:47:59 Nachmittag von Sundtek »
Failure is a good thing! I'll fix it

pilzus

  • Newbie
  • *
  • Beiträge: 6
    • Profil anzeigen
Re:Laggy Playback on Ubuntu
« Antwort #2 am: Oktober 12, 2009, 06:10:30 Nachmittag »
Hi there,

the mplayer hint only helped for a few seconds.
Here the kaffeine output:

Qt: 3.3.8b
KDE: 3.5.10
Kaffeine Player: 0.8.7


kaffeine
kbuildsycoca running...
/dev/dvb/adapter0/frontend0 : opened ( Sundtek DVB-T )
0 EPG plugins loaded for device 0:0.
Loaded epg data : 1237 events (5 msecs)
fpi@fpi-desktop:~$ Tuning to: Animal Planet / autocount: 0
DvbCam::probe(): /dev/dvb/adapter0/ca0: : No such file or directory
Using DVB device 0:0 "Sundtek DVB-T"
tuning DVB-T to 690000000 Hz
inv:2 bw:0 fecH:9 fecL:9 mod:6 tm:2 gi:4 hier:4
Can NOT inversion_auto
. LOCKED.
NOUT: 1
dvbEvents 0:0 started
Tuning delay: 405 ms
pipe opened
demux_wavpack: (open_wv_file:127) open_wv_file: non-seekable inputs aren't supported yet.
xine pipe opened /home/fpi/.kaxtv.ts

fpi@fpi-desktop:~$ Asked to stop
pipe closed
Live stopped
dvbstream::run() end
dvbEvents 0:0 ended
fdDvr closed
Frontend closed
Saved epg data : 1236 events (7 msecs)



Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:Laggy Playback on Ubuntu
« Antwort #3 am: Oktober 12, 2009, 06:12:56 Nachmittag »
Do you have any other application accessing the DVB Device? For example vdr or mythtv-backend in the background?

$ sudo /etc/init.d/vdr stop
$ sudo /etc/init.d/mythtv-backend stop
$ ps fax | grep -i vdr
$ ps fax | grep -i myth

if one of them is running stop them before using kaffeine or mplayer

Are you using the 091009 drivers?

http://support.sundtek.de/index.php/topic,133.0.html


How about the signal strength? (you can open the channel scan tab in kaffeine again and it will show up the signal strength for the currently tuned channel)

We received a similar report from another user, claiming that when VDR was running in the background the video stops with Kaffeine. But this has been the nature of VDR and is out of our scope. That for it has to be stopped or the device has to be plugged in after VDR got loaded.

You might also contact our technical skype support chat "Sundtek"

Especially Ubuntu has been tested for weeks(!) on Netbooks now
« Letzte Änderung: Oktober 12, 2009, 06:47:41 Nachmittag von Sundtek »
Failure is a good thing! I'll fix it

pilzus

  • Newbie
  • *
  • Beiträge: 6
    • Profil anzeigen
Re:Laggy Playback on Ubuntu
« Antwort #4 am: Oktober 12, 2009, 11:01:34 Nachmittag »
Newest driver did the job!
Did the mistake of downloading the driver from the webpage instead the forum->driver section.
Thank you very much!
 

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:Laggy Playback on Ubuntu
« Antwort #5 am: Oktober 12, 2009, 11:20:16 Nachmittag »
sorry, we'll update the main website immediately!
« Letzte Änderung: Oktober 12, 2009, 11:29:44 Nachmittag von Sundtek »
Failure is a good thing! I'll fix it