Skip to content
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

[Review] Add quality selection #73

Merged
merged 1 commit into from Mar 27, 2013
Merged

Conversation

linqcan
Copy link
Collaborator

@linqcan linqcan commented Mar 26, 2013

This PR adds the option to force the plugin to use a specific bandwidth (among the ones defined by the plugin).

The feature co-exists with the HLS stripping feature. However, the HLS stripping feature has been given a higher priority over this new feature.

@nilzen
Copy link
Collaborator

nilzen commented Mar 26, 2013

Looks ok! Haven't tested it though...

@nilzen
Copy link
Collaborator

nilzen commented Mar 26, 2013

Not sure what you want to do, "quote playlist URLs"?

@linqcan
Copy link
Collaborator Author

linqcan commented Mar 26, 2013

Sorry, got a bit confusing.

Some URLs look like this: master.m3u8?id=asa&fg=asd
If I feed that URL to XBMC/ffmpeg without quoting it the playback will fail. Stripping the query string (?id=asa&fg=asd) resolves the playback issue. I am guessing one is supposed to do some kind quoting/escaping to make it work?

Feeding ffplay (ffmpeg) in a terminal with the complete URL (master.m3u8?id=asa&fg=asd) works, so ffmpeg can handle it. Just need to format it properly for XBMC I guess..?

@@ -23,6 +23,8 @@
<string id="30504">Dölj teckentolkade program</string>
<string id="30505">Använd inte avc1.77.30 videoströmmar</string>
<string id="30506">Visa både klipp och avsnitt för program</string>
<string id="30507">Sätt bandbredd manuellt</string>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good translation?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Ställ in bandbredd manuellt" ?

@nilzen
Copy link
Collaborator

nilzen commented Mar 26, 2013

I guess you have to url encode it somehow?

@nilzen
Copy link
Collaborator

nilzen commented Mar 26, 2013

@linqcan
Copy link
Collaborator Author

linqcan commented Mar 26, 2013

Could not get quoting/encoding to work. Leaving as is since I haven't found it not working in my testing so far. User testing might uncover programs that relies on the extra parameters.

@nilzen
Copy link
Collaborator

nilzen commented Mar 26, 2013

Alright, well merge it then :)

@linqcan
Copy link
Collaborator Author

linqcan commented Mar 26, 2013

Will notify the XBMC thread about this PR and let some more people test before merge. Not a critical feature at the moment.

Notified.

@jappish84
Copy link

Just tested this and quality selection seems to work fine. The live tv channels work for me with great quality when I select 2500, but only for a couple of seconds before they close down again (closes down even with lower quality selected). On demand shows are still stuttering alot, so no improvement. Disabeling avc1.77.30 cures the stuttering, but the quality is way to poor.

Thanks

@linqcan
Copy link
Collaborator Author

linqcan commented Mar 27, 2013

Assuming you are running ATV or RPi; this feature does not resolve the playback problem on those devices. Might not be fixed until XBMC 13, track this thread for progress on the stuttering playback issue:
http://forum.xbmc.org/showthread.php?tid=156303

Gonna look into the stream closing issue.

@linqcan
Copy link
Collaborator Author

linqcan commented Mar 27, 2013

Seems to be working now. Please re-download and try again. Thank you!

@jappish84
Copy link

Yeah, sorry, I'm running it on RPi, I thought this fix was for RPi as well. Thanks for pointing me to that thread, actually found a openelec build where "vicbitter" upgraded Openelec to ffmpeg 1.1.2 and that fixes all the stuttering issues on the RPi. I'm actually still using this"quality select" version, works great, except for the live channels that is (XOT works fine with live channel btw, but I'm guessing you knew this)

@linqcan
Copy link
Collaborator Author

linqcan commented Mar 27, 2013

Read the above comment. It (live-channels) should be fixed now (!). Please re-download and try.

@jappish84
Copy link

I'm sorry, I can't seem to find the download link for the latest build

@linqcan
Copy link
Collaborator Author

linqcan commented Mar 27, 2013

Same as before.
Go here: https://github.com/linqcan/xbmc-svtplay/tree/qualityselect
Click on "ZIP" (cloud symbol).
Uninstall the old one through XBMC.
Install this zip file through XBMC.
Try =)

@jappish84
Copy link

Thanks, this works perfect, nice work!

@linqcan
Copy link
Collaborator Author

linqcan commented Mar 27, 2013

Good to hear!
Thank you for taking time testing!

@nilzen Will squash branch and then merge. Waiting with release however since I want to rewrite the "hlsStrip" function to work like "getStream". Wil publish a new PR for that one.

linqcan added a commit that referenced this pull request Mar 27, 2013
@linqcan linqcan merged commit e0b1e2f into kodi-svtplay:frodo Mar 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants