Jump to content


Photo

MKV blank screen on Apple TV app but plays fine on browser


  • Please log in to reply
16 replies to this topic

#1 cloudwindhk OFFLINE  

cloudwindhk

    Member

  • Members
  • 11 posts
  • Local time: 08:34 PM

Posted 09 December 2018 - 12:28 AM

Emby Server 3.6.0.75

Apple TV App 1.2.14

 

I deleted all the logs, started Emby server, then tried to play the file in question on Apple TV. Many (20) ffmpeg logs were created after an attempted playback time of around 5 seconds, all with the same error: "Error initializing output stream 0:1 -- Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height".

 

Attached are one sample of the many Apple TV ffmpeg logs and the single ffmpeg log for successful playback on browser. Let me know if you need the server log too.



#2 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 46117 posts
  • Local time: 12:34 AM

Posted 09 December 2018 - 11:22 AM

@softworkz



#3 softworkz OFFLINE  

softworkz

    Advanced Member

  • Developers
  • 1616 posts
  • Local time: 06:34 AM

Posted 10 December 2018 - 11:43 AM

@Luke (invalid audio stream specifiers)



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134897 posts
  • Local time: 12:34 AM

Posted 10 December 2018 - 02:36 PM

Please update to the latest beta server. Thanks.



#5 cloudwindhk OFFLINE  

cloudwindhk

    Member

  • Members
  • 11 posts
  • Local time: 08:34 PM

Posted 11 December 2018 - 08:27 PM

I didn't have a chance to upgrade until now. 3.6.0.76 exhibits the same blank screen behavior.



#6 softworkz OFFLINE  

softworkz

    Advanced Member

  • Developers
  • 1616 posts
  • Local time: 06:34 AM

Posted 11 December 2018 - 09:01 PM

@Luke - The audio stream specifiers will be fixed in the next version (77) iirc?



#7 cloudwindhk OFFLINE  

cloudwindhk

    Member

  • Members
  • 11 posts
  • Local time: 08:34 PM

Posted 11 December 2018 - 09:02 PM

Cool, I will test 77 when it becomes available and report back.



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134897 posts
  • Local time: 12:34 AM

Posted 11 December 2018 - 09:41 PM

No those are already fixed in .76.

#9 softworkz OFFLINE  

softworkz

    Advanced Member

  • Developers
  • 1616 posts
  • Local time: 06:34 AM

Posted 12 December 2018 - 04:24 PM

@cloudwindhk - OK sorry for misinformation. Could you please post a new log with .76



#10 cloudwindhk OFFLINE  

cloudwindhk

    Member

  • Members
  • 11 posts
  • Local time: 08:34 PM

Posted 12 December 2018 - 05:20 PM

Please see attached for .76 logs. Same issue within ffpmeg "Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height".

Attached Files



#11 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134897 posts
  • Local time: 12:34 AM

Posted 12 December 2018 - 05:47 PM

Had you played this same file on apple tv prior to the last couple betas?



#12 cloudwindhk OFFLINE  

cloudwindhk

    Member

  • Members
  • 11 posts
  • Local time: 08:34 PM

Posted 12 December 2018 - 05:51 PM

Unfortunately not, this file was ripped from a very recently purchased Blu-Ray, so I do not know of a version of Emby that plays this file correctly (on the Apple TV app). I could mux a snippet test file from the source for you when I have time, but it looks like a params specification issue specifically for the Apple TV client because it does play on web just fine.


Edited by cloudwindhk, 12 December 2018 - 05:51 PM.


#13 softworkz OFFLINE  

softworkz

    Advanced Member

  • Developers
  • 1616 posts
  • Local time: 06:34 AM

Posted 12 December 2018 - 06:22 PM

@Luke

 

Previously we had -ab:0 384000 (log in first post here)

and got:

Codec AVOption ab (set bitrate (in bits/s)) specified for output file #0 (/config/transcoding-temp/7b471f8c2fa49c37accf6c2bc34dc15b%d.ts) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.

Now we do: -ab:a:0 384000

 

The message above does not longer occur, but there's

[ac3 @ 0xde1bc0] invalid sample rate
Error initializing output stream 0:1 -- Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height


#14 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134897 posts
  • Local time: 12:34 AM

Posted 12 December 2018 - 06:54 PM

Right, I think we need to explicitly set a sample rate when encoding to ac3. I will look at this. Thanks.



#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134897 posts
  • Local time: 12:34 AM

Posted 13 December 2018 - 02:20 AM

Please try again with the next beta server. Thanks.



#16 cloudwindhk OFFLINE  

cloudwindhk

    Member

  • Members
  • 11 posts
  • Local time: 08:34 PM

Posted 15 December 2018 - 06:29 PM

Fixed in .77, thanks!



#17 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134897 posts
  • Local time: 12:34 AM

Posted 15 December 2018 - 09:28 PM

Thanks for the feedback.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users