Jump to content


Photo

Browser play in iOS 13.4 HEVC MP4


  • Please log in to reply
7 replies to this topic

#1 vector991 OFFLINE  

vector991

    Newbie

  • Members
  • 6 posts
  • Local time: 03:06 AM

Posted 29 March 2020 - 10:40 AM

Not sure if it’s something with the new upgrade to iOS 13.4 a day ago or Emby server 4.4.0.40.

Before upgrades I had no problems playing HEVC MP4s in the browser. Note: I have to encode the files with video tag ‘hvc1’ rather than ‘hev1’.

No files play now and no errors in embyserver.txt. This is with direct play, no transcode or mux. The web interface doesn’t pop up playback error or anything. Just sits with the first frame showing and doesn’t continue. It’s sending progress 204 response to server every 10s. No errors or anything.

This is not using the iOS app so sorry if it’s in wrong forum.

#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156731 posts
  • Local time: 03:06 AM

Posted 29 March 2020 - 01:09 PM

Try clicking on the video player so that the controls show up. Then click the play button.

#3 vector991 OFFLINE  

vector991

    Newbie

  • Members
  • 6 posts
  • Local time: 03:06 AM

Posted 29 March 2020 - 03:56 PM

Lol I did that. The controls now don’t come up at all. Actually sometimes it does and I press play button and same thing... black screen or frozen first frame. I have been using the web app flawlessly for months until now and I’m leaning toward the iOS update. I think it was playing on 4.0.4.40 but very close timing for update so not sure. Also running the Linux build on Ubuntu.

#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156731 posts
  • Local time: 03:06 AM

Posted 29 March 2020 - 04:11 PM

In iOS 13.4 the web app can no longer auto play, that means you have to click play twice - first to start the video player, then you have to click the play button in the video player itself. It's a little clunky and we'll need to adjust by keeping the controls visible until you click it to start playing.

 

The iOS app will be much more seamless.



#5 vector991 OFFLINE  

vector991

    Newbie

  • Members
  • 6 posts
  • Local time: 03:06 AM

Posted 29 March 2020 - 05:01 PM

Yup I know you have to click play first and then when the video player comes up paused. You then click play again. I have been using the web app for months on iOS daily flawlessly. I’m quite technical hence figured out the video tag thing hvc1 for mp4s on iOS is the thing that makes all my HEVC mp4s playing for months no problem. (FFmpeg implementation via mpegts from emby server unfortunately doesn’t support the tag so the transmux option to mp4 container doesn’t work!)

An interesting thing is when I drag the slider to further in the video, the frame comes up but sits there again after pressing play button.

#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156731 posts
  • Local time: 03:06 AM

Posted 02 April 2020 - 01:27 AM

 

 

(FFmpeg implementation via mpegts from emby server unfortunately doesn’t support the tag so the transmux option to mp4 container doesn’t work!)

Hi, actually it does. If you use your convert feature to convert to mp4, it will write the hvc1 tag into the file.



#7 vector991 OFFLINE  

vector991

    Newbie

  • Members
  • 6 posts
  • Local time: 03:06 AM

Posted 02 April 2020 - 08:14 PM

But that’s not the on the fly container transmux direct play right? I get black screen with only sound. Looked into the ffmpeg source and saw that with mpeg-ts when direct playing doesn’t have hvc1 available tag, otherwise it’d be a quick fix if I’m right. So I convert all my videos before adding to emby as mp4s with tag and they all work amazing via web app... until recently.

It seems to now work one in like many tries. I downgraded emby to 4.3 and also upgraded to 4.5 beta. Getting the same behaviour. Wifi is consistent at 20+ mbit so I don’t think it’s that as most my transcodes are 4-5 mbit. Only thing else changed recently is an update to OpenVPN as I’m connected remotely.

#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156731 posts
  • Local time: 03:06 AM

Posted 10 April 2020 - 05:55 PM

If they're direct playing then changing the server version won't have any impact. It must be due to a change in the browser following an iOS update. Yes perhaps in the future we can look into writing the hvc1 tag on the fly to preserve the direct play. In the meantime our conversion feature can help you do it ahead of time.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users