Pages: [1] 2   Go Down
Print
Author Topic: MED400X2 playback randomly stops  (Read 777 times)
kevin89
Newbie

Offline Offline

Posts: 9


« on: March 10, 2012, 06:33:53 pm »

Hello,

I own a MED400X2. My setup:
400X2 (firmware 2.0.3) connected to gigabit switch + PC connected to gigabit switch with NFS share

When I play any of my movies (mkvs, 720p or 1080p), the movie stops after a random amount of time. This happens over and over again. I just get kicked back to the home screen. When I play the movie again, it doesn't ask me if I want to resume playback.

I can't watch any of my movies like this.. What can I do to resolve this issue?
Logged
Mede8er1
Administr8or
Hero Member
******
Offline Offline

Posts: 2 741



« Reply #1 on: March 10, 2012, 06:49:09 pm »

kevin89

Sounds like you have a Network problem.

You can try as foll

1) Try using Samba and see if you still have the same problem
2) If you really want to use NFS then go to Device Manager  ---> Network Adapters ----->Properties   ---> Advanced ---> Performance Options -----> Properties ---- and enable RX & TX Flow Control.

Mede8er1
Logged

Mede8er1
The Greatest Show on Earth
kevin89
Newbie

Offline Offline

Posts: 9


« Reply #2 on: March 10, 2012, 07:12:28 pm »

Mede8er1,

I plan not to use samba actually. I will try your second suggestion and report back! Thanks for your reply.

Oh wait: your suggestion is about Windows I guess? My pc runs linux (archlinux to be precise).
Logged
Maasbommel
Global Moder8or
Hero Member
*****
Offline Offline

Posts: 8 530



« Reply #3 on: March 10, 2012, 08:14:58 pm »

You should be able to set the same params under linux...
Logged

Read the  Mede8er 400X/500X Beginners Guide
or Mede8er 500X2/400X2/450X2 Beginners Guide

Also check the Technical Support Guidelines first.

Please don't PM me but post on the forum.
kevin89
Newbie

Offline Offline

Posts: 9


« Reply #4 on: March 10, 2012, 10:19:18 pm »

Sorry, my previous reply was a bit short. These are the settings I can set for my ethernet card,

Code:
Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
                                             1000baseT/Half 1000baseT/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbg
        Wake-on: d

I don't see any RX & TX flow control options, or am I missing them?

Logged
Mede8er1
Administr8or
Hero Member
******
Offline Offline

Posts: 2 741



« Reply #5 on: March 10, 2012, 10:31:35 pm »

kevin89

I think the 'Support Pause frame use' is the same as flow control -- so you should enable this. Another thing that you can try is to plug the X2 into your Router (if its a 10/100) rather than directly into the Gbit Switch and that will do a similar thing .

Mede8er1
 
Logged

Mede8er1
The Greatest Show on Earth
kevin89
Newbie

Offline Offline

Posts: 9


« Reply #6 on: March 10, 2012, 11:21:16 pm »

Mede8er1,

my ethernet device does not seem to support pause settings. I have a very common motherboard: Asrock 870 Extreme 3.

I use ethtool for configuring my ethernet card:

Code:
# ethtool -A eth0 tx on rx on
Cannot get device pause settings: Operation not supported

If I plug my X2 into the router, I'm not able to stream my mkv without stuttering. I feel kind of stuck now..
Logged
Maasbommel
Global Moder8or
Hero Member
*****
Offline Offline

Posts: 8 530



« Reply #7 on: March 10, 2012, 11:43:57 pm »

Do you have some 10/100 switch somewhere? Try to place that direct between your router and mede8er.
This will force flow control.
Logged

Read the  Mede8er 400X/500X Beginners Guide
or Mede8er 500X2/400X2/450X2 Beginners Guide

Also check the Technical Support Guidelines first.

Please don't PM me but post on the forum.
kevin89
Newbie

Offline Offline

Posts: 9


« Reply #8 on: March 11, 2012, 05:33:48 pm »

I don't own any more switches. But my Mede8er isn't connected to my router, but my switch.

The setup is like this:

Modem/Router -> Gbit switch -> Mede8er
                                             \-> PC

Is adding a switch the only option? Seems a bit inconvenient to be honest. Thanks for your replies. Smiley
Logged
Maasbommel
Global Moder8or
Hero Member
*****
Offline Offline

Posts: 8 530



« Reply #9 on: March 12, 2012, 09:07:04 pm »

As another thing you could try for a test, put your NAS ethernet card temporary on half duplex mode and see if that helps.
Logged

Read the  Mede8er 400X/500X Beginners Guide
or Mede8er 500X2/400X2/450X2 Beginners Guide

Also check the Technical Support Guidelines first.

Please don't PM me but post on the forum.
kevin89
Newbie

Offline Offline

Posts: 9


« Reply #10 on: March 16, 2012, 07:06:30 pm »

Back with some more testing:

I've tried half duplex, setting rx/tx on, setting autonegotiation off, but to no avail.

However, 2 videos played perfectly. So it occured to me that there is a difference in file codecs/resolution etc.

Mediainfo of the 2 files that did playback all the way:

1:
Code:
Complete name                            : movies/Piranha (2010)/Piranha (2010).wmv
Format                                   : Windows Media
File size                                : 6.52 GiB
Duration                                 : 1h 28mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 10.6 Mbps
Maximum Overall bit rate                 : 14.9 Mbps
Encoded date                             : UTC 2011-01-14 17:34:07.125 / UTC 2076-02-07 14:32:32
MediaFoundationVersion                   : 2.112

Video
ID                                       : 2
Format                                   : VC-1
Format profile                           : AP@L3
Codec ID                                 : WVC1
Codec ID/Hint                            : Microsoft
Description of the codec                 : Windows Media Video 9 Advanced Profile
Duration                                 : 1h 28mn
Bit rate mode                            : Variable
Bit rate                                 : 9 895 Kbps
Width                                    : 1 920 pixels
Height                                   : 800 pixels
Display aspect ratio                     : 2.40:1
Frame rate                               : 23.976 fps
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.269
Stream size                              : 6.11 GiB (94%)
Language                                 : English (US)

Audio
ID                                       : 1
Format                                   : WMA
Format profile                           : Pro
Codec ID                                 : 162
Codec ID/Info                            : Windows Media Audio
Description of the codec                 : Windows Media Audio 10 Professional - 640 kbps, 48 kHz, 5.1 channel 24 bit 2-pass CBR
Duration                                 : 1h 28mn
Bit rate mode                            : Constant
Bit rate                                 : 640 Kbps
Channel(s)                               : 6 channels
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Stream size                              : 404 MiB (6%)
Language                                 : English (US)

2:
Code:
Complete name                            : movies/Fight Club (1999)/Fight.Club.1999.REMASTERED.REPACK.720p.BluRay.x264-WLM.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 6.56 GiB
Duration                                 : 2h 19mn
Overall bit rate                         : 6 746 Kbps
Encoded date                             : UTC 2010-11-20 18:09:31
Writing application                      : mkvmerge v4.4.0 ('Die Wiederkehr') gebaut am Oct 31 2010 21:52:48
Writing library                          : libebml v1.0.0 + libmatroska v1.0.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2h 19mn
Bit rate                                 : 5 236 Kbps
Width                                    : 1 280 pixels
Height                                   : 536 pixels
Display aspect ratio                     : 2.40:1
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.318
Stream size                              : 4.96 GiB (76%)
Writing library                          : x264 core 108 r1788 c764e29
Encoding settings                        : cabac=1 / ref=5 / 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=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=5236 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Codec ID                                 : A_DTS
Duration                                 : 2h 19mn
Bit rate mode                            : Constant
Bit rate                                 : 1 510 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossy
Stream size                              : 1.47 GiB (22%)
Language                                 : English
Default                                  : Yes
Forced                                   : No

And two files that do stop during playback:
3
Code:
Complete name                            : movies/The Matrix (1999)/The Matrix (1999).mkv
Format                                   : Matroska
Format version                           : Version 1
File size                                : 13.1 GiB
Duration                                 : 2h 16mn
Overall bit rate                         : 13.8 Mbps
Encoded date                             : UTC 2009-04-10 15:58:55
Writing application                      : mkvmerge v2.6.0 ('Kelly watch the Stars') built on Mar 24 2009 15:23:17
Writing library                          : libebml v0.7.7 + libmatroska v0.8.1

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2h 16mn
Bit rate                                 : 13.2 Mbps
Width                                    : 1 920 pixels
Height                                   : 800 pixels
Display aspect ratio                     : 2.40:1
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.357
Stream size                              : 12.3 GiB (93%)
Writing library                          : x264 core 67 r1137M 1fda882
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=13155 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Codec ID                                 : A_AC3
Duration                                 : 2h 16mn
Bit rate mode                            : Constant
Bit rate                                 : 640 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                              : 624 MiB (5%)
Language                                 : English
Default                                  : Yes
Forced                                   : No

4
Code:
Complete name                            : movies/The Last King of Scotland (2006)/The Last King of Scotland (2006).mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 9.31 GiB
Duration                                 : 2h 3mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 10.8 Mbps
Movie name                               : the last king of scotland
Encoded date                             : UTC 2010-11-01 20:09:25
Writing application                      : mkvmerge v3.4.0 ('Rapunzel') built on May 15 2010 09:38:20
Writing library                          : libebml v0.8.0 + libmatroska v0.9.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 3 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2h 3mn
Bit rate mode                            : Variable
Bit rate                                 : 8 707 Kbps
Maximum bit rate                         : 25.0 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.175
Stream size                              : 7.28 GiB (78%)
Title                                    : Film
Writing library                          : x264 core 96 r1613 81e75e9
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=8707 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=25000 / vbv_bufsize=25000 / ip_ratio=1.40 / aq=1:1.00 / nal_hrd=vbr
Default                                  : Yes
Forced                                   : No

Audio #1
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Codec ID                                 : A_DTS
Duration                                 : 2h 3mn
Bit rate mode                            : Constant
Bit rate                                 : 1 510 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossy
Stream size                              : 1.30 GiB (14%)
Title                                    : DTS
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Codec ID                                 : A_AC3
Duration                                 : 2h 3mnBit rate mode                            : Constant
Bit rate                                 : 640 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                              : 563 MiB (6%)
Title                                    : AC3
Default                                  : No
Forced                                   : No

Text
ID                                       : 4
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Title                                    : NL Subs
Language                                 : Dutch
Default                                  : Yes
Forced                                   : No

What is the factor that decides that 1,2 play perfectly, and 3,4 don't play properly?

As far as I can tell, it's not the format (mkv or wmv), resolution (1 and 4 have the same res).

If I need to provide more info, please tell and I'll include. Thanks again!
Logged
Maasbommel
Global Moder8or
Hero Member
*****
Offline Offline

Posts: 8 530



« Reply #11 on: March 17, 2012, 10:55:55 am »

My guess is that the first 2 videos are high bitstream movies, higher then the 2 last.
As you have some handshake issue, the first 2 bitstreams probably don't need rx tx handshake, because the stream keeps playing without the need to buffer (tx off not needed), while for the last 2 tx rx handshake is needed to stop the stream temporary because your nas is delivering faster then the med can play.
Logged

Read the  Mede8er 400X/500X Beginners Guide
or Mede8er 500X2/400X2/450X2 Beginners Guide

Also check the Technical Support Guidelines first.

Please don't PM me but post on the forum.
kevin89
Newbie

Offline Offline

Posts: 9


« Reply #12 on: March 19, 2012, 09:30:47 am »

After trying a lot of possible settings on my ethernet settings I deciced to give Samba a try... and guess what? No problems whatsoever! Lips sealed

Probabaly my NFS settings weren't optimal. I might give NFS a shot another day again, but at the moment I'm very happy it works!

Thanks for all helpful replies! Smiley
Logged
DaChouffe
Newbie

Offline Offline

Posts: 8


« Reply #13 on: March 19, 2012, 05:52:55 pm »

@kevin89,

Hey kevin89, i had (i think) the same problem you described. With NFS, i could watch a whole 1080P movie without a problem but sometime with a simple 720p series it would stop for a few seconds (6) and go further, stop again and go further trough the series. With the next serie no problem, and maybe with the third the same. So i'm using samba at the moment with no problem. I know my nfs is working right, got a throughput of 30MiB/s from my NAS (OpenMediaVault) to my Linux machine.

Sorry that i can't be of any assistant  Tongue
Logged
jer1956
Global Moder8or
Hero Member
*****
Offline Offline

Posts: 9 375


« Reply #14 on: March 19, 2012, 06:29:00 pm »

400 users tend to be NAS users..and may not have the option to test media avoiding the network.  Stuttering and stops can also be codec issues..and nothing to do with the network at all. 500 users are used to playing files off the hard drive..and can test media that way. If it stutters off the drive..then the network  may not be completely to blame. 
Logged
Pages: [1] 2   Go Up
Print
Jump to: