New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Videoplayback is jumpy on ATV2 #30
Comments
Agree! I have the same experience. I tried to upgrade to a nightly frodo build for Apple TV 2 and it was the same problem. So, jumpy video on eden and frodo fo Apple TV2. |
We know. This is SVT and XBMC related and not related to the plugin (it uses core XBMC functionality to play HLS streams). I have asked SVT and I am awaiting feedback from them. http://kontakt.svtplay.se/org/svt-play/d/har-ni-bytt-codec-installningar-den-senaste-veckan/ To repeat; playback issues etc are NOT related to the plugin. The plugin merely picks out the URL to the programs and feeds it to XBMC's video player. All bugs regarding playback should be filed in the XBMC forums. |
Thanks for the clarification. I assume you already reqported this in the XBMC forum. |
Nope. Haven't had time yet. Maybe this weekend. And I also need SVT's info for the XBMC team to be able to comment it. |
From the info SVT gave us, it seems like the ATV2 should support this codec configuration. My log was useless and I don't have an ATV2 here to take new logs from. If you have an ATV2; please generate a log file and open an issue over at the XBMC support forum. Thinking about doing a test version of the plugin where we add an option to force the ATV2 to use the other streams (avc1.66.30) instead. Will see if I find time to test that... Sources: |
Perhaps we should add a setting for maximum resolution and then the user can select a lower quality on ATV2? |
Yes, that's sort of what I was thinking about too. Was thinking about just On Sun, Oct 28, 2012 at 12:44 PM, nilzen notifications@github.com wrote:
|
As far as I know there is no "HLS magic" built in to Xbmc, it just selects the highest quality stream allowed by the bitrate settings in Xbmc. xbmc/xbmc@8f043b4 |
Oh, then we can ignore that issue then (for now) =) On Sun, Oct 28, 2012 at 12:54 PM, nilzen notifications@github.com wrote:
|
I've picked up an ATV2, about to create a temporary fix for the stream issue. |
I have created a new thread in xbmc forum (ios support). http://forum.xbmc.org/showthread.php?tid=143832 and provided a xbmc.log file. When looking at an episode on the web it seems that there are only two quality options (högsta and begränsad). Is this true or does "Automatisk" means that it will select from additional quality settings? When trying "begränsad" the video quality is just terrible. So I don't think using that selection is an option. |
Nice one with the fault report! I have now created a hack/fix for this issue. Will create pull request for review. |
I have tested to limit the bandwith to see if it makes any difference on my ATV2. I found that if I set the limit to 2560 kbps the tested film works fine. Setting it higher makes it stutter. I'm talking about the XBMC setting: Settings/System/Internet access/Internet connection bandwidth limitation. |
New update on pull 34, takes kokangit's findings into account. |
Now merged. |
Think I know what the issue is with the avc1.77.30 streams from SVT. They use 720p@25fps but ATV2 only supports 720p@30fps. Suspecting this to be the issue, but I am not 100% sure, I could have misunderstood the frame rate limit... http://www.anandtech.com/show/5687/apple-tv-3-2012-mini-review/4 |
Not sure about that, since it says "Max Decode Parameters" I guess that 30fps is the maximum fps it can decode. 25fps < 30fps... or? :) |
Yeah, I read it the other way around...
|
Gah! Trying this video: Dokument inifrån - Thomas Quick del 1. Jumpy! Looking at the m3u8 reveals that there is only avc1.77.30. Out of luck I suppose! #EXTM3U |
Yep :( |
I got there from Kategorier/Dokumentär/... By the way, there seems to be no paging in öppet arkiv. Only got 8 rows? |
Thanks! This works fine! |
I've had a quick chat with memphiz on IRC and he said "this one has an incomplete sps data block as it seems (well based on the ffmpeg output) …" |
Seems strange. Assuming that the sources on SVT's servers are OK, then it seems like ffmpeg on Darwin can't handle it properly? (Btw: I don't have an ATV anymore to test on. Still aiming on implementing "Search" in the near future though.) |
A stupid question: why not try the flash link? Will it not work? Worse quality? |
Can't access the f4m files, and quality is potentially worse... wget http://svtplay4a-f.akamaihd.net/z/world/open/20121108/1240328-002A/GASTER_MED_GEST-002A-b91d4b30ab6dcf80_,900,320,420,620,1660,2760,.mp4.csmil/manifest.f4m |
Above got from inspection in chrome when playing svtplay. wget above link works. Remove parameters "hdcore=" and "g=" results in 403. Haven't found out how to get the correct parameters yet though. |
They have started to use avc1.77.30 on more streams than just the 1280x720 now... A new and improved "stripper" is needed I guess... Examples: |
Thanks for a great job with the addon! |
My experience is that streams of type avc1.77.30 are jumpy on ATV2, but other streams (avc1.66.30) are OK. The fix made by linqcan filters the manifest so avc1.77.30 will never be used. This works for videos where there are avc1.66.30 streams available. Unfortunately there has been proof for videos with only avc1.77.30 streams. These videos will not work with ATV2 since there are no OK streams at all. |
SVTPlay offers two streaming variants in their webapp. The first variant is using Flash for streaming and is available for devices with Flash support. The second variant is using HLS streaming and is available to devices without Flash support, mainly iOS and Android devices. This plugin is taking advantage of the HLS variant. In the case of SVTPlay they are offering different versions depending on bandwidth but only one codec setting per stream. They started off by using the avc1.66.30 codec setting for h264 which works well on all XBMC platforms. However, lately they have switched to avc1.77.30, which does not work properly on Apple TV2 (don't know about other platforms, yet). For a while this new codec setting was only used for the 720p streams, which lead to our "hack" where we used the second highest version instead. But a week or so ago they started using avc1.77.30 for all streams except the lowest quality streams. This change breaks the "hack" and also makes the SVTPlay on XBMC+Apple TV2 less than enjoyable. Update: 1 second too late... http://tools.ietf.org/html/draft-pantos-http-live-streaming-10#section-3.4.10 |
Updated the stripping function, can be found on this branch: https://github.com/linqcan/xbmc-svtplay/commits/atv |
Oh, and the issue is tracked here: http://forum.xbmc.org/showthread.php?tid=95495 Hopefully my latest patch will ensure that ATV2 will see anything (though low resolution), but as stated above; HD will probably not happen for a while... |
Also, I tested my ATV branch on an ATV2 and it worked well. "All" programs were playable, though it is not HD but it works at least. |
I just want to add that I have the exact same issue on XBMC 12.0b3 with xbmc-svtplay 3.1.2 running on my 2010 Mac Mini (MacMini4,1). Using the advanced option to not use 1.77.30 streams fixes it. |
Ok, but it runs the normal Mac builds right? Anyhow, tested XBMC 12.0 RC1 on a Nvidia ION powered HTPC (XBMCbuntu) and it could handle the avc1.77.30 files properly. That is; 1280x720 streams work flawlessly. To conclude; this is not a plugin issue but a XBMC/hardware/software issue. The "workaround" we offer in the settings will get you streaming for as long as SVT provides non-avc1.77.30 content. |
It's a 2.4 GHz Intel Core 2 Duo, with GeForce 320M. Performance is not a problem with any other sources, and I can play the same stream using flash in Safari. |
Recommend you to post in XBMC forums, seems to be something going on/wrong. Also, upgrade to RC1 first before posting. Otherwise your issue won't be taken seriously. Lastly, don't forget to enable debugging and provide a log for them to dissect! =) |
Closing since it is not plugin related. Latest update to our HLS stripping mechanism will work as a workaround for as long as SVT provides compatible streams. |
I downloaded your updated addon (3.0.0) on my ATV2. It was running but the videoplayback was jumpy on all (3) tested programs. The audio was ok.
The old version played fine on the former SVT-Play site on ATV2.
Any clue why video playback is now degraded?
The text was updated successfully, but these errors were encountered: