Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Really jerking video playback, please help me!

I've played quite a few different videos with Plex over the past few weeks (videos of all kinds, avi, mp4, rmvb etc) and none of them had any problems. But today I stumbled across a mp4 and it was really laggy/jerky in Plex!

So the next thing I did was quit Plex and opened it with VLC, it lagged less but still had very little (but at least watchable).

The most mysterious thing is, I streamed the exact same file across the network with VLC to my macbook pro and played it and it was completely fine.

Plex runs on my 2011 mac mini with nothing running, all processes killed.

Any ideas anyone? Really appreciate anyone helping me out! Not a video expert at all.

Below is the media info of the video:


Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 1.50 GiB
Duration : 1h 43mn
Overall bit rate : 2 069 Kbps
Encoded date : UTC 2011-09-04 11:56:35
Tagged date : UTC 2011-09-04 11:56:35

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1h 43mn
Bit rate : 1 638 Kbps
Maximum bit rate : 9 907 Kbps
Width : 1 280 pixels
Height : 544 pixels
Display aspect ratio : 2.35:1
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.098
Stream size : 1.19 GiB (79%)
Title : Ì


Writing library : x264 core 116 r2074 2641b9e
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=1638 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=25000 / vbv_bufsize=25000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2011-09-04 11:56:35
Tagged date : UTC 2011-09-04 11:57:51

Audio #1
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1h 43mn
Bit rate mode : Variable
Bit rate : 299 Kbps
Maximum bit rate : 382 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 222 MiB (14%)
Title : Ì


Encoded date : UTC 2011-09-04 11:57:15
Tagged date : UTC 2011-09-04 11:57:51

Audio #2
ID : 3
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1h 43mn
Bit rate mode : Variable
Bit rate : 128 Kbps
Maximum bit rate : 163 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 95.2 MiB (6%)
Title : Ì


Encoded date : UTC 2011-09-04 11:57:45
Tagged date : UTC 2011-09-04 11:57:51

Comments

  • atrusatrus Posts: 11,135Members, Plex Pass, Plex Ninja Plex Ninja
    edited September 2011
    yalag wrote:

    I've played quite a few different videos with Plex over the past few weeks (videos of all kinds, avi, mp4, rmvb etc) and none of them had any problems. But today I stumbled across a mp4 and it was really laggy/jerky in Plex!

    So the next thing I did was quit Plex and opened it with VLC, it lagged less but still had very little (but at least watchable).

    The most mysterious thing is, I streamed the exact same file across the network with VLC to my macbook pro and played it and it was completely fine.

    Plex runs on my 2011 mac mini with nothing running, all processes killed.

    Any ideas anyone? Really appreciate anyone helping me out! Not a video expert at all.

    Below is the media info of the video:


    Format : MPEG-4
    Format profile : Base Media / Version 2
    Codec ID : mp42
    File size : 1.50 GiB
    Duration : 1h 43mn
    Overall bit rate : 2 069 Kbps
    Encoded date : UTC 2011-09-04 11:56:35
    Tagged date : UTC 2011-09-04 11:56:35

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 3 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 1h 43mn
    Bit rate : 1 638 Kbps
    Maximum bit rate : 9 907 Kbps
    Width : 1 280 pixels
    Height : 544 pixels
    Display aspect ratio : 2.35:1
    Frame rate mode : Constant
    Frame rate : 23.976 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.098
    Stream size : 1.19 GiB (79%)
    Title : Ì


    Writing library : x264 core 116 r2074 2641b9e
    Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=1638 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=25000 / vbv_bufsize=25000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
    Encoded date : UTC 2011-09-04 11:56:35
    Tagged date : UTC 2011-09-04 11:57:51

    Audio #1
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : 40
    Duration : 1h 43mn
    Bit rate mode : Variable
    Bit rate : 299 Kbps
    Maximum bit rate : 382 Kbps
    Channel(s) : 6 channels
    Channel positions : Front: L C R, Side: L R, LFE
    Sampling rate : 48.0 KHz
    Compression mode : Lossy
    Stream size : 222 MiB (14%)
    Title : Ì


    Encoded date : UTC 2011-09-04 11:57:15
    Tagged date : UTC 2011-09-04 11:57:51

    Audio #2
    ID : 3
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : 40
    Duration : 1h 43mn
    Bit rate mode : Variable
    Bit rate : 128 Kbps
    Maximum bit rate : 163 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 KHz
    Compression mode : Lossy
    Stream size : 95.2 MiB (6%)
    Title : Ì


    Encoded date : UTC 2011-09-04 11:57:45
    Tagged date : UTC 2011-09-04 11:57:51

    Does other 23.976 fps movies work without jerkiness?
    Aso, if you turn of Hardware Decoding, does this video work better?
  • yalagyalag Posts: 96Members
    atrus wrote:

    Does other 23.976 fps movies work without jerkiness?
    Aso, if you turn of Hardware Decoding, does this video work better?


    Turning off H.264 Hardware decoding helps. It's still a little chopping but at the same level as playing it in VLC and watchable. But what does turning off hardware decoding means? Do I have a lower quality? Also isn't hardware decoding suppose to perform better?
  • tobeswsutobeswsu Posts: 2,878Members, Plex Pass Plex Pass
    Hardware decoding doesn't make it look better/worse. It should in theory offload some of the playback processing for h264 content to the GPU and reduce CPU usage. In theory. In practice it hinders performance in a lot of cases. :/
  • gonksnazzlegonksnazzle Posts: 18Members
    Apologies for the thread necromancy.

    I experienced massive jerkiness on a 720p high-profile h264 movie and disabling h264 acceleration completely fixed it. I could contribute this video file someplace if you guys need stuff to repro.
  • us@greenieandwei.netus@greenieandwei.net Posts: 30Members, Plex Pass Plex Pass
    Sorry I need help on this issue. I have tried Disabling all hardware acceleration (VDADecoder and CrystalHD) and I still have massively jerky video. I'm using a 2012 mac mini, plex 0.954 and HDMI out. Can anyone please advice how I might be able to fix this problem?

    Thanks!
  • us@greenieandwei.netus@greenieandwei.net Posts: 30Members, Plex Pass Plex Pass
    If it's any help, here's a screenshot with the i button pressed....
    [attachment=15388:Screen Sharing Picture 26 February, 2013 7.42.23 PM HKT.png]
  • atrusatrus Posts: 11,135Members, Plex Pass, Plex Ninja Plex Ninja

    Your VQ is at 0%. That means you are getting video starvation. That can mean a lot of things. But I would start looking at network issues.

    The next thing I would check is if it works better if you connect the HDMI directly to the TV instead of to a receiver (which you may be doing, do not know).

    Have you tried with Plex HT instead of 0.9.5.4? Same thing there?

  • pwfletcherpwfletcher Posts: 26Members

    How much RAM do you have?

  • us@greenieandwei.netus@greenieandwei.net Posts: 30Members, Plex Pass Plex Pass

    It's a late 2012 mac mini, and I have it connected via gigabit wired network. When playing thru VLC things work fine. I'll try the suggested of plugging in straight thru to projector instead of via the amplifier, but if that resolves it, it doesn't help me much since I need the amp for the sound. I'm not sure what Plex HT is, but I'll google it, and try that too. Revert with feedback soon. THanks!

  • us@greenieandwei.netus@greenieandwei.net Posts: 30Members, Plex Pass Plex Pass

    hrmm... OK, so here's the latest. I tried using plex HT, and it worked! I looked in the options, and then I realised it had to do with the Audio settings and not video. For some reason whenever I change the audio output form analog to HDMI, then it will stuff up. I tried going back to normal Plex and changing the audio from HDMI to analog and lo and behold it started working normally. This still seems like a problem though, as my amp is definitely receiving audio thru HDMI and is digital capable etc, so not sure why it would stuff up the video...?

Sign In or Register to comment.