Opened 4 years ago

Last modified 4 years ago

#12191 new Bug Report - General

Livetv: Many stream interruptions

Reported by: xyz@… Owned by:
Priority: major Milestone: unknown
Component: MythTV - DVB Version: 0.27.1
Severity: medium Keywords: interruptions, dvb s2, live-tv
Cc: Ticket locked: no

Description

Hello all,

since I upgraded from Ubuntu v12 to v14 and to nvidia 9800GTX2 I can't view livetv any more in quality. I get distortions in the mpeg streams sometimes even no audio. This happens round about every 5 - 30 seconds.

It is the same mysql-database and the same configuration as before.

I don't think it could be performance related, as CPU's are below 20%. No IOWait in top. Slowdelete activated.

I have got DVBS2, driver is vdpau.

I also tried different deinterlacers and even deactivating it, no change.

I haven't found any mpeg related error in the log, only strange entry is about unknown AFD ID's, but I am not sure, if that's related.

Another interesting entry is: "[dsmcc] Dropping block size 4096 with tag 21, carouselID 11, dataBroadcastID 0x123"

see:


2014-06-26 22:57:49.973112 I MythSocket?(35d2140:86): read <- 86 4 3640 2014-06-26 22:57:49.991958 I MythSocket?(35d2140:86): write -> 86 39 QUERY_RECORDER 5[]:[]GET_FRAMES_WRITTEN 2014-06-26 22:57:49.992608 I [dsmcc] Dropping block size 4096 with tag 21, carouselID 11, dataBroadcastID 0x123 2014-06-26 22:57:49.992659 E AFD: VBI: Unknown descriptor: 44 2014-06-26 22:57:49.992870 I MythSocket?(35d2140:86): read <- 86 4 3640 2014-06-26 22:57:49.992938 E AFD: VBI: Unknown descriptor: 44 2014-06-26 22:57:49.993164 I [dsmcc] Dropping block size 4096 with tag 20, carouselID 10, dataBroadcastID 0x123 2014-06-26 22:57:49.993177 E AFD: VBI: Unknown descriptor: 44 2014-06-26 22:57:49.993177 I [dsmcc] Dropping block size 4096 with tag 21, carouselID 11, dataBroadcastID 0x123 2014-06-26 22:57:49.998054 I RingBuf?(/MEDIA/video/live-tv/11301_20140626205637.mpg): safe_read(...@3030428, 458752) -> 190068, took 0 ms (1000Mbps) avg 183 ms


If you can give me some advice, how I could narrow analysis down, that would be great?

Best regards Qeldroma

Change History (7)

comment:1 Changed 4 years ago by JYA

do other recordings play well?

not sure what logs you included there but for playback issue, the only log required is of mythfrontend started with: -v audio,playback --loglevel=debug

comment:2 Changed 4 years ago by xyz@…

  • Yes, other recordings play well. even 1080p content. If i record an HD stream, p.e. the actual soccer WM in HD, it has got the errors also in the record.
  • The log was "all,nosql"

The hardware is quiet strong, AMD X4(3.7 GHz), 8GB RAM, GForce9800GTX2, Tevii S480. top and iotop do not show any peaks while having such an issue, so i don't think it's related to performance. I doublechecked now in windows and there i get only audio breaks but not video breaks, so I guess it could perhaps be also related to the driver.

My guesses are: a) Some kind of "stackoverflow" and restart in mpeg processing b) An issue with the DVB-S2 card, that was not with 12.04LTS c) An issue with the satelite stream quality (what should be the values at least while scanning to be sure, it's enough input quality?)

Question for me is, how i can figure out, if it is

  • sat dish/multiplexer vs
  • dvb kernel driver vs
  • tevii dvb-s2 driver vs
  • mpeg processing vs
  • display

So many screws.... :(

Best regards QD

comment:3 Changed 4 years ago by JYA

that is not really the information I was after.

1- can you make new recordings with your config? 2- If you can record, do all new recordings exhibit the problem. 3- If the new recordings (not liveTV) show a problem, can you attempt to play that recording in another player like mplayer: do they still have the problem?

comment:4 Changed 4 years ago by xyz@…

1: yes 2: at least HD, SD I will have to check 3: Ok, will try this evening

comment:5 Changed 4 years ago by JYA

if your answer to 1 is yes, then it's definitely not an issue related to reception and your earlier analysis is completely wrong (nothing to do with DVB-S2)

you'll have to post a small sample that exhibit the problems, and provide the logs as described in comment 1

comment:6 Changed 4 years ago by JYA

i don;t understand what your answer to question 2 is: do they play okay, or do they not?

comment:7 Changed 4 years ago by xyz@…

Hi again,

have a look at the file at https://drive.google.com/file/d/0BxRc5A9U1tTqS3EyeGQweE5WRFU/edit?usp=sharing.

Log while playing it:


2014-07-02 20:22:23.740583 I Player(0): FPS: 50.79 Mean: 19689 Std.Dev: 2168 CPUs: 100% 100% 100% 100% 2014-07-02 20:22:27.699307 I Player(0): 400 progressive frames seen. 2014-07-02 20:22:27.740426 I Player(0): FPS: 50.02 Mean: 19991 Std.Dev: 138 CPUs: 11% 11% 22% 9% 2014-07-02 20:22:31.739728 I Player(0): FPS: 50.02 Mean: 19992 Std.Dev: 231 CPUs: 12% 12% 21% 10% 2014-07-02 20:22:32.741593 E AO: audio decode error: Die Operation ist nicht erlaubt (0) 2014-07-02 20:22:32.741618 E AFD: Unknown audio decoding error 2014-07-02 20:22:35.702619 I Player(0): 800 progressive frames seen. 2014-07-02 20:22:35.743023 I Player(0): FPS: 49.97 Mean: 20012 Std.Dev: 2026 CPUs: 11% 11% 21% 11% 2014-07-02 20:22:39.742598 I Player(0): FPS: 50.01 Mean: 19995 Std.Dev: 237 CPUs: 12% 11% 21% 10% 2014-07-02 20:22:43.703273 I Player(0): 1200 progressive frames seen. 2014-07-02 20:22:43.742694 I Player(0): FPS: 50.01 Mean: 19997 Std.Dev: 98 CPUs: 10% 10% 23% 13% 2014-07-02 20:22:47.744132 I Player(0): FPS: 50.01 Mean: 19997 Std.Dev: 1371 CPUs: 21% 12% 22% 11% 2014-07-02 20:22:48.282598 D Running HouseKeeper?. 2014-07-02 20:22:48.282629 D Checking to run HardwareProfiler? 2014-07-02 20:22:50.683191 E AO: audio decode error: Die Operation ist nicht erlaubt (0) 2014-07-02 20:22:50.683215 E AFD: Unknown audio decoding error 2014-07-02 20:22:50.853075 E AO: audio decode error: Die Operation ist nicht erlaubt (0) 2014-07-02 20:22:50.853084 E AFD: Unknown audio decoding error 2014-07-02 20:22:51.636049 I Player(0): 1600 progressive frames seen. 2014-07-02 20:22:51.676392 I Player(0): FPS: 50.87 Mean: 19657 Std.Dev: 2444 CPUs: 10% 11% 22% 11% 2014-07-02 20:22:55.676400 I Player(0): FPS: 50.01 Mean: 19995 Std.Dev: 353 CPUs: 12% 10% 20% 12% 2014-07-02 20:22:56.976872 E AO: audio decode error: Die Operation ist nicht erlaubt (0) 2014-07-02 20:22:56.976896 E AFD: Unknown audio decoding error 2014-07-02 20:22:59.602855 I Player(0): 2000 progressive frames seen. 2014-07-02 20:22:59.644028 I Player(0): FPS: 50.43 Mean: 19828 Std.Dev: 1671 CPUs: 10% 10% 21% 12% 2014-07-02 20:23:03.642717 I Player(0): FPS: 50.02 Mean: 19990 Std.Dev: 152 CPUs: 11% 10% 21% 11% 2014-07-02 20:23:03.824829 E AO: audio decode error: Die Operation ist nicht erlaubt (0) 2014-07-02 20:23:03.824855 E AFD: Unknown audio decoding error 2014-07-02 20:23:07.589431 I Player(0): 2400 progressive frames seen. 2014-07-02 20:23:07.629749 I Player(0): FPS: 50.18 Mean: 19928 Std.Dev: 2183 CPUs: 10% 11% 20% 12% 2014-07-02 20:23:11.629613 I Player(0): FPS: 50.01 Mean: 19994 Std.Dev: 124 CPUs: 10% 10% 21% 11% 2014-07-02 20:23:15.590025 I Player(0): 2800 progressive frames seen. 2014-07-02 20:23:15.629813 I Player(0): FPS: 50.01 Mean: 19996 Std.Dev: 747 CPUs: 10% 12% 21% 12% 2014-07-02 20:23:19.629717 I Player(0): FPS: 50.01 Mean: 19995 Std.Dev: 1025 CPUs: 10% 20% 24% 12% 2014-07-02 20:23:23.589320 I Player(0): 3200 progressive frames seen. 2014-07-02 20:23:23.629673 I Player(0): FPS: 50.01 Mean: 19995 Std.Dev: 87 CPUs: 9% 10% 21% 12%


Interesting is "Operation not permitted" 2014-07-02 20:22:32.741593 E AO: audio decode error: Die Operation ist nicht erlaubt (0) 2014-07-02 20:22:32.741618 E AFD: Unknown audio decoding error

What could that be? This error matches the occurences of video distortions..

Note: See TracTickets for help on using tickets.