Linux Choppy playback / Video stutter with Eden

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
gpborges Offline
Member
Posts: 58
Joined: Jun 2010
Reputation: 0
Post: #21
Ok, just got the log in debug mode...

I see LOTS of this:

Code:
ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.

And here some other errors I see:

Code:
14:01:39 T:2946288448   ERROR: Unable to load libmpeg2.so.0, reason: libmpeg2.so.0: cannot open shared object file: No such file or directory
...
...
14:01:41 T:2773379904   ERROR: ffmpeg[A54E6B40]: [mpeg2video] ac-tex damaged at 13 0
...
...
14:01:41 T:2773379904   ERROR: ffmpeg[A54E6B40]: [mpeg2video] Warning MVs not available
...
...
14:02:22 T:2989766464   DEBUG: Error: Requested setting (pvrplayback.signalquality) was not found.  It must be case-sensitive
...
...

You can see the complete error log here.

Here are some info about the DVD ISO files I'm playing off of local hard disk to prove is nothing related with network streaming. I've used Mediainfo to display the details of one of the DVD ISO VOB files:

Code:
General
Complete name                            : /home/gpborges/.gvfs/Indiana.Jones.e.a.Ăšltima.Cruzada.%281989%29.iso/VIDEO_TS/VTS_06_1.VOB
Format                                   : MPEG-PS
File size                                : 1 024 MiB
Duration                                 : 1s 34ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 0 bps

Video
ID                                       : 224 (0xE0)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@Main
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : M=3, N=12
Duration                                 : 1s 34ms
Bit rate mode                            : Variable
Bit rate                                 : 0 bps
Maximum bit rate                         : 9 800 Kbps
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 fps
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan order                               : 2:3 Pulldown
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 982.549
Stream size                              : 1 012 MiB (99%)
Color primaries                          : SMPTE 170M
Transfer characteristics                 : SMPTE 170M
Matrix coefficients                      : SMPTE 170M

Audio #1
ID                                       : 189 (0xBD)-128 (0x80)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Muxing mode                              : DVD-Video
Duration                                 : 256ms
Bit rate mode                            : Constant
Bit rate                                 : 448 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 14.0 KiB (0%)

Audio #2
ID                                       : 189 (0xBD)-129 (0x81)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Muxing mode                              : DVD-Video
Duration                                 : 320ms
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 7.50 KiB (0%)

Text #1
ID                                       : 189 (0xBD)-32 (0x20)
Format                                   : RLE
Format/Info                              : Run-length encoding
Muxing mode                              : DVD-Video

Text #2
ID                                       : 189 (0xBD)-33 (0x21)
Format                                   : RLE
Format/Info                              : Run-length encoding
Muxing mode                              : DVD-Video

Text #3
ID                                       : 189 (0xBD)-34 (0x22)
Format                                   : RLE
Format/Info                              : Run-length encoding
Muxing mode                              : DVD-Video

Text #4
ID                                       : 189 (0xBD)-35 (0x23)
Format                                   : RLE
Format/Info                              : Run-length encoding
Muxing mode                              : DVD-Video

Menu

I hope we can find a fix for this, and let me know if I can help with some other info.

Gabriel.
(This post was last modified: 2012-07-03 20:02 by gpborges.)
find quote
gpborges Offline
Member
Posts: 58
Joined: Jun 2010
Reputation: 0
Post: #22
Folks, just tried with a real DVD disk and I didn't have any stutter. Playback was really smooth, and I didn't notice anything.

I could also get rid of the error

Code:
15:28:54 T:2945710912   ERROR: Unable to load libmpeg2.so.0, reason: libmpeg2.so.0: cannot open shared object file: No such file or directory
15:28:54 T:2945710912   DEBUG: Dll libmpeg2.so.0 was not found in path
15:28:54 T:2945710912   DEBUG: FactoryCodec - Video: libmpeg2 - Failed

by installing libmpeg2-4:

Code:
sudo apt-get install libmpeg2-4

Question is: Why didn't it get installed when I installed XBMC? I suppose it should be there as a dep...

I've also installed w32codecs libdvdcss2 from medibuntu repository...

This error is filling my logs...

Code:
17:10:18 T:2989098816   DEBUG: Error: Requested setting (pvrplayback.signalquality) was not found.  It must be case-sensitive

It appears too much times in my log.

Here is the complete log where I tried to play some ISO, and some real dvd disks. (2 of them were badly scratched, so you will see some errors but due to the media. The one in good condition played smoothly)
find quote
gpborges Offline
Member
Posts: 58
Joined: Jun 2010
Reputation: 0
Post: #23
People, I was doing some more debugging tailing the logs while watching the movie. I could notice that every time the stutter starts, I see this filling the logs:

Code:
02:08:30 T:2989565760   DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------
02:08:34 T:2945280832   DEBUG: CPullupCorrection: detected pattern of length 12: 83433.33 16677.78 16677.78 250288.89 16677.78 16677.78 16677.78 16677.78 16677.78 16677.78 16677.78 16677.78, frameduration: 41708.333333
02:08:37 T:2953673536   DEBUG: CDVDPlayer::ProcessSubData: Got complete SPU packet
02:08:46 T:2945280832   DEBUG: Previous line repeats 2 times.
02:08:46 T:2945280832   DEBUG: CPullupCorrection: pattern lost on diff 166855.555556
02:08:49 T:2953673536   DEBUG: CDVDPlayer::ProcessSubData: Got complete SPU packet
02:08:52 T:2945280832   DEBUG: Previous line repeats 1 times.
02:08:52 T:2945280832   DEBUG: CPullupCorrection: detected pattern of length 12: 83433.33 16677.78 16677.78 250288.89 16677.78 16677.78 16677.78 16677.78 16677.78 16677.78 16677.78 16677.78, frameduration: 41708.333333
02:08:55 T:2953673536   DEBUG: CDVDPlayer::ProcessSubData: Got complete SPU packet
02:09:05 T:2945280832   DEBUG: Previous line repeats 3 times.
02:09:05 T:2945280832   DEBUG: CPullupCorrection: pattern lost on diff 116800.000000
02:09:06 T:2953673536   DEBUG: CDVDPlayer::ProcessSubData: Got complete SPU packet
02:09:24 T:2945280832   DEBUG: Previous line repeats 3 times.
02:09:24 T:2945280832   DEBUG: CalcFrameRate counted 1000 frames without being able to calculate the framerate, giving up
02:09:32 T:2953673536   DEBUG: CDVDPlayer::ProcessSubData: Got complete SPU packet
02:09:35 T:2945280832   DEBUG: Previous line repeats 1 times.
02:09:35 T:2945280832   DEBUG: CPullupCorrection: detected pattern of length 12: 100111.11 16677.78 16677.78 233611.11 16677.78 16677.78 16677.78 16677.78 16677.78 16677.78 16677.78 16677.78, frameduration: 41708.333333
02:09:36 T:2953673536   DEBUG: CDVDPlayer::ProcessSubData: Got complete SPU packet
02:09:43 T:2945280832   DEBUG: Previous line repeats 1 times.
02:09:43 T:2945280832   DEBUG: CPullupCorrection: pattern lost on diff 16677.777778
02:09:43 T:2953673536   DEBUG: CDVDPlayer::ProcessSubData: Got complete SPU packet
02:09:52 T:2945280832   DEBUG: CPullupCorrection: detected pattern of length 12: 100111.11 16677.78 16677.78 233611.11 16677.78 16677.78 16677.78 16677.78 16677.78 16677.78 16677.78 16677.78, frameduration: 41708.333333
02:09:52 T:2945280832   DEBUG: CPullupCorrection: pattern lost on diff 83422.222222
02:09:52 T:2953673536   DEBUG: CDVDPlayer::ProcessSubData: Got complete SPU packet
02:09:58 T:2945280832   DEBUG: Previous line repeats 2 times.
02:09:58 T:2945280832   DEBUG: CPullupCorrection: detected pattern of length 12: 83433.33 16677.78 16677.78 250288.89 16677.78 16677.78 16677.78 16677.78 16677.78 16677.78 16677.78 16677.78, frameduration: 41708.333333

I'm sure there is something wrong/broken but don't know how to fix it.

If anyone needs any more info, logs, please let me know. I'm willing to help to get this issue resolved.

Thx!
find quote
gpborges Offline
Member
Posts: 58
Joined: Jun 2010
Reputation: 0
Post: #24
Correcting my post bellow... I tried today with another DVD disk (Prison Break, original) and it was stuttering a LOT.

This is my only issue I'm experiencing. Everything else runs pretty smoothly. I was suspecting it could be something related to refresh rates but just guessing...

Anyone to help here!?!?! :-(
find quote
gpborges Offline
Member
Posts: 58
Joined: Jun 2010
Reputation: 0
Post: #25
People, see in this tread the fix I've found for my choppy DVD/ISO playback...

http://forum.xbmc.org/showthread.php?tid...pid1142157

Thx everyone!
find quote
Divine.Amoeba Offline
Junior Member
Posts: 2
Joined: Jul 2012
Reputation: 0
Post: #26
Did not have DVD choppiness problems on Eden when I was using ubuntu 10.10 with an older nvidia driver. Cannot recall that version. When i changed to Xubuntu 12.04 I started having this problem with DVD playback (nvidia driver 295.43). Tried all the tweaks suggested above without success. Finally upgraded to kernel 3.4 and upgraded the nvidia drivers to 302.17. Now still with mild choppiness, but MUCH improved and watchable. With the older driver on ubuntu 10.10 could not get sound over HDMI, the new os and driver fixed that. I know this is not a complete fix but hopefully helps some of you.

System specs are Dell 8300 Dimension P4 2.8ghz, 3gb RAM, Sparkle Geforce 8400gs 256 mb PCI graphics card. Connected to 60" Sharp Aquos with HDMI. OS = Xubuntu 12.04, XBMC installed through official ubuntu repositories.

Link to upgrade linux kernel to 3.4 on ubuntu /Xubuntu 12.04
http://askubuntu.com/questions/140254/ho...-linux-3-4

Upgrade to latest Nvidia drivers using ppa method

sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current
(This post was last modified: 2012-07-21 00:28 by Divine.Amoeba.)
find quote
Post Reply