#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2004
    Posts
    260
    Rep Power
    0

    Video streaming problems


    Hi there, I have some issues with some videos when streaming to my TV, really weird, but first, here is my setup.

    ROUTER : Asus RT-AC66U
    I have between 20 to 25 devices connected here and there, some with wires but 80% of them are wireless.

    NAS : ReadyNAS Ultra 4 Plus
    3 x 3Tb WD Red drives in RAID. 1Gb or DDR2. Everything is fine under the 'Health' link. Latest firmware installed. Connected to router with wire, Gigabit speed.

    BOX : WD TV Live Streaming Media Player
    Connected to router over WiFi. This box is at about 20-25 feets from the router.

    This setup works 'fine', but I get some lags here and there, and it's very difficult to me to understand.

    Here is a perfect example, last night, I tested 2 movies, here are the specs;

    Movie 1 : AVI format, 640x344, Data:866kbps, TotalBitrate:994kbps, FrameRate:29/s, Audio:128kbps 2 channels 48 kHz

    Movie 2 : AVI format, 528x400, Data:763kbps, TotalBitrate:891kbps, FrameRate:23/s, Audio:128kbps 2 channels 48 kHz

    Those 2 movies are very, very similar in formats, in fact, Movie 2 seems a little bit superior in 'quality' based on the specs.

    The problem is : Movie 1 starts after 3-4 seconds of buffering and never stops, I can fast forward, etc. and it restarts instantly. I can see the transmission speeds and it's about 90/100 Kbps. Movie on the other hand gets buffering, and buffering, and actually I stop it because after 2 minutes, it's only at 6% buffering, the speeds range from 1 to 5 Kbps.

    I tested it with my tablet (Asus Transformer Prime TF201) and my smartphone (Samsung Galaxy S3) and I get the same results, movie 2 plays right away and movie 1 buffers and buffers.

    This is an example on the extremes, but I have plenty of movies that starts after 30 seconds and lags every X minutes while playing.

    Is there anything I can do about that? Is there something else to check on video formats?

    EDIT : I just saw that video 1 has a 16:9 ratio while video 2 has a 4:3..., could this be the issue??

    Thanks a lot!
    Last edited by ExportA; July 25th, 2013 at 08:32 AM.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2009
    Location
    Nebraska, USA
    Posts
    876
    Rep Power
    275
    Get a program called MediaInfo and open up your "problem" video files and look to see if they have q-pel or Packed Bitstream listings in the "video" section. (Might be good idea to open a few "working" files to compare/contrast between working / non-working files to see if any other differences are found....but, the packed bitstream option is usually the problem.)
    For some reason its harder to decode for some decoders than normal AVI files.

    If that ends up being the issue, you can use an open-source program called MPEG 4 Modifier to unpack your "packed" AVI file without needing to re-encode the file.

    Hope this helps.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2004
    Posts
    260
    Rep Power
    0
    Thanks for the answer, I've installed and ran the software and saw that both videos had 'QPel : No' as setting. Also, could not find the 'Packed Bitstream' setting.

    Here are the complete results, thanks again

    ====================================
    MOVIE 1 : The one that's running just fine
    ====================================

    Complete name : D:\Users\User\Desktop\VIDEO FORMAT COMPARISON\Movie 1.avi
    Format : AVI
    Format/Info : Audio Video Interleave
    File size : 707 MiB
    Duration : 1h 38mn
    Overall bit rate : 1 008 Kbps

    ID : 0
    Format : MPEG-4 Visual
    Format profile : Simple@L3
    Format settings, BVOP : No
    Format settings, QPel : No
    Format settings, GMC : No warppoints
    Format settings, Matrix : Default (H.263)
    Codec ID : XVID
    Codec ID/Hint : XviD
    Duration : 1h 38mn
    Bit rate : 866 Kbps
    Width : 640 pixels
    Height : 344 pixels
    Display aspect ratio : 1.85:1
    Frame rate : 29.970 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.131
    Stream size : 607 MiB (86%)
    Writing library : XviD 1.2.1 (UTC 2008-12-04)

    ID : 1
    Format : MPEG Audio
    Format version : Version 1
    Format profile : Layer 3
    Mode : Joint stereo
    Mode extension : MS Stereo
    Codec ID : 55
    Codec ID/Hint : MP3
    Duration : 1h 38mn
    Bit rate mode : Constant
    Bit rate : 128 Kbps
    Channel(s) : 2 channels
    Sampling rate : 48.0 KHz
    Compression mode : Lossy
    Stream size : 89.8 MiB (13%)
    Alignment : Aligned on interleaves
    Interleave, duration : 24 ms (0.72 video frame)
    Interleave, preload duration : 24 ms

    ====================================
    MOVIE 2 : The one that's NOT running fine
    ====================================

    Complete name : D:\Users\User\Desktop\VIDEO FORMAT COMPARISON\Movie 2.avi
    Format : AVI
    Format/Info : Audio Video Interleave
    File size : 704 MiB
    Duration : 1h 50mn
    Overall bit rate : 891 Kbps
    Writing application : VirtualDubMod 1.5.4.1 (build 2178/release)
    Writing library : VirtualDubMod build 2178/release

    ID : 0
    Format : MPEG-4 Visual
    Format profile : Advanced Simple@L5
    Format settings, BVOP : 1
    Format settings, QPel : No
    Format settings, GMC : No warppoints
    Format settings, Matrix : Custom
    Codec ID : XVID
    Codec ID/Hint : XviD
    Duration : 1h 50mn
    Bit rate : 754 Kbps
    Width : 528 pixels
    Height : 400 pixels
    Display aspect ratio : 4:3
    Frame rate : 23.976 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.149
    Stream size : 596 MiB (85%)
    Writing library : XviD 1.2.1 (UTC 2008-12-04)

    ID : 1
    Format : MPEG Audio
    Format version : Version 1
    Format profile : Layer 3
    Mode : Joint stereo
    Mode extension : MS Stereo
    Codec ID : 55
    Codec ID/Hint : MP3
    Duration : 1h 50mn
    Bit rate mode : Constant
    Bit rate : 128 Kbps
    Channel(s) : 2 channels
    Sampling rate : 48.0 KHz
    Compression mode : Lossy
    Stream size : 101 MiB (14%)
    Alignment : Aligned on interleaves
    Interleave, duration : 42 ms (1.00 video frame)
    Interleave, preload duration : 504 ms
    Writing library : LAME3.98r
    Encoding settings : -m j -V 4 -q 2 -lowpass 17 -b 128


    EDIT : One thing that is not similar is : Format settings, Matrix

    The one that is ok is Default (H.263) and the one not ok is simply 'Custom'. Could it be it?
    Last edited by ExportA; July 25th, 2013 at 11:34 AM.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2009
    Location
    Nebraska, USA
    Posts
    876
    Rep Power
    275
    Originally Posted by ExportA
    EDIT : One thing that is not similar is : Format settings, Matrix

    The one that is ok is Default (H.263) and the one not ok is simply 'Custom'. Could it be it?
    That is a possibility that the custom matrix is screwing with the decoder in your media player.
    The Packed Bitstream listing would be seen under Video in a property called Muxing Mode, like this:
    Code:
    Video
    ID                                       : 0
    Format                                   : MPEG-4 Visual
    Format profile                           : Advanced Simple@L5
    Format settings, BVOP                    : 2
    Format settings, QPel                    : No
    Format settings, GMC                     : No warppoints
    Format settings, Matrix                  : Default (H.263)
    Muxing mode                              : Packed bitstream
    Codec ID                                 : XVID
    Codec ID/Hint                            : XviD
    Duration                                 : 48mn 55s
    Bit rate                                 : 831 Kbps
    Width                                    : 624 pixels
    Height                                   : 352 pixels
    Display aspect ratio                     : 16:9
    Frame rate                               : 25.000 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 0.151
    Stream size                              : 291 MiB (83%)
    Writing library                          : XviD 1.2.1 (UTC 2008-12-04)
    As I'm not seeing that listing in any of your Info, we can rule out the Packed Bitstream as being your issue.

    Check a few of your other "problem" videos and see if they are all using a "custom" Matrix. If so, then, that is your likely culprit and those videos would need to be re-encoded using "normal" matrix settings for them to play correctly.

IMN logo majestic logo threadwatch logo seochat tools logo