Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Video stuttering playing 1080p mkv in VLC with 4.4.6-gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
cameta
Veteran
Veteran


Joined: 04 Aug 2004
Posts: 1320

PostPosted: Sat May 07, 2016 2:35 pm    Post subject: Video stuttering playing 1080p mkv in VLC with 4.4.6-gentoo Reply with quote

After I have upgraded my kernel from gentoo-sources-4.1.15-r1 to gentoo-sources-4..4.6 playing a 1080 mkv file with vlc the program experiences a "video stuttering" problem
If the audio track is disabled or the audio device discard all samples the bug doesn't reproduce

Code:
vlc Game.of.ThronesS06E01.mkv
VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)
[00007f1d9cc15f98] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 300 ms)
[00007f1d9cc15f98] core input error: ES_OUT_RESET_PCR called
[h264 @ 0x7f1d84c6a0b0] mmco: unref short failure
[00007f1d9cc15f98] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 545 ms)
[00007f1d9cc15f98] core input error: ES_OUT_RESET_PCR called
[h264 @ 0x7f1d84c6a0b0] mmco: unref short failure

PS
gentoo-sources-4.5.3 has the same problem

My kernel configuration

Code:
HD-Audio  --->                                                                                             
 (512) Pre-allocated buffer size for HD-audio driver

<M> HD Audio PCI                                                                                                 
 [*] Build hwdep interface for HD-audio driver       
  [ ] Allow dynamic codec reconfiguration     
  [ ] Support digital beep via input layer             
[ ] Support initialization patch loading for HD-audio 
 <M> Build Realtek HD-audio codec support                 
  <M> Build Analog Device HD-audio codec support
  <M> Build IDT/Sigmatel HD-audio codec support                                                 
  <M> Build VIA HD-audio codec support
  <M> Build HDMI/DisplayPort HD-audio codec support
  <M> Build Cirrus Logic codec support
  <M> Build Conexant HD-audio codec support                 
  <M> Build Creative CA0110-IBG codec support
   <M> Build Creative CA0132 codec support
   [ ]   Support new DSP code for CA0132 codec                         
   <M> Build C-Media HD-audio codec support 
   <M> Build Silicon Labs 3054 HD-modem codec support
   -M- Enable generic HD-audio codec parser
   (0) Default time-out for HD-audio power-save mode


My hardware

Code:
lspci
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 760] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)
03:00.0 Ethernet controller: Qualcomm Atheros AR8161 Gigabit Ethernet (rev 10)
04:02.0 Multimedia controller: Philips Semiconductors SAA7131/SAA7133/SAA7135 Video Broadcast Decoder (rev d1)

_________________
Si algo falla LEE el jodido manual, Si sigue fallando LEE BIEN el jodido manual.
Back to top
View user's profile Send private message
SDNick484
Apprentice
Apprentice


Joined: 05 Dec 2005
Posts: 231

PostPosted: Tue May 10, 2016 10:39 pm    Post subject: Reply with quote

Are you using ALSA or PulseAudio? The error you're describing sounds like a buffer is exhausted (generally the case with PCR errors), and it also sounds similar to VLC bug 10422. That bug is fixed in the 3.0 branch, so if possible a good test might be to try emerging vlc-9999 and seeing if the bug is still present. If it's resolved, I can look into possibly backporting the changes (I'm the proxy-maintainer for VLC, no guarantees). If this is the approach you're open to taking, please open a bug on the Gentoo bugzilla so we can track it there (I go by the same username and will be auto-assigned VLC tickets).
Back to top
View user's profile Send private message
cameta
Veteran
Veteran


Joined: 04 Aug 2004
Posts: 1320

PostPosted: Fri May 13, 2016 8:06 pm    Post subject: Reply with quote

I'm using Alsa. And yes is a problem with the buffer.
https://forum.videolan.org/viewtopic.php?f=13&t=132951&sid=1e1e4e9ffbbee19b4e1e17e17ab47931
_________________
Si algo falla LEE el jodido manual, Si sigue fallando LEE BIEN el jodido manual.
Back to top
View user's profile Send private message
rozyk
n00b
n00b


Joined: 07 May 2010
Posts: 44

PostPosted: Tue Jun 07, 2016 12:03 am    Post subject: Reply with quote

Did you find a solution? I have I think the same problem, but selecting different cards as they did in the vlc forum doesn't help. :-(
Back to top
View user's profile Send private message
BT
Guru
Guru


Joined: 13 Jun 2004
Posts: 318

PostPosted: Tue Jun 07, 2016 1:44 am    Post subject: Reply with quote

SDNick484 wrote:
Are you using ALSA or PulseAudio? The error you're describing sounds like a buffer is exhausted (generally the case with PCR errors), and it also sounds similar to VLC bug 10422. That bug is fixed in the 3.0 branch, so if possible a good test might be to try emerging vlc-9999 and seeing if the bug is still present. If it's resolved, I can look into possibly backporting the changes (I'm the proxy-maintainer for VLC, no guarantees). If this is the approach you're open to taking, please open a bug on the Gentoo bugzilla so we can track it there (I go by the same username and will be auto-assigned VLC tickets).

The issue regarding VLC bug 10422 is already tracked in Gentoo bug 523366. A patch has also been posted in the Gentoo bug with the fix backported to VLC 2.2.x.
Back to top
View user's profile Send private message
rozyk
n00b
n00b


Joined: 07 May 2010
Posts: 44

PostPosted: Tue Jun 07, 2016 7:13 am    Post subject: Reply with quote

I applied the patch. It helped a bit but the stutering still occurs sometimes. (more rarely though) :(
Back to top
View user's profile Send private message
BT
Guru
Guru


Joined: 13 Jun 2004
Posts: 318

PostPosted: Tue Jun 07, 2016 7:27 am    Post subject: Reply with quote

rozyk,

You may want to try the vlc-9999 ebuild since the fix was made in the 3.x branch. Otherwise try mpv, it's a great alternative to VLC.
Back to top
View user's profile Send private message
rozyk
n00b
n00b


Joined: 07 May 2010
Posts: 44

PostPosted: Tue Jun 07, 2016 7:21 pm    Post subject: Reply with quote

Ok, I'll try mpv.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum