jpkeenanjr 2 Posted January 28, 2021 Posted January 28, 2021 (edited) Emby Server 4.5.4.0 running on macOS Catalina (10.15.7). I have a lot of content that is OTA recordings from a Tablo DVR, converted to MP4. This content plays perfectly fine in the Emby web client, from another computer on the same LAN. The content will NOT play using the AppleTV or AndroidTV clients. I can select the recording, the screen blanks, then I get the message "There's a problem playing this content". Sometimes I get the blue wait swirl, sometimes just a blank screen. Here's the embyserver.txt log from about the time of the error. Also a screen shot of the media info from the web client. Any ideas? 2021-01-28 17:45:55.184 Info Server: http/1.1 GET http://192.168.111.10:8096/emby/Users/b214a1be081643718e9cfeb188f4685a/Items/170268/SpecialFeatures?X-Emby-Client=tvOS&X-Emby-Device-Name=Great Room&X-Emby-Device-Id=A254F690-D6FF-49A0-91E8-4BAFFE03AD8C&X-Emby-Client-Version=1.5.0 (2). UserAgent: Emby/2 CFNetwork/1209 Darwin/20.2.0 2021-01-28 17:45:55.185 Info Server: http/1.1 GET http://192.168.111.10:8096/emby/Shows/170133/Episodes?SeasonId=170133&UserId=b214a1be081643718e9cfeb188f4685a&fields=PrimaryImageAspectRatio,Overview,ProductionYear,PremiereDate,OfficialRating&X-Emby-Client=tvOS&X-Emby-Device-Name=Great Room&X-Emby-Device-Id=A254F690-D6FF-49A0-91E8-4BAFFE03AD8C&X-Emby-Client-Version=1.5.0 (2). UserAgent: Emby/2 CFNetwork/1209 Darwin/20.2.0 2021-01-28 17:45:55.186 Info Server: http/1.1 Response 200 to 192.168.111.160. Time: 2ms. http://192.168.111.10:8096/emby/Users/b214a1be081643718e9cfeb188f4685a/Items/170268/SpecialFeatures?X-Emby-Client=tvOS&X-Emby-Device-Name=Great Room&X-Emby-Device-Id=A254F690-D6FF-49A0-91E8-4BAFFE03AD8C&X-Emby-Client-Version=1.5.0 (2) 2021-01-28 17:45:55.186 Info Server: http/1.1 Response 200 to 192.168.111.160. Time: 2ms. http://192.168.111.10:8096/emby/Shows/170133/Episodes?SeasonId=170133&UserId=b214a1be081643718e9cfeb188f4685a&fields=PrimaryImageAspectRatio,Overview,ProductionYear,PremiereDate,OfficialRating&X-Emby-Client=tvOS&X-Emby-Device-Name=Great Room&X-Emby-Device-Id=A254F690-D6FF-49A0-91E8-4BAFFE03AD8C&X-Emby-Client-Version=1.5.0 (2) 2021-01-28 17:45:55.325 Info Server: http/1.1 GET http://192.168.111.10:8096/emby/Items/45789/Images/Primary?quality=95&maxHeight=600&maxWidth=360&imageTag=40d06c3d66e7d22d890f436fa5ebbb97. UserAgent: Emby/2 CFNetwork/1209 Darwin/20.2.0 2021-01-28 17:45:55.326 Info HttpClient: GET https://image.tmdb.org/t/p/original/lwtaRUHBAeJ8vFWKtYaKyLqstcl.jpg 2021-01-28 17:45:55.441 Error Server: Error processing request *** Error Report *** Version: 4.5.4.0 Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll -psn_0_5735800 Operating system: Darwin 19.6.0 Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64 Framework: .NET Core 3.1.8 OS/Process: x64/x64 Runtime: Applications/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll Processor count: 12 Data path: /Users/miniserver/.config/emby-server Application path: /Applications/EmbyServer.app/Contents/MacOS System.InvalidOperationException: System.InvalidOperationException: Operation is not valid due to the current state of the object. at Emby.Server.Implementations.Library.LibraryManager.ConvertImageToLocal(BaseItem item, ItemImageInfo image, Int32 imageIndex, CancellationToken cancellationToken) at Emby.Drawing.ImageProcessor.ProcessImage(ImageProcessingOptions options, CancellationToken cancellationToken) at MediaBrowser.Api.Images.ImageService.GetImage(ImageRequest request, Int64 itemId, BaseItem item, 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.Implementations TargetSite: Void MoveNext() 2021-01-28 17:45:55.441 Info Server: http/1.1 Response 500 to 192.168.111.160. Time: 116ms. http://192.168.111.10:8096/emby/Items/45789/Images/Primary?quality=95&maxHeight=600&maxWidth=360&imageTag=40d06c3d66e7d22d890f436fa5ebbb97 2021-01-28 17:45:57.038 Info Server: http/1.1 GET http://192.168.111.10:8096/emby/Users/b214a1be081643718e9cfeb188f4685a?X-Emby-Client=tvOS&X-Emby-Device-Name=Great Room&X-Emby-Device-Id=A254F690-D6FF-49A0-91E8-4BAFFE03AD8C&X-Emby-Client-Version=1.5.0 (2). UserAgent: Emby/2 CFNetwork/1209 Darwin/20.2.0 2021-01-28 17:45:57.038 Info Server: http/1.1 Response 200 to 192.168.111.160. Time: 0ms. http://192.168.111.10:8096/emby/Users/b214a1be081643718e9cfeb188f4685a?X-Emby-Client=tvOS&X-Emby-Device-Name=Great Room&X-Emby-Device-Id=A254F690-D6FF-49A0-91E8-4BAFFE03AD8C&X-Emby-Client-Version=1.5.0 (2) embyserver.txt.zip Edited January 28, 2021 by jpkeenanjr add log file and media info
Abobader 3464 Posted January 28, 2021 Posted January 28, 2021 Hello jpkeenanjr, Please wait for someone from staff support or our members to reply to you. It's recommended to provide more info, as it explain in this thread: Thank you. Emby Team
RanmaCanada 495 Posted January 29, 2021 Posted January 29, 2021 Have you by chance disabled transcoding?
jpkeenanjr 2 Posted January 29, 2021 Author Posted January 29, 2021 No, don't think so. Where in the config screens would that be? I probably should have put this in the original post - when this happens, I can go to the gear symbol in the bottom right, select the "Playback Correction" item, go through the next dialog box, and then it'll play. Which I think forces transcoding, right? So with transcoding it works, but it won't do it automatically. And I'm not sure it should need to.
jpkeenanjr 2 Posted January 31, 2021 Author Posted January 31, 2021 18 minutes ago, cayars said: You're the second person to post that same link, and I'm pretty sure I did include the relevant information in my original post. What's missing?
Carlo 4561 Posted January 31, 2021 Posted January 31, 2021 Can you post the ffmpeg log file that goes with this video? OR just try playing it again and post both the ffmpeg and server log files. Let us know the file played.
jpkeenanjr 2 Posted January 31, 2021 Author Posted January 31, 2021 Server log for today attached. I attempted to play the media on an Android TV client at approx 11:58am. Playback was unsuccessful, all I got was a black screen. ffmpeg direct stream log attached. I then used the "Playback Correction" option, and the media did play. transcode log attached. embyserver.txt ffmpeg-directstream-2ede4786-cf12-43ad-a2d2-43782085c301_1.txt ffmpeg-transcode-4286de65-26fe-4937-9cdf-b0a311bc350a_1.txt
Carlo 4561 Posted January 31, 2021 Posted January 31, 2021 The direct stream file shows it quit but won't say why. The app was having some problem with the remux so it requested a transcode which fixed this. Can you submit an in app debug log? Instructions should be in the the "How to report a problem link".
jpkeenanjr 2 Posted January 31, 2021 Author Posted January 31, 2021 I manually did the "Playback Correction", which I think forced the transcode. Are you saying the app requested a transcode? Because it didn't restart by itself. I'm running client version 1.8.54g on a Sony Bravia Android TV. There is no "Debug Options" in the settings menu. I checked every sub-section of that menu.
jpkeenanjr 2 Posted January 31, 2021 Author Posted January 31, 2021 I also have a Roku, and I was able to enable debug on it, but it plays the same media file fine. As does the web app. The AppleTV client will not, but it does not appear to have debug options either.
jpkeenanjr 2 Posted January 31, 2021 Author Posted January 31, 2021 My bad, I found the checkbox to enable debug options. Did that, reproduced the issue, but then couldn't find the "Send Log". It's not where it was on the Roku. My FireTV box works, even though it's the same client version as the Android TV. Summary: FireTV, Roku, Web work. AndroidTV and AppleTV do not. Tried three different AndroidTVs and two different AppleTVs.
Carlo 4561 Posted January 31, 2021 Posted January 31, 2021 1 hour ago, jpkeenanjr said: My bad, I found the checkbox to enable debug options. Did that, reproduced the issue, but then couldn't find the "Send Log". It's not where it was on the Roku. My FireTV box works, even though it's the same client version as the Android TV. Summary: FireTV, Roku, Web work. AndroidTV and AppleTV do not. Tried three different AndroidTVs and two different AppleTVs. On the home screen you should see a top row with your username. The send log should be on that menu. The log is limited so you probably lost what you did earlier. So do this. Exit app and go back in. Reproduce the issue again and then use the Send log. Right after you do that come back here and post the TIME and USER you are logged in as. THANK YOU!
jpkeenanjr 2 Posted January 31, 2021 Author Posted January 31, 2021 Ah, it's the menu under the user name. Never would have guessed. Submitted at 2:08 EST, user "Joe". Show is Amazing Race S32E1.
Carlo 4561 Posted January 31, 2021 Posted January 31, 2021 Perfect thank you. Now @ebr can take a look at it.
ebr 16178 Posted February 1, 2021 Posted February 1, 2021 Hi. Your app log is filled with these which is, unfortunately, obscuring my ability to see much of anything else (we only get a certain number of log statements from the system). 01-31 14:07:41.692 29820 30206 E ffmpeg_jni: Error in avresample_open: Invalid argument 01-31 14:07:41.692 29820 30206 E ffmpeg_jni: Error in avresample_open: Invalid argument 01-31 14:07:41.692 29820 30206 E ffmpeg_jni: Error in avresample_open: Invalid argument 01-31 14:07:41.693 29820 30206 E ffmpeg_jni: Error in avresample_open: Invalid argument 01-31 14:07:41.693 29820 30206 E ffmpeg_jni: Error in avresample_open: Invalid argument 01-31 14:07:41.693 29820 30206 E ffmpeg_jni: Error in avresample_open: Invalid argument 01-31 14:07:41.694 29820 30206 E ffmpeg_jni: Error in avresample_open: Invalid argument 01-31 14:07:41.696 29820 30206 E ffmpeg_jni: Error in avresample_open: Invalid argument 01-31 14:07:41.697 29820 30206 E ffmpeg_jni: Error in avresample_open: Invalid argument 01-31 14:07:41.697 29820 30206 E ffmpeg_jni: Error in avresample_open: Invalid argument 01-31 14:07:41.697 29820 30206 E ffmpeg_jni: Error in avresample_open: Invalid argument 01-31 14:07:41.698 29820 30206 E ffmpeg_jni: Error in avresample_open: Invalid argument Have you tried remuxing this item?
jpkeenanjr 2 Posted February 1, 2021 Author Posted February 1, 2021 I have not. Can you recommend a method to do that? I'm not very experienced with tools that do that.
Carlo 4561 Posted February 1, 2021 Posted February 1, 2021 8 minutes ago, jpkeenanjr said: I have not. Can you recommend a method to do that? I'm not very experienced with tools that do that. You can use https://mkvtoolnix.download/downloads.html Let me ask you a couple of questions. What OS are you running Emby on? On your DASHBOARD down at the bottom what is the PATH shown for LOGS? What is the name of the media file you want to remux (whole path as shown on detail screen at the bottom)?
jpkeenanjr 2 Posted February 1, 2021 Author Posted February 1, 2021 Emby Server on MacOS 10.15.7 (Catalina). Logs: /Users/miniserver/.config/emby-server/logs /Volumes/RAID/Media/TV Shows/The Amazing Race/Season 32/The Amazing Race - s32e01 - One Million Miles-z.mp4
Carlo 4561 Posted February 1, 2021 Posted February 1, 2021 I don't know MacOS well enough to help you with ffmpeg command line so I won't try. MKVtoolnix is likely your best/easiest solution.
jpkeenanjr 2 Posted February 1, 2021 Author Posted February 1, 2021 What would it be for Linux? I can probably figure it out from there.
Carlo 4561 Posted February 1, 2021 Posted February 1, 2021 ffmpeg -i input.mkv -c copy -map 0 output.mkv ffmpeg -i input.mp4 -c copy -map 0 output.mpv There is a copy of ffmpeg in your emby server folder which may be " /Users/miniserver/.config/emby-server/system/ffmpeg I normally on Windows put quotes around file names. /Users/miniserver/.config/emby-server/system/ffmpeg -i "/Volumes/RAID/Media/TV Shows/The Amazing Race/Season 32/The Amazing Race - s32e01 - One Million Miles-z.mp4" -c copy -map 0 "/Volumes/RAID/Media/TV Shows/The Amazing Race/Season 32/The Amazing Race - s32e01 - One Million Miles-z.mkv" That's just an example command line. I switched the container to MKV so that it could be dropped into the same folder.
jpkeenanjr 2 Posted February 1, 2021 Author Posted February 1, 2021 Did the remux. Output file was the exact same size as the input, and did not play (same as original). miniserver@miniServer Season 32 % ffmpeg -i "The Amazing Race - s32e01 - One Million Miles-z.mp4" -c copy -map 0 "The Amazing Race - s32e01 - One Million Miles.mp4" ffmpeg version git-2020-02-06-343ccfc Copyright (c) 2000-2020 the FFmpeg developers built with Apple clang version 11.0.0 (clang-1100.0.33.8) configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-appkit --enable-avfoundation --enable-coreimage --enable-audiotoolbox libavutil 56. 39.100 / 56. 39.100 libavcodec 58. 68.100 / 58. 68.100 libavformat 58. 38.100 / 58. 38.100 libavdevice 58. 9.103 / 58. 9.103 libavfilter 7. 74.100 / 7. 74.100 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 libpostproc 55. 6.100 / 55. 6.100 Guessed Channel Layout for Input Stream #0.1 : 5.1 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'The Amazing Race - s32e01 - One Million Miles-z.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : One Million Miles album : The Amazing Race encoder : Lavf58.38.100 comment : "The Amazing Race" celebrates traveling 1 million miles around the world when the 32nd race kicks off from Los Angeles. description : "The Amazing Race" celebrates traveling 1 million miles around the world when the 32nd race kicks off from Los Angeles. synopsis : "The Amazing Race" celebrates traveling 1 million miles around the world when the 32nd race kicks off from Los Angeles. show : The Amazing Race episode_id : s32e01 network : WINKHD episode_sort : 1 season_number : 32 media_type : 10 hd_video : 1 Duration: 00:45:19.85, start: 0.000000, bitrate: 6151 kb/s Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, 5749 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 395 kb/s (default) Metadata: handler_name : SoundHandler Output #0, mp4, to 'The Amazing Race - s32e01 - One Million Miles.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : One Million Miles album : The Amazing Race hd_video : 1 comment : "The Amazing Race" celebrates traveling 1 million miles around the world when the 32nd race kicks off from Los Angeles. description : "The Amazing Race" celebrates traveling 1 million miles around the world when the 32nd race kicks off from Los Angeles. synopsis : "The Amazing Race" celebrates traveling 1 million miles around the world when the 32nd race kicks off from Los Angeles. show : The Amazing Race episode_id : s32e01 network : WINKHD episode_sort : 1 season_number : 32 media_type : 10 encoder : Lavf58.38.100 Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 5749 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 395 kb/s (default) Metadata: handler_name : SoundHandler Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame=81514 fps=2997 q=-1.0 Lsize= 2042453kB time=00:45:19.81 bitrate=6151.8kbits/s speed= 100x video:1908797kB audio:131366kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.112217%
Carlo 4561 Posted February 1, 2021 Posted February 1, 2021 How did you do the remux? If you used the command I gave you it would have ended up an MKV file but the log above shows MP4.
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