Guest Posted April 14, 2020 Share Posted April 14, 2020 Hi, I'm trying to cast a file from the Emby android app to a Chromecast. It play fine on the android device itself, but when trying to play it on a PC with a web browser or cast it to the Chromecast, it won't play. The Emby logs show: 2020-04-14 15:45:58.400 Error HttpServer: Error processing request *** Error Report *** Version: 4.4.0.40 Command line: /usr/lib/emby-server/EmbyServer.dll -programdata /var/lib/emby -ffdetect /usr/bin/ffdetect-emby -ffmpeg /usr/bin/ffmpeg-emby -ffprobe /usr/bin/ffprobe-emby -restartexitcode 3 Operating system: Unix 5.5.13.2 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.3/System.Private.CoreLib.dll System.Environment.Version: 3.1.3 Processor count: 2 Program data path: /var/lib/emby Application directory: /usr/lib/emby-server System.Exception: System.Exception: Error starting ffmpeg at Emby.Server.MediaEncoding.Api.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, CancellationTokenSource cancellationTokenSource, Boolean acquireResources) at Emby.Server.MediaEncoding.Api.Progressive.BaseProgressiveStreamingService.GetStreamResult(StreamState state, IDictionary`2 responseHeaders, Boolean isHeadRequest, CancellationTokenSource cancellationTokenSource) at Emby.Server.MediaEncoding.Api.Progressive.BaseProgressiveStreamingService.ProcessRequest(StreamRequest request, Boolean isHeadRequest) at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: Emby.Server.MediaEncoding TargetSite: Void MoveNext() 2020-04-14 15:45:58.400 Info HttpServer: HTTP Response 500 to 192.168.1.112. Time: 1864ms. http://192.168.1.100:8096/emby/videos/20510/stream.mkv?DeviceId=VGhlIENydXNoaW5hdG9y&MediaSourceId=9185de06a8b3c9ba7959c4db88457e17&StartTimeTicks=140000000&PlaySessionId=5daf8671e8c94e7691cca1ea504fd4a1&VideoCodec=h264,vp8&AudioCodec=ac3,aac,mp3,opus,flac,vorbis&VideoBitrate=139840000&AudioBitrate=160000&MaxWidth=1920&AudioStreamIndex=2&TranscodingMaxAudioChannels=6&CopyTimestamps=true&h264-profile=high,main,baseline,constrainedbaseline&h264-level=42&aac-audiochannels=2&TranscodeReasons=SecondaryAudioNotSupported The file has two audio streams, both MP3, one in English, one in Dutch: { "streams": [ { "index": 0, "codec_name": "h264", "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", "profile": "Main", "codec_type": "video", "codec_time_base": "1/50", "codec_tag_string": "avc1", "codec_tag": "0x31637661", "width": 720, "height": 570, "coded_width": 720, "coded_height": 576, "has_b_frames": 2, "sample_aspect_ratio": "64:45", "display_aspect_ratio": "512:285", "pix_fmt": "yuv420p", "level": 31, "color_range": "tv", "color_space": "bt470bg", "color_transfer": "bt470bg", "color_primaries": "bt470bg", "chroma_location": "left", "refs": 1, "is_avc": "true", "nal_length_size": "4", "r_frame_rate": "25/1", "avg_frame_rate": "25/1", "time_base": "1/90000", "start_pts": 0, "start_time": "0.000000", "duration_ts": 497959200, "duration": "5532.880000", "bit_rate": "659074", "bits_per_raw_sample": "8", "nb_frames": "138322", "disposition": { "default": 1, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0 }, "tags": { "creation_time": "2020-04-14T13:16:06.000000Z", "language": "und", "handler_name": "VideoHandler" } }, { "index": 1, "codec_name": "mp3", "codec_long_name": "MP3 (MPEG audio layer 3)", "codec_type": "audio", "codec_time_base": "1/48000", "codec_tag_string": "mp4a", "codec_tag": "0x6134706d", "sample_fmt": "fltp", "sample_rate": "48000", "channels": 2, "channel_layout": "stereo", "bits_per_sample": 0, "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/48000", "start_pts": 0, "start_time": "0.000000", "duration_ts": 265578624, "duration": "5532.888000", "bit_rate": "160000", "max_bit_rate": "160000", "nb_frames": "230538", "disposition": { "default": 1, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0 }, "tags": { "creation_time": "2020-04-14T13:16:06.000000Z", "language": "eng", "handler_name": "Engels" } }, { "index": 2, "codec_name": "mp3", "codec_long_name": "MP3 (MPEG audio layer 3)", "codec_type": "audio", "codec_time_base": "1/48000", "codec_tag_string": "mp4a", "codec_tag": "0x6134706d", "sample_fmt": "fltp", "sample_rate": "48000", "channels": 2, "channel_layout": "stereo", "bits_per_sample": 0, "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/48000", "start_pts": 0, "start_time": "0.000000", "duration_ts": 265578624, "duration": "5532.888000", "bit_rate": "160000", "max_bit_rate": "160000", "nb_frames": "230538", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0 }, "tags": { "creation_time": "2020-04-14T13:16:06.000000Z", "language": "nld", "handler_name": "Stereo" } }, { "index": 3, "codec_name": "bin_data", "codec_long_name": "binary data", "codec_type": "data", "codec_tag_string": "text", "codec_tag": "0x74786574", "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/1000", "start_pts": 0, "start_time": "0.000000", "duration_ts": 5532840, "duration": "5532.840000", "bit_rate": "1", "nb_frames": "35", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0 }, "tags": { "creation_time": "2020-04-14T13:16:06.000000Z", "language": "eng", "handler_name": "SubtitleHandler" } } ], "format": { "filename": "Up.m4v", "nb_streams": 4, "nb_programs": 0, "format_name": "mov,mp4,m4a,3gp,3g2,mj2", "format_long_name": "QuickTime / MOV", "start_time": "0.000000", "duration": "5532.912000", "size": "681278007", "bit_rate": "985055", "probe_score": 100, "tags": { "major_brand": "mp42", "minor_version": "512", "compatible_brands": "isomiso2avc1mp41", "creation_time": "2020-04-14T13:16:06.000000Z", "title": "UP", "encoder": "HandBrake 1.3.1 2020010600" } } } According to https://developers.google.com/cast/docs/media, the Chromecast will play MP3, so what am I missing here? Thanks for any help! Link to comment Share on other sites More sharing options...
Luke 37248 Posted April 14, 2020 Share Posted April 14, 2020 Hi there, please attach a complete log file example. thanks. Link to comment Share on other sites More sharing options...
Guest Posted April 14, 2020 Share Posted April 14, 2020 (edited) Hi, See attached. The error mentioned occurs at 2020-04-14 12:13:51 Thank you for any help. embyserver.txt Edited April 14, 2020 by SelfProclaimedAudiophile Link to comment Share on other sites More sharing options...
Luke 37248 Posted April 14, 2020 Share Posted April 14, 2020 And was there an ffmpeg log? Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 The only thing I could find was this: $ journalctl --since yesterday | grep ffmpeg apr 14 12:12:13 bender emby-server[643583]: Command line: /usr/lib/emby-server/EmbyServer.dll -programdata /var/lib/emby -ffdetect /usr/bin/ffdetect-emby -ffmpeg /usr/bin/ffmpeg-emby -ffprobe /usr/bin/ffprobe-emby -restartexitcode 3 apr 14 12:12:46 bender emby-server[643583]: Info FfmpegManager: FFMpeg: /usr/bin/ffmpeg-emby apr 14 12:12:46 bender emby-server[643583]: Info FfmpegManager: ProcessRun 'ffmpeg -hide_banner -version' Execute: /usr/bin/ffmpeg-emby -hide_banner -version apr 14 12:12:46 bender emby-server[643583]: Info FfmpegManager: ProcessRun 'ffmpeg -hide_banner -version' Process exited with code 0 Link to comment Share on other sites More sharing options...
Luke 37248 Posted April 15, 2020 Share Posted April 15, 2020 I mean was there an ffmpeg log file created next to the main emby server log? Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2020 Share Posted April 15, 2020 Right. See attached. It's rather lengthy. ffmpeg-directstream-c290877c-659e-41d1-8f5e-304feeb7fe2d_1.txt Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now