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

Playback freezing problem at safari on macosx #26

Closed
mahmutbayri opened this issue Jul 23, 2014 · 23 comments
Closed

Playback freezing problem at safari on macosx #26

mahmutbayri opened this issue Jul 23, 2014 · 23 comments
Labels

Comments

@mahmutbayri
Copy link

Hi @mangui ,

i have opened an issue on other plugin about this problem.

Please, could you test this link http://www.flashls.org/latest/examples/osmf/GrindPlayer.html?src=http%3A%2F%2Fmultihls.mynet.streamprovider.net%2Fmediacache%2F_definst_%2Fmynet%2Fmynet%2Fmynet%2Fvideo%2F014%2F087%2F1936387%2F1936387%2C1936387480HD%2C1936387720HD.mp4%2Fplaylist.m3u8 at safari on macosx? Many videos we have generating mosaic areas and freezing. I have tested the video (http://multihls.mynet.streamprovider.net/mediacache/_definst_/mynet/mynet/mynet/video/014/087/1936387/1936387,1936387480HD,1936387720HD.mp4/playlist.m3u8) at several plugin (osmf-hls-plugin, osmfktu.ru etc) and there is not this problem. Therefore, i have to compile another player version to run at safari (using osmf-hls-plugin).

Thank you.

@charlietran
Copy link

My videos were having similar issues until I ensured that there was at least 1 keyframe every 2 seconds. If it's an option, try re-encoding as such and see if it makes a difference?

@mangui
Copy link
Owner

mangui commented Jul 23, 2014

Hi @kalimba
I dont have any OSX platform in hand ...
BTW what is the status with Firefox on OSX ?
could you specifiy your flash player version on OSX/Safari and also on OSX/FF ?
Cheers,
Mangui

@mahmutbayri
Copy link
Author

i didn't test with FF. There isn't problem with Chrome.

i will check with FF and send you version numbers of OSX and browsers. They might be latest versions. The problem happens many different configuration.

i will try to send a screencast video.

Thank you.

@mahmutbayri
Copy link
Author

Hi @mangui

I did a video about the problem -> http://www.youtube.com/watch?v=lOYQD1Id5uY&feature=youtu.be

OS Version: 10.9.4 (i have also tested 10.8)
Safari Version: 7.0.5
Chrome Version: 36.0.1985.125
Firefox: 31.0 (i have also tested with Firefox 30)

Flash player version is14.0.0.145 (i have also tested older versions, 11,12 ... )

Thank you.

@rwlodkowski
Copy link
Contributor

@kalimba @mangui,

this is not the flashls problem, it's the Safari>7 on OSX issue with their "Power Saver" option. Got the same issue, but when I disable that option in Safari which is freezing plugins, everything goes back to normal.

More info about that:
https://support.sonicfoundry.com/Knowledge/Article/000003845
http://mac-fusion.com/manage-the-safari-power-saver-feature/

The most annoying part of that issue is that the nag panel which is showing that you should 'click to start flash plugin' is not showing if the flash is under some HTML layers. There is no way to detect if the plugin was frozen.

Btw. @kalimba I'm sure that this issue is only valid for Safari. On Chrome and Firefox on OSX everything works fine, at least on every OSX device I've got :)

For projekktor player I've just added native HLS support on Safari, cause it's the only 100% effective way to workaround issues with HLS playback on Safari on OSX.

@mahmutbayri
Copy link
Author

Hi @fixedmachine,

i think the problem is a compatibility problem between the plugin (custom flash player with osmf hlsprovider plugin) and hls file which is being generated by wowza server. It happens only on mac os with firefox, safari browsers. Same hls files are working fine with other players (osmf.kutu.ru etc) and plugin (osmf-hlsplugin etc.). The problem is not only freezing. i tried to tell at http://www.youtube.com/watch?v=lOYQD1Id5uY&feature=youtu.be

@rwlodkowski
Copy link
Contributor

@kalimba I've wrote my answer before I've seen your video. Yep. That's something else than 'power saver'.

@mangui
Copy link
Owner

mangui commented Jul 28, 2014

so issue is repro with both FF and Safari ...
I know that Flash integration is done differently with Chrome (using PPAPI instead of NPAPI).
your playlist has 3 bitrates. could you tell me with which bitrate the playback is broken ? (by manually setting it)
also when issue is repro could you tell me whether hardware video decoding/rendering is enabled or not ? (click right on the progress bar, press statistics) - is the status different from Chrome to FF/Safari ?

Cheers,
Mangui

@mangui mangui added the bug label Jul 28, 2014
@rwlodkowski
Copy link
Contributor

I confirm the issue on:

  • Safari 7.0.5
  • Firefox 31

Flash plugin version:
14.0.0.145

Hardware: Mac Mini 2,3 GHz i7, Intel HD Graphics 4000 on OS X 10.9.4.

The issue is not occurring when the hardware acceleration is disabled within Flash Plugin Settings.

So probably it's the problem with flash plugin hardware acceleration on OS X.

@mangui
Copy link
Owner

mangui commented Jul 28, 2014

and do you have hw acceleration enabled with osmf-hls-plugin ?

@rwlodkowski
Copy link
Contributor

@mangui I didn't test that with osmf-hls-plugin, just with flashls and kutu.ru. That stream works properly with and w/o hw acceleration on kutu, but only without hw acceleration on flashls. When the hardware acceleration is enabled there are blocks and still frames. It looks like there is something wrong with keyframes within that stream when the hwa is enabled. Just guessing.

@rwlodkowski
Copy link
Contributor

@mangui, in this case there is no difference in the behavior within Chrome plugins: PPAPI (PepperFlash) & NPAPI plugin works fine with flashls. I must check what Strobe info overlay will tell us about HW acceleration.

@adamscybot
Copy link

I have OSX and have just tested your stream (HW acceleration enabled) on OSX Yosemite 10.10 with Safari v8. It seems to work fine in chromeless but in http://www.flashls.org/latest/examples/osmf/GrindPlayer.html it pauses after a few seconds (audio continues).

It works fine in Chrome on both Grind and chromeless players.

@rwlodkowski
Copy link
Contributor

OK, just as I thought. The problems on Chrome are not appearing because the stream video decoding is software, only video rendering is hw accelerated. On Firefox and Safari the player reports hw accelerated video decoding and rendering. I'll provide screenshots in a moment.

@mahmutbayri
Copy link
Author

@mangui
If the hardware acceleration option is unchecked, the video works fine with Safari. Do you need log, screenshot etc. ?

Thanks

@mangui
Copy link
Owner

mangui commented Aug 5, 2014

Hi @kalimba could you first confirm that there is no video freeze/macroblocks with GrindPlayer/Safari/osmf-hls-plugin in HW decoding mode ?
in any case it would be difficult for me to investigate without OS X device.
the only way to move forward would be to instrument osmf-hls-plugin and flashls and dump the content of the generated FLV tags, do a diff and see if we can spot any differences ....

@mahmutbayri
Copy link
Author

Hi @mangui
As i said before i generate two different player versions which are osx/safari/osmf-hls-plugin and other platform/browsers to work without problem on all platforms . There isn't any problem now and They work same conditions (flash settings -> HW Aceleration checked).
I want to use single player all browsers and platforms.

I develop a custom player with OSMF.

i don't say all HLS videos have a problem. In your demo page, there are many diffrent files and they are working without any problem.

If you want, you could connect our os x device as remote.

Thanks.

@mangui
Copy link
Owner

mangui commented Aug 7, 2014

Hi @kalimba thanks for the proposal, but I think it will be quite tricky to investigate remotely.
last time I faced similar issues (macroblocks with flashls, smooth playback with osmf-hls-plugin), I had to dive into FLV tags generation and compare tags generated by both plugins, by dumping a huge amount of data on the console.
I would have to work directly on a OS X device to be able to quickly move forward. I would have to lend or buy one device ...
is your issue only reproduced on Mac Mini 2,3 GHz i7, Intel HD Graphics 4000 on OS X 10.9.4 ? or can you reproduce it on other/all OS X devices ?
Cheers,
Mangui

@samek
Copy link

samek commented Aug 7, 2014

mangui, I can give you access to my mac if this helps ? I cannot however send it to you.

@mangui
Copy link
Owner

mangui commented Aug 22, 2014

I am affraid I would need to get one in hand to do the dirty work

@mangui
Copy link
Owner

mangui commented Sep 17, 2014

Hi all,
you might recheck your broken stream with flashls/master. an issue affecting FP using hw acceleration has been found/fixed(workarounded?), please refer to #66

@mangui
Copy link
Owner

mangui commented Oct 20, 2014

worth rechecking with flashls/master

@mangui
Copy link
Owner

mangui commented Oct 30, 2014

closing, plz reopen if still repro

@mangui mangui closed this as completed Oct 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants