Foliovision › Forums › FV Player › Troubleshooting › quality switching and mobile versions
-
Hey Martin … its been a while hope all is well. I have a few questions I see there is a mobile version option if I add the lower quality version
to that will it automatically switch based on detection of a mobile device.I have this notice in my WP: FV WordPress Flowplayer: Your pro extension is installed, but it’s not compatible with FV Flowplayer 6! Make sure you upgrade your FV Player Pro to version 0.5 or above.
there is an update so I need to update so this will be fixed right?I also read over the documentation on your website about the quality switching and just to confirm I need to add for example HD, SD, mobile, in the controls then my videos just have to have those versions in the file name for example cpgs_trailer_1920x1080_hd if so does it matter where the “hd” is located in the file name?
Thanks
Steve
-
-
Hey I wanted to give an update as I know you are in Europe and prob haven’t received my first email yet. I updated the plugin and got the mobile version to
work … it gives a text under the player saying something “like mobile device detected serving lower bandwidth version click here for higher quality” which works as
I used a version that was slightly different in color and was not in cinemascope and that was the version it served for my phone.I am still getting this dashboard warning “FV WordPress Flowplayer: Your pro extension is installed, but it’s not compatible with FV Flowplayer 6! Make sure you upgrade your FV Player Pro to version 0.5 or above.” I use W3tc cache plugin but emptied the cache and its still there… after updating I got some sort of license update box appear and I clicked auto update instead of manual update just so you know. My plan is to use full quality switching but still not sure about the file naming as per my first email which is below the line so you don’t have to go back …. thanks
Hello Steve,
you should be seeing an update for FV Player Pro. If it’s not there and you are using some older version (version much lower than 0.6 or 0.7) you can get a copy at https://foliovision.com/login with your email address which you used to purchase the license.
The “hd” might be located anywhere in the URL, but I recommed you make it at least “_hd” to make sure it doesn’t overwrite some other part of the URL.
The mobile feature which you are currently using is much more simple and it’s for the users of the free FV Player mainly.
Thanks,
Martinok thanks Martin … I did update the fv pro version in my plugins
yesterday and noticed the fv player went to Version 6.0.5.1 but the fv
pro under it is at Version 0.1.8.3.1 just to be sure when i get the
update from your site I wont lose any settings, videos etc. and I will
have to manually upload it to my server via CpanelThanks
Stevewhen I follow the link you gave in this email:
I get this: “You do not have sufficient permissions to access this page.”
Hello Steve,
you need to login at https://foliovision.com/login with your sr…..k@g…..com account, then you will see your license and will get a chance to download a copy of FV Player Pro at https://foliovision.com/my-licenses
PS: I posted your messages here. You replied to the forum notifications directly and our ticketing system put in bad email address. So my reply to you was not delivered.
Thanks,
MartinOK thanks Martin. I was using the wrong email that I had notes for…. I
didn’t realize I was responding to this thread and not a strait email to
you.So I went into licenses and downloaded the extension FV flow player
pro right? that’s the newest one? So just to be sure as I have had a
nightmare with another plugin recently… I want to unzip the plugin and
FTP the FV pro folder to my plugins directory right? Cause remember I
have 2 plugins in my WP plugins area the regular and the pro. Can I
delete the regular one? Or do I need it as a base for the pro to work?Also Can you send me a direct email to my contact@ my site email. I
have some questions about some work I might need you to do if you can
…. thanksSteve
Hello Steve,
I’m actually re-posting your emails here from our support system, as it’s somehow not recognizing your email address.
You need to have both FV Player and FV Player Pro running at the same time. You are right about how to upload the plugin using FTP. However make sure you check wp-admin -> Plugins -> Add New -> Upload Plugin, most WordPress sites allow you to upload the plugin ZIP file directly there.
Please use our contact form if you have any other questions: https://foliovision.com/about/contact
Thanks,
MartinHey Martin … thanks I have responded here so maybe this can help other
people. My Plugins/add new
section zip upload failed but it also failed with other plugins too
lately. I did FTP the unzipped folder
and the update worked. That player update warning has disappeared and
the plugin is now Version 0.7.21 from
Version 0.1.8.3.1 this is the right one yes? I did notice one issue when
I look inside the new plugin folder
the dates of everything is 12/07/2016 when I FTP’d that new folder I
chose overwrite all but when I look inside the
new FTP’d folder the CSS and JS folders are still 16/07/2014 which are
the older versions previous to my update. Will
this affect anything? If so should I FTP the new CSS and JS folders to
overwrite those old ones.
there was an option during the FTP transfer to only overwrite if
something was changed but I never chose that option just
overwrite all files. And if I should overwrite the CSS and JS folders
individually will I lose any settings, etc? As I checked and the player
works now just as it did before the update and I see the quality
switching area is newer and different than before so I assume it has no
affect
by the older folders.Thanks
SteveHello Steve,
I’m actually had to re-posting your email to support forums again, replying to the forum notifications doesn’t put the reply to the forums.
I see what issue you are facing – as long as the content of the css/ and js/ folders is updated you won’t have any issues. Your FTP client probably kept these folders intact and overwrite just the contained files.
Thanks,
MartinOk thanks .. I will take a look what the dates are inside those
folders… I also just noticed in my plgins section there is a new
FV-pro update
0.7.22 from 0.7.21 is this correct and can I just update by the link:
There is a new version of FV Player Pro available. View version 0.7.22
details or update now.
or should I go back into my client area and download the new version?Thanks
SteveHey Martin … so I attempted to test the quality switching I did
everything right -fullhd -hd -sd -mobile and when I checked the Quality
Switching box the hint said
everything was right and to make sure all those version are available
and they are, but when I go to play the video I get this msg: flash:
Video file not found but I dont understand why? I dont get it.. if I
turn/unclick QualitySwitching off the video plays fine. HelpThanks
Steve
CPGsHey Martin I believe I got it to work my main stream which was our
Q.Switching stream is an HLS stream just so you know.
my files were named for example:file_1920x1080-fullhd
file_1280x720-hd
file_720x400-sd
file_320x180-mobileI set naming scheme: -fullhd, -hd, -sd, -mobile and labels FULL HD, HD,
SD, MOBILE
After checking the Q.S. box and clicking the hint it said my file
matched and to make sure
the other files we available in the same place:file_1920x1080-fullhd
file_1920x1080-hd
file_1920x1080-sd
file_1920x1080-mobilethat’s when I realized it was needing the file name to be exact matches
except for the naming scheme
which makes sense. so I renamed all the files to just file-fullhd,
file-hd, file-sd, file-mobile
obviously the file name and CDN string is much longer but I can`t put
those paths up here but you get the pointNow the only thing is HLS streams are automatically switched so I see no
buttons to change the quality but it looks like
the mobile version kicks in on my phone and plays smooth as the main
version is set to 1920×1080 bitrate 4000 which is too much for
a Samsung S4 to handle. My business partner just checked his phone with
Google Chrome and it plays smooth so the HLS quality switching works
as it never played smooth at all beforeMy CDN offers HLS, RTMP, and RSTP streams
I have the HLS as the main up at the top and the RTMP path added but no
RTSP I have just started noticing that
it plays fine in:
Google chrome in both desktop and mobile
Firefox desktop fine but mobile I get (html5: unsupported video format.
try installing adobe flash)
Opera desktop fine and mobile fine
Internet explorer desktop after I press play it just goes black nothing
happens at all
and the mobile internet browser that comes on all phones that has the
blue planet as the icon I get (html5: unsupported video format. try
installing adobe flash)I dont want to post the URL here because of the nature of our content
can you give me your email direct or email me directly so I can send
screen caps of how I
have the streams setup plus give you the urls so you can have a look.Thanks
StevePS. I had to revert back to a site backup because of another plugin
again I then updated the FV-player-pro I see there is now an update to
the regular fv-player I have
Version 6.0.5.1 should I update to version 6.0.5.3 does that affect my
pro version at all?Hello Steve,
please make sure you login at https://foliovision.com/login and then head over to https://foliovision.com/support/fv-wordpress-flowplayer/troubleshooting/quality-switching-and-mobile-versions to post your replies here.
We haven’t expected HLS would be used for quality switching as it handles quality switching internaly. Please go ahead and post the URLs, we won’t publish them, then we can do some tests.
Firefox on mobile probably doesn’t play HLS. I’m not noticing issues with our HLS streams in IE 9: https://foliovision.com/player/demos/encrypted-hls-stream
There were some updates in FV Player, but they are pretty minor.
Thanks,
MartinHey Martin … sorry for the delay! Here is a page my player is set up for Q.S. on
…So this player has the HLS in the top position as a full HD 1920×1080 4000BR
I also have the RTMP stream as the same version and location
its the same setup as before except now I enable the Q.S. and renamed the files fullhd,hd,sd,mobile and the hint shows everything workingBefore with the old version phones had many stalls etc. now it plays perfectly, except for firefox/mobile
My CDN (Scale Engine) serves up HLS,RTMP, and RTSP (legacy?) Streams automatically from the same file location…I think when I tried adding the RTSP in an additional field the player would not play
Let me know if you would like a pic of the player field setup screen also I logged in with my gmail not my contact/website email can you push the response to my contact like the others or ill keep this page open and check back.
Thanks
SteveIF I have HLS and RTMP in the fields will they both act as Q.Switching?
Hello Steve,
HLS streams support automated quality switching natively, so we don’t support quality switching for these. The visitors automatically get the best video quality based on their connection speed.
You don’t actually have to use RTMP for the videos anymore as any computer with Flash installed can play the HLS streams in FV Player 6. It’s actually ignoring the RTMP streams even now on your website.
The RTSP stream would be good for Android version 2.x, if it is low enough quality. We wanted to add support for it.
Thanks,
MartinHey Martin… something has changed because before setting the QS tags and filenames every phone we tested stalled many times while watching that trailer. Now any phone tested plays smooth all the way through and you can tell its the mobile version but before it would be the 1920×1080 fullhd version which would cause the problem. Also the filenames were the same minus the new tags (-fullhd -hd-sd-mobile) but had 1920×1080,1280×720 …etc and they were in the same folder.
I thought I remember that the RTMP was meant for stopping people from ripping the stream? Does the RTMP get used in any situation eg. certain browsers/devices?
I will make a test page with the trailer with the HLS and ad RTSP and send the link… I tried it I think a few weeks ago and I would get a file not found or html5 not found.
I just want this to play for everyone on any device.
Thanks
MartingHello Steve,
we really recommend you stick to using HLS properly, that is using its auto quality switching capabilities. But if you don’t have any complaints from your users, I guess your setup works, although it would be interesting to check it ourselves if possible.
Both HLS and RTMP are harder to download than a simple MP4 video. Unfortunately our plugin offers no way of prioritizing RTMP over HLS, but as you can see it wouldn’t make the protection any stronger.
Thanks,
MartinHey Martin…
For you to check it yourselves do you mean compare a player with my new setup vs my old setup without the QS tags or setup and my old filenames? I can make a page with both. All I know is everyone on their phone had problems playing the video before as it was using a full hd 1920×1080 4k bitrate version my new setup still does but it has the QS setup and now they play perfect on all 5 phones tested and you can tell on larger screen phone when full screen and turned sideways it was the mobile version playing because our mobile was 320×180 500br although I have just changed to 480×270 600br for my mobilesHi Steve,
Glad to hear you are still rocking out with the CPG. Looks like a lot of fun.
We’re still looking at this. Martin will continue to give you some tips, but if you’d like us to really delve in and set up your site for your complex multiple streaming HLS case, it would be additional development. Let me know if you’d like our hands on help.
Have a great weekend!
Thanks.
Alec
PS. As Martin noted, it’s important to keep the communication in one place (the forum) so he doesn’t have to pull info out of emails and post it here himself.
Hey Martin … I did the msg is here on the thread it says (2 weeks ago) and starts with this:
Hey Martin … sorry for the delay! Here is a page my player is set up for Q.S. on
…those 3 dots are where I had the link to the page the video is on and in your response below it you say
“It’s actually ignoring the RTMP streams even now on your website.”
I assume you had looked at the actual page
Hey Alec … thanks and good to here from you. I think I should be ok for now but will see.
Martin I could have sworn my last msg here was after your last msg but now it shows before yours…weird.
I will once again add the domain of the video page I set up for you to have a look at. tm I will take a screen cap of my player setup with the streams so you can see that as well… sorry for the delay here we had an unplanned shoot and then it was a holiday… just finally get caught up with my emails.Thanks
SteveHello Steve,
I checked your setup. I see your streams have are using following bitrates:
fullhd: 7.3 Mbps
hd: 5.7 Mbps
sd: 2 Mbps
mobile: 1 MbpsThe “sd” and “mobile” qualities have a really high bitrate. I would recommend to reduce the bitrate for these to 800 kbps and 400 kbps to make sure it loads faster on mobile.
Actually, these are just numbers in the m3u8 playlists which represent the peak bandwidth and not the average. I tried to play your video on my Samsung mobile phone and it started in 3 seconds with nice picture. I checked the bitrate of the mobile quality by hand and I see it’s around 394 kbps, which is what I would recommend.
I’m a bit surprised to see that the mobile knows to pick the mobile quality automatically. However Safari on my computer used the “sd” stream automatically (it does so by checking the initial player size) and there is no way of switching to fullhd or hd.
So I would still recommend you use the HLS properly, and just include all the qualities in a single stream. Let us know if you are not sure about that.
Thanks,
MartinHey Martin … sorry was waiting for an email notification about this thread post, ah I wasn’t logging in when replying… My encodings are as follows but they do turn out slightly different after handbrake get through with them
Full HD 1920×1080 4000kbps
HD 1280×720 3000kbps
SD 640×368 1000kbps (i know SD is really 720×400)
Mobile 480×270 600kbps
Mobile 320×180 500kbps (this was my older mobile streams I’ve started the new ones at the above settings.I thought I was using HLS properly and they switch automatically, I could tell my phone was playing the mobile and on my PC Full HD (I have the fastest internet possible and fast PC) but only by judging the full screen resolution. Please tell me how to include all the qualities in one stream.
I am also attaching a cap of my player view when I fill in the streams I am assuming you wont post the image
I also got an email that mentioned you are working on a secure HLS system .. Im curious
Hello Steve,
sorry about the delay. I don’t think you should be using Handbrake for the various quality streams. I only know details of how HLS works in AWS Elastic Transcoder and in there you put up the big master video file in high quality and then you setup the pipeline in which you define what qualities should be in the HLS.
You can see it in https://foliovision.com/player/video-hosting/securing-your-video/hls-stream -> “Once the pipeline is properly set up, create your transcoding job.”
However AWS is too complex and we are looking for some easier to use HLS transcoder.
Are you still using Scale Engine? Don’t they have any guidelines for HLS stream with multiple qualities.
The way you use it with multiple HLS streams works with quality switching, but it’s only detected when the playback starts – at least that’s what I was able to figure out. But if you switch to full screen for example, you won’t get the higher quality and it won’t detect change in network connection speed.
Thanks,
MartinHey Martin … no worries. Yes I do use Handbrake as in my research it kept coming up as one of the best plus it is free. I still use Scale Engine I will contact them. Right now I guess I am happy with the fact that my player setup detects the optimal stream even though you cannot switch between them. So if your quality switching in your player doesn’t allow switching for HLS what does it allow switching for RTMP? RTSP?
Hello Steve,
yes, the quality switching works for RTMP, you ca see a demo here https://foliovision.com/player/demos/flowplayer-quality-switching -> RTMP
We don’t support RTSP, as there were not enough requests to add it unfortunately.
Thanks,
MartinHey Martin … (sorry massive PC crash due to a windows 10 pro update gone horribly wrong – omit)
you mentioned earlier that with my current setup my HLS is dominating my RTMP streams on my player and that I should’t even have them in the player. I initially wanted the RTMP for its security, Is there any situation where a viewer would be served my RTMP stream over my HLS? I saw something from you guys .. email or blog post etc. that you were working on some kind of HLS secure stream for the players is there a link that I can read more on it or do you know when its coming out.
Thanks
Steve
CPGsHello Steve,
the HLS streams are prioritized over RTMP, it’s currently coded that way. And thanks to the Flowplayer 6 core the HLS streams can be played if Flash is installed, so that way it doesn’t get to RTMP at all.
Our guide for encrypted HLS streams is here: https://foliovision.com/player/video-hosting/securing-your-video/hls-stream
As you can see it’s for Elastic Transcoder available in Amazon Web Services. We hope to find some other (and simpler) transcoding engine.
Thanks,
MartinHey Martin, my player has been working great I noticed that quality switching buttons were added a while back which was great, I just updated and noticed they have disappeared did you guys remove them? What versions are the newest for the pro player (also the base non pro player as I update that when the notices come up as well) I have been having some weird update notices for some of my plugin appearing then disappearing whats weird is when I refresh the updates go away and the number of updates is the same (6), This time they stayed and I updated 4 then the other 2 disappeared what I’m wondering is if maybe I went backwards somehow… my WP is the newest version FYI probably my Cache is causing something.
Thanks
SteveHey .. here is a link to a video in my frontend that used to show buttons overlaid inside the player when I would hover over the video while playing buttons were for Full HD,HD,SD,Mobile. If it is now just automatic quality switching now thats ok I just remember you testing and you werent able to get the full hd version to load even though it should have on your device… here is the link and again I changed nothing but updating the plugins. also you haven’t answered what are the newest versions for both fv player and fv player pro