FAQ  •  Register  •  Login

Stutters badly in certain scenes, can't pause or ffwd

<<

night7

Serviio newbie

Posts: 3

Joined: Mon Jul 23, 2012 2:02 pm

Post Mon Jul 23, 2012 2:35 pm

Stutters badly in certain scenes, can't pause or ffwd

I'm having a really annoying issue with HD 1080p video stuttering really badly during some scenes with intense detail. I would like to know if there's a way to prefer super poor quality video over freezing and stuttering for 20 seconds.

My TV is this Sony Bravia: http://www.jbhifi.co.nz/tv-lcd-led-plas ... sku-22682/

Both the TV and laptop have wired connections to my router. Network is 100 Mbit/s, CPU is a quad core Intel Core i7-2620M at 2.70 GHz.

I'm trying to watch the BBC's Planet Earth series, from a ripped Blu Ray. 99% of the video is playing fine, but it stutters horribly when it plays certain scenes with super-high levels of detail, such as thousands of flying birds filling the screen. It stutters and pauses, and takes about 20 seconds to play 5 seconds of footage like this. To be fair, this is probably some of the most uncompressable video you will ever find:

Image

My guess is that encoding algorithm collapses under these conditions, and my CPU hits the roof. The real reason it's a pain in the ass is because I can't pause or fast forward the video without the receiving the error 'Playback not available', with these lines in the serviio logs:

  Code:
2012-07-24 02:24:52,127 DEBUG [ResourceTransportRequestHandler] Unsupported time range request because bitrate is not available, sending back 406
2012-07-24 02:24:52,127 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 406 Not Acceptable, headers = [[Content-Type: video/mpeg]]


PS3 media server (http://www.ps3mediaserver.org/) can fast forward and pause these videos just fine...

So, would it be possible to alter the rendering profile to prefer crap quality for these rare scenes, instead of overloading my CPU?
And is it possible to fix fast forwarding or pause/play for these videos?


Cheers!
<<

night7

Serviio newbie

Posts: 3

Joined: Mon Jul 23, 2012 2:02 pm

Post Mon Jul 23, 2012 2:50 pm

Re: Stutters badly in certain scenes, can't pause or ffwd

Just checked PS3 Media Server again, and it plays this scene fine, with tsMuxer video engine as top priority. It also supports fast-forward and pause/play, although sometimes the sound does get out of sync.

I'm going to have to switch to PS3MS for now, but I'm sad it doesn't have serviio's awesome content organization.
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Tue Jul 24, 2012 8:26 pm

Re: Stutters badly in certain scenes, can't pause or ffwd

Can you run FFmpeg -i on the clip and posting the output here.
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jul 25, 2012 10:35 pm

Re: Stutters badly in certain scenes, can't pause or ffwd

what is your OS? It looks like it cannot retrieve the transcoded bitrate from FFmpeg that is used for ffwd operation
<<

night7

Serviio newbie

Posts: 3

Joined: Mon Jul 23, 2012 2:02 pm

Post Wed Jul 25, 2012 10:39 pm

Re: Stutters badly in certain scenes, can't pause or ffwd

My OS is Ubuntu Linux 12.04.

Here's the output of
  Code:
ffmpeg -i Planet.Earth.1080p.BluRay.x264.Ep3.mkv


ffmpeg version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
built on Jun 12 2012 16:52:09 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[matroska,webm @ 0x259a9a0] max_analyze_duration reached
[matroska,webm @ 0x259a9a0] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (20000000/417083) -> 23.98 (24000/1001)
Input #0, matroska,webm, from 'Planet.Earth.1080p.BluRay.x264.Ep3.mkv':
Duration: 00:51:25.53, start: 0.000000, bitrate: 448 kb/s
Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080, PAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s (default)
Stream #0.2(swe): Subtitle: [0][0][0][0] / 0x0000 (default)
Stream #0.3(nor): Subtitle: [0][0][0][0] / 0x0000
Stream #0.4(fin): Subtitle: [0][0][0][0] / 0x0000
At least one output file must be specified
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jul 26, 2012 4:18 pm

Re: Stutters badly in certain scenes, can't pause or ffwd

your FFMpeg is quite old, try to compile from the sources provided on the Download page.
<<

Indi

Serviio newbie

Posts: 1

Joined: Wed Aug 08, 2012 7:29 am

Post Wed Aug 08, 2012 4:01 pm

Re: Stutters badly in certain scenes, can't pause or ffwd

Similar problems with possibly similar file. Any solution appreciated. FFMPEG output posted here:

ffmpeg version N-38148-gb6ff81d Copyright (c) 2000-2012 the FFmpeg developers
built on Feb 23 2012 12:26:05 with gcc 4.6.2
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
libavutil 51. 40.100 / 51. 40.100
libavcodec 54. 4.100 / 54. 4.100
libavformat 54. 1.100 / 54. 1.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 62.101 / 2. 62.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, matroska,webm, from 'PlanetEarth1.mkv':
Duration: 00:53:20.65, start: 0.000000, bitrate: 11735 kb/s
Stream #0:0: Video: h264 (High), yuv420p, 1920x1080, SAR 1:1 DAR 16:9, 23.98
fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s (default)
Metadata:
title : English (AC3)
Stream #0:2(eng): Subtitle: ssa (default)
Stream #0:3: Attachment: ttf
Metadata:
filename : exprswy_free.ttf
mimetype : application/x-truetype-font
Stream #0:4: Attachment: ttf
Metadata:
filename : Framd.TTF
mimetype : application/x-truetype-font
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Aug 08, 2012 4:28 pm

Re: Stutters badly in certain scenes, can't pause or ffwd

If h264 profile level is <4.1, then video is only remuxed, otherwise it will be transcode.
Could you provide MediaInfo tool result in text format ?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator

Return to Sony

Who is online

Users browsing this forum: No registered users and 51 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.