Linux VNSI stutter
#1
I have some recordings which are unplayable via VNSI. When I try to play them, there is no sound and XBMC plays it with speed about 5fps. Both VDR and XBMC are on the same machine. Almost half of recordings (I record in TS format) plays ok, the rest has problems as described.
I use:
- few days old VNSI plugins compiled myself
- XBMC from Debian experimental repository 2:12.0~git20130102.7a6cb7f-1
- VDR 1.7.28-1~etobi1 (it's almost the same as Debian's version)
- Debian 3.6-trunk-rt-686-pae #1 SMP PREEMPT RT Debian 3.6.9-1~experimental.1 i686 GNU/Linux
- Intel® Celeron® CPU G540 @ 2.50GHz with bultin GPU and stock kernel drivers

There is nothing abnormal in VDR logs, below is XBMC log:

Code:
18:00:56 T:2546981744  NOTICE: Thread Jobworker start, auto delete: true
18:01:02 T:3036629536  NOTICE: DVDPlayer: Opening: pvr://recordings/ok/Czekajac na cud, TV (TV4), 20121224_204500.pvr
18:01:02 T:3036629536  NOTICE: CDVDPlayer::CloseFile()
18:01:02 T:3036629536  NOTICE: DVDPlayer: waiting for threads to exit
18:01:02 T:2947533680  NOTICE: CDVDPlayer::OnExit()
18:01:02 T:2947533680  NOTICE: DVDPlayer: closing audio stream
18:01:02 T:2947533680  NOTICE: Closing audio stream
18:01:02 T:2947533680  NOTICE: Waiting for audio thread to exit
18:01:02 T:2461928304  NOTICE: thread end: CDVDPlayerAudio::OnExit()
18:01:02 T:2947533680  NOTICE: Closing audio device
18:01:02 T:2947533680  NOTICE: Deleting audio codec
18:01:02 T:2947533680  NOTICE: DVDPlayer: closing video stream
18:01:02 T:2947533680  NOTICE: Closing video stream
18:01:02 T:2947533680  NOTICE: waiting for video thread to exit
18:01:02 T:2479856496  NOTICE: thread end: video_thread
18:01:02 T:2947533680  NOTICE: deleting video codec
18:01:02 T:2947533680  NOTICE: DVDPlayer: closing subtitle stream
18:01:02 T:2947533680  NOTICE: Closing subtitle stream
18:01:02 T:2947533680  NOTICE: CDVDPlayer::OnExit() deleting demuxer
18:01:02 T:2947533680  NOTICE: CDVDPlayer::OnExit() deleting input stream
18:01:02 T:3036629536  NOTICE: DVDPlayer: finished waiting
18:01:02 T:3036629536 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
18:01:02 T:2947533680  NOTICE: Thread CDVDPlayer start, auto delete: false
18:01:02 T:2947533680  NOTICE: Creating InputStream
18:01:02 T:2947533680  NOTICE: Creating Demuxer
18:01:02 T:2721049456  NOTICE: Thread Jobworker start, auto delete: true
18:01:02 T:2770377584  NOTICE: Traktr: Traktr
18:01:03 T:2947533680  NOTICE: Opening video stream: 0 source: 256
18:01:03 T:2947533680  NOTICE: Creating video codec with codec id: 28
18:01:03 T:2947533680  NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(720x576, 28)
18:01:03 T:2947533680  NOTICE: vdp_device = 0xffffffff vdp_st = 0x00000001
18:01:03 T:2947533680   ERROR: (VDPAU) unable to init VDPAU - vdp_st = 0x1.  Falling back.
18:01:03 T:2947533680  NOTICE: CDVDVideoCodecFFmpeg::Open() Failed to get VDPAU device
18:01:03 T:2947533680  NOTICE:  (VDPAU) Close
18:01:03 T:2947533680  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
18:01:03 T:2947533680  NOTICE: Creating video thread
18:01:03 T:2420640624  NOTICE: Thread CDVDPlayerVideo start, auto delete: false
18:01:03 T:2420640624  NOTICE: running thread: video_thread
18:01:03 T:2947533680  NOTICE: Opening audio stream: 1 source: 256
18:01:03 T:2947533680  NOTICE: Finding audio codec for: 86016
18:01:03 T:2947533680  NOTICE: Creating audio thread
18:01:03 T:2555374448  NOTICE: Thread CDVDPlayerAudio start, auto delete: false
18:01:03 T:2555374448  NOTICE: running thread: CDVDPlayerAudio::Process()
18:01:03 T:2420640624  NOTICE:  fps: 50.000000, pwidth: 720, pheight: 576, dwidth: 720, dheight: 396
18:01:03 T:2420640624  NOTICE: Display resolution DESKTOP : 1920x1080 @ 60.00 - Full Screen (16)
18:01:03 T:2555374448  NOTICE: Creating audio stream (codec id: 86016, channels: 2, sample rate: 48000, no pass-through)
18:01:03 T:3036629536  NOTICE: Using GL_TEXTURE_2D
18:01:03 T:3036629536  NOTICE: GL: Using VAAPI render method
18:01:03 T:3036629536  NOTICE: GL: NPOT texture support detected
18:01:03 T:3036629536  NOTICE: GL: Using GL_ARB_pixel_buffer_object
18:01:05 T:2972711792  NOTICE: Traktr: Traktr
Reply
#2
please post full debug log.
How do the recordings play when you open the ts files directly from XBMC?
Reply
#3
Please tell me which log do you need, from VDR or xbmc? I'm currently on mobile so later will look for how to enable debug logging on xbmc.
Reply
#4
XBMC log. VNSI does not do much when playing recordings, it's just like opening a file via network. My assumption is that you'll won't see any difference when playing recordings via vnsi or locally. But lets see.
Reply
#5
You are right. Playing this recording directly stutters the same. Question is why this same file plays flawlessly on enigma based tv tuner or windows players like VLC, MPC or WMP.
Here is debug log:
http://xbmclogs.com/show.php?id=29675
Playing this movie with VLC on same linux machine is fluent, I don't know why XBMC use deprecated ffmpeg which seems not to work properly
Reply
#6
Looks like the problem in your case is audio. The file you were playing has EAC-3 audio. You have configured pass through but your system does not support high bit rate. Deselect AC-3 capable receiver and try again.
Reply
#7
You are right - now it works super! Thank you for help.
Sorry for blaming vnsi, I didn't expect that sound can make video slow.
Can be closed as fixed.
Reply

Logout Mark Read Team Forum Stats Members Help
VNSI stutter0