Jump to content


Photo

iOS app refuses to cast


  • Please log in to reply
2 replies to this topic

#1 forge-crayon OFFLINE  

forge-crayon

    Member

  • Members
  • 17 posts
  • Local time: 04:24 PM

Posted 16 February 2020 - 08:25 AM

Hi,

 

If I attempt to cast certain media from my iphone to my chromecast it plays for 1 second then quits, the dashboard shows that it is "direct playing", here is the log from the server:

2020-02-16 12:14:33.747
Emby Server version: 4.4.0.14

App: Emby for iOS 1.9.2
iPhone

http://domain.com:8096/emby/videos/14510/stream.mkv?DeviceId=U2hlZCBUVg11&MediaSourceId=ca0c14d6229e7dd67e4432001b178592&StartTimeTicks=2307000&PlaySessionId=0c66f56975804c71bcc9d701e54e97ac&api_key=redacted&VideoCodec=h264,vp8&AudioCodec=ac3,eac3,aac,mp3,opus,flac,vorbis&VideoBitrate=5916000&AudioBitrate=384000&MaxWidth=1920&AudioStreamIndex=1&TranscodingMaxAudioChannels=6&CopyTimestamps=true&h264-profile=high,main,baseline,constrainedbaseline&h264-level=42&aac-audiochannels=2&TranscodeReasons=ContainerBitrateExceedsLimit,DirectPlayError&allowVideoStreamCopy=false&allowAudioStreamCopy=false

{"Protocol":"File","Id":"ca0c14d6229e7dd67e4432001b178592","Path":"K:\\Media\\Movies\\Movies-4K\\movie.mkv","Type":"Default","Container":"mkv","Size":17219751764,"Name":"Movie","IsRemote":false,"RunTimeTicks":77323100000,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[{"Codec":"hevc","ColorTransfer":"smpte2084","ColorPrimaries":"bt2020","ColorSpace":"bt2020nc","TimeBase":"1/1000","CodecTimeBase":"1001/24000","VideoRange":"HDR","DisplayTitle":"4K HEVC","IsInterlaced":false,"BitRate":17815893,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":1604,"Width":3840,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"Main 10","Type":"Video","AspectRatio":"2.40:1","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","PixelFormat":"yuv420p10le","Level":153,"IsAnamorphic":false},{"Codec":"dts","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"English DTS-HD MA 5.1 (Default)","DisplayLanguage":"English","IsInterlaced":false,"ChannelLayout":"5.1","BitDepth":16,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Profile":"DTS-HD MA","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0}],"Formats":[],"Bitrate":17815893,"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false}

>>>>>>  User policy for user
        EnablePlaybackRemuxing: True
        EnableVideoPlaybackTranscoding: False
        EnableAudioPlaybackTranscoding: True


>>>>>>  Processing Plan
Info    Name                                        CanDoInHardware      WillDoInHardware     Reason                                  
Info    Copy video stream                        >> False                False                Software Codec                           
Info    VideoInput                               >> False                False                Not a hardware decoder                   
Info    VideoOutput                              >> False                False                Not a hardware encoder                   
Info    Copy video stream                        >> False                False                Software Codec                           

>>>>>>  Projected Processing Formats
Info    Previous                HW-Context   Format       SW-Format       Next
Info    hevc                 >> -            yuv420p10    yuv420p10    >> 

>>>>>  Legacy Command

C:\Users\Administrator\AppData\Roaming\Emby-Server\system\ffmpeg.exe -ss 00:00:00.230  -f matroska -i file:"K:\Media\Movies\Movies-4K\movie.mkv" -map 0:0 -map 0:1 -sn -c:v:0 copy -copyts -avoid_negative_ts disabled -start_at_zero -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -metadata:s:a:0 language=eng -disposition:a:0 default -ac:a:0 6 -ab:a:0 384000 -ar:a:0 48000  -y "C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata\transcoding-temp\8F335E.mkv"

>>>>>  Actual Command

C:\Users\Administrator\AppData\Roaming\Emby-Server\system\ffmpeg.exe -loglevel +timing -y -print_graphs_file "C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata\logs\ffmpeg-remux-ba8be355-e967-49b8-925e-ef9efb64fb9a_1graph.txt" -copyts -start_at_zero -f matroska,webm -ss 00:00:00.230 -c:v:0 hevc -i "K:\Media\Movies\Movies-4K\movie.mkv" -map 0:0 -map 0:1 -sn -c:v:0 copy -c:a:0 ac3 -ab:a:0 384000 -ar:a:0 48000 -ac:a:0 6 -metadata:s:a:0 language=eng -disposition:a:0 default -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 "C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata\transcoding-temp\8F335E.mkv"

12:14:33.822 ffmpeg version 4.3.0-emby_2020_02_08-g5abbb1430d+4887 Copyright (c) 2000-2019 the FFmpeg developers and softworkz for Emby LLC
12:14:33.822   built with gcc 9.2.0 (Rev2, Built by MSYS2 project)
12:14:33.822 Execution Date: 2020-02-16 12:14:33
12:14:35.631 Input #0, matroska,webm, from 'K:\Media\Movies\Movies-4K\movie.mkv':
12:14:35.631   Metadata:
12:14:35.631     title           : 6.Underground.2019.2160p.WebRip.HDR.10Bit.H265.DTS5.1.Will1869
12:14:35.631     encoder         : libebml v1.3.4 + libmatroska v1.4.5
12:14:35.631     creation_time   : 2019-12-19T13:27:12.000000Z
12:14:35.631   Duration: 02:08:52.31, start: 0.000000, bitrate: 17815 kb/s
12:14:35.631     Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x1604 [SAR 1:1 DAR 960:401], Level 153, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
12:14:35.631     Metadata:
12:14:35.632       BPS             : 15108230
12:14:35.632       BPS-eng         : 15108230
12:14:35.632       DURATION        : 02:08:01.007000000
12:14:35.632       DURATION-eng    : 02:08:01.007000000
12:14:35.632       NUMBER_OF_FRAMES: 184160
12:14:35.632       NUMBER_OF_FRAMES-eng: 184160
12:14:35.632       NUMBER_OF_BYTES : 14505802845
12:14:35.632       NUMBER_OF_BYTES-eng: 14505802845
12:14:35.632     Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s16p (default)
12:14:35.632     Metadata:
12:14:35.632       BPS             : 2804165
12:14:35.632       BPS-eng         : 2804165
12:14:35.632       DURATION        : 02:08:52.310000000
12:14:35.632       DURATION-eng    : 02:08:52.310000000
12:14:35.632       NUMBER_OF_FRAMES: 724904
12:14:35.632       NUMBER_OF_FRAMES-eng: 724904
12:14:35.632       NUMBER_OF_BYTES : 2710334400
12:14:35.632       NUMBER_OF_BYTES-eng: 2710334400
12:14:35.633 Stream mapping:
12:14:35.633   Stream #0:0 -> #0:0 (copy)
12:14:35.633   Stream #0:1 -> #0:1 (dts (dca) -> ac3 (native))
12:14:35.633 Press [q] to stop, [?] for help
12:14:35.965 Output #0, matroska, to 'C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata\transcoding-temp\8F335E.mkv':
12:14:35.965   Metadata:
12:14:35.965     encoder         : Lavf58.35.100
12:14:35.965     Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x1604 [SAR 1:1 DAR 960:401], q=2-31, Level 153, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc (default)
12:14:35.965     Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1, fltp (16 bit), 384 kb/s (default)
12:14:35.965     Metadata:
12:14:35.965       encoder         : Lavc58.62.100 ac3
12:14:36.135 frame=   31 fps=0.0 q=-1.0 size=       3kB time=00:00:01.37 bitrate=N/A throttle=off speed=   0x    
12:14:36.636 frame=  284 fps=283 q=-1.0 size=    2938kB time=00:00:11.87 bitrate=2293.2kbits/s throttle=off speed=10.5x    
12:14:37.137 frame=  513 fps=341 q=-1.0 size=    8422kB time=00:00:21.53 bitrate=3422.3kbits/s throttle=off speed=13.4x    
12:14:37.641 frame=  694 fps=346 q=-1.0 size=   14457kB time=00:00:28.99 bitrate=4288.5kbits/s throttle=off speed=13.8x    
12:14:38.139 frame=  841 fps=336 q=-1.0 size=   25697kB time=00:00:35.26 bitrate=6211.8kbits/s throttle=off speed=13.5x    
12:14:38.211 

[q] command received. Exiting.

12:14:38.211 12:14:38.212 frame=  874 fps=339 q=-1.0 Lsize=   27602kB time=00:00:36.76 bitrate=6388.9kbits/s throttle=off speed=13.7x    
12:14:38.212 video:25872kB audio:1713kB subtitle:0kB other streams:0kB global headers:2kB muxing overhead: 0.064029%
    Last message repeated 1 times
12:14:38.212 EXIT
12:14:38.214 

======= ExtraData
H4sIAAAAAAAACtVZ33PaOBD+Vzx+ameA2IApMHMPBJI2U3rHQNo+lI5H2DJoYkseSeZIM/3fbyX/wMYkhF6amfahsVcr7e633+7KyYM5ZlGEqG8OH8xrEkrMReXx2/efDfN9yFYo/CeWhFG9nD5+QWGClc6D+TeKsDk0782GqaULyQldg0TyBJs/G4VGDHLprjmKN8INSIhrO8bD5fKzAOPL5ciPCCVCciQZh9c4niCJlss5Q7CwXi6votV9c4H5FsNyzBmcG/laJWRrOCAIohivmxxHya65Qv0V7jhOEw9675rdwarfHLQd3MTBAAerXjdYDZBra9dacifLXnssvpfiZHBCIi5dJN0fmLNHtBWeNzROZArcRLmGucYcI5lwnJ0VIcmZuEONf/EqgrOy1dv7WK3m2xrm41n5/jM3dUN9vDOHVvY640wyj4V1o1lCqraqe05afAZNgho21WjLkNZRt1rtjvUuRRKEGEU5lB7zj0G5wVuvFtUX4mOWbzkNoxglslAfBigUuGF+wj5BH4mqnvS8Ewc1Uq3UaaUxhuO8zMsPV1/GZqah5XvPxyxk/JYjKgJl3RRRLHHb6nfztRknEeJEmTFXsm21rXxlESMPF1KXemFuY47oWtudzEE0IzscXjMOiUgdg735q3mfbLttK7bVqVcUYqYgnBIpQ5y9aohuKPSMEOz5BUKXRM6RVGbsd8anFZEXKp8gFTPMtU1zaDtaMsGx3MAbsHSOg2uoZBWOnWNGfqhTOv2utbN7lop8BFWP1lhr5kbsQb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jn8q7XOQ3t7wEu0N+aLnjxK3zbbzvoYgJCrnDsaezhUgeXBbkv5CwNALOq+wxi9dFIAgLDPPVa/EE4H5l1ZyFdy1MBeLpyfkGfgUUt269BxGeW7TzDNGOMumf+gW2/1iPPIscRchX0yMWvQZBaDl+nkMpMAVD0J8PBr16fywSrHDK8vPyVsPLLPduKH0FDR5p+aFYQsvepPXqT7FRukmUwFZCjefG1XKbRmcSw/jdIZ8zRAi+QqD9z/CJY1cZZQimbVAdIlSgFpPoPldwriq4ZAAA=

Edited by forge-crayon, 16 February 2020 - 09:05 AM.


#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153210 posts
  • Local time: 12:24 PM

Posted 16 February 2020 - 03:27 PM

Moved to testing area.



#3 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153210 posts
  • Local time: 12:24 PM

Posted 17 February 2020 - 03:51 PM

hi @forge-crayon, I think you forgot to read this help text when restricting user permissions to transcoding.

 

5e4aeec387536_Untitled.png






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users